aboutsummaryrefslogtreecommitdiff
path: root/gui/ListWidget.cpp
AgeCommit message (Collapse)Author
2009-03-11Fixed bug #2619802 (Game name overwrites scroll bar).Vicent Marti
svn-id: r39335
2009-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-11-12Renamed Graphics::TextAlignment -> Graphics::TextAlign and merged it with ↵Max Horn
GUI::ThemeEngine::TextAlignVertical svn-id: r35023
2008-11-12GUI: Turn scrollbar width into a theme variableMax Horn
svn-id: r35021
2008-11-10Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.Vicent Marti
Massive cleanup. svn-id: r34983
2008-08-13Finished legacy API cleanup. Removed all legacy code.Vicent Marti
Possible regressions. svn-id: r33833
2008-08-10Bugfix: Selection background too short when scrollbar not present.Vicent Marti
Bugfix: Vector renderer drawstep for bitmap blitting. Added bitmap GFX for checkboxes. svn-id: r33771
2008-08-10Bugfix: Several text-drawing issues.Vicent Marti
Bugfix: Overlapping text in text edit dialogs. svn-id: r33768
2008-08-10Reverted debug layout drawing.Vicent Marti
Bugfix: Scrollbar overlapping in text widgets/text overlapping? svn-id: r33765
2008-08-09Finished support for theme loading.Vicent Marti
Fixed several bugs regarding theme loading. svn-id: r33728
2008-08-08Browser dialog.Vicent Marti
Improved layout expansion in the layout parser. Fixed serious coordinates initialization bug. svn-id: r33702
2008-08-06Bugfix: Text selection background in list widget overlays scrollbar (finally).Vicent Marti
Bugfix: Game list missing one entry. svn-id: r33658
2008-05-07Changed all delete [] usages to delete[].Johannes Schickel
svn-id: r31927
2008-01-30Add ListWidget version with immediate parameters.Eugene Sandulenko
svn-id: r30709
2007-12-24Fix for bug #1670082 "GUI: Modern theme gfx glitch in launcher".Johannes Schickel
svn-id: r29971
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-07-17Implemented FR #1754616 - "GUI: Add option to delete games using the "Del" Key"Filippos Karapetis
svn-id: r28131
2007-06-30Changed GUI system to use Common::KeyState stateMax Horn
svn-id: r27786
2007-06-22Use KEYCODE constants.Torbjörn Andersson
svn-id: r27598
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-08-12The ListWidget constructor already did most of what reflowLayout() does, exceptTorbjörn Andersson
calling Widget::reflowLayout(). I've simplified that by calling reflowLayout() directly instead. This may be a bit of a hack, but it was the best way I could think of to ensure that _entriesPerPage was properly initialised. It wasn't before, because _h had not been initialised, causing Valgrind to complain. svn-id: r23705
2006-08-04Renamed handleScreenChanged() -> reflowLayout() in the GUI codeMax Horn
svn-id: r23662
2006-06-24listwidget: handle clicking outside of the list more gracefullyWillem Jan Palenstijn
svn-id: r23295
2006-06-03*Loads* of Common::String related optimizations. Woa, *tons* of methods were ↵Max Horn
copying strings needlessly svn-id: r22873
2006-05-31More cleanup. We shouldn't need these widget size parameters either.Torbjörn Andersson
svn-id: r22799
2006-05-31Cleanup. We no longer need these widget size parameters.Torbjörn Andersson
svn-id: r22798
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