aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeNew.cpp
AgeCommit message (Collapse)Author
2006-10-25- renamed GUI::ThemeNew to GUI::ThemeModernJohannes Schickel
- renamed ThemeNew.cpp to ThemeModern.cpp svn-id: r24512
2006-10-10Using the correct factor for the slider background now.Johannes Schickel
svn-id: r24269
2006-10-08Make modern and classic theme config files use the same version number.Johannes Schickel
svn-id: r24236
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-09-30Get rid of CharStar_BaseNode and consorts -- using a simple String is more ↵Max Horn
efficient, now that it has optimizations for small strings. Also made various related changes, turning char pointers into String objects in several spots svn-id: r24044
2006-08-18slightly changed patch #1521412: Hardcoded path for theme filesWillem Jan Palenstijn
svn-id: r23723
2006-07-23String class usage cleanupMax Horn
svn-id: r23582
2006-07-15Makes usage of themepath over extrapath then loading the gui files.Johannes Schickel
svn-id: r23504
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-20Cleanup. It seems unnecessary to have a "break" right after an unconditionalTorbjörn Andersson
return in a switch case. svn-id: r23198
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-15Delete the old cursor buffer before allocating a new one. If the theme isTorbjörn Andersson
enabled by the time it's refreshed, replace the cursor. svn-id: r23122
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-13Removed printf() debug message.Torbjörn Andersson
svn-id: r23085
2006-06-13Let the [cursor] palette manager handle disableCursorPalette() too, to avoidTorbjörn Andersson
cursor glitch in at least some HE games which first set a cursor palette, and then disable it. (The disabled palette would be re-enabled after dismissing the GUI.) svn-id: r23081
2006-06-07oops. More appropriate place for loading fonts. Avoids loading fonts onEugene Sandulenko
each GUI start svn-id: r22968
2006-06-07Fix regression with console having wrong font on startup.Eugene Sandulenko
svn-id: r22967
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-05Some more string usage tweaksMax Horn
svn-id: r22936
2006-06-05cleanupMax Horn
svn-id: r22930
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-30Should fix drawing on systems with alpha mask.Johannes Schickel
svn-id: r22773
2006-05-30A quick hack to let PSP gui use bigger fonts. Proper solution is to addEugene Sandulenko
possibility to specify font for each widget class svn-id: r22770
2006-05-29Introduces special switch for GraphicsWidget for use of theme transparency ↵Johannes Schickel
again. svn-id: r22746
2006-05-29Oops this reverts my last commit. :/Johannes Schickel
svn-id: r22742
2006-05-29- comments out getColorAlphaImp2Johannes Schickel
- adds note in getColorAlpha about we handle negative alpha values currently (could be removed when getColorAlphaImp2 get's fixed) svn-id: r22741
2006-05-29- cleanupJohannes Schickel
- uses working getColorAlphaImpl for alpha == 0 in getColorAlpha svn-id: r22740
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-27Don't draw the shadow outside the scrollbar (should fix 'garbage' when ↵Johannes Schickel
moving the scrollbar) svn-id: r22680
2006-05-27Fixes caret drawing in EditTextWidgets.Johannes Schickel
svn-id: r22678
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-25The GUI never asked for the cursor to be visible. I'm not sure why that used toTorbjörn Andersson
work before the cursor manager. Oh well, the launcher should have a visible cursor again, knock on wood. svn-id: r22641
2006-05-25Set and show/hide mouse cursors through a "cursor manager" (analogous to theTorbjörn Andersson
recently added (cursor) palette manager) so that the cursor can be properly restored after returning from the GUI. If there's any C++ magic that can keep the backend functions from being called by anything else than these managing classes, that would probably be a good idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps there are at least some backends that will no longer need to? svn-id: r22639
2006-05-20After the GUI has finished, restore the old cursor palette (if any). For thisTorbjörn Andersson
to work, cursor palette now has to be set using the new "palette manager". See graphics/paletteman.cpp svn-id: r22543
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-18- Revert additional setUpCursor() call as it broke in-game cursor paletteEugene Sandulenko
- Disable scaling for cursors which have target scale defined svn-id: r22509
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