aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.h
AgeCommit message (Collapse)Author
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-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
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-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-11Start work on support for 'big' widgetsMax Horn
svn-id: r18060
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-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-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-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-06Modify the singleton code once more to help overcome an issue with MSVC 7 ↵Max Horn
(see also patch #1095133) svn-id: r16454
2005-01-01Changed the singleton code to allow for custom object factories; this ↵Max Horn
allowed me to change OSystem to use the singleton base class, too svn-id: r16404
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-11-25Make use of the new graphic primitivesMax Horn
svn-id: r15886
2004-08-15Allow char drawing with a custom fontMax Horn
svn-id: r14624
2004-08-15Removed some obsolete stuff; made switching to the alt font less intrusive ↵Max Horn
(you only have to recompile a single file now); foundation for future run-time font switching... svn-id: r14623
2004-05-05Added generic variable size stack class - COMPLETELY UNTESTED. Really should ↵Max Horn
add some unit tests for this... svn-id: r13776
2004-03-29Make use of Stack templateMax Horn
svn-id: r13430
2004-03-22cleanupMax Horn
svn-id: r13364
2004-03-21Moved Surface/Font code into new 'graphics' moduleMax Horn
svn-id: r13357
2004-03-13use 'Surface' in NewGuiMax Horn
svn-id: r13244
2004-03-13Revamped the font code: now it's very easy to switch between the 'original' ↵Max Horn
SCUMM font and any new font... or to have multiple different fonts (like, one for 320x240 and and one for 640x480); furthermore, font rendering can now be done w/o using NewGui svn-id: r13243
2004-02-28renamed more OSystem methods to follow our naming scheme; renamed ↵Max Horn
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend svn-id: r13087
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-01explicitly specify namespace in g_gui helper macroMax Horn
svn-id: r11450
2003-11-19new font code (currently disabled by default), which allows using ↵Max Horn
'arbitrary' BDF fonts (via convbdf) svn-id: r11350
2003-11-10added namespace GUIMax Horn
svn-id: r11255
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11223
2003-11-04modified NewGui::drawString to shorten strings which don't fit using ↵Max Horn
ellipsis (disabled for the EditTextWidget for now) svn-id: r11136
2003-11-02refactored code in Dialog::findWidget to Widget::findWidgetInChain; changed ↵Max Horn
NewGui::box() to take colors as param (instead of hard coding _color and _shadowColor) svn-id: r11061
2003-11-02turned NewGui into a singleton, and made OSystem a pseudo-singleton; added ↵Max Horn
Widget::findWidget (preparing to add support for nested widgets, for the tab widget) svn-id: r11045
2003-10-02renamed namespace ScummVM to CommonMax Horn
svn-id: r10544
2003-10-01vline -> vLine, hline-> hLine, slightly more in line with ScummVM naming ↵Jonathan Gray
style and more importantly doesn't conflict with the vline and hline Allegro functions svn-id: r10520
2003-09-06added EVENT_SCREEN_CHANGED; small tweak to the way quit is handled in NewGuiMax Horn
svn-id: r10047
2003-08-01#include cleanup (explicityl specify the location for headers from common/, ↵Max Horn
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359
2003-05-05Patch #732707: EditTextWidget: long string supportMax Horn
svn-id: r7359
2003-04-30PalmOS changes: allow 8 bit GUI modeMax Horn
svn-id: r7226
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2002-12-25more -pedantic warnings fixedMax Horn
svn-id: r6109
2002-12-14make alpha blend level adjustable, and fixed an overflow bugMax Horn
svn-id: r5958
2002-12-12added a dummy global options dialog; PopUpWidget tweaksMax Horn
svn-id: r5919
2002-12-12added PopUpWidget; hacked it into the edit game dialog just to show how to ↵Max Horn
use it; note: this is NOT finished by any means, the look will change, the code will change, this is just an early preview :-) svn-id: r5914
2002-11-22changed the key input system in NewGUI: pass both the keycode and the ascii ↵Max Horn
value to handleKeyUp/Down. Also, use this to fix the key repeat code (see bug #626225) svn-id: r5691
2002-11-21factored out ChooserDialog into it's own header/source file, and made the ↵Max Horn
title adjustable; added a dummy file for EditFieldWidget (not implemented yet); some other cleanup svn-id: r5658
2002-11-05fix for bug #633087 (umlauts in GUI)Max Horn
svn-id: r5426