Open main menu

Difference between revisions of "GUI Themes/Specs"

433 bytes added ,  22:49, 3 February 2007
→‎'pixmaps' section: some additions
(→‎'pixmaps' section: some additions)
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 - Pixmap used for rendering all the corners.
  pix_typename_top - pixmap used for the top/bottom border (y inversed for the bottom border)
                      The pixmap should show the upper left corner and is x/y flipped if needed.
  pix_typename_left - pixmap used for the left/right border (x inversed for the right border)
  pix_typename_top - Pixmap used for the top/bottom border.
  pix_typename_bkgd - pixmap used for the background (all that's not corner or border)
                    The pixmap should show the top border and is y flipped if it draws the bottom border.
  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 270: Line 273:
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 - Pixmap used for all arrows in widgets (like in the scrollbar widget).
  pix_checkbox_empty - pixmap used for empty checkboxes
                    It should be an image of an arrow pointing upwards, and is y flipped if
  pix_checkbox_checked - pixmap used for checked checkboxes
                    an arrow pointing downwards is drawn.
  pix_theme_logo - pixmap used as logo
  pix_checkbox_empty - Pixmap used for empty checkboxes.
  pix_cursor_image - pixmap used as mouse cursor (note that just the first 255 colors found are used)
  pix_checkbox_checked - Pixmap used for checked checkboxes.
  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