Commit Graph

49 Commits

Author SHA1 Message Date
Eugene Sandulenko
a8a8624511 o Converted most (all?) widgets to new scheme.
o Converted global options dialog to new scheme.

svn-id: r21137
2006-03-08 01:42:02 +00:00
Eugene Sandulenko
018c93b14a More work on customizable GUI.
o Implemented special alias 'prev'
o Added new calling scheme to several widgets
o Partially converted launcher dialog to new scheme
o Converted couple widgets of chooser dialog

svn-id: r21118
2006-03-07 05:39:52 +00:00
Max Horn
b34e207dbb Change CVS keywords to SVN keywords
svn-id: r20518
2006-02-11 10:08:56 +00:00
Torbjörn Andersson
91d253c5b1 Applied my own patch #1416897, in an attempt to speed up list widget
redrawing. There may be regressions, but none are known at the moment.

svn-id: r20271
2006-01-28 18:21:46 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Torbjörn Andersson
7dfa96a8b8 Cleanup.
svn-id: r18319
2005-06-03 11:33:15 +00:00
Torbjörn Andersson
c64467af1a Fixed drawing of the caret. (It was drawn using the GUI font, rather than
the widget's font.)

svn-id: r18130
2005-05-16 13:43:31 +00:00
Max Horn
06cc657f0d Use big font in ListWidget if it is in kBigScrollBarWidth mode
svn-id: r18118
2005-05-15 18:22:44 +00:00
Max Horn
841c600fef Draw scrollbar arrows using drawLine, instead of hard coding bitmaps; add a param to the ListWidget constructor to choose a 'big' variant
svn-id: r18115
2005-05-15 18:02:10 +00:00
Torbjörn Andersson
d0615eb956 Removed unnecessary semi-colons.
svn-id: r17418
2005-04-06 15:21:32 +00:00
Max Horn
e80cdab64b Patch #1171300: ListWidget + Chooser Patch
svn-id: r17260
2005-03-27 11:27:07 +00:00
Max Horn
1fde0d90f4 Fix popup widget in scaled GUI mode
svn-id: r17099
2005-03-12 15:29:16 +00:00
Max Horn
b43a53f74d Move more text editing code into class EditableWidget; ListWidget now has all the editing capabilities of EditTextWidget
svn-id: r16694
2005-01-29 18:04:34 +00:00
Max Horn
04fc9fe6e7 Started to merge the text editing code in ListWidget and EditTextWidget
svn-id: r16692
2005-01-29 16:30:51 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
ee3158cb8c Patch #896096 (Restoring last selected game selection) with some personal modifications
svn-id: r15372
2004-10-01 21:12:18 +00:00
Max Horn
9f91359c2e Allow user to select ListWidget entries by typing them (see FR #922921)
svn-id: r14295
2004-07-21 14:28:57 +00:00
Max Horn
f59eb3b219 renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
svn-id: r12722
2004-02-05 00:19:57 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
7d0fcb71a8 cleanup; fixed return/enter in ListWidget when not in editing mode
svn-id: r11346
2003-11-18 23:44:28 +00:00
Max Horn
22c22d1e81 added namespace GUI
svn-id: r11255
2003-11-10 23:40:48 +00:00
Max Horn
d2285e386f added NumberingMode enum type
svn-id: r11109
2003-11-03 20:13:04 +00:00
Max Horn
e9ae86bb76 introduced common base class GuiObject for Dialog/Widget -> step towards making it possible to nest widgets (needed for TabWidget)
svn-id: r11052
2003-11-02 14:50:53 +00:00
Max Horn
0e645f88ae renamed namespace ScummVM to Common
svn-id: r10544
2003-10-02 17:43:02 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Max Horn
563f99b1fe more -pedantic warnings fixed
svn-id: r6109
2002-12-25 00:38:53 +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
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
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
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
58e5e0069f added simple message dialog
svn-id: r5020
2002-09-26 11:44:02 +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
ec47d8c80c fixed some endian issues in the new SMUSH decoder; cleanup
svn-id: r4842
2002-08-25 10:50:18 +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
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
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
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
0128dd0aa6 seems there is a conflict with our operator new and certain versions of the Std C++ lib. Till this is resolved: here's a workaround (disabling the code which is not used anyway right now)
svn-id: r4517
2002-07-11 23:09:07 +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