[Scummvm-devel] SaveLoadChooser.PageDisplay vs lowres themes

Marcus Comstedt marcus at mc.pp.se
Sun Jan 12 00:17:19 CET 2014


Johannes Schickel <lordhoto at gmail.com> writes:

> The issue is the following: Suppose you start ScummVM in 640x480
> (i.e. hires with grid allowed), open the grid based save/load dialog
> and then use hotkeys to switch to 320x240 while the grid dialog is
> open, then you get SaveLoadChooserGrid::reflowLayout called with the
> lowres theme which doesn't allow a grid based dialog and doesn't have
> the page widget defined => crash. That's what the HACK tries to cover.

Ah, now I understand.  I didn't consider that there was a hotkey to
change the res while the dialog was showing, only that you could do it
by going back to the options dialog first (in which case a new chooser
would be instantiated).

Soo...  In this case you would actually get the grid chooser in lowres
(which is not supported)?  Except without the page number indicator?

Anyway, thanks for answering; this whole mess seems a little more
clear to me now.  :-)


  // Marcus






More information about the Scummvm-devel mailing list