diff options
author | Max Horn | 2005-01-29 18:04:34 +0000 |
---|---|---|
committer | Max Horn | 2005-01-29 18:04:34 +0000 |
commit | b43a53f74d0dbbd8f74ba64a2548c0005ae5442b (patch) | |
tree | edf3467a1d790650dab257eafced38ed3c0ec7ef /TODO | |
parent | 66c524f0eec53790f9a8c88b58caa94dac677720 (diff) | |
download | scummvm-rg350-b43a53f74d0dbbd8f74ba64a2548c0005ae5442b.tar.gz scummvm-rg350-b43a53f74d0dbbd8f74ba64a2548c0005ae5442b.tar.bz2 scummvm-rg350-b43a53f74d0dbbd8f74ba64a2548c0005ae5442b.zip |
Move more text editing code into class EditableWidget; ListWidget now has all the editing capabilities of EditTextWidget
svn-id: r16694
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -194,11 +194,12 @@ Files GUI === * Remove hard coded 320x200 assumptions, use game screen size -* Add ability to scale GUI (ie. to make the GUI less tiny in COMI) -* Remove code duplication between EditTextWidget and ListWidget (i.e. text - editing code; maybe we can factor that out into a common base or aggregate - class... not yet sure). -* Fix EditTextWidget::drawCaret and ListWidget::drawCaret support for alternate +* EditableWidget: Make it possible to specify a min/max length for the text +* EditableWidget: Let setEditString filter the string it gets +* EditableWidget: Right now, custom filtering requires the user to subclass; + it would be nice if there was simply a "validator hook" or so. + Maybe take some inspiration from Java's Swing in this matter. +* Improve EditTextWidget::drawCaret and ListWidget::drawCaret support for alternate fonts (the current code overdraws chars partly, and relies on the fact that our default built-in font has a separation pixel column on the *left* side; most other bitmap fonts have it on the right, though). To this end, we maybe |