aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeNew.cpp
AgeCommit message (Collapse)Author
2006-02-24Cleanup.Torbjörn Andersson
svn-id: r20841
2006-02-13Implemented new tab drawing, should look nicer now. (The border under the ↵Johannes Schickel
active tab isn't drawn anymore) svn-id: r20669
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20518
2006-02-05Change behaviour of checkboxes to more logical.Eugene Sandulenko
svn-id: r20416
2006-02-03fixes allow compile with emsvc4 againPaweł Kołodziejski
svn-id: r20355
2006-02-01Fix glitch when moving the mouse over a disabled, checked checkbox. (TheTorbjörn Andersson
check mark would become brighter, and I think it was because a transparent mark was drawn over a transparent mark, thus "amplifying" it.) svn-id: r20344
2006-02-01Much improved how shadows look. However it is done with a really dirtyEugene Sandulenko
hack as tehre is lots of overdraw, abuse of shadow width and code duplication. Anyway shadow drawing code will go to separate functioMuch improved how shadows look. However it is done with a really dirty hack as tehre is lots of overdraw, abuse of shadow width and code duplication. Anyway shadow drawing code will go to separate function. svn-id: r20343
2006-02-01Implemented shadow drawing, also extended the theme config againJohannes Schickel
(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
2006-01-31Fixes color bugs with the new theme when switching to fullscreen on Mac OS X.Johannes Schickel
svn-id: r20338
2006-01-31Adds more configureable options to the config file of the new theme,Johannes Schickel
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
2006-01-31Tabs look better with dialog surfaces than with widget surfaces. There'sTorbjörn Andersson
still room for improvements, though... svn-id: r20330
2006-01-31I didn't realize that disabled widgets were transparent, rather than justTorbjörn Andersson
faded. In those cases, I guess the background should be restored before drawing. But that can probably be done in the drawSurface / drawRect functions instead, like this. svn-id: r20329
2006-01-31I assume this call to restoreBackground() is unnecessary.Torbjörn Andersson
svn-id: r20328
2006-01-30Replace use of sscanfChris Apers
svn-id: r20311
2006-01-29Ok this should fix now all problems with drawing bugs of texts.Johannes Schickel
svn-id: r20298
2006-01-29Fixes redraw bugs with the about dialog and the new theme.Johannes Schickel
svn-id: r20297
2006-01-29Fixes transparency and enabled transparency for disabled buttons.Johannes Schickel
svn-id: r20295
2006-01-28Changed calcGradient again, should look nicer now.Johannes Schickel
svn-id: r20280
2006-01-28Fixes a bug while loading the theme config from the zip file (now the caret ↵Johannes Schickel
should be black). svn-id: r20277
2006-01-28- Fixes a bug that the debugger crashed while openingJohannes Schickel
- 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
2006-01-27This should fix bug # 1416862 (new theme: changing overlay size).Johannes Schickel
svn-id: r20253
2006-01-27Proper RCS IDs.Eugene Sandulenko
svn-id: r20235
2006-01-27Fix crash on platforms which do not initialize memory with zeroes.Eugene Sandulenko
svn-id: r20234
2006-01-27fixed warningPaweł Kołodziejski
svn-id: r20231
2006-01-27Oops forgot to change calcColor to calcGradient before commiting.Johannes Schickel
svn-id: r20230
2006-01-27 - adds the new gui renderer also a new implementation for the classic guiJohannes Schickel
- 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