Age | Commit message (Collapse) | Author |
|
This fixes https://bugs.scummvm.org/ticket/11033
Removed checking printable property for system keys.
Refactored whole function to make it a bit more readable.
Reference implementations:
https://github.com/retrowork/wmelite/blob/master/src/UIEdit.cpp#L724
https://github.com/retrowork/Wintermute-Engine/blob/master/src/engine_core/wme_base/UIEdit.cpp#L708
|
|
These are flagged by GCC if -Wswitch-default is enabled.
|
|
For some reason getFontHeight() is off-by-one comparing to height set in
TITLE_RECT, which made text being bigger then title rect and drawing was
skipped.
This fixes https://bugs.scummvm.org/ticket/6501
|
|
If _maxLength was -1, we would end up with a 0-size allocation,
and a write that starts right before it, which gives odd results.
|
|
If new() was unsuccessful, then we should bail out immediately,
but we always assume we have enough memory for ScummVM.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This avoids queueing many tickets for a UITiledImage, replacing
them by a single tiled ticket.
|
|
|
|
|
|
TransparentSurface)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
overload-misses.
|
|
|
|
|
|
|
|
|
|
|
|
|