Age | Commit message (Collapse) | Author |
|
- adds three different font styles to the themes (normal, bold (default one), italic)
- implements code for specifing the font files in the theme config ('fontfile_normal','fontfile_bold' and 'fontfile_italic' in the 'extra' section)
- changes EditTextWidget to use the normal font (has some minor aligment problems with the caret now, though)
- extends the FontManager (new functions: getFontByName, assignFontToName, removeFontName)
- adds the font style constans to the builtin constants for the evaluator)
svn-id: r21868
|
|
- Implements 'negativ alpha' values for drawSurfaceMasked (from -1 to -100, used to dim the pixels -1 means very very small dim -100 should be black)
- Changes drawSurfaceMasked to use macros for easy changing drawing code
svn-id: r21852
|
|
svn-id: r21850
|
|
svn-id: r21795
|
|
svn-id: r21790
|
|
effect + less memory while gui isn't shown)
svn-id: r21766
|
|
- added possibility to use a shading effect on inactive dialogs (luminance and dim are builtin, and special ablility to specifiy a own expression, evaluated via the evaluator)
- adds also a color cache (atm it's generated on startup)
- uses luminance effect by default
- bumps theme config version to 7
svn-id: r21544
|
|
to a minimum
svn-id: r21426
|
|
Logo is still shown weirdly.
svn-id: r21268
|
|
svn-id: r21187
|
|
o Converted global options dialog to new scheme.
svn-id: r21137
|
|
o Cleanup of launcher dialog
o Implemented useWithPrefix keyword
svn-id: r21131
|
|
o Implemented special alias 'prev'
o Added new calling scheme to several widgets
o Partially converted launcher dialog to new scheme
o Converted couple widgets of chooser dialog
svn-id: r21118
|
|
http://wiki.scummvm.org/index.php/GUI_Themes
Code is not yet used.
svn-id: r21115
|
|
svn-id: r21083
|
|
rect like before)
'cleaned up' the drawSurfaceMasked function a bit.
svn-id: r21082
|
|
and disabled the complete new theme if 'DISABLE_FANCY_THEMES' is defined.
svn-id: r21078
|
|
active tab isn't drawn anymore)
svn-id: r20669
|
|
svn-id: r20518
|
|
(new color entries for highlighted buttons and for other widgets).
Also added a 'highlight' check to the CheckBox widget.
Changed the PopUpDialog to use a shadow around itself.
svn-id: r20341
|
|
svn-id: r20338
|
|
that should fix redrawing bugs with the about dialog.
Also I displayed cached background usage in the console for now, since
it produces redraw bugs with the old theme (maybe someone with knowledge how
redrawing of that dialog is handled should look at that).
svn-id: r20337
|
|
also update the default theme zip file for that.
Also it changes the way the tab buttons get drawn, now they have
only rounded corners at the top.
svn-id: r20336
|
|
- Changed gradient calculating
- added background saving for all dialog/widget backgrounds for now (change that later maybe)
- changed ScummDialog to use the colors of our launcher dialog
svn-id: r20276
|
|
svn-id: r20235
|
|
- adds a ImageMan and ImageDec class for loading and managing image files
- adds a loader for zip files which is used by the new theme and the image manager
- changes the widgets to use the new gui code
- changes the scumm dialogs to use the new gui code
- fixes a #include problem in the sky debugger with the new gui code
To use the new gui copy gui/themes/default-theme.zip to your extrapath.
If the theme zip can not be found the gui will fallback to the classic theme.
If you want to change the gui styles use "gui_theme=classic" for the classic theme
and "gui_theme=default-theme" for the new theme.
Thanks to eriktorbjorn for testing and help with the new theme and to sev for
reviewing this patch.
svn-id: r20227
|