Difference between revisions of "GUI Themes/Specs"

Jump to navigation Jump to search
55 bytes removed ,  23:48, 3 February 2007
→‎'pixmaps' section: make listings more consistent with the rest of the documentation
(→‎'gradients' section: got rid of some braces)
(→‎'pixmaps' section: make listings more consistent with the rest of the documentation)
Line 251: Line 251:
Basically there are four pixmaps per widget/dialog type:
Basically there are four pixmaps per widget/dialog type:


pix_typename_corner - Pixmap used for rendering all the corners.
* "pix_typename_corner" defines the pixmap used for rendering all the corners.The pixmap should show the upper left corner and is x/y flipped if needed.
                      The pixmap should show the upper left corner and is x/y flipped if needed.
* "pix_typename_top" defines the pixmap used for the top/bottom border. The pixmap should show the top border and is y flipped if it draws the bottom border.
pix_typename_top - Pixmap used for the top/bottom border.
* "pix_typename_left" defines the pixmap used for the left/right border. The pixmap should show the left border and is x flipped if it draws the right border.
                    The pixmap should show the top border and is y flipped if it draws the bottom border.
* "pix_typename_bkgd" defines the pixmap used for the background.
pix_typename_left - Pixmap used for the left/right border (x inversed for the right border)
                    The pixmap should show the left border and is x flipped if it draws the right border.
pix_typename_bkgd - Pixmap used for the background (all that's not corner or border)


Here's some example to defined the pixmaps used for dialog drawing:
Here's some example to defined the pixmaps used for dialog drawing:
Line 273: Line 270:
some special pixmaps defined:
some special pixmaps defined:


pix_widget_arrow - Pixmap used for all arrows in widgets (like in the scrollbar widget).
* "pix_widget_arrow" defines the pixmap used for all arrows in widgets (like in the scrollbar widget). It should be an image of an arrow pointing upwards, and is y flipped if an arrow pointing downwards is drawn.
                    It should be an image of an arrow pointing upwards, and is y flipped if
* "pix_checkbox_empty" defines the pixmap used for empty checkboxes.
                    an arrow pointing downwards is drawn.
* "pix_checkbox_checked" defines the pixmap used for checked checkboxes.
pix_checkbox_empty - Pixmap used for empty checkboxes.
* "pix_theme_logo" defines the pixmap used as logo.
pix_checkbox_checked - Pixmap used for checked checkboxes.
* "pix_cursor_image" defines the pixmap used as mouse cursor. Note that just the first 255 colors found are used.
pix_theme_logo - Pixmap used as logo.
pix_cursor_image - Pixmap used as mouse cursor. Nnote that just the first 255 colors found are used.


==== 'colors' section ====
==== 'colors' section ====
561

edits

Navigation menu