Max Horn
d30e577416
some more console code
...
svn-id: r5955
2002-12-14 15:45:45 +00:00
Max Horn
200c110f3d
fixed typo
...
svn-id: r5953
2002-12-14 14:32:19 +00:00
Max Horn
b9b8045e1f
moved the console code to gui/console.cpp; make it actually printout something. Note that this is WORK IN PROGRESS! I know it is incomplete, no need to tell me that
...
svn-id: r5952
2002-12-14 14:31:44 +00:00
Max Horn
96131f865c
clarification
...
svn-id: r5951
2002-12-14 14:26:37 +00:00
Max Horn
7f46dc6690
cleanup
...
svn-id: r5947
2002-12-14 01:49:19 +00:00
Max Horn
7e90ae0102
added a dummy savepath setting; space gets scare, seems we really need tabs
...
svn-id: r5946
2002-12-14 01:49:08 +00:00
Max Horn
837f33e31b
changed back transparency
...
svn-id: r5943
2002-12-13 23:34:07 +00:00
Max Horn
e01ecb3a7f
added an API to query the list of available music drivers; cleanup
...
svn-id: r5942
2002-12-13 23:29:18 +00:00
Max Horn
e1b29ce16c
playing a bit with the alpha level
...
svn-id: r5941
2002-12-13 23:17:47 +00:00
Max Horn
dbb6c8495a
added seperator items (to show off :-), moved dialog a bit up
...
svn-id: r5940
2002-12-13 22:19:35 +00:00
Max Horn
b60cfbaf2f
added support for seperator items; perform clipping if popup doesn't fit on screen
...
svn-id: r5939
2002-12-13 22:19:26 +00:00
Max Horn
d0dff9d727
added TODO comment
...
svn-id: r5938
2002-12-13 21:43:46 +00:00
Max Horn
7c9ba3a63a
added keyboard & scroll wheel support
...
svn-id: r5937
2002-12-13 21:35:04 +00:00
Max Horn
4bf96d1c8b
changed OSystem to allow RBG<->16bit color conversion to be done in the backend; after all, the backend 'knows' best what format the overlay uses. Default implementations of RBGToColor and colorToRBG assume 565 mode, backends other than SDL may want to provide alternate implementations (SDL backend already does the right thing for non-565 modes)
...
svn-id: r5931
2002-12-13 16:15:58 +00:00
Max Horn
1f64278abb
fixup dummy options dialog a bit
...
svn-id: r5925
2002-12-13 01:42:31 +00:00
Max Horn
f4d78cd330
added timeout for popup; fixed notifcation sent when popup item is chosen
...
svn-id: r5920
2002-12-12 23:31:58 +00:00
Max Horn
2af8f20344
added a dummy global options dialog; PopUpWidget tweaks
...
svn-id: r5919
2002-12-12 23:22:48 +00:00
Max Horn
f6de146c5e
changed the slider widget, better suited to represent volume settings this way (IMO)
...
svn-id: r5918
2002-12-12 23:21:29 +00:00
Max Horn
57d8bb978f
added PopUpWidget; hacked it into the edit game dialog just to show how to use it; note: this is NOT finished by any means, the look will change, the code will change, this is just an early preview :-)
...
svn-id: r5914
2002-12-12 12:07:46 +00:00
Max Horn
7098159101
fixed launcher buttons again
...
svn-id: r5770
2002-12-01 12:47:13 +00:00
Max Horn
2450640218
fix for bug #646218 (Start button in launcher was not getting disabled)
...
svn-id: r5766
2002-12-01 02:04:55 +00:00
James Brown
850428d1a5
Add a few EditGame options. Honor game-specific fullScreen from the Launcher
...
svn-id: r5715
2002-11-25 09:43:22 +00:00
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
4165e1ceb4
cleanup
...
svn-id: r5674
2002-11-21 17:29:57 +00:00
Max Horn
293c6cc461
enhanced Config::rename_domain; added the ability to change the domain name in EditGameDialog
...
svn-id: r5673
2002-11-21 17:25:31 +00:00
Max Horn
3ceee2fc42
allow some more chars as input
...
svn-id: r5672
2002-11-21 17:24:42 +00:00
Max Horn
dd5e27f2c7
added missing right border
...
svn-id: r5671
2002-11-21 17:05:50 +00:00
Max Horn
73369f6f37
some fixes; hooked up the EditGameDialog (so changes to 'name' there actually take effect)
...
svn-id: r5670
2002-11-21 16:56:29 +00:00
Max Horn
32de70fb65
changed comments slightly
...
svn-id: r5667
2002-11-21 15:24:38 +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
5b59dc4019
implemented remove buttons; added EditGameDialog stub (it only displays some info, no edit possible yet); except for that, the 'Add Game' and 'Edit Game' buttons should be complete now
...
svn-id: r5663
2002-11-21 14:12:55 +00:00
Max Horn
fa312d3746
center dialog vertically, too; split overlong lines at whitespaces if posible
...
svn-id: r5661
2002-11-21 13:20:27 +00:00
Max Horn
7a5063f086
enhanced launcher: added 'Remove' button, renamed 'Configure...' to 'Edit Game...'; display warning dialog if 'Add Game...' can't find any game in the selected directory; show warnings dialogs for stuff that is NYI
...
svn-id: r5660
2002-11-21 13:11:29 +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
69bceafc6e
revamped build system somewhat: 'modules' like scumm, simon, gui etc. now all build into a lib, and all have a module.mk file that lists all their file. Advantage: further modularizes the build system, seperating all parts of ScummVM
...
svn-id: r5653
2002-11-21 04:08:37 +00:00
Max Horn
c5c1091613
added _configureButton stub
...
svn-id: r5652
2002-11-21 04:02:10 +00:00
Max Horn
e5257ac4fe
added a chooser sub dialog used by 'Add Game'
...
svn-id: r5651
2002-11-21 03:51:07 +00:00
Max Horn
4896b55670
remember last directory (or rather, don't lobotomize yourself :-)
...
svn-id: r5647
2002-11-21 02:51:17 +00:00
Max Horn
2eb39f6497
lo and behold - the 'Add Game' button now works, at least in some cases! More to come...
...
svn-id: r5646
2002-11-21 02:19:02 +00:00
Max Horn
ce3cde15a0
added some preliminary game auto detect code to the launcher; this required a small change to the FS API, Windows/Morphos code will have to be adapted slightly I fear. Also, not all games are detected correctly, and some probably never will be, so we still have to add a dialog for cases where auto detect doesn't work
...
svn-id: r5600
2002-11-19 01:36:47 +00:00
Max Horn
eaa0e48741
enabled 'Go Up' button
...
svn-id: r5572
2002-11-15 17:54:49 +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
e152733344
added completly useless non functional browser dialog skeleton. Just to show Endy I really have started working on it finally <g>
...
svn-id: r5547
2002-11-14 13:46:35 +00:00
Max Horn
287d45ff36
cleaned up Config::get_domain; fixed sorting in launcher
...
svn-id: r5541
2002-11-13 20:23:24 +00:00
Max Horn
76afd1d1a9
more initialisation fixes
...
svn-id: r5535
2002-11-13 15:20:08 +00:00
Max Horn
bc883a5f1a
fixed dialog redrawing (when you switched in the save/load dialog between save and load mode, it would loose the transparency)
...
svn-id: r5512
2002-11-10 19:39:32 +00:00
Max Horn
42e6a81629
improved MessageDialog: long lines are split now (this needs improvement to favor splitting at spaces); maximum size is restricted to 300x180
...
svn-id: r5491
2002-11-10 14:53:28 +00:00
Max Horn
56a41a26c0
make buttons 2 pixel wider (fixes 'Options' button); don't use non-portable hack to swap ints
...
svn-id: r5427
2002-11-05 22:34:50 +00:00
Max Horn
5c0b145315
fix for bug #633087 (umlauts in GUI)
...
svn-id: r5426
2002-11-05 21:48:40 +00:00
Max Horn
d0d709627c
clip text drawing
...
svn-id: r5416
2002-11-05 13:33:34 +00:00
James Brown
0e0701ade4
Get launcher to display aliased games as well as 'basic' games
...
svn-id: r5343
2002-10-28 10:40:49 +00:00
James Brown
29f335c15e
Don't crash the launcher if there are no entries
...
svn-id: r5342
2002-10-28 10:24:27 +00:00
James Brown
959a9acf14
Add support for aliased scummvm config entries.
...
Eg:
[germandott]
path=/games/german/dott
gameid=tentacle
description=the german version of DOTT
I havn't finished the Launcher changes to show aliased entries yet, as I need to parse the whole domainmap to do so.
svn-id: r5341
2002-10-28 09:03:02 +00:00
Lionel Ulmer
ab3aecddd5
Fix warning found by Valgrind.
...
svn-id: r5314
2002-10-26 09:31:14 +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
ea828761a4
grrr... why did my commit not remove those?!
...
svn-id: r5275
2002-10-23 08:02:36 +00:00
Nicolas Bacca
3b7ce4fed1
Useless, just in order to compile without errors ...
...
svn-id: r5252
2002-10-22 22:35:35 +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
308a52a2ae
added some TODO comments so that people know a bit better what is planned here (but also feel free to implement any of those before I get to it <g>)
...
svn-id: r5172
2002-10-17 22:43:13 +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
d5bcb63f82
dialogs now can be run 'modal'
...
svn-id: r5168
2002-10-16 17:37:30 +00:00
Max Horn
d8b72c31c9
sort the games in the launcher list by name
...
svn-id: r5154
2002-10-15 15:32:54 +00:00
Max Horn
42c7315eed
some more launcher tweaks
...
svn-id: r5138
2002-10-13 11:51:48 +00:00
Max Horn
cdb7b13789
revised options dialog
...
svn-id: r5130
2002-10-12 00:26:24 +00:00
Max Horn
06d5fe86f5
Fix for bug #620854 (launcher crash)
...
svn-id: r5116
2002-10-09 19:32:54 +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
273e4b4740
fixed scrollbar drawing/response when there are less items than fit on one page
...
svn-id: r5066
2002-10-01 22:39:55 +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
d921d06d39
played a bit with the launcher - it now is already somewhat usable <g>
...
svn-id: r5047
2002-09-30 00:55:47 +00:00
Max Horn
94b55db821
patch #612722 : MI2 NewGui title fix
...
svn-id: r5030
2002-09-28 19:25:09 +00:00
Max Horn
9dc5fe2a1d
cleaned up various variable names in the SDL backend & NewGui; also fixed a small buglet that could cause garbage to appear behind the mouse cursor when closing NewGui while inside a game
...
svn-id: r5029
2002-09-28 16:19:28 +00:00
Max Horn
45877ea2dc
changed the crosshair curso to match the Scumm one (I hope?)
...
svn-id: r5028
2002-09-28 15:58:25 +00:00
Max Horn
6024c80f14
added (currently completly useless) launcher dialog
...
svn-id: r5024
2002-09-27 23:27:14 +00:00
Max Horn
e674b9e2e2
enabled demo dialog shown during startup; some fixes/cleanup in NewGUI
...
svn-id: r5023
2002-09-27 13:06:58 +00:00
Max Horn
09f56dc233
some fixes for the message dialog; added some comments
...
svn-id: r5021
2002-09-26 12:29:10 +00:00
Max Horn
58e5e0069f
added simple message dialog
...
svn-id: r5020
2002-09-26 11:44:02 +00:00
Max Horn
1bfaa3c02f
removed even the last traces of Scumm dependencies from NewGUI. Yes, you heard right NewGUI is now 100% Scumm free and we can go for the launcher/message dialogs!
...
svn-id: r5016
2002-09-24 23:45:25 +00:00
Max Horn
6bb2e335c7
NewGUI now has its own event loop; this may cause some regression
...
svn-id: r5001
2002-09-22 04:03:45 +00:00
Matt Hargett
8390b0cc53
2002-09-21 Matt Hargett <matt@use.net>
...
* scumm.dsp, scummvm.dsp, simon.dsp: Turn on warning as errors. Generate
PDBs on all builds.
* gameDetector.cpp, newgui.cpp, widget.cpp, actor.cpp,
dialogs.cpp, resource.cpp, saveload.cpp, scumm_renderer.cpp:
Fix warnings where possible. One pragma added to eliminate
warning of unknown pragmas.
* string.cpp: If unknown escape sequence, print warning.
svn-id: r4998
2002-09-22 03:53:53 +00:00
Max Horn
a681eb029e
renamec string -> _string and sentence -> _sentence in class Scumm (I originally reworked StringTab, but then noticed the save game format depends on it <sigh>)
...
svn-id: r4995
2002-09-22 01:17:53 +00:00
Max Horn
f838473c25
NewGui now has its own mouse cursor code -> again one less dependency on Scumm; moved makeCursorColorTransparent to gfx.cpp where it belongs
...
svn-id: r4977
2002-09-19 23:06:54 +00:00
Max Horn
85aa2cd8e8
found out that guifont actually contains a char width table -> make use of it now
...
svn-id: r4976
2002-09-19 22:37:00 +00:00
Max Horn
5f716f54f0
removed obsolete font drawing code from old GUI to make CCCP happy :-)
...
svn-id: r4975
2002-09-19 22:07:46 +00:00
Max Horn
9939746022
removed even more scumm dependencies from NewGUI; fixed some redraw issues (this might help the inventory-display issue in The Dig, and definitly fixes the 'vanishing volcanoe' in the FOA extro)
...
svn-id: r4974
2002-09-19 21:45:56 +00:00
Max Horn
859ef578dc
moved the Scumm specific dialogs to scumm/dialogs.*
...
svn-id: r4973
2002-09-19 17:44:41 +00:00
Max Horn
f644bea112
improved the text display in a newgui a bit: make the font proportiona; implemented text alignment (left/right/center); alpha blending now not anymore at 50% but at 66%; moved some #defines to util.h
...
svn-id: r4972
2002-09-19 17:03:24 +00:00
Max Horn
bb57506d48
Added overlay to OSystem interface; implemented overlay in SDL backend (all other backends, including SDL_gl, still need to implement this!); changed NewGUI to make use of the overlay; added Cmd-Q as a shortcut for Quit on MacOS X
...
svn-id: r4971
2002-09-19 16:06:51 +00:00
Paweł Kołodziejski
bc81fc7aa1
added support for nonenglish the dig - for gui this time. now is completed :)
...
svn-id: r4960
2002-09-17 16:12:16 +00:00
James Brown
978e879009
Fix newgui crash, and commit patch 600645: Loom flashlight fix
...
svn-id: r4958
2002-09-17 12:52:53 +00:00
James Brown
79857fd7e8
Replace some exit()'s with a call to the OSystem quit method, as per 610251.
...
svn-id: r4956
2002-09-17 04:52:50 +00:00
Jonathan Gray
9ce78dd66e
apply patch #609508 real fix for MI2 Dialog Box crash, by CCCP at Endy's request
...
svn-id: r4943
2002-09-15 09:06:58 +00:00
Travis Howell
004c6ddec9
Commited the following patches
...
[ 606595 ] Fix for Sam & Max animation glitch
[ 607175 ] Possible fix for bug #590511
[ 607677 ] Partial workaround for bug #566062
[ 607713 ] patch for bug 580350 (MI2 F5 crash)
svn-id: r4924
2002-09-11 13:28:34 +00:00
Max Horn
5a01787840
removing debug message
...
svn-id: r4922
2002-09-10 11:52:37 +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
27bfe32f16
decreased double click interval
...
svn-id: r4905
2002-09-08 12:56:44 +00:00
Max Horn
523d8e64c0
rewrote config class; cleanup; code restructuring
...
svn-id: r4903
2002-09-08 01:08:12 +00:00
Paweł Kołodziejski
97ef7c2a34
more resolution fixes
...
svn-id: r4895
2002-09-01 16:37:08 +00:00
Max Horn
828d0849a1
fix for bug #599511 (crash when choosing 'about' option)
...
svn-id: r4883
2002-08-31 14:53:26 +00:00
Max Horn
2618a9bfdc
use class String for widget labels
...
svn-id: r4878
2002-08-31 13:42:07 +00:00
Max Horn
41c2d6fba3
sound system cleanup
...
svn-id: r4867
2002-08-29 23:45:15 +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
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
James Brown
42be969348
Fix small indentation
...
svn-id: r4498
2002-07-08 13:58:13 +00:00
James Brown
06d85ff2cb
Fix mouseout
...
svn-id: r4497
2002-07-08 13:54:11 +00:00
James Brown
7be66a5f05
Add slider widget
...
svn-id: r4496
2002-07-08 13:52:50 +00:00
Max Horn
32ea67dfed
got rid of RTTI again (i.e. dynamic_cast)
...
svn-id: r4492
2002-07-08 11:55:55 +00:00
Max Horn
28852f1497
implemented hotkey support in new GUI code
...
svn-id: r4488
2002-07-08 00:29:47 +00:00
Max Horn
c9b1d393b8
delay creation of dialogs till they are used; fixed new pause dialog & use it instead of the old one; dirty area handling in new gui code is more logical/useful now
...
svn-id: r4487
2002-07-08 00:10:11 +00:00
Max Horn
c3b606cd9b
added CheckboxWidget; added NewGui::drawBitmap
...
svn-id: r4486
2002-07-07 23:37:47 +00:00
Max Horn
10d86be564
added options dialog; added NewGui TODO list;
...
svn-id: r4485
2002-07-07 22:44:30 +00:00
Max Horn
2b50e2a7c0
added dialog nesting code (for now using std::stack, I will provide my own stack class later
...
svn-id: r4483
2002-07-07 21:46:53 +00:00
Max Horn
2d72eb552c
once more indent, after adding -TDialog and -TWidget
...
svn-id: r4474
2002-07-07 17:49:25 +00:00
Max Horn
2d73a779cb
applied indent to a couple of source files; added .indent.pro file with default indent settings as per readme.txt
...
svn-id: r4469
2002-07-07 13:14:34 +00:00
Max Horn
671678a6c5
added mouse over effect
...
svn-id: r4466
2002-07-06 12:57:51 +00:00
Max Horn
84cafcc64a
new experimental GUI code
...
svn-id: r4463
2002-07-05 16:56:53 +00:00