scummvm/gui
Johannes Schickel a41457e224 GUI: Always try to show as many entries as possible in ListWidget.
In case there were less items in the list than on a page, it was possible
that a "scrollTo" call scrolled items out of the view even though all could
be displayed. This caused odd behavior in the load dialog in T7G. There
the list contains 10 entries. In case the last one was loaded via the dialog,
the next time it was brought up again it showed the 9th entry at the top
of the view and effectively hiding all the others. It furthermore did not
show the scroll bar because all entries would have fit onto one page.

To prevent this odd behavior, a boundary check has been added to all places
where the scroll position is set. This has been taken from "scrollToCurrent"
which already tried to prevent this.

This fixes the second issue described in bug #3610960
"T7G - savegame glitches".
2013-04-16 23:25:04 +02:00
..
themes I18N: Update Hungarian translation from patch #3604064 2013-02-16 18:07:38 +00:00
widgets GUI: Always try to show as many entries as possible in ListWidget. 2013-04-16 23:25:04 +02:00
about.cpp CREDITS: Fix display of credits with non ISO-8859-1 charsets 2013-02-04 13:17:18 +00:00
about.h
Actions.cpp
Actions.h
browser_osx.mm OSX: Add missing include for NSURL 2012-11-18 01:29:09 +00:00
browser.cpp GUI: Allow user to display hidden files in the browser dialog. 2013-01-27 19:13:44 +01:00
browser.h GUI: Allow user to display hidden files in the browser dialog. 2013-01-27 19:13:44 +01:00
chooser.cpp
chooser.h
console.cpp
console.h
credits.h CREDITS: Added NoiZe 2013-03-04 10:54:02 +02:00
debugger.cpp JANITORIAL: Enforce "} // End of namespace" with a single space after }. 2013-01-26 19:38:02 +01:00
debugger.h JANITORIAL: Enforce "} // End of namespace" with a single space after }. 2013-01-26 19:38:02 +01:00
dialog.cpp GUI: Implemented pressed state for buttons 2012-05-03 19:32:08 +03:00
dialog.h GUI: Remove unecessary ";". 2012-05-03 18:43:09 +02:00
error.cpp
error.h
fluidsynth-dialog.cpp GUI: Move the FluidSynth reset button from Misc tab to bottom 2013-01-26 13:53:43 +01:00
fluidsynth-dialog.h GUI: Add "Reset" button to FluidSynth settings dialog 2013-01-26 13:52:32 +01:00
gui-manager.cpp GUI: Allow tooltips to be changed after widget creation. 2012-06-20 03:31:50 +02:00
gui-manager.h
Key.cpp
Key.h
KeysDialog.cpp
KeysDialog.h
launcher.cpp GUI: Fix text alignment for the version in the launcher. 2013-02-03 00:43:32 +01:00
launcher.h
massadd.cpp
massadd.h
message.cpp
message.h
module.mk FLUIDSYNTH: Add separate dialog for FluidSynth settings 2013-01-26 13:36:37 +01:00
object.cpp
object.h
options.cpp Merge branch 'eriktorbjorn-fluidsynth-settings' 2013-01-26 14:00:04 +01:00
options.h GUI: Misc FluidSynth-related cleanups. 2013-01-26 13:52:36 +01:00
predictivedialog.cpp JANITORIAL: Remove trailing whitespaces. 2012-09-26 04:17:55 +02:00
predictivedialog.h GUI: Use pressed state in predictive dialog in keyboard mode. 2012-05-03 19:32:34 +03:00
saveload-dialog.cpp GUI: Check for screen changes in the saveload chooser selection code. 2012-10-28 21:44:05 +01:00
saveload-dialog.h GUI: Save/restore last scroll position in the list save/load dialog. 2012-09-26 02:59:32 +02:00
saveload.cpp GUI: Fix possible un-initialised variable usage in SaveLoadChooser. 2012-08-12 00:19:44 +01:00
saveload.h GUI: Let SaveLoadChooser::getResultString return a const reference. 2012-07-24 23:32:17 +02:00
themebrowser.cpp
themebrowser.h
ThemeEngine.cpp Merge pull request #260 from lordhoto/new-chooser. 2012-08-12 14:49:28 +02:00
ThemeEngine.h GUI: Allow user to display hidden files in the browser dialog. 2013-01-27 19:13:44 +01:00
ThemeEval.cpp
ThemeEval.h
ThemeLayout.cpp
ThemeLayout.h
ThemeParser.cpp JANITORIAL: Remove trailing whitespaces. 2012-09-26 04:17:55 +02:00
ThemeParser.h JANITORIAL: Remove trailing whitespaces. 2012-09-26 04:17:55 +02:00
Tooltip.cpp GUI: Allow tooltips to be changed after widget creation. 2012-06-20 03:31:50 +02:00
Tooltip.h
widget.cpp GUI: Change value by one on mouse wheel, not by one pixel 2012-12-27 10:13:48 +01:00
widget.h GUI: Use in-place Surface conversion in widget code. 2012-08-28 02:28:17 +02:00