Difference between revisions of "GUI Themes/Specs"

Jump to navigation Jump to search
654 bytes added ,  00:51, 2 April 2006
updated todo list and added documentation about the inactive dialog shading abilities of the new theme
(Update ToDo list)
(updated todo list and added documentation about the inactive dialog shading abilities of the new theme)
Line 2: Line 2:
* Add possibility to specify shadow types to widget classes and to individual widgets
* Add possibility to specify shadow types to widget classes and to individual widgets
* Theme hints too
* Theme hints too
* Add dimming of underlying (inactive) dialogs
** do that in most flexible way, i.e. we will have several predefined methods and custom one
*** black/white
*** dimming
*** custom r, g and b
* List widget
* List widget
** get mock-up from Krest
** get mock-up from Krest
Line 227: Line 222:


Here you will get global_midipopup and game_midipopup widgets defined.
Here you will get global_midipopup and game_midipopup widgets defined.
=== Inactive dialog effects (new theme only) ===
For using an effect change the "inactive_dialog_shading" option in the "[extra]" section of default-theme.ini.
Possible values are: "luminance", "dim" and "custom".
* "luminance" will change all inactive screen areas to black and white.
* "dim" will dim the screen with the given percentage value.
** "shading_dim_percent" in the "[extra]" section sets the dimming value 0 means no dim, 100 complete black
* "custom" will let you decide how the color is calculated.
** "shading_custom_r" is used to evaluate the R component [0 to 255]
** "shading_custom_g" is used to evaluate the G component [0 to 255]
** "shading_custom_b" is used to evaluate the B component [0 to 255]
** the vars 'r', 'g', 'b' are the input color components, you can use them in every of the shading_custom_* expressions


== Evaluation precedence ==
== Evaluation precedence ==
561

edits

Navigation menu