summaryrefslogtreecommitdiff
path: root/!NSTheme
diff options
context:
space:
mode:
Diffstat (limited to '!NSTheme')
-rw-r--r--!NSTheme/!Boot,feb10
-rw-r--r--!NSTheme/!Help23
-rw-r--r--!NSTheme/!Run,feb20
-rw-r--r--!NSTheme/!Sprites,ff9bin0 -> 1580 bytes
-rw-r--r--!NSTheme/!Sprites22,ff9bin0 -> 3228 bytes
-rw-r--r--!NSTheme/5Sprites,ff9bin0 -> 3092 bytes
-rw-r--r--!NSTheme/5Sprites11,ff9bin0 -> 11132 bytes
-rw-r--r--!NSTheme/5Sprites22,ff9bin0 -> 4868 bytes
-rw-r--r--!NSTheme/ASprites,ff9bin0 -> 3664 bytes
-rw-r--r--!NSTheme/ASprites11,ff9bin0 -> 15892 bytes
-rw-r--r--!NSTheme/ASprites22,ff9bin0 -> 6092 bytes
-rw-r--r--!NSTheme/Resources/en/Messages67
-rw-r--r--!NSTheme/Resources/en/Templates,fecbin0 -> 2365 bytes
13 files changed, 120 insertions, 0 deletions
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 <Obey$Dir>.!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 "<Boot$OSVersion>" < "436" Then IconSprites <Obey$Dir>.!Sprites Else If "<Boot$OSVersion>" < "500" Then IconSprites <Obey$Dir>.ASprites Else IconSprites <Obey$Dir>.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 @@
+<Obey$Dir>.!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 <Obey$Dir>
+Set NSTheme$Running yes
+Run <Obey$Dir>.!RunImage 2><Obey$Dir>.stderr
+UnSet NSTheme$Running
diff --git a/!NSTheme/!Sprites,ff9 b/!NSTheme/!Sprites,ff9
new file mode 100644
index 0000000..afc643c
--- /dev/null
+++ b/!NSTheme/!Sprites,ff9
Binary files differ
diff --git a/!NSTheme/!Sprites22,ff9 b/!NSTheme/!Sprites22,ff9
new file mode 100644
index 0000000..ba77273
--- /dev/null
+++ b/!NSTheme/!Sprites22,ff9
Binary files differ
diff --git a/!NSTheme/5Sprites,ff9 b/!NSTheme/5Sprites,ff9
new file mode 100644
index 0000000..6daf777
--- /dev/null
+++ b/!NSTheme/5Sprites,ff9
Binary files differ
diff --git a/!NSTheme/5Sprites11,ff9 b/!NSTheme/5Sprites11,ff9
new file mode 100644
index 0000000..6bfaa62
--- /dev/null
+++ b/!NSTheme/5Sprites11,ff9
Binary files differ
diff --git a/!NSTheme/5Sprites22,ff9 b/!NSTheme/5Sprites22,ff9
new file mode 100644
index 0000000..2431eac
--- /dev/null
+++ b/!NSTheme/5Sprites22,ff9
Binary files differ
diff --git a/!NSTheme/ASprites,ff9 b/!NSTheme/ASprites,ff9
new file mode 100644
index 0000000..2c2728c
--- /dev/null
+++ b/!NSTheme/ASprites,ff9
Binary files differ
diff --git a/!NSTheme/ASprites11,ff9 b/!NSTheme/ASprites11,ff9
new file mode 100644
index 0000000..c0f822e
--- /dev/null
+++ b/!NSTheme/ASprites11,ff9
Binary files differ
diff --git a/!NSTheme/ASprites22,ff9 b/!NSTheme/ASprites22,ff9
new file mode 100644
index 0000000..13c0662
--- /dev/null
+++ b/!NSTheme/ASprites22,ff9
Binary files 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
--- /dev/null
+++ b/!NSTheme/Resources/en/Templates,fec
Binary files differ