diff options
author | François Revel <mmu_man@netsurf-browser.org> | 2010-08-03 21:24:55 +0000 |
---|---|---|
committer | François Revel <mmu_man@netsurf-browser.org> | 2010-08-03 21:24:55 +0000 |
commit | 4c17317388b776e490900732fdf5f31dfeaf0e84 (patch) | |
tree | 55414f9aeb4a69b667dd085b95beacf9c08d52e5 /beos | |
parent | 60fc5bab4fb3054d1224a1434a978d2bab8ce043 (diff) | |
download | netsurf-4c17317388b776e490900732fdf5f31dfeaf0e84.tar.gz netsurf-4c17317388b776e490900732fdf5f31dfeaf0e84.tar.bz2 |
Move the resource id enum to its own header. Add a ersizing handle pic for the replicant.
svn path=/trunk/netsurf/; revision=10681
Diffstat (limited to 'beos')
-rw-r--r-- | beos/beos_res.h | 30 | ||||
-rw-r--r-- | beos/beos_res.rdef | 31 |
2 files changed, 48 insertions, 13 deletions
diff --git a/beos/beos_res.h b/beos/beos_res.h new file mode 100644 index 000000000..4e6497815 --- /dev/null +++ b/beos/beos_res.h @@ -0,0 +1,30 @@ +/* + * Copyright 2008 François Revol <mmu_man@users.sourceforge.net> + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * NetSurf is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * NetSurf is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +enum { + R_ResizeHandle = 1000, + R_ResBackNavActive = 1042, + R_ResBackNavInactive = 1043, + R_ResForwNavActive = 1044, + R_ResForwNavInactive = 1045, + R_ResUpNavActive = 1046, + R_ResUpNavInactive = 1047, + R_ResBackNavActiveSel = 1048, + R_ResForwNavActiveSel = 1049, + R_ResUpNavActiveSel = 1050 +}; diff --git a/beos/beos_res.rdef b/beos/beos_res.rdef index 5fdbc486b..d38952944 100644 --- a/beos/beos_res.rdef +++ b/beos/beos_res.rdef @@ -16,18 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -enum { - R_ResBackNavActive = 1042, - R_ResBackNavInactive = 1043, - R_ResForwNavActive = 1044, - R_ResForwNavInactive = 1045, - R_ResUpNavActive = 1046, - R_ResUpNavInactive = 1047, - R_ResBackNavActiveSel = 1048, - R_ResForwNavActiveSel = 1049, - R_ResUpNavActiveSel = 1050 -}; - +#include "beos_res.h" resource(200, "default.css") #'data' import "res/default.css"; resource(201, "beosdefault.css") #'data' import "res/beosdefault.css"; @@ -51,7 +40,7 @@ resource(408, "throbber8.png") #'data' import "res/throbber/throbber8.png"; resource(1, "BEOS:APP_FLAGS") (#'APPF') $"01000000"; -resource(1, "BEOS:L:STD_ICON") #'ICON' array { +resource(101, "BEOS:L:STD_ICON") #'ICON' array { $"FFFFFFFFFFFFFFFFFFFFFF0E0A00D600D6000AAF0EFFFFFFFFFFFFFFFFFFFFFF" $"FFFFFFFFFFFFFFFF0E0A000001DED5D5D5DE020000090EFFFFFFFFFFFFFFFFFF" $"FFFFFFFFFFFFFF0B0001B58D6666666C6C6C6C93B50200090EFFFFFFFFFFFFFF" @@ -120,6 +109,22 @@ resource(1, "BEOS:FILE_TYPES") message { "types" = "application/x-vnd.Be.URL.https" }; +resource(R_ResizeHandle) archive(, 0x00000000) BBitmap { + "_frame" = rect { 0.0, 0.0, 13.0, 13.0 }, + "_cspace" = 4, + "_bmflags" = 1, + "_rowbytes" = 16, + "_data" = array { + $"1B1B1B1B1B1B1B1B1B1B1B1B133F3F3F1B1B1B1B1B1B1B1B1B1B1B1B133F3F3F" + $"1B1B1B1B1B1B1B1B1B1B1B1B133F3F3F1B1B1B1B1B1B1B1B1B0C1B1B133F3F3F" + $"1B1B1B1B1B1B1B1B1B1B3F1B133F3F3F1B1B1B1B1B1B1B1B1B1B1B1B133F3F3F" + $"1B1B1B1B1B1B0C1B1B0D1B1B133F3F3F1B1B1B1B1B1B1B3F1B1B3F1B133F3F3F" + $"1B1B1B1B1B1B1B1B1B1B1B1B133F3F3F1B1B1B0C1B1B0D1B1B0C1B1B133F3F3F" + $"1B1B1B1B3F1B1B3F1B1B3F1B133F3F3F1B1B1B1B1B1B1B1B1B1B1B1B133F3F3F" + $"131313131313131313131313133F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3F" + } +}; + resource(R_ResBackNavActive) archive(, 0x00000000) BBitmap { "_frame" = rect { 0.0, 0.0, 18.0, 16.0 }, "_cspace" = 4, |