aboutsummaryrefslogtreecommitdiff
path: root/gui/theme.h
AgeCommit message (Collapse)Author
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-11-04- made Widget::_flags privateJohannes Schickel
- reworked state (enabled/disabled/highlighted) handling of widgets - cleanup in ModernTheme.cpp svn-id: r29403
2007-11-04Typos :PSven Hesse
svn-id: r29398
2007-11-04- cleanupJohannes Schickel
- consistency fix in modern.ini - increased THEME_VERSION svn-id: r29396
2007-11-04- starting to document the theme rendererJohannes Schickel
- Theme::closeDialog -> Theme::closeAllDialogs, since it would remove every dialog currently svn-id: r29394
2007-10-28Patch v5.2 from #1752243: "backends lib patches"Eugene Sandulenko
svn-id: r29283
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-06-11Bump theme versionEugene Sandulenko
svn-id: r27346
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-25Removing lots of superfluous semicola (see mail by David Weinehall on ↵Max Horn
scummvm-devel) svn-id: r26594
2007-03-10Move mass add dialog settings to theme config. Bump theme ini version.Eugene Sandulenko
svn-id: r26058
2007-02-13Bump theme version.Eugene Sandulenko
svn-id: r25569
2007-02-08Moved definition of ThemeClassic and ThemeModern to their own files.Johannes Schickel
svn-id: r25432
2007-02-04- changed the way how gradients are calculatedJohannes Schickel
- bumped theme version svn-id: r25369
2007-02-03Changed _imageHandels into an array.Johannes Schickel
svn-id: r25363
2007-02-03Replaced 'typedef Common::String String' with explicit usages of ↵Max Horn
Common::String (mainly to make doxygen happy) svn-id: r25360
2006-12-27Fix bug #1595627: "SCUMM: F5 crashes game (640x480)". This partiallyEugene Sandulenko
reverts commit r24656 for fixing bug #1590596 and effectively fixes both. svn-id: r24933
2006-10-25- Fix crash if theme_logo.visible is set to true in a classic theme config fileJohannes Schickel
svn-id: r24513
2006-10-25- renamed GUI::ThemeNew to GUI::ThemeModernJohannes Schickel
- renamed ThemeNew.cpp to ThemeModern.cpp svn-id: r24512
2006-10-08Make modern and classic theme config files use the same version number.Johannes Schickel
svn-id: r24236
2006-10-08Adding option to enable/disable blending for the classic theme.Johannes Schickel
svn-id: r24234
2006-10-08Displaying the theme name instead of the theme config file name in the ↵Johannes Schickel
'Misc' section of the Options dialog. svn-id: r24231
2006-10-08- Added dialog for selecting the theme to useJohannes Schickel
- Added runtime theme switching svn-id: r24213
2006-10-08- added auto detection of the Theme style to useJohannes Schickel
- fixed a bug which would lead to a crash when loading the modern theme config with the classic theme svn-id: r24201
2006-10-08- added config file support for the classic themeJohannes Schickel
- added a sample config file (called 'classic.ini', which is based on Theme::_defaultConfigINI) - added check for the type of the theme config file ('modern' and 'classic' for the respective Theme classes) - bumped theme config version for the modern theme svn-id: r24199
2006-10-08Uses the slider background settings instead of the edit text widget settings ↵Johannes Schickel
for the slider background. svn-id: r24187
2006-06-15- Adds 'THEME_HINT_NO_BACKGROUND_RESTORE' for buttons which don't want ↵Johannes Schickel
restored background (example: the tab scrolling buttons). - Call _theme->drawAll() at the end of the redraw method of NewGui svn-id: r23134
2006-06-15Fix drawing of tab widget. Now it matches mock-ups. Added tab scrolling.Eugene Sandulenko
svn-id: r23116
2006-06-14Implements new Tab drawing for modern theme (nearlly matches mockups now)Johannes Schickel
svn-id: r23106
2006-06-10This may cut down a little on unnecessary strings / mallocs:Torbjörn Andersson
* Only create the self.[xywh] aliases and its variables if prefixedname has no periods in it, e.g. MusicText.x, but not MusicText.align.x * Set the .r, .g and .b variables directly, rather than aliasing them through .x, .y and .w svn-id: r23000
2006-06-06Move whole theme ini file to evaluator. Next step is caching. Also now it isEugene Sandulenko
possible to use per-resolution gfx and colors, i.e. complete customization. svn-id: r22964
2006-06-05Fixing some more typenames to comply to the ScummVM coding guidelinesMax Horn
svn-id: r22929
2006-06-05Fix various typenames to comply to the ScummVM coding guidelinesMax Horn
svn-id: r22928
2006-06-03*Loads* of Common::String related optimizations. Woa, *tons* of methods were ↵Max Horn
copying strings needlessly svn-id: r22873
2006-05-29Introduces special switch for GraphicsWidget for use of theme transparency ↵Johannes Schickel
again. svn-id: r22746
2006-05-29- changes transparency parameter of Theme::drawSurface to alpha parameter.Johannes Schickel
- adds possibility to draw GraphicsWidgets with alpha values. svn-id: r22738
2006-05-29Removes leftover comment.Johannes Schickel
svn-id: r22737
2006-05-29- Fixes disabled transparency for classic theme.Johannes Schickel
- Introduces check for define 'CT_NO_TRANSPARENCY' to disable transparency support. svn-id: r22735
2006-05-27Major GUI update:Eugene Sandulenko
- Implemented padding in console - Update only current line in console instead of whole screen - Fixed caret positioning in edit text widget - Improved buttons drawing, now they look more realistic - Added label spacing in popup widget - Correct shadow in popup widget - Fixed up with selected popup widget being drawn on wrong tab - Added shading to list dialog - Adjusted shading of inactive widgets - Proper coloring of browset (add game) dialog - Introduced Container widget - Used Container widget in scumm save/load dialog. Now it looks properly - Adjusted button colors even more. Now they match almost perfectly albeit with banding - Made scrollbar appear only when it is really needed svn-id: r22670
2006-05-26Use Courier 12pt (free one) for 2x and 3x console. Looks much more useable now.Eugene Sandulenko
svn-id: r22644
2006-05-18Proper rendering of slider widget.Eugene Sandulenko
svn-id: r22527
2006-05-18- Fix spelling in theme configEugene Sandulenko
- Introduce embossing shadow - Less round corners in popup widget - Custom border in editable text widget - Matched color in popup widget and editable text widget with mock-ups - Less round corners in editable text widget - Text padding in editable text widget svn-id: r22525
2006-05-18Better cursor imageEugene Sandulenko
svn-id: r22507
2006-04-25Uses the special cursor color palette for the cursor now (this fixes ↵Johannes Schickel
problems with creation of thumbnails of the scumm engine) svn-id: r22152
2006-04-25- minor cleanup in modern.iniEugene Sandulenko
- implement skipFor theme section keyword svn-id: r22151
2006-04-19Adds handleScreenChanged() to NewGui, so (scumm) engine can call it when it ↵Johannes Schickel
recives a EVENT_SCREEN_CHANGED. svn-id: r22025
2006-04-19Fixes problems with wrong colors on the overlay in scumm engine.Johannes Schickel
svn-id: r22024
2006-04-19Implements custom cursor support for the new theme and includes a standard ↵Johannes Schickel
cursor (it should be replaced though). svn-id: r22019
2006-04-18- adds own drawing function for (not expanded) popup widgetsJohannes Schickel
- adds pixmaps, colorfades, and gradient factor for the (not expanded) popup widget in new theme - bumps themeconfig version svn-id: r22011
2006-04-16- Moves Graphics::loadFont to Graphics::NewFont::loadFontJohannes Schickel
- adds code for caching of fonts (just for Graphics::NewFont) - implements cache using in the modern theme for custom fonts - adds cache file for current normal font in the theme zip file svn-id: r21952