Commit Graph

33 Commits

Author SHA1 Message Date
Max Horn
340a422425 removed debug printf
svn-id: r5696
2002-11-23 00:10:31 +00:00
Max Horn
0b82e20b00 improved keyboard input behaviour in SDL backend: make use of the unicode feature in SDL. This way, Shift-1 on my german keyboard generates ! not 1 (on an US keyboard it'll be a different symbol). Should fix bug #600258 and #551447
svn-id: r5692
2002-11-22 18:46:18 +00:00
Max Horn
17cf386e88 changed the key input system in NewGUI: pass both the keycode and the ascii value to handleKeyUp/Down. Also, use this to fix the key repeat code (see bug #626225)
svn-id: r5691
2002-11-22 14:02:54 +00:00
Max Horn
3ceee2fc42 allow some more chars as input
svn-id: r5672
2002-11-21 17:24:42 +00:00
Max Horn
9ff12dbc01 Implemented EditTextWidget; fixed Add Game/Remove Game in launcher; make use of EditTextWidget in EditGameDialog; various other tweaks
svn-id: r5665
2002-11-21 15:20:52 +00:00
Max Horn
dec234c6a5 factored out ChooserDialog into it's own header/source file, and made the title adjustable; added a dummy file for EditFieldWidget (not implemented yet); some other cleanup
svn-id: r5658
2002-11-21 12:48:50 +00:00
Max Horn
5be4474a9a don't crash when the list is empty
svn-id: r5569
2002-11-15 17:38:50 +00:00
Max Horn
bba16ed775 Browser already can display files and navigate down; TOOD: go up, choose
svn-id: r5551
2002-11-14 14:42:39 +00:00
Max Horn
4585debc18 use a 'real' caret instead of appending an understcore while editing
svn-id: r5289
2002-10-23 14:00:47 +00:00
Nicolas Bacca
c585fe7a37 Do not repeat keys for WinCE (problems with GAPI and virtual keyboard)
svn-id: r5251
2002-10-22 22:35:07 +00:00
Max Horn
7198181b09 reworked the way the save/load dialog works. yup, still not perfect, but we're hopefully getting closer. Feedback welcome
svn-id: r5189
2002-10-19 01:22:41 +00:00
Max Horn
b1766c28b2 patch #620627: mouse wheel support for NewGui
svn-id: r5169
2002-10-16 20:32:12 +00:00
Max Horn
3d7552890a fixed ListWidget drawin/behaviour if there are less items than fit on one page; enhanced launcher dialog to disable start button if nothing is selected
svn-id: r5068
2002-10-01 23:11:19 +00:00
Max Horn
8f7e3119bf fixed key repeat in NewGui; made the launcher game list non-editable
svn-id: r5052
2002-09-30 12:56:59 +00:00
Max Horn
395b98a3e2 fixed a crasher when re-opening the save/load dialog
svn-id: r4919
2002-09-09 20:28:48 +00:00
Max Horn
c0df1c2df2 changed the way listbox draw selected items; list box now has a frame & different spacing; clicking outside any widget doesn't cause the focus widget to loose focus; other tweaks
svn-id: r4906
2002-09-08 16:00:13 +00:00
Max Horn
523d8e64c0 rewrote config class; cleanup; code restructuring
svn-id: r4903
2002-09-08 01:08:12 +00:00
Max Horn
6d5529e0dd fixed warnings
svn-id: r4833
2002-08-24 21:57:00 +00:00
Paweł Kołodziejski
9fa6145d90 DIG: preliminarily support for music in the game
svn-id: r4701
2002-08-04 16:30:59 +00:00
Max Horn
f73c1658c8 changing the selection aborts editing, too!
svn-id: r4657
2002-07-27 14:19:59 +00:00
Max Horn
39670a73c0 heaps of changes to NewGUI: mouseDown/Up events now count the clicks (so you can detect double/triple clicks); ListWidget sends a message if an item was double clicked or changed; you can abort editing in the ListWidget by pressing ESC; SaveLoadDialog will save when you double click and item, and when you finish editing an item by pressing return, will save
svn-id: r4656
2002-07-27 14:16:14 +00:00
Max Horn
6e6c3c3c96 put stuff in util.h into namespace ScummVM; fixed stupid bug in String class; took painelf's patch which implements save/load dialog in new GUI and fixed it slightly; various other minor changes
svn-id: r4591
2002-07-18 20:26:35 +00:00
Max Horn
4968bc7a21 painelf's key repeat patch
svn-id: r4586
2002-07-18 14:47:25 +00:00
Max Horn
11973531b4 Patch #582286 - fix for double key events in newgui
svn-id: r4580
2002-07-16 21:18:06 +00:00
James Brown
a429eb1136 Update todo
svn-id: r4563
2002-07-16 11:11:56 +00:00
Max Horn
a94f9de525 patch by painelf that enables editing in the ListWidget (alas as usual with many mods to his patch by me :-)
svn-id: r4561
2002-07-16 10:52:48 +00:00
Max Horn
c3c11b79cb added latest of painelf's patches which makes NewGui handle system events directly (code becomes much cleaner and more powerful this way); he also implemented a 'focus' item in NewGui; atop of this several changes of my own that further improve the GUI behaviour
svn-id: r4541
2002-07-13 22:41:29 +00:00
Max Horn
1238d74227 took painelf's change, modified it a lot, and now here's the result :-)
svn-id: r4540
2002-07-13 18:32:09 +00:00
Max Horn
9514e7012e some cleanup
svn-id: r4534
2002-07-13 12:02:10 +00:00
James Brown
86a2ca6b82 Let ListWidget have an 'active' item
svn-id: r4529
2002-07-13 09:19:23 +00:00
Max Horn
eeb23d5a92 implemented scrollbar 'dragging' (based largely on painelf's patch)
svn-id: r4527
2002-07-12 23:00:35 +00:00
Max Horn
e34571dca9 Countless changes to the New GUI; some hightligths: new ScrollBarWidget class; ListWidget is usable (demo shows it off); added custom String/StringList classes
svn-id: r4521
2002-07-12 16:24:11 +00:00
Max Horn
c60670d561 added prototype ListWidget (doesn't do anything yet, only serves to demo how it might look); renamed various NewGui methods and added frameRect method; made NewGui use our 'own' GUI colors (no worries if you don't like them, this is just an experiment); StaticTextWidget now clones its label (preventing problems when a game was loaded, thus invalidating string locations in memory)
svn-id: r4513
2002-07-10 22:49:41 +00:00