aboutsummaryrefslogtreecommitdiff
path: root/gui/PopUpWidget.cpp
AgeCommit message (Collapse)Author
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
2003-03-26Make it possible to disable popups/checkboxesMax Horn
svn-id: r6864
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanup .... LastPaweł Kołodziejski
svn-id: r6721
2002-12-14fixed arrow/mouse wheel scrolling: now honors seperator items (i.e. you ↵Max Horn
can't select the anymore); seperator items are now marked by an empty string svn-id: r5961
2002-12-13added support for seperator items; perform clipping if popup doesn't fit on ↵Max Horn
screen svn-id: r5939
2002-12-13added keyboard & scroll wheel supportMax Horn
svn-id: r5937
2002-12-12added timeout for popup; fixed notifcation sent when popup item is chosenMax Horn
svn-id: r5920
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