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 133fe21557..0000000000 Binary files a/src/apps/stylededit/StyledEdit.rsrc and /dev/null differ 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--*/