Author: mmu_man
Date: Tue Aug 3 16:24:55 2010
New Revision: 10681
URL:
http://source.netsurf-browser.org?rev=10681&view=rev
Log:
Move the resource id enum to its own header. Add a ersizing handle pic for the replicant.
Added:
trunk/netsurf/beos/beos_res.h
Modified:
trunk/netsurf/beos/beos_res.rdef
Added: trunk/netsurf/beos/beos_res.h
URL:
http://source.netsurf-browser.org/trunk/netsurf/beos/beos_res.h?rev=10681...
==============================================================================
--- trunk/netsurf/beos/beos_res.h (added)
+++ trunk/netsurf/beos/beos_res.h Tue Aug 3 16:24:55 2010
@@ -1,0 +1,30 @@
+/*
+ * Copyright 2008 François Revol <mmu_man(a)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
+};
Modified: trunk/netsurf/beos/beos_res.rdef
URL:
http://source.netsurf-browser.org/trunk/netsurf/beos/beos_res.rdef?rev=10...
==============================================================================
--- trunk/netsurf/beos/beos_res.rdef (original)
+++ trunk/netsurf/beos/beos_res.rdef Tue Aug 3 16:24:55 2010
@@ -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(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"
@@ -118,6 +107,22 @@
"types" = "application/x-vnd.Be.URL.ftp",
"types" = "application/x-vnd.Be.URL.http",
"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 {