summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-10-02 12:53:45 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-10-02 12:53:45 +0000
commite90ef5bab82a7ac6ad65571a9e00757cfbfe59be (patch)
tree7c8a45213a620624c21042ef3a3a7eb464719297 /docs
parentb8bfbb095b9145384d9f5d443f32805161370261 (diff)
downloadfpGUI-e90ef5bab82a7ac6ad65571a9e00757cfbfe59be.tar.xz
* My mini theming spec.
Diffstat (limited to 'docs')
-rw-r--r--docs/theming_spec.txt38
1 files changed, 38 insertions, 0 deletions
diff --git a/docs/theming_spec.txt b/docs/theming_spec.txt
new file mode 100644
index 00000000..ab50ff57
--- /dev/null
+++ b/docs/theming_spec.txt
@@ -0,0 +1,38 @@
+This is a mini theme specification I have so far. I still need to work
+on the finer details, but I believe it's a start.
+
+- Composite images for each themed component
+- A text file describing the layout of each of those composite images.
+- The text file will also contain a lot more metadata. Things like:
+ * Theme name & description
+ * Author of theme (credits)
+ * Theme version
+ * Controls that are themed.
+ * Composite image layout information per control (image count, state
+ count, border width etc.)
+ * Gradients used in theme. For example the background color of a Form,
+ PageControl or Panel. Also specifying starting and ending colors.
+ Direction of gradient. Gradient Type (linear, radial, box etc).
+ * Recommended Fonts
+ * Font colors
+ * whatever else we can think of!
+- Themes will be contained in a zip archive (or some non-solid archive
+ method) and data will be read directly as if it was a file system. No
+ prior decompression is required. I already helped develop a component
+ which can do this with the zip format.
+- Create some theme designer which will generate the theme archive and
+ will also generate the theme text file containing all the metadata. A
+ graphics artist must be able to use this tool and not just developers.
+- There will be some default themes in fpGUI, that are not based on
+ composite images. These will always be available in fpGUI apps and
+ switchable at application startup with -style=<themename> parameter.
+ Built in themes will be:
+ * Win2000
+ * ClearLook (look-alike)
+ * Motif
+ * BlueCurve (look-alike as was done in RedHat 9)
+ * WinXP might be built in, otherwise it will be available as a
+ image based theme. Silver and Lunar colours.
+
+
+