From 5e41fb8a121c441a8765a1962a892e93906cde83 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Sun, 7 Nov 2004 19:19:11 +0000 Subject: [project @ 2004-11-07 19:19:11 by rjw] Initial import. svn path=/import/nstheme/; revision=2436 --- !NSTheme/!Boot,feb | 10 ++++++ !NSTheme/!Help | 23 +++++++++++++ !NSTheme/!Run,feb | 20 +++++++++++ !NSTheme/!Sprites,ff9 | Bin 0 -> 1580 bytes !NSTheme/!Sprites22,ff9 | Bin 0 -> 3228 bytes !NSTheme/5Sprites,ff9 | Bin 0 -> 3092 bytes !NSTheme/5Sprites11,ff9 | Bin 0 -> 11132 bytes !NSTheme/5Sprites22,ff9 | Bin 0 -> 4868 bytes !NSTheme/ASprites,ff9 | Bin 0 -> 3664 bytes !NSTheme/ASprites11,ff9 | Bin 0 -> 15892 bytes !NSTheme/ASprites22,ff9 | Bin 0 -> 6092 bytes !NSTheme/Resources/en/Messages | 67 ++++++++++++++++++++++++++++++++++++ !NSTheme/Resources/en/Templates,fec | Bin 0 -> 2365 bytes 13 files changed, 120 insertions(+) create mode 100644 !NSTheme/!Boot,feb create mode 100644 !NSTheme/!Help create mode 100644 !NSTheme/!Run,feb create mode 100644 !NSTheme/!Sprites,ff9 create mode 100644 !NSTheme/!Sprites22,ff9 create mode 100644 !NSTheme/5Sprites,ff9 create mode 100644 !NSTheme/5Sprites11,ff9 create mode 100644 !NSTheme/5Sprites22,ff9 create mode 100644 !NSTheme/ASprites,ff9 create mode 100644 !NSTheme/ASprites11,ff9 create mode 100644 !NSTheme/ASprites22,ff9 create mode 100644 !NSTheme/Resources/en/Messages create mode 100644 !NSTheme/Resources/en/Templates,fec (limited to '!NSTheme') diff --git a/!NSTheme/!Boot,feb b/!NSTheme/!Boot,feb new file mode 100644 index 0000000..633652a --- /dev/null +++ b/!NSTheme/!Boot,feb @@ -0,0 +1,10 @@ +| Application system variables +Set NSTheme$Help .!Help +Set NSTheme$Version "0.01 (04 Sep 2004)" +Set NSTheme$Web "http://netsurf.sourceforge.net/" +Set NSTheme$Title "NSTheme" +Set NSTheme$Publisher "The NetSurf Developers" +Set NSTheme$Description "NetSurf theme editor" + +| NSTheme Sprites +If "" < "436" Then IconSprites .!Sprites Else If "" < "500" Then IconSprites .ASprites Else IconSprites .5Sprites diff --git a/!NSTheme/!Help b/!NSTheme/!Help new file mode 100644 index 0000000..dbf32f9 --- /dev/null +++ b/!NSTheme/!Help @@ -0,0 +1,23 @@ +NSTheme +======= +This application allows the creation and editing of !NetSurf themes. + + + +Theme file format +----------------- +[+0] 'NSTM' (0x4d54534e) +[+4] Minimum theme parser version required +[+8] Theme name (32 chars, null terminated) +[+40] Theme author (64 chars, null terminated) +[+104] Browser toolbar background (0x00-0x0f) +[+105] Hotlist toolbar background (0x00-0x0f) +[+106] Status bar background (0x00-0x0f) +[+107] Status bar foreground (0x00-0x0f) +[+108] Throbber is on the right (0x00) or left (0xff) +[+109] Reserved for future expansion (0x00) +[+110] Reserved for future expansion (0x00) +[+111] Reserved for future expansion (0x00) +[+112] Size of compressed sprite data +[+116] Size of uncompressed sprite data +[+120] Start of compressed sprite data diff --git a/!NSTheme/!Run,feb b/!NSTheme/!Run,feb new file mode 100644 index 0000000..1ee70c4 --- /dev/null +++ b/!NSTheme/!Run,feb @@ -0,0 +1,20 @@ +.!Boot + +| We need RISC OS 3.00 or greater +RMEnsure UtilityModule 3.00 Error NSTheme required RISC OS 3.00 or later + +| Ensure CallASWI is installed +| http://www.iyonix.com/32bit/ +RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.02 RMLoad System:Modules.CallASWI +RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.02 Error NSTheme requires the CallASWI module. This can be downloaded from http://www.iyonix.com/32bit/system.shtml + +| Ensure SharedUnixLibrary is installed +| http://www.chocky.org/unix/usage.html +RMEnsure SharedUnixLibrary 1.02 RMLoad System:Modules.SharedULib +RMEnsure SharedUnixLibrary 1.02 Error NSTheme requires SharedUnixLibrary 1.02 or later. This can be downloaded from http://www.chocky.org/unix/usage.html + +Wimpslot -min 160k -max 160k +Set NSTheme$Dir +Set NSTheme$Running yes +Run .!RunImage 2>.stderr +UnSet NSTheme$Running diff --git a/!NSTheme/!Sprites,ff9 b/!NSTheme/!Sprites,ff9 new file mode 100644 index 0000000..afc643c Binary files /dev/null and b/!NSTheme/!Sprites,ff9 differ diff --git a/!NSTheme/!Sprites22,ff9 b/!NSTheme/!Sprites22,ff9 new file mode 100644 index 0000000..ba77273 Binary files /dev/null and b/!NSTheme/!Sprites22,ff9 differ diff --git a/!NSTheme/5Sprites,ff9 b/!NSTheme/5Sprites,ff9 new file mode 100644 index 0000000..6daf777 Binary files /dev/null and b/!NSTheme/5Sprites,ff9 differ diff --git a/!NSTheme/5Sprites11,ff9 b/!NSTheme/5Sprites11,ff9 new file mode 100644 index 0000000..6bfaa62 Binary files /dev/null and b/!NSTheme/5Sprites11,ff9 differ diff --git a/!NSTheme/5Sprites22,ff9 b/!NSTheme/5Sprites22,ff9 new file mode 100644 index 0000000..2431eac Binary files /dev/null and b/!NSTheme/5Sprites22,ff9 differ diff --git a/!NSTheme/ASprites,ff9 b/!NSTheme/ASprites,ff9 new file mode 100644 index 0000000..2c2728c Binary files /dev/null and b/!NSTheme/ASprites,ff9 differ diff --git a/!NSTheme/ASprites11,ff9 b/!NSTheme/ASprites11,ff9 new file mode 100644 index 0000000..c0f822e Binary files /dev/null and b/!NSTheme/ASprites11,ff9 differ diff --git a/!NSTheme/ASprites22,ff9 b/!NSTheme/ASprites22,ff9 new file mode 100644 index 0000000..13c0662 Binary files /dev/null and b/!NSTheme/ASprites22,ff9 differ diff --git a/!NSTheme/Resources/en/Messages b/!NSTheme/Resources/en/Messages new file mode 100644 index 0000000..ed58fff --- /dev/null +++ b/!NSTheme/Resources/en/Messages @@ -0,0 +1,67 @@ +# English messages for NSTheme + +# Menus +NetSurf:NetSurf +Info:Info +AppHelp:Help... F1 +Quit:Quit +SaveAs:Save +Export:Export +SaveTitle:Save as +ExportTitle:Export sprites + +# Icon definitions +back:browser back icon +forward:browser forward icon +stop:browser stop icon +reload:browser reload icon +home:browser home icon +search:browser search icon +history:browser history icon +scale:browser scale icon +hotlist:browser hotlist icon +save:browser save icon +print:browser print icon +create:hotlist create entry icon +delete:hotlist delete entry icon +launch:hotlist launch icon +open:hotlist open directories icon +expand:hotlist expand entries icon +separator:toolbar separator +pushed: (pushed) + +# Report text +Title:NSTheme Sprites Report +WarnNoFile:Warning: No sprite file present. +WarnAlphaSpr:Warning: Sprite '%s' has an alpha channel specified. +WarnHighSpr:Warning: Sprite '%s' uses more than 256 colours. +WarnNoSpr:Warning: Sprite '%s' (%s%s) is missing. +WarnExtraSpr:Warning: Sprite '%s' is redundant. +WarnNoThrob:Warning: No throbber animation present. +WarnMissThrob:Warning: Throbber frame '%s' is missing. +CompleteErr:Analysis completed with %i warning(s). +CompleteOK:Analysis completed with no warnings. + +# Interactive help +HelpMain:\TNSTheme editing window.|MDrag a sprite file here to load it into the theme. +HelpMain3:\bwritable field specifies the theme name. +HelpMain5:\bwritable field specifies the theme author. +HelpMain8:\btick-box controls whether the theme throbber is on the left. +HelpMain11:\Sto view a report on the current sprites. +HelpMain12:\Sto remove the current sprites. +HelpMain16:\bis the current colour of the browser toolbar background. +HelpMain17:\Sto select the colour of the browser toolbar background. +HelpMain19:\bis the current colour of the hotlist toolbar background. +HelpMain20:\Sto select the colour of the hotlist toolbar background. +HelpMain22:\bis the current colour of the status bar background. +HelpMain23:\Sto select the colour of the status bar background. +HelpMain25:\bis the current colour of the status bar text. +HelpMain26:\Sto select the colour of the status bar text. +HelpAppInfo:\TNSTheme information \w. +HelpMainMenu0:\Rto save the theme. +HelpMainMenu1:\Rto export the theme sprites. +HelpMainMenu2:\Sview NSTheme's documentation. +HelpIconMenu0:\Rview information about this software. +HelpIconMenu1:\Sview NSTheme's documentation. +HelpIconMenu2:\Squit NSTheme. +HelpIconbar:\TNSTheme icon. \ No newline at end of file diff --git a/!NSTheme/Resources/en/Templates,fec b/!NSTheme/Resources/en/Templates,fec new file mode 100644 index 0000000..24e34a5 Binary files /dev/null and b/!NSTheme/Resources/en/Templates,fec differ -- cgit v1.2.3