aboutsummaryrefslogtreecommitdiff
path: root/gui/ScrollBarWidget.cpp
AgeCommit message (Collapse)Author
2009-07-29GUI: When clicking in a scrollbar to page up/down, don't scroll a full page; ↵Max Horn
rather scroll a full page minus one line (see FR #2821508). This matches the behavior of the page up/down keys svn-id: r42881
2009-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2008-12-27GUI: Added Widget::setVisible convenience wrapperMax Horn
svn-id: r35572
2008-11-10Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.Vicent Marti
Massive cleanup. svn-id: r34983
2007-11-04- made Widget::_flags privateJohannes Schickel
- reworked state (enabled/disabled/highlighted) handling of widgets - cleanup in ModernTheme.cpp svn-id: r29403
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
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
2006-06-05Fix various typenames to comply to the ScummVM coding guidelinesMax Horn
svn-id: r22928
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-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-06-24Whitespace changes.Torbjörn Andersson
svn-id: r18449
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-05-18Revised scrollbar look againMax Horn
svn-id: r18162
2005-05-15Draw scrollbar arrows using drawLine, instead of hard coding bitmaps; add a ↵Max Horn
param to the ListWidget constructor to choose a 'big' variant svn-id: r18115
2005-04-17Allow usage of ScrollBarWidget with a non-standard widthMax Horn
svn-id: r17650
2005-04-17Updated TODO listMax Horn
svn-id: r17649
2005-01-15Fix up/down arrowsMax Horn
svn-id: r16563
2005-01-01Updated copyrightMax Horn
svn-id: r16398
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-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-03alternate scroll bar lookMax Horn
svn-id: r11082
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-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanup .... LastPaweł Kołodziejski
svn-id: r6721
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-13more initialisation fixesMax Horn
svn-id: r5535
2002-10-16patch #620627: mouse wheel support for NewGuiMax Horn
svn-id: r5169
2002-10-09Fix for bug #620854 (launcher crash)Max Horn
svn-id: r5116
2002-10-01fixed scrollbar drawing/response when there are less items than fit on one pageMax Horn
svn-id: r5066
2002-09-08changed the way listbox draw selected items; list box now has a frame & ↵Max Horn
different spacing; clicking outside any widget doesn't cause the focus widget to loose focus; other tweaks svn-id: r4906
2002-07-27heaps of changes to NewGUI: mouseDown/Up events now count the clicks (so you ↵Max Horn
can detect double/triple clicks); ListWidget sends a message if an item was double clicked or changed; you can abort editing in the ListWidget by pressing ESC; SaveLoadDialog will save when you double click and item, and when you finish editing an item by pressing return, will save svn-id: r4656
2002-07-18put stuff in util.h into namespace ScummVM; fixed stupid bug in String ↵Max Horn
class; took painelf's patch which implements save/load dialog in new GUI and fixed it slightly; various other minor changes svn-id: r4591
2002-07-13added latest of painelf's patches which makes NewGui handle system events ↵Max Horn
directly (code becomes much cleaner and more powerful this way); he also implemented a 'focus' item in NewGui; atop of this several changes of my own that further improve the GUI behaviour svn-id: r4541
2002-07-13took painelf's change, modified it a lot, and now here's the result :-)Max Horn
svn-id: r4540
2002-07-12updated TODO listMax Horn
svn-id: r4528
2002-07-12implemented scrollbar 'dragging' (based largely on painelf's patch)Max Horn
svn-id: r4527
2002-07-12Countless changes to the New GUI; some hightligths: new ScrollBarWidget ↵Max Horn
class; ListWidget is usable (demo shows it off); added custom String/StringList classes svn-id: r4521