Difference between revisions of "GUI Themes/TODO"

Jump to navigation Jump to search
1,579 bytes added ,  18:19, 19 May 2006
Added a couple of issues
(Update ToDo)
(Added a couple of issues)
Line 31: Line 31:
*** fix glitch at the top of the dialog where part of the characters get stuck
*** fix glitch at the top of the dialog where part of the characters get stuck
*** [Classic theme] Text seems to be drawn over the dialog frame. At least at the top of the dialog.
*** [Classic theme] Text seems to be drawn over the dialog frame. At least at the top of the dialog.
** Chooser dialog (add game)
*** Often (always?) crashes when changing from 1x to 2x, or from 2x to 3x scaler.
** Chooser dialog (add/edit game)
*** proper coloring and list shadow
*** proper coloring and list shadow
*** Input fields for '''ID''' and '''Description''' do not resize themselves properly on changing scale factors.
*** Often crashes with an invalid Rect, at least in edit mode, apparently while setting the text in the '''Description''' input field.
**** I suspect that _leftPadding is not properly initialised in EditTextWidget, because sometimes it has absolutely unreasonable values. Perhaps related to the resizing problem?
** Debug console
** Debug console
*** Slow when typing commands. Perhaps the redrawing could be made more intelligent. (I haven't looked at how it works currently.)
*** Slow when typing commands. Perhaps the redrawing could be made more intelligent. (I haven't looked at how it works currently.)
*** The text is bordering on unreadably small.
*** The text is bordering on unreadably small.
*** Does not restore the old mouse cursor when closed.
*** Does not restore the old mouse cursor when closed.
** Cursor handling
*** Cursor hotspots are wrong for in-game cursor in most (all?) games, except for the 1x scaler.
**** The easiest way to spot it is to use a game with a nice cross-hair cursor (e.g. ''Day of the Tentacle'') and remove the line that makes SDL hide the native cursor.
**** If I change OSystem_SDL::drawMouse() so that it always sets useCursorScaling to false, the ''Day of the Tentacle'' cursor works for me.
**** Is setting <tt>useCursorScaling = (_scaleFactor > _cursorTargetScale)</tt> correct, or should it use <tt>scale</tt> instead of <tt>_scaleFactor</tt>? Doesn't make any difference to the bug for me, though.
*** Cursor "jumps" in SCUMM games when opening/closing the F5 menu. (Or, more likely, when going between overlay and non-overlay mode.)
*** ScummVM crashes if, while in the GUI, changing from a 2x to 1x scaler while the cursor is in the upper right area of the screen.
**** The crash happens in the backend, when it tries to update a rectangle with completely bogus width. Perhaps a negative width stored in an unsigned variable?


== Ideas & plans ==
== Ideas & plans ==
409

edits

Navigation menu