aboutsummaryrefslogtreecommitdiff
path: root/gui/PopUpWidget.cpp
AgeCommit message (Collapse)Author
2006-08-04Changed GUI code to do 'lazy'/'just-in-time' reflowing, so that client code ↵Max Horn
doesn't have to forward EVENT_SCREEN_CHANGED to us (this may initially cause some regressions, please report any induced crashes or oddities you observe to me) svn-id: r23663
2006-08-04Renamed handleScreenChanged() -> reflowLayout() in the GUI codeMax Horn
svn-id: r23662
2006-06-03*Loads* of Common::String related optimizations. Woa, *tons* of methods were ↵Max Horn
copying strings needlessly svn-id: r22873
2006-05-31Cleanup. We no longer need these widget size parameters.Torbjörn Andersson
svn-id: r22798
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-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- Fixed popup widget for --force-1x-overlay with new themeJohannes Schickel
- adds support for highlightened popupwidgets svn-id: r22012
2006-04-18- adds own drawing function for (not expanded) popup widgetsJohannes Schickel
- adds pixmaps, colorfades, and gradient factor for the (not expanded) popup widget in new theme - bumps themeconfig version svn-id: r22011
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-16- Implemented text padding in ListWidget and PopUpWidget. Right padding does ↵Eugene Sandulenko
not work yet. - Implemented highlisght padding in ListWidget - Eval::getVar() method with default value - Removed unused constructors for ListWidget and PoUpWidget - cleanup - bumped theme version svn-id: r21934
2006-04-11Fixes cutted texts with --force-1x-overlay.Johannes Schickel
svn-id: r21793
2006-03-28Renamed various container isEmpty() methods to empty() to match STL conventionsMax Horn
svn-id: r21472
2006-03-08o Converted most (all?) widgets to new scheme.Eugene Sandulenko
o Converted global options dialog to new scheme. svn-id: r21137
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20518
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-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-08-22Applied my patch #1263153 to work around bug #1243280. It's not an idealTorbjörn Andersson
solution, but should be good enough for 0.8.0 at least. svn-id: r18709
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-03Cleanup.Torbjörn Andersson
svn-id: r18316
2005-05-19Big version of the popup widget. It could use a bit more polish, though...Torbjörn Andersson
svn-id: r18185
2005-03-12Fix popup widget in scaled GUI modeMax Horn
svn-id: r17099
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-01Updated copyrightMax Horn
svn-id: r16398
2004-09-28Rename remaining OSystem methods to match our coding guidelinesMax Horn
svn-id: r15332
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-03-13useful helper method (will be used for improved options dialog)Max Horn
svn-id: r13237
2004-02-05renamed (Const)Iterator to (const_)iterator; changed size() to return an uintMax Horn
svn-id: r12722
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-11-10added namespace GUIMax Horn
svn-id: r11255
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11223
2003-11-07spelling fixesJonathan Gray
svn-id: r11178
2003-11-05minor tweaksMax Horn
svn-id: r11149
2003-11-03tiny position tweaksMax Horn
svn-id: r11078
2003-11-03added a builtin label to PopUpWidgetMax Horn
svn-id: r11076
2003-11-02make coordinate calculation based on position of parent -> needed for nested ↵Max Horn
widgets svn-id: r11058
2003-11-02introduced common base class GuiObject for Dialog/Widget -> step towards ↵Max Horn
making it possible to nest widgets (needed for TabWidget) svn-id: r11052
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-24Whitespace changesTorbjörn Andersson
svn-id: r10390
2003-09-18moved engine.* to base; this fixes some linking issues when building a ↵Max Horn
barebone ScummVM (or maybe I just want to increase our CVS stats? <g>) svn-id: r10287
2003-08-06get rid of some g_system usageMax Horn
svn-id: r9529
2003-07-31back disable warnings into stdafx.h, vc6 is lack of warnings supportPaweł Kołodziejski
svn-id: r9337
2003-07-31Disabled unknown pragma warning in MSVC-6.Jamieson Christian
svn-id: r9320
2003-07-30the VC warning for unknown pragmas is now gloabally disabled, no need to ↵Max Horn
work around it locally svn-id: r9300
2003-03-27fixed compilation under VC6Paweł Kołodziejski
svn-id: r6873