2263 Commits

Author SHA1 Message Date
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
6d5529e0dd fixed warnings
svn-id: r4833
2002-08-24 21:57:00 +00:00
Paweł Kołodziejski
9f993a1d29 synced with scummvm
svn-id: r4821
2002-08-24 15:31:37 +00:00
Max Horn
96476a9ca0 refixed #include
svn-id: r4792
2002-08-21 16:33:56 +00:00
Max Horn
e03fb646af oops, accidentally checked in a hacked up version of this :-)
svn-id: r4791
2002-08-21 16:30:39 +00:00
Max Horn
7aac293726 fixed the 'intelligent' GCC build rules; added .cvsignore files
svn-id: r4790
2002-08-21 16:28:19 +00:00
Max Horn
ce46866403 Initial revision
svn-id: r4785
2002-08-21 16:07:07 +00:00
Paweł Kołodziejski
105f966c6a moved to Sound class
svn-id: r4744
2002-08-14 20:43:56 +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
77daed66ea Fixed (worked around?) the nested dialog redraw bug; slightly changed the way mouseMoved events are handled in class Dialog
svn-id: r4694
2002-08-04 01:18:06 +00:00
Max Horn
72efbd36b6 NewGUI fixes: save game numbering starts at 0; allow to load autosave
svn-id: r4693
2002-08-04 00:44:49 +00:00
Max Horn
18c2d3a4da added TODO
svn-id: r4674
2002-07-28 20:10:39 +00:00
Max Horn
6dd5de48f9 added constants for the default volumes; changed the volume ranges from 0-255 to 0-256
svn-id: r4670
2002-07-28 15:03:45 +00:00
Max Horn
14cd6ec272 no reason to limit value to 8 bit!
svn-id: r4669
2002-07-28 14:59:27 +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
403afb0514 added isEmpty() methods to String and List class; fixed crasher that occured when saving/loading in NewGUI when nothing was selected
svn-id: r4655
2002-07-27 13:27:34 +00:00
Max Horn
00c4ba1b9b removed test widgets from save/load dialog
svn-id: r4650
2002-07-27 00:46:05 +00:00
Max Horn
95ca2ea043 added support for right aligned text; made use of that in the sound dialog; less redrawing in the sound dialog
svn-id: r4649
2002-07-27 00:36:09 +00:00
Max Horn
c318fed633 improved the sound dialog; but my goal is to get rid of it, and merge the sound & misc dialogs into the options dialog
svn-id: r4648
2002-07-27 00:05:46 +00:00
Max Horn
f831a948de fixed slider
svn-id: r4646
2002-07-26 23:29:43 +00:00
Max Horn
e0f1d6c5aa make sure the mouse over widget and the focused widget are informed when the dialog is closed
svn-id: r4645
2002-07-26 20:38:55 +00:00
Max Horn
89a65b7c01 fixed crash on some systems by setting defaults for the slider value range
svn-id: r4636
2002-07-26 15:34:04 +00:00
Max Horn
84c8d4b689 added painelf's (still unfinished) sound dialog in NewGUI. Beware, this is work in progress, don't report problems with it just yet, we already know they are there :-)
svn-id: r4635
2002-07-26 00:41:07 +00:00
Max Horn
6d68c4a545 added khalek's about dialog (but changed the text items to be centered)
svn-id: r4600
2002-07-19 10:10:02 +00:00
Max Horn
7e6d2affa8 disable transparency for the pause dialog for now
svn-id: r4598
2002-07-19 01:41:41 +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
862e0b26bc moved gui/utils.* to main level; removed some unused stuff from our file accessor functions
svn-id: r4583
2002-07-17 20:55:36 +00:00
Max Horn
0fe3a0c676 added copy constructo and assignment operator for List<T> template
svn-id: r4582
2002-07-17 17:22:48 +00:00
Max Horn
0e141368b0 fixed spllng
svn-id: r4581
2002-07-16 22:34:16 +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
Max Horn
e277d392b8 limit slider drag range
svn-id: r4566
2002-07-16 12:01:03 +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
ce7e480d50 replaced EventList and StringList by a universtal List<T> template; remade EventList and StringList using that generic type
svn-id: r4555
2002-07-15 20:11:39 +00:00
Max Horn
e6f6e5df8f allow static text/button widgets in NewGUI to be drawn centred
svn-id: r4551
2002-07-15 12:59:56 +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
1861053d33 oops
svn-id: r4535
2002-07-13 13:12:06 +00:00
Max Horn
9514e7012e some cleanup
svn-id: r4534
2002-07-13 12:02:10 +00:00
Max Horn
198d667d1e added clear() methods to String and StringList; StringList destructor now doesn't leak anymore
svn-id: r4533
2002-07-13 11:59:39 +00:00
James Brown
86a2ca6b82 Let ListWidget have an 'active' item
svn-id: r4529
2002-07-13 09:19:23 +00:00
Max Horn
8e7686e19f updated TODO list
svn-id: r4528
2002-07-12 23:04:54 +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
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
Max Horn
d32e3ad11f improved the alpha blending code, now works properly for nesting/redraw (changed meaning of WIDGET_CLEARBG a little bit for this)
svn-id: r4509
2002-07-10 16:49:45 +00:00
Max Horn
0a9baabbdc replaced clearArea with the more general fillArea; added get/setValue methods to SliderWidget; changed look of SliderWidget a little bit; optimized drawing of SliderWidget
svn-id: r4500
2002-07-08 22:11:47 +00:00