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