From 8377310bbda280e6f1f3b6ede76a0c564a05f6a9 Mon Sep 17 00:00:00 2001 From: mahlzeit Date: Sun, 2 Mar 2003 11:11:25 +0000 Subject: [PATCH] Resources are now automatically generated using rc. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2860 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/stylededit/Jamfile | 2 +- src/apps/stylededit/StyledEdit.icons.rdef | 4 ++-- src/apps/stylededit/StyledEdit.rdef | 6 +++--- src/apps/stylededit/StyledEdit.rsrc | Bin 6583 -> 0 bytes src/apps/stylededit/StyledEdit.version.rdef | 12 ++++++------ 5 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 src/apps/stylededit/StyledEdit.rsrc diff --git a/src/apps/stylededit/Jamfile b/src/apps/stylededit/Jamfile index 222e8f2f4d..130bdaa318 100644 --- a/src/apps/stylededit/Jamfile +++ b/src/apps/stylededit/Jamfile @@ -1,7 +1,7 @@ SubDir OBOS_TOP src apps stylededit ; AddResources StyledEdit : - StyledEdit.rsrc + StyledEdit.rdef StyledEdit.icons.rdef StyledEdit.version.rdef ; App StyledEdit : ColorMenuItem.cpp diff --git a/src/apps/stylededit/StyledEdit.icons.rdef b/src/apps/stylededit/StyledEdit.icons.rdef index 406ab285ee..a26e133ea2 100644 --- a/src/apps/stylededit/StyledEdit.icons.rdef +++ b/src/apps/stylededit/StyledEdit.icons.rdef @@ -73,7 +73,7 @@ resource(1, "BEOS:L:text") #'ICON' array { $"FFFFFFFFFFFFFFFFFFFFFFFFB0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" }; -resource(101, "BEOS:L:STD_ICON") #'ICON' array { +resource large_icon array { $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000FFFF" $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000B3F5A00FF" $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF005A0B3F5A5A00" @@ -146,7 +146,7 @@ resource(1, "BEOS:M:text") #'MICN' array { $"FFFFFFFFFFB000B0FFB0FFFFFFFFFFFF" }; -resource(101, "BEOS:M:STD_ICON") #'MICN' array { +resource mini_icon array { $"FFFFFFFFFFFFFFFFFFFFFFFF000000FF" $"FFFFFFFFFFFFFFFFFFFFFF000B3F5A00" $"FFFFFFFFFFFFFFFFFFFF00095A0A5A01" diff --git a/src/apps/stylededit/StyledEdit.rdef b/src/apps/stylededit/StyledEdit.rdef index c67da2da72..96cdc834c1 100644 --- a/src/apps/stylededit/StyledEdit.rdef +++ b/src/apps/stylededit/StyledEdit.rdef @@ -7,7 +7,7 @@ application:/x-vnd.obos.app-name */ -resource(1, "BEOS:APP_SIG") (#'MIMS') "application/x-vnd.obos.styled-edit"; +resource app_signature "application/x-vnd.obos.styled-edit"; /* BEOS:APP_FLAGS : 00000000 = SINGLE LAUNCH @@ -24,14 +24,14 @@ resource(1, "BEOS:APP_SIG") (#'MIMS') "application/x-vnd.obos.styled-edit"; 0E000000 = ARGV_ONLY + BACKGROUND APP + EXCLUSIVE LAUNCH */ -resource(1, "BEOS:APP_FLAGS") (#'APPF') $"00000000"; +resource app_flags 0x00000000; /* BEOS:FILE_TYPES : "types" = "text/plain", "types" = .... */ -resource(1, "BEOS:FILE_TYPES") message { +resource file_types message { "types" = "text/plain", "types" = "text" }; diff --git a/src/apps/stylededit/StyledEdit.rsrc b/src/apps/stylededit/StyledEdit.rsrc deleted file mode 100644 index 133fe21557a0528b8ab65073acbd9a41e569504d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6583 zcmeHMOK;Oa5T3R?oHeMt;YK7*IS^Woy;yxKQqx3rg+x-Rs@ounswU6~wP#NL9XTQO z;5#=YE?hXkKj4JKF9?mpH@oXcTpOyY6#_DCoZb1pnf31MdPdHQO+?o!a{^y;{JDh7 zDTHkaw%^8-kLM$*&FVgc_25iY244$WA5Jl4L6Hux-uw{QvCw`1)) zL=Tt%`GmH1NuSZSl$vhbC0fI57Ngm7ol~!kHFed9+Ex+Yfo7xeZ*kL@|}>R?=*m2 z-*PQK?!)J~1~33m!l4fh`%*j~roJox(O@Zfo=2qGxGILaqI;jn^ZNZ%2HO-Ihk!GI zdVzSoo~zn`kKjQP+(8Bt$Z-nr&p14|U>wDT95p(_OmLX-BNPm&Ocl-q$>=Icpwh!p z#2BpDpfQifRX=!BkH6p89$l-g;lH9>wr}ak;wm+CvrfM@OA#@Og51JMGhy& zaXeSb2xl|oy|6;S*qp;ulG82DdqH+j!a#nP|K;)w^S@k%{@LaK!IOa!G1_c=^evQc zk%qfYq~UO569gLB^;~FBJ0jG+-vjPJ!(A>QWxeO2@++W5Q`vM$qb}kv>ZU13?h$$Vg?erT@fQU`$?m%Rgy8sd^dKDQvyT5ptF^PexzXNk z?mpUo_KzDVr!D}rxL2P8oM)%ik;Vf^6%e1 zo|t%?5B1eo%@>W$b}@Z`bnVG+<&WDhS7uARn7o!ZXlA}*Pc2QwqQLr5e6GYXYCyw3 z9b5~v_UhbvX|}Q)ZvExiQW*sKmR|cUC;f7OwO@rvzx-2&_FJAh=GQKl_=g4J9~G{u z(Wk4`b-T0}4!uyVPBX>8XFQ@TEKM)kA!%{ZmVR;|>CqNSOY`fiPpk70>xp*7`TTn1 S>dE|yU5ZWi>xVZl!JwZ`*Z)ia diff --git a/src/apps/stylededit/StyledEdit.version.rdef b/src/apps/stylededit/StyledEdit.version.rdef index 36afc36ac6..553a6bb6a5 100644 --- a/src/apps/stylededit/StyledEdit.version.rdef +++ b/src/apps/stylededit/StyledEdit.version.rdef @@ -12,7 +12,7 @@ system version will be set for you. (it will) */ -resource(1, "BEOS:APP_VERSION") #'APPV' array { +resource app_version { /* major, middle, and minor version */ (uint32) 1, (uint32) 0, (uint32) 0, @@ -30,8 +30,8 @@ resource(1, "BEOS:APP_VERSION") #'APPV' array { missing as well. */ /*-from start quote to end quote,the next line must be this long-*/ - "R1.0.0d1"," ", - + "R1.0.0d1 ", + /* long info : Note that this must be exactly 256 characters, so if you add to the string, take away from the spaces. If you use all the spaces up you must account for the extra null that is @@ -40,9 +40,9 @@ resource(1, "BEOS:APP_VERSION") #'APPV' array { QuickRes. BEOS:APP_VERSION should be 340 bytes long. */ /*-from start quote to end quote,the next line must be this long-*/ - "OpenBeOS 1.0.0d1 ©2002 OpenBeOS Project."," ", - " ", - " ", + "OpenBeOS 1.0.0d1 ©2002 OpenBeOS Project " + " " + " " " " /*--lines that don't have a comma in them should be this long--*/