aboutsummaryrefslogtreecommitdiff
path: root/gui/ListWidget.cpp
AgeCommit message (Collapse)Author
2009-10-11Hopefully avoiding an assert in the MSVC debug CRT library when entering an ↵Johannes Schickel
umlaut in the launcher. It's a bad idea to cast a parameter to the "is*" functions from ctype.h to "char", since "char" might be signed and the "is*" functions are defined to only accept input which fits "unsigned char" or equals EOF. In this concrete example the value of "state.ascii" is > 0x7F, thus becomes negative after the cast to "char", which violates the parameter rules of "isprint". Sadly it seems this is not the only place in our code, which does pass a possibly signed parameter to an "is*" function. We might either want to change all code to only pass an unsigned char value, change the code to do parameter validation or fix it in another way. svn-id: r44920
2009-09-13Commit salty-horse's fix for bug #2854261 "GUI: Launcher list doesn't ↵Johannes Schickel
highlight after getting focus". svn-id: r44067
2009-08-20Implement automatic clearing of "Untitled Savestate" in edit mode of the ↵Johannes Schickel
SaveLoadChooser as requested in feature request #2834637 "GUI: Allow greying out dummy ListWidget entries". svn-id: r43555
2009-08-20Partial implementation of feature request #2834637 "GUI: Allow greying out ↵Johannes Schickel
dummy ListWidget entries", based on a slighly modified version of my latest patch included there. svn-id: r43551
2009-07-30Change code to use our fractional utilities.Johannes Schickel
svn-id: r42940
2009-07-15For a smoother user experience, use different colors for inverted text of ↵Johannes Schickel
the ListWidget, depending on whether the widget has focus or not. svn-id: r42512
2009-07-15Fix bug, which caused the ListWidget to draw a widget background around the ↵Johannes Schickel
selected item, when the ListWidget had no focus. svn-id: r42511
2009-07-15Fix "search" filter being settings lost in launcher, when using the "Edit ↵Johannes Schickel
Game..." menu for example. svn-id: r42510
2009-07-12Fix typo, which in fact fixes bug #2820353 "GUI: Search doesn't handle ↵Johannes Schickel
uppercase properly". svn-id: r42418
2009-07-02Enhanced the quicksearch box in the launcher to match words in the search ↵Max Horn
string individually svn-id: r42038
2009-06-07Fix for bug #2802492 (GUI: search query causes game list scrollbar glitches)Max Horn
svn-id: r41334
2009-06-06Do not change list content if filter was not changedEugene Sandulenko
svn-id: r41276
2009-06-06Fix item selection on filtered out list in launcherEugene Sandulenko
svn-id: r41271
2009-06-06Improvements to laucher dialogEugene Sandulenko
- Made quicksearch turned off in the launcher game list - Turn ListWidget into CommandSender - Turn quicksearch off in launcher game list - Connect laucher list widget with search box so search is initiated by typing svn-id: r41269
2009-06-06Implement FR#1970293: "LAUNCHER: Add "quick search" input field like in iTunes"Eugene Sandulenko
svn-id: r41268
2009-06-06Add to launcher not yet functional search widget.Eugene Sandulenko
Make EditableWidget CommandSender svn-id: r41267
2009-06-06Implement FR#2707442: "GUI: Improve Mass Add dialog"Eugene Sandulenko
svn-id: r41263
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-11Use lowercase form for quickselect in ListWidget.Willem Jan Palenstijn
This matches POSIX strcasecmp and MSVC stricmp behaviour. svn-id: r40467
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