aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.cpp
AgeCommit message (Collapse)Author
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-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-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- PopUpWidget (drop down list) does not shadow underlying dialog anymoreEugene Sandulenko
- Remove reduntant code in drawing pipeline. Topmost dialog was drawn up to 4 times svn-id: r21998
2006-04-16This should fix wrong colors of the scummvm logo in the new theme after ↵Johannes Schickel
screen change. svn-id: r21953
2006-04-14Instead of calling our main them 'default-theme', call it 'modern' and ↵Max Horn
reserve the gui theme name 'default' to indicate, well, the *default* theme, whatever that is svn-id: r21887
2006-04-02With 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-24Fix crash in Options dialog in 320xY mode. Shadow was drawn off-screenEugene Sandulenko
svn-id: r21438
2006-03-24Reduce (indirect) dependencies on gui/eval.h (and thus common/assocarray.h) ↵Max Horn
to a minimum svn-id: r21426
2006-03-24Check values loaded from theme INI and give meaningful errors instead ofEugene Sandulenko
bad crashes on blitting stage. svn-id: r21422
2006-03-09Converted all scumm dialogs to new schemeEugene Sandulenko
svn-id: r21147
2006-03-07GUI widget positions:Eugene Sandulenko
o Add 'true' and 'false' constants o add .visible widget property o allow dots to be part of section and key names in configs svn-id: r21123
2006-03-07More work on customizable GUI.Eugene Sandulenko
o Implemented special alias 'prev' o Added new calling scheme to several widgets o Partially converted launcher dialog to new scheme o Converted couple widgets of chooser dialog svn-id: r21118
2006-02-13Added define to disable new theme support.Lars Persson
svn-id: r20676
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20518
2006-02-03fixes allow compile with emsvc4 againPaweł Kołodziejski
svn-id: r20355
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
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-12-03Not needed anymore :)Chris Apers
svn-id: r19735
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-09-03PalmOS : ARM optimized blendRectChris Apers
svn-id: r18749
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-06-21Patches needed to build for SYMBIAN32 WINS/GCC added.Lars Persson
Test built for Symbian and run on P910i without any major problems. Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA). svn-id: r18430
2005-06-03The alternative form of drawString() is no longer needed.Torbjörn Andersson
svn-id: r18326
2005-06-02The GUI has reached the point where I think it's safe to begin removing theTorbjörn Andersson
old auto-scaling hack. Removed wantsScaling(), USE_AUTO_SCALING, _scaleFactor and _scaleEnable. Also removed drawBitmap() since we no longer use bitmaps for widget decorations. svn-id: r18310
2005-05-20Added big editable text widget, and removed some cruft. I think this meansTorbjörn Andersson
that all our widgets are able to scale themselves now, but I could be mistaken. svn-id: r18192
2005-05-15Turn off auto scaling for nowMax Horn
svn-id: r18114
2005-05-15Add a switch which allows turning off the automatic GUI scaling easilyMax Horn
svn-id: r18112
2005-05-12Quick fix to make button texts etc. draw at the correct position. (TheyTorbjörn Andersson
were being drawn at unscaled coordinates.) I don't know if this is the correct fix, but the change is small and easy to revert, if need be. svn-id: r18072
2005-05-08Comply to our coding conventionsMax Horn
svn-id: r17975
2005-04-19Replace OSystem::hasAlpha with a feature flagMax Horn
svn-id: r17695
2005-04-17Added Dialog::wantsScaling(), to allow dialogs to turn off automatic scalingMax Horn
svn-id: r17646
2005-04-16Patch #1183808 (GUI: Less CPU-intensive credits scroll), with some tweaks by meMax Horn
svn-id: r17620
2005-04-03Use alpha channel if available.Marcus Comstedt
svn-id: r17354
2005-03-25MM NES fixes:Eugene Sandulenko
o Fixed crash when in-game GUI was displayed o Support for save/load o Savegame version bumped svn-id: r17232
2005-03-12Fix popup widget in scaled GUI modeMax Horn
svn-id: r17099
2005-03-12Fix crash that occured when disabling the GUI scaling codeMax Horn
svn-id: r17098
2005-03-09Patch #1013937 "OSystem layer with bigger resolution". Now you will alwaysEugene Sandulenko
get at least 640x400 window. And finally we have means of implementing nice looking GUI. Also updated all backends. If your backend has ability to run with 640x400 or 640x480 resolution then read patch tracker item to find out details. Other port maintainers shouldn't worry, as this patch doesn't affect them, they still get their 320x200. svn-id: r17055
2005-01-10system.h was being included in tons of places, without any good reason; ↵Max Horn
reduced this (total dependencies on system.h went down from 193 to 85 files) svn-id: r16527
2005-01-09Fix changing the scaler while GUI scaling and the console are activeMax Horn
svn-id: r16499
2005-01-06Distinguish left and right mouse buttonMax Horn
svn-id: r16468
2005-01-06Switching GUI to an alternate font; using a second, bigger, font for 640x480 ↵Max Horn
games like COMI. Note: we can always easily switch back to the SCUMM font or any other font, if we want to svn-id: r16467
2005-01-06oops againMax Horn
svn-id: r16462
2005-01-06Added a font manager (work in progress)Max Horn
svn-id: r16460
2005-01-06Patch #1092994 (Selfscaling GUI)Max Horn
svn-id: r16455
2005-01-01Changed OSystem::instance() to return a reference, not a pointer (it now ↵Max Horn
matches the Singleton interface) svn-id: r16402
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-28Fix running ScummVM in plugin-modeMax Horn
svn-id: r16360