Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-04-12 | - some little clean ups | Johannes Schickel | |
- improves speed of the dimming effect (get's rid of divisions in favour of shifts) - improves speed of calcGradient (nearlly twice as fast in my tests now) svn-id: r21817 | |||
2006-04-11 | Checks if something is drawn out of the screen in drawSurfaceMasked (fixes ↵ | Johannes Schickel | |
crashes with --force-1x-overlay) svn-id: r21794 | |||
2006-04-11 | - cleans up drawSurfaceMasked a little bit | Johannes Schickel | |
- get rid of getColorAlpha in drawSurfaceMasked if no alpha blending is used svn-id: r21792 | |||
2006-04-11 | Changed drawScrollbar to use drawShadow. | Johannes Schickel | |
svn-id: r21791 | |||
2006-04-10 | Implements saving the color cache to a file (much faster startup for custom ↵ | Johannes Schickel | |
effect + less memory while gui isn't shown) svn-id: r21766 | |||
2006-04-02 | With this change, backends are now responsible for instantiating their ↵ | Max Horn | |
OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently) svn-id: r21557 | |||
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-25 | - Revert my last change with moving addDefaultDirectory() from TheneNew.cpp | Eugene Sandulenko | |
- Removed locking of further directory adds because it did not work for themes. svn-id: r21452 | |||
2006-03-25 | - Move AddDefaultDirectory() calls in somon engine to constructor | Eugene Sandulenko | |
- Move AddDefaultDirectory() from NewTheme.cpp to main.cpp svn-id: r21451 | |||
2006-03-24 | Fix chechbox label alignment. | Eugene Sandulenko | |
svn-id: r21433 | |||
2006-03-24 | o Rearranged options dialog | Eugene Sandulenko | |
o Made button corners less round to match mock-ups svn-id: r21423 | |||
2006-03-24 | Bump theme version number | Eugene Sandulenko | |
svn-id: r21421 | |||
2006-03-21 | Fix bug #1455213: "GUI: ExtraPath won't display" and turn theme version | Eugene Sandulenko | |
into #define. svn-id: r21395 | |||
2006-03-20 | Updates the config version for the new theme to 4 in the warning which is ↵ | Johannes Schickel | |
printed if the version is too low. svn-id: r21393 | |||
2006-03-20 | Bump theme config version number to avod confusion. A key was added there, | Eugene Sandulenko | |
but I didn't bump it last time. svn-id: r21391 | |||
2006-03-14 | Fix logo drawing. | Eugene Sandulenko | |
svn-id: r21269 | |||
2006-03-14 | Rearrange launcher. | Eugene Sandulenko | |
Logo is still shown weirdly. svn-id: r21268 | |||
2006-03-07 | WIP for arbitrary widget positions. See | Eugene Sandulenko | |
http://wiki.scummvm.org/index.php/GUI_Themes Code is not yet used. svn-id: r21115 | |||
2006-03-04 | Oops, fixes problems with disabled widgets (they need full drawn shadows). | Johannes Schickel | |
svn-id: r21083 | |||
2006-03-04 | Improved shadow drawing (it's faster now since it doesn't draw the whole ↵ | Johannes Schickel | |
rect like before) 'cleaned up' the drawSurfaceMasked function a bit. svn-id: r21082 | |||
2006-03-04 | Removed colorToRGB and RGBToColor calls when calculating alpha | Johannes Schickel | |
and disabled the complete new theme if 'DISABLE_FANCY_THEMES' is defined. svn-id: r21078 | |||
2006-02-24 | Fixed redraw glitch. Our editable widgets were asking the theme to draw a very | Torbjörn Andersson | |
wide caret. Changed that width to 1. svn-id: r20842 | |||
2006-02-24 | Cleanup. | Torbjörn Andersson | |
svn-id: r20841 | |||
2006-02-13 | Implemented new tab drawing, should look nicer now. (The border under the ↵ | Johannes Schickel | |
active tab isn't drawn anymore) svn-id: r20669 | |||
2006-02-11 | Change CVS keywords to SVN keywords | Max Horn | |
svn-id: r20518 | |||
2006-02-05 | Change behaviour of checkboxes to more logical. | Eugene Sandulenko | |
svn-id: r20416 | |||
2006-02-03 | fixes allow compile with emsvc4 again | Paweł Kołodziejski | |
svn-id: r20355 | |||
2006-02-01 | Fix glitch when moving the mouse over a disabled, checked checkbox. (The | Torbjö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-01 | Much improved how shadows look. However it is done with a really dirty | Eugene 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-01 | Implemented shadow drawing, also extended the theme config again | Johannes 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-31 | Fixes color bugs with the new theme when switching to fullscreen on Mac OS X. | Johannes Schickel | |
svn-id: r20338 | |||
2006-01-31 | Adds 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-31 | Tabs look better with dialog surfaces than with widget surfaces. There's | Torbjörn Andersson | |
still room for improvements, though... svn-id: r20330 | |||
2006-01-31 | I didn't realize that disabled widgets were transparent, rather than just | Torbjö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-31 | I assume this call to restoreBackground() is unnecessary. | Torbjörn Andersson | |
svn-id: r20328 | |||
2006-01-30 | Replace use of sscanf | Chris Apers | |
svn-id: r20311 | |||
2006-01-29 | Ok this should fix now all problems with drawing bugs of texts. | Johannes Schickel | |
svn-id: r20298 | |||
2006-01-29 | Fixes redraw bugs with the about dialog and the new theme. | Johannes Schickel | |
svn-id: r20297 | |||
2006-01-29 | Fixes transparency and enabled transparency for disabled buttons. | Johannes Schickel | |
svn-id: r20295 | |||
2006-01-28 | Changed calcGradient again, should look nicer now. | Johannes Schickel | |
svn-id: r20280 | |||
2006-01-28 | Fixes 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 opening | Johannes 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-27 | This should fix bug # 1416862 (new theme: changing overlay size). | Johannes Schickel | |
svn-id: r20253 | |||
2006-01-27 | Proper RCS IDs. | Eugene Sandulenko | |
svn-id: r20235 | |||
2006-01-27 | Fix crash on platforms which do not initialize memory with zeroes. | Eugene Sandulenko | |
svn-id: r20234 | |||
2006-01-27 | fixed warning | Paweł Kołodziejski | |
svn-id: r20231 | |||
2006-01-27 | Oops 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 gui | Johannes 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 |