Changes

Jump to navigation Jump to search
9 bytes removed ,  13:40, 16 April 2006
m
== What to do if I need to add new widgets to GUI ==
First thing to mention, is that all real GU behaviour is not described in theme config. Only thing which you You can only alter is the look, not the feel. So all real coding should go to correspondent in corresponding files in gui/ directory.
When you add a new widget, you should check it with following follow this checklist before committing:
* Does it look right in 320xY (./scummvm --force-1x-overlay)
** To do this you should either have no absolute positions in your config file or create [320xY] section
* Does it look right with classic theme (./scummvm --gui-theme=classic)
** that is the [XxY] section in gui/theme-config.cpp
* Does it look right <u>both</u> with classic theme and 320xY resolution (./scummvm --force-1x-overlay --gui-theme=classic)
** that is the [320xY] section in gui/theme-config.cpp
Currently the classic theme has the following most notable differences from default the modern theme:
* Line spacing everywhere is narrower
* Indentation is lesser in most cases, besides in Game Options dialog
67

edits

Navigation menu