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 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Actions.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Actions.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
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 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
chooser.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
console.cpp GUI: Change scrollbar repeat handling from a timer proc to handleTickle. 2011-10-28 12:08:15 +02:00
console.h GUI: Fix some comments 2011-06-03 16:16:38 +02:00
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 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
error.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
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 GRAPHICS/GUI: Implement kerning support for Font. 2012-01-29 16:26:20 +01:00
Key.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Key.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
KeysDialog.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
KeysDialog.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
launcher.cpp GUI: Fix text alignment for the version in the launcher. 2013-02-03 00:43:32 +01:00
launcher.h LAUNCHER: benefit from PicButton being derivative of Button 2011-10-25 14:56:04 +01:00
massadd.cpp BACKENDS/COMMON/GUI: Remove complete support for TaskbarManager when taskbar integration is not enabled 2011-06-16 14:23:28 -04:00
massadd.h BACKENDS: Add progress to MassAdd dialog 2011-06-16 10:36:33 -04:00
message.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
message.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
module.mk FLUIDSYNTH: Add separate dialog for FluidSynth settings 2013-01-26 13:36:37 +01:00
object.cpp GUI: Fix "clear" buttons after theme switch (bug #3482459) 2012-02-24 22:20:50 +01:00
object.h GUI: Fix "clear" buttons after theme switch (bug #3482459) 2012-02-24 22:20:50 +01:00
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 JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
themebrowser.h JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
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 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
ThemeEval.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
ThemeLayout.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
ThemeLayout.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
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 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
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