aboutsummaryrefslogtreecommitdiff
path: root/gui/ListWidget.cpp
AgeCommit message (Collapse)Author
2006-05-29- Fixes list position after screen change.Johannes Schickel
svn-id: r22736
2006-05-27Override the list widget's FindWidget() function, to allow it to return theTorbjörn Andersson
scrollbar widget. svn-id: r22672
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-26remove unused variableEugene Sandulenko
svn-id: r22647
2006-05-26- Put scrollbar inside of list widgetEugene Sandulenko
- Use resize() instead of setPos() and setSize() where applicable svn-id: r22646
2006-04-20If I understand things correctly, this should fix the caret drawing in listTorbjörn Andersson
widgets. (The glitch was most noticeable in the modern theme.) svn-id: r22052
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-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-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-24CleanupTorbjörn Andersson
svn-id: r20840
2006-02-24Fix redraw glitches when typing very long - enough to be truncated - strings.Torbjörn Andersson
It seems the only purpose of 'deltax' in this function was to introduce such redrawing glitches. Weird... svn-id: r20839
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20518
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-29Limit the maximum line width.Torbjörn Andersson
svn-id: r20296
2006-01-28Applied my own patch #1416897, in an attempt to speed up list widgetTorbjörn Andersson
redrawing. There may be regressions, but none are known at the moment. svn-id: r20271
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-10-15Try do display the virtual keyboard only when a string input widget has focus.Marcus Comstedt
svn-id: r19102
2005-09-03Change PalmOS identChris Apers
svn-id: r18748
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
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-06-03Cleanup.Torbjörn Andersson
svn-id: r18319
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-16Use the same offset - string width for the item number - for every line inTorbjörn Andersson
the list. There's a slight hack here: I've assumed that all digits have the same width. svn-id: r18129
2005-05-15Use big font in ListWidget if it is in kBigScrollBarWidth modeMax Horn
svn-id: r18118
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-05-08Comply to our coding conventionsMax Horn
svn-id: r17975
2005-04-17Allow usage of ScrollBarWidget with a non-standard widthMax Horn
svn-id: r17650
2005-04-09Init _editModeMax Horn
svn-id: r17482
2005-03-27Patch #1171300: ListWidget + Chooser PatchMax Horn
svn-id: r17260
2005-03-12Fix popup widget in scaled GUI modeMax Horn
svn-id: r17099
2005-01-29Move more text editing code into class EditableWidget; ListWidget now has ↵Max Horn
all the editing capabilities of EditTextWidget svn-id: r16694
2005-01-29Started to merge the text editing code in ListWidget and EditTextWidgetMax Horn
svn-id: r16692
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-10-06Fix bug reported by salty-horse. When list is so short so it fitsEugene Sandulenko
one page, list position gets negative values. This never was triggered until lastselectedgame config file key was introduced. svn-id: r15441
2004-10-01Patch #896096 (Restoring last selected game selection) with some personal ↵Max Horn
modifications svn-id: r15372
2004-09-28Rename remaining OSystem methods to match our coding guidelinesMax Horn
svn-id: r15332
2004-07-21Allow user to select ListWidget entries by typing them (see FR #922921)Max Horn
svn-id: r14295
2004-02-05renamed (Const)Iterator to (const_)iterator; changed size() to return an uintMax Horn
svn-id: r12722
2004-01-26Undo old tweak not necessary anymoreNicolas Bacca
svn-id: r12603
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-11-19new font code (currently disabled by default), which allows using ↵Max Horn
'arbitrary' BDF fonts (via convbdf) svn-id: r11350
2003-11-18cleanup; fixed return/enter in ListWidget when not in editing modeMax Horn
svn-id: r11346
2003-11-10added namespace GUIMax Horn
svn-id: r11255
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11223