561
edits
(→'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" defines the pixmap used for rendering all the corners.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_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. | |||
* "pix_typename_bkgd" defines the pixmap used for the background. | |||
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" 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. | |||
* "pix_checkbox_empty" defines the pixmap used for empty checkboxes. | |||
* "pix_checkbox_checked" defines the pixmap used for checked checkboxes. | |||
* "pix_theme_logo" defines the pixmap used as logo. | |||
* "pix_cursor_image" defines the pixmap used as mouse cursor. Note that just the first 255 colors found are used. | |||
==== 'colors' section ==== | ==== 'colors' section ==== |
edits