aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeClassic.cpp
AgeCommit message (Collapse)Author
2008-08-19Remove Deinit when hiding menu! UI infoprints needed the pixelbuffer.Lars Persson
svn-id: r34021
2008-08-18Do Deinit of pixel buffer when hiding menu.That saves 600KB in VGA games for ↵Lars Persson
low memory devices. svn-id: r34000
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-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-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-02-08Moved definition of ThemeClassic and ThemeModern to their own files.Johannes Schickel
svn-id: r25432
2006-11-11Fix valgrind warning on unitialized variable.Eugene Sandulenko
svn-id: r24675
2006-10-08Cleanup.Johannes Schickel
svn-id: r24240
2006-10-08Oops...Johannes Schickel
svn-id: r24238
2006-10-08Fixed disabled blending for classic theme.Johannes Schickel
svn-id: r24237
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- reworked my commit for r24216, not 'Classic (Builtin)' uses the builtin ↵Johannes Schickel
classic theme and classic uses the classic.ini file - save the chosen theme now svn-id: r24222
2006-10-08- Forcing 'classic' as the builtin classic theme (which means it ignores the ↵Johannes Schickel
classic.ini atm) svn-id: r24216
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-08Ooops. making the classic theme working without a config again.Johannes Schickel
svn-id: r24200
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-07-23String class usage cleanupMax Horn
svn-id: r23582
2006-06-21Reverting here too.Johannes Schickel
svn-id: r23253
2006-06-21Ok after a few checks this is how it should be (fixing problems with my last ↵Johannes Schickel
commits). svn-id: r23251
2006-06-21Oops fixes problem introduced with last commit.Johannes Schickel
svn-id: r23250
2006-06-21Commits fix for crashing about dialog mentioned my Marucs on -devel.Johannes Schickel
svn-id: r23248
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-05Fix various typenames to comply to the ScummVM coding guidelinesMax Horn
svn-id: r22928
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-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-29Fixes widget drawing for classic theme.Johannes Schickel
svn-id: r22734
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-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-19Started to prepare the gui for runtime resolution switches.Johannes Schickel
(some little things could be missing yet though) svn-id: r22017
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-14- implements .bdf font loader based on convbdf (sure could have some clean up)Johannes Schickel
- 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
2006-04-11Draws the same border for 'kWidgetBackgroundPlain' as for ↵Johannes Schickel
'kWidgetBackgroundBorderSmall'. This fixes missing border in the pop up widget. svn-id: r21796
2006-04-11Fixes disappearing borders with classic theme.Johannes Schickel
svn-id: r21795
2006-04-11Makes classic theme compile without OLDGUI_TRANSPARENCY again.Johannes Schickel
svn-id: r21790
2006-04-02- moves some code in ThemeNew.cpp (calcGradient and calcAlpha to the bottom)Johannes Schickel
- 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
2006-03-24Fix chechbox label alignment.Eugene Sandulenko
svn-id: r21433
2006-03-18theme.cpp -> ThemeClassic.cpp for consistency and less confusionEugene Sandulenko
svn-id: r21363