aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.h
AgeCommit message (Collapse)Author
2008-11-12Renamed Graphics::TextAlignment -> Graphics::TextAlign and merged it with ↵Max Horn
GUI::ThemeEngine::TextAlignVertical svn-id: r35023
2008-11-12GUI: Got rid of the WidgetSize stuffMax Horn
svn-id: r35022
2008-11-10Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.Vicent Marti
Massive cleanup. svn-id: r34983
2008-11-09Partially merge classes Theme and ThemeEngine (saves another couple KB), ↵Max Horn
somebody (Tanoku?) should do a proper merge svn-id: r34951
2008-10-12Merged ThemeEngine::themeEval() and ThemeEngine::evaluator() methods into a ↵Max Horn
single getEvaluator() method svn-id: r34789
2008-09-05Fixed severe bottleneck in the XML Parser code.Vicent Marti
Applied Max's patch for character drawing. Added new FP squareroot function. svn-id: r34354
2008-09-02Massive refactoring/cleanup on the theme engine/parser.Vicent Marti
svn-id: r34285
2008-08-15Added popup widget in Options menu to change GUI renderer on the fly.Vicent Marti
svn-id: r33898
2008-08-13Massive API cleanup (removed legacy code).Vicent Marti
Improved theme loading support. svn-id: r33832
2008-08-05Massive refactoring on the layout parsing API.Vicent Marti
Added support for layout spacings. Fixed bug in theme conversion python script. svn-id: r33630
2008-07-17Rendering pipeline (almost) fixed. This time for real.Vicent Marti
svn-id: r33092
2008-03-27Patch #1926787: small memory leak and cleanupMax Horn
svn-id: r31261
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-03-17Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), withTorbjörn Andersson
Fingolfin's blessings. Keyboard repeat is now handled by the event manager, rather than by individual engines. Since this can cause problems with some engines (see the AGI engine), the extra "key down" events are marked as "synthetic", so that they can be ignored if necessary. svn-id: r26170
2007-02-08Moved definition of ThemeClassic and ThemeModern to their own files.Johannes Schickel
svn-id: r25432
2006-12-27Added NewGui::getTopDialog methodMax Horn
svn-id: r24938
2006-11-08Fix bug #1590596: "HE: When 3x graphics are choosen, F5 crashes game"Eugene Sandulenko
svn-id: r24656
2006-10-08Final fix for wrong cursor palettes in SCUMM games after using the GUI.Johannes Schickel
svn-id: r24233
2006-10-08- Added dialog for selecting the theme to useJohannes Schickel
- Added runtime theme switching svn-id: r24213
2006-08-04There is no need anymore to report EVENT_SCREEN_CHANGED changes to the GUI codeMax Horn
svn-id: r23668
2006-06-05Fix various typenames to comply to the ScummVM coding guidelinesMax Horn
svn-id: r22928
2006-06-03When the screen changes, redraw all dialogs *immediately* rather than waitingTorbjörn Andersson
for the main loop to check for _needRedraw. Otherwise subsequent events can cause widgets to be redrawn before the theme has had a chance to re-open the dialogs, and this could cause at least the modern theme to crash. svn-id: r22860
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-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-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-14- implements .bdf font loader based on convbdf (sure could have some clean up)Johannes Schickel
- adds three different font styles to the themes (normal, bold (default one), italic) - implements code for specifing the font files in the theme config ('fontfile_normal','fontfile_bold' and 'fontfile_italic' in the 'extra' section) - changes EditTextWidget to use the normal font (has some minor aligment problems with the caret now, though) - extends the FontManager (new functions: getFontByName, assignFontToName, removeFontName) - adds the font style constans to the builtin constants for the evaluator) svn-id: r21868
2006-03-24Reduce (indirect) dependencies on gui/eval.h (and thus common/assocarray.h) ↵Max Horn
to a minimum svn-id: r21426
2006-03-08o Converted most (all?) widgets to new scheme.Eugene Sandulenko
o Converted global options dialog to new scheme. svn-id: r21137
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-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20518
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