Paweł Kołodziejski
14b7d027a2
cleanup whitespaces
...
svn-id: r11223
2003-11-08 23:22:16 +00:00
Max Horn
a93c9f49ba
added checkboxes to the 'Edit Game...' dialog which let the user determine whether to override global settings or not; besides other things, this fixes bug #837599 (Default volume is 0 for newly added games)
...
svn-id: r11196
2003-11-07 16:01:51 +00:00
Max Horn
fcf6d6613d
enable StaticTextWidget by default; make CheckboxWidget::handleMouseUp send the checkbox state along with its command
...
svn-id: r11193
2003-11-07 15:05:14 +00:00
Max Horn
435fe749d7
draw StaticTextWidget differently if disabled
...
svn-id: r11192
2003-11-07 14:58:12 +00:00
Max Horn
767fc87148
fixed memory leak in TabWidget
...
svn-id: r11191
2003-11-07 14:50:32 +00:00
Jonathan Gray
239aea0ff0
spelling fixes
...
svn-id: r11178
2003-11-07 02:31:44 +00:00
Max Horn
29d79d8197
make savepath settings persistent
...
svn-id: r11158
2003-11-05 22:06:07 +00:00
Max Horn
297ddb370b
refactored common code into a new class OptionsDialog; various fixes and cleanup to the launcher/option dialogs
...
svn-id: r11152
2003-11-05 12:25:42 +00:00
Max Horn
2c3b8c9b30
minor tweaks
...
svn-id: r11149
2003-11-05 11:24:37 +00:00
Max Horn
c207fe6a95
added multi_midi/native_mt32 settings (we *really* need to come up with a good way to share code between GlobalOptionsDialog and EditGameDialog)
...
svn-id: r11145
2003-11-05 01:22:19 +00:00
Max Horn
4cff7c8b97
save fullscreen/aspect ratio settings; fix midi driver selection (driver was set immediately when you choose it from popup; this made it impossible to 'Cancel' the change)
...
svn-id: r11144
2003-11-05 01:15:10 +00:00
Max Horn
25f2aafd7a
added language/platform popup
...
svn-id: r11143
2003-11-05 00:59:03 +00:00
Max Horn
ceef10b5b8
make it possible to query the tag of the selected item
...
svn-id: r11142
2003-11-05 00:58:42 +00:00
Max Horn
ee253d4c90
modified NewGui::drawString to shorten strings which don't fit using ellipsis (disabled for the EditTextWidget for now)
...
svn-id: r11136
2003-11-04 22:00:36 +00:00
Max Horn
597ddcfa17
Added some more dummy checkboxes, functionality to be added
...
svn-id: r11135
2003-11-04 21:17:33 +00:00
Jonathan Gray
b674717fbc
lec don't have copyright on all the SCUMM games, add broken sword while here. Maybe we should just say something like all copyrights and trademarks are owned by their respective owners instead of having this list and stick a bit about the GPL in that the TODO mentioned?
...
svn-id: r11123
2003-11-04 03:31:50 +00:00
Max Horn
76e4cbe2cb
fix item positions
...
svn-id: r11122
2003-11-03 23:42:53 +00:00
Max Horn
8a8743a042
removed PushButtonWidget
...
svn-id: r11120
2003-11-03 23:33:40 +00:00
Max Horn
2ad5fcfb7d
cleanup
...
svn-id: r11118
2003-11-03 23:14:21 +00:00
Max Horn
3f14767884
Make ChooserDialog height & button label customizable; make its ListWidget available to the outside, to allow custom modifications (hack!); fixed bug where the cancel button didn't yield -1 as result
...
svn-id: r11110
2003-11-03 20:16:23 +00:00
Max Horn
d2285e386f
added NumberingMode enum type
...
svn-id: r11109
2003-11-03 20:13:04 +00:00
Chris Apers
e050421bc2
Fixed compile error under codewarrior for PalmOS
...
svn-id: r11092
2003-11-03 14:55:36 +00:00
James Brown
0ece8aab8b
Default to first tab
...
svn-id: r11087
2003-11-03 06:19:43 +00:00
James Brown
a331a298a2
Fiddling with new tab widget
...
svn-id: r11086
2003-11-03 05:27:53 +00:00
Max Horn
5a91cb4287
alternate scroll bar look
...
svn-id: r11082
2003-11-03 01:32:26 +00:00
Max Horn
79068761f2
make light gray slightly lighter, for better contrast
...
svn-id: r11080
2003-11-03 01:16:29 +00:00
Max Horn
7724d9a340
distinguish selected tab by size, too (not just by color)
...
svn-id: r11079
2003-11-03 01:14:40 +00:00
Max Horn
4581cdfe6c
tiny position tweaks
...
svn-id: r11078
2003-11-03 01:04:55 +00:00
Max Horn
9f3edb11c5
added a builtin label to PopUpWidget
...
svn-id: r11076
2003-11-03 01:00:26 +00:00
Max Horn
cfd658cd29
added built-in label for SliderWidget
...
svn-id: r11075
2003-11-03 00:43:29 +00:00
Max Horn
be560b6ec6
oops
...
svn-id: r11074
2003-11-03 00:27:18 +00:00
Max Horn
af71b2f309
use TabWidget for GlobalOptionsDialog
...
svn-id: r11073
2003-11-03 00:24:04 +00:00
Max Horn
528c9f4513
automatically compute tab width
...
svn-id: r11072
2003-11-03 00:18:33 +00:00
Max Horn
56bc737086
Widget::handleCommand delegates unhandled commands to the boss
...
svn-id: r11071
2003-11-03 00:17:12 +00:00
Max Horn
1d9ac7b91b
more changes to allow widget nesting to fully work
...
svn-id: r11068
2003-11-02 22:31:20 +00:00
Max Horn
af19319a24
added initial TabWidget stub (if you want to try it, I added some testing code to launcher.cpp which you just have to un-#if). This is not yet finished, obviously, but enough to 'get the idea', I hope
...
svn-id: r11062
2003-11-02 19:11:03 +00:00
Max Horn
ac4b9ccdb8
refactored code in Dialog::findWidget to Widget::findWidgetInChain; changed NewGui::box() to take colors as param (instead of hard coding _color and _shadowColor)
...
svn-id: r11061
2003-11-02 18:57:20 +00:00
Max Horn
f0d2a1b91c
make coordinate calculation based on position of parent -> needed for nested widgets
...
svn-id: r11058
2003-11-02 17:41:01 +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
5c387a67ae
ask before removing a game config
...
svn-id: r11050
2003-11-02 11:32:18 +00:00
Max Horn
b27a871f87
turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
...
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn
31f64369ff
merged detectGames() into LauncherDialog::handleCommand()
...
svn-id: r11043
2003-11-01 23:45:39 +00:00
Max Horn
72699c3d2b
fixed Widget::draw for bordered items to adjust _h; removed unused label param from SliderWidget constructor; cleanup
...
svn-id: r11041
2003-11-01 22:21:18 +00:00
Max Horn
2d7eef223e
renamed 'timer' to duration; minimal doxygen comments
...
svn-id: r11040
2003-11-01 22:20:14 +00:00
Max Horn
17597164b9
amiga checkbox is obsolete (will be replaced by a platform popup
...
svn-id: r11038
2003-11-01 22:18:17 +00:00
Max Horn
72bee75297
modified MessageDialog to allow for custom button texts
...
svn-id: r11034
2003-11-01 21:15:33 +00:00
Max Horn
f7ab7f6207
cleanup: new MessageDialog subclass TimedMessageDialog
...
svn-id: r11033
2003-11-01 20:52:41 +00:00
Max Horn
53db0a8a07
cleanup: removed version/id from GameSettings
...
svn-id: r10995
2003-10-28 17:07:25 +00:00
Max Horn
d581c99ab5
cleanup
...
svn-id: r10982
2003-10-26 19:16:59 +00:00
Max Horn
33f2fbff08
We proudly present the latest installment of our hit series 'Untangle the mess': 'Help! Space Invaders refactored the music detector'... in other news, I obviously need to sleep now
...
svn-id: r10883
2003-10-18 00:22:46 +00:00
Max Horn
df7cda84d3
findGame is static class method now
...
svn-id: r10864
2003-10-17 15:54:17 +00:00
Max Horn
116dbee1fc
factored out the game detection code into the Plugin class; this is the first step towards allowing more powerful, plugin specific detection code; also, moved the Plugin GameSettings APIs to a slightly higher level
...
svn-id: r10858
2003-10-17 12:18:58 +00:00
Max Horn
1e56fb8191
cleanup
...
svn-id: r10839
2003-10-16 23:16:16 +00:00
Max Horn
36fd7ec445
some renaming for more consistent terminology (although we might want to reevaluate this): 'target' is what is in your config file; 'game' is what a frontend provide. E.g. the scumm frontend provides the game 'monkeyvga', and my config file has target 'monkeyvga-ger' configured to use that game
...
svn-id: r10766
2003-10-12 18:40:12 +00:00
Max Horn
80c6401b9d
fix for bug #821502 (GUI: Launcher crashes with unexisting targets)
...
svn-id: r10738
2003-10-11 21:15:57 +00:00
Max Horn
6e09d35090
turned PluginManager into a proper singleton
...
svn-id: r10688
2003-10-08 22:10:59 +00:00
Max Horn
d177364715
new config manager. not everything is completed, and some things will still be changed, but it seems to work well enough to put it into CVS
...
svn-id: r10687
2003-10-08 21:59:23 +00:00
Max Horn
fd2c041d79
Make use of new List iterator
...
svn-id: r10609
2003-10-05 14:03:07 +00:00
Max Horn
bb6765f85d
cleanup & restructuring; in particular move the midi driver list to its own source file
...
svn-id: r10550
2003-10-02 22:52:57 +00:00
Max Horn
0e645f88ae
renamed namespace ScummVM to Common
...
svn-id: r10544
2003-10-02 17:43:02 +00:00
Jonathan Gray
745497dea4
vline -> vLine, hline-> hLine, slightly more in line with ScummVM naming style and more importantly doesn't conflict with the vline and hline Allegro functions
...
svn-id: r10520
2003-10-01 15:00:26 +00:00
Torbjörn Andersson
570e60a487
Whitespace changes
...
svn-id: r10390
2003-09-24 06:33:59 +00:00
Chris Apers
ec15369d66
console.h from bs2/ is found before gui/ on PalmOS and cause compilation errors
...
svn-id: r10386
2003-09-23 18:07:50 +00:00
Max Horn
21ce55bc9f
make console height/width based on a float percentage of the overlay size -> the overlay isn't so tiny anymore in COMI
...
svn-id: r10329
2003-09-20 01:08:48 +00:00
Max Horn
7d95a33922
make use of the new get_overlay_height/get_overlay_width
...
svn-id: r10327
2003-09-20 00:47:56 +00:00
Max Horn
be9d4066e1
moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
...
svn-id: r10287
2003-09-18 02:07:18 +00:00
Max Horn
c1a678afeb
new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there (this removes the need for an ugly hack in the build system, and is also conceptionally cleaner)
...
svn-id: r10282
2003-09-17 22:41:01 +00:00
Max Horn
231cb16b5b
some tweaks to the build system (work toward plugin support)
...
svn-id: r10279
2003-09-17 21:53:13 +00:00
Max Horn
769f5c2919
added About dialog to launcher
...
svn-id: r10107
2003-09-08 18:09:32 +00:00
Max Horn
940200f173
got rid of version_settings
...
svn-id: r10101
2003-09-08 17:25:44 +00:00
Max Horn
bac8a0da5b
added a FIXME comment
...
svn-id: r10093
2003-09-08 16:10:05 +00:00
Max Horn
f23a34c9e5
renamed VersionSettings -> TargetSettings and also renamed some of its members; added GameDetector::findTarget; made launcher use that new method; some initial preparations for Plugin code
...
svn-id: r10092
2003-09-08 15:38:34 +00:00
Max Horn
6ac86b9760
added EVENT_SCREEN_CHANGED; small tweak to the way quit is handled in NewGui
...
svn-id: r10047
2003-09-06 20:21:54 +00:00
Max Horn
0045dfe9c6
added TODO
...
svn-id: r10022
2003-09-05 21:23:28 +00:00
Max Horn
4240dcbe34
removed outdated comments
...
svn-id: r10015
2003-09-05 20:18:32 +00:00
Oliver Kiehl
2a89cd9c9d
fix killLastWord
...
svn-id: r9896
2003-08-28 19:46:52 +00:00
Max Horn
898bbc85d0
double cursor animation speed (see bug #757191 )
...
svn-id: r9895
2003-08-28 19:20:30 +00:00
Travis Howell
be0d723e7f
Change Amiga palette option to Amiga version
...
svn-id: r9800
2003-08-20 14:01:39 +00:00
Chris Apers
a47e80cb55
Updated globals access for PalmOS
...
svn-id: r9759
2003-08-18 10:59:21 +00:00
Travis Howell
bf1c300c36
Show Amiga option only for scumm games
...
svn-id: r9643
2003-08-12 02:08:21 +00:00
Marcus Comstedt
8f88764ef0
stdafx.h needs to be included before scummsys.h because of the #define of free.
...
svn-id: r9628
2003-08-10 20:57:41 +00:00
Max Horn
0c3c609442
get rid of some g_system usage
...
svn-id: r9529
2003-08-06 00:28:00 +00:00
Max Horn
103112dd3d
removed OSystem::set_mouse_pos (I hope I didn't break any backends, but if I did it should be trivial to get them working again)
...
svn-id: r9391
2003-08-02 00:36:38 +00:00
Max Horn
0df319e952
#include cleanup (explicityl specify the location for headers from common/, so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level)
...
svn-id: r9359
2003-08-01 12:21:04 +00:00
Paweł Kołodziejski
e5e117006a
back disable warnings into stdafx.h, vc6 is lack of warnings support
...
svn-id: r9337
2003-07-31 18:35:01 +00:00
Travis Howell
50c3369ddd
Correct name
...
svn-id: r9324
2003-07-31 10:21:00 +00:00
Jamieson Christian
c5de745580
Disabled unknown pragma warning in MSVC-6.
...
svn-id: r9320
2003-07-31 06:47:05 +00:00
Max Horn
26d05c0190
the VC warning for unknown pragmas is now gloabally disabled, no need to work around it locally
...
svn-id: r9300
2003-07-30 18:40:28 +00:00
Torbjörn Andersson
20dd02a833
Don't check for hotkeys when ascii is 0, since that is the default hotkey
...
for widgets that have none. (This means the Shift key words in text edit
widgets again, for instance.)
svn-id: r9148
2003-07-23 16:44:15 +00:00
Max Horn
660ca0f526
fixed button hotkeys in dialogs with a focused widget (e.g. the F5 save/load dialog)
...
svn-id: r9127
2003-07-22 16:30:00 +00:00
Max Horn
ece1b83ac1
fixed key autorepeat when using button hot keys
...
svn-id: r9126
2003-07-22 16:29:23 +00:00
Max Horn
8c8f22f65a
whitespaces
...
svn-id: r9125
2003-07-22 16:26:12 +00:00
Max Horn
22a86e823c
use kLineHeight constant (also strictly spoken it makes no sense: kLineHeight = 11, yet we only put 10 pixels between our lines :-)
...
svn-id: r9123
2003-07-22 16:08:57 +00:00
Max Horn
bda0a18eee
made about dialog global (so that it can be used from the launcher and from sky/simon; also added our copyright to it
...
svn-id: r9122
2003-07-22 16:05:51 +00:00
Chris Apers
6d92375093
Fix for bug #775512
...
svn-id: r9117
2003-07-22 08:33:13 +00:00
Max Horn
b05e7de7bb
replaced SCUMMVM_VERSION/SCUMMVM_CVS by gScummVMVersion/gScummVMBuildDate/gScummVMFullVersion; made engine.o depend on all other .o files, so that the build date in it is always up-to-date
...
svn-id: r9032
2003-07-15 02:16:33 +00:00
Jonathan Gray
4cd1927ee0
remove scumm.h dependency
...
svn-id: r8498
2003-06-15 02:02:36 +00:00
Max Horn
101df28e0b
moved GameId declaration to common/engine.h (more logical); moved scumm specific stuff from gameDetector.h to scumm.h; cleaned up some #includes (ideally, never #include something in a header file if you can avoid it - this cuts down interdepencies)
...
svn-id: r8496
2003-06-15 01:42:19 +00:00
Max Horn
9f8338503a
added tilda (~) character to GUI font
...
svn-id: r8484
2003-06-14 21:16:22 +00:00
Jamieson Christian
baaf6502ec
Made notation of transient config domains consistent.
...
Now all transient config domains use a name
in the form _TRANSIENT_DOMAIN
svn-id: r8452
2003-06-12 18:46:37 +00:00
Jamieson Christian
c117ef1e50
Fix for bug [741592] GUI: Switching music driver mixes up music
...
Implement true music driver selection from the GUI options dialog.
This implementation depends on a new, transient config domain called
"user-overrides". Probably any other config changes made from the
options dialog will need to go into this domain, which is now
loaded after the game settings are loaded.
I hope this is the right way to do it. I'm still a little fuzzy
about our game settings architecture. If anybody suddenly gets
a "[user-overrides]" section showing up in their scummvm.ini or
scummvm.rc files, you'll know why.
svn-id: r8434
2003-06-11 06:49:47 +00:00
Max Horn
be9e6e85db
added quit event
...
svn-id: r8398
2003-06-08 12:11:14 +00:00
Max Horn
5f5b0e6c7e
use _version
...
svn-id: r8370
2003-06-07 00:01:18 +00:00
Paweł Kołodziejski
f0c0b5f4f8
fixed compilation
...
svn-id: r8112
2003-05-29 18:30:40 +00:00
Max Horn
27f2f58010
put in explicit unistd.h for getcwd (this helps BeOS)
...
svn-id: r8040
2003-05-27 23:34:37 +00:00
Torbjörn Andersson
4fb4626ac9
Variable initializations in SliderWidget
...
svn-id: r7786
2003-05-21 16:18:41 +00:00
Max Horn
dab0e4308e
memory init
...
svn-id: r7743
2003-05-20 16:43:28 +00:00
Max Horn
3468e2caab
Patch #732725 : EditTextWidget: handleMouseDown positions caret
...
svn-id: r7360
2003-05-05 16:12:45 +00:00
Max Horn
898387e1ac
Patch #732707 : EditTextWidget: long string support
...
svn-id: r7359
2003-05-05 16:10:19 +00:00
Oliver Kiehl
37159f9b4e
fixed cursor placement
...
svn-id: r7343
2003-05-05 10:38:16 +00:00
Oliver Kiehl
98d5dd518e
patch #732184
...
svn-id: r7341
2003-05-05 09:48:23 +00:00
Max Horn
975d325a92
Patch #731613 : debugger tab-completion (thanks, Willem!)
...
svn-id: r7293
2003-05-03 21:49:19 +00:00
Max Horn
e61f0316dc
Patch #731615 : console: KillLastWord broken
...
svn-id: r7270
2003-05-03 00:08:38 +00:00
Jonathan Gray
6b17d487e4
compilation fix
...
svn-id: r7235
2003-04-30 21:37:02 +00:00
Max Horn
59bff559d1
PalmOS changes: allow 8 bit GUI mode
...
svn-id: r7226
2003-04-30 13:57:57 +00:00
Jonathan Gray
dffb21e78a
update launcher for recent changes
...
svn-id: r7191
2003-04-29 04:27:08 +00:00
Max Horn
68f67c98e6
incresed button width a little more for spanish games
...
svn-id: r6988
2003-04-12 17:19:28 +00:00
Joost Peters
81ac7cc8f8
fixed GP32 port
...
svn-id: r6958
2003-04-10 13:44:50 +00:00
Marcus Comstedt
ac99b27327
Save game path setting is not meaningful on the Dreamcast.
...
svn-id: r6901
2003-04-03 16:01:03 +00:00
Paweł Kołodziejski
4819f360da
fixed compilation under VC6
...
svn-id: r6873
2003-03-27 07:13:29 +00:00
Max Horn
ddb1173bf8
grow default buttons size & browser dialog to accomodate for spanish games
...
svn-id: r6871
2003-03-26 22:41:12 +00:00
Max Horn
f5360cbb6c
Hook up the midi driver selection popup; disable GFX popup for now, till we modify the backends to properly allow for it's support
...
svn-id: r6867
2003-03-26 20:43:58 +00:00
Max Horn
3b1d4e4c06
Make it possible to disable popups/checkboxes
...
svn-id: r6864
2003-03-26 12:30:20 +00:00
Max Horn
c409895483
make the volume controls in the global options dialog work
...
svn-id: r6863
2003-03-25 15:55:27 +00:00
Max Horn
023d84a6a3
added some meat to the global options dialog (no prefs are stored yet, though)
...
svn-id: r6862
2003-03-25 15:32:36 +00:00
Max Horn
a50bbdd7f7
cleanup
...
svn-id: r6856
2003-03-25 00:26:53 +00:00
Max Horn
f2cc6a3d7d
only treat double clicks as double clicks, but not triple/quadruple/etc. clicks)
...
svn-id: r6781
2003-03-09 00:39:16 +00:00
Jonathan Gray
361e312a6c
change RBG to RGB which follows the argument order and hence makes more sense...
...
svn-id: r6767
2003-03-08 06:53:32 +00:00
Paweł Kołodziejski
aa3766018f
updated copyrights headers
...
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
1ff9749b87
and more cleanup .... Last
...
svn-id: r6721
2003-03-06 19:52:54 +00:00
Max Horn
086a89f365
Patch #691064 : dot matrix scaler
...
svn-id: r6663
2003-03-02 16:36:52 +00:00
Jonathan Gray
c08d736d1d
add new tv scanlines graphics scaler from Gregory Montoir, use -g tv2x to try it
...
svn-id: r6462
2003-01-15 02:11:37 +00:00
Oliver Kiehl
ebdf89e418
Added some basic line editing to the EditText widget
...
svn-id: r6393
2003-01-10 21:33:42 +00:00
James Brown
9df455ce38
Plop in some better disk switching code for CMI - I have no idea how well this will work transitioning from a disk1 room to a disk2
...
room in-game, but it works for bootparams and saved games..
svn-id: r6322
2003-01-02 10:36:17 +00:00
James Brown
92c8e4ef1e
Fix NewGui for higher resolutions (eg, CMI)
...
svn-id: r6216
2002-12-28 04:51:34 +00:00
Max Horn
2c01dc8536
even more -peantic fixes
...
svn-id: r6111
2002-12-25 00:48:13 +00:00
Max Horn
70769ee04b
fixed invalid memory access
...
svn-id: r6110
2002-12-25 00:46:34 +00:00
Max Horn
563f99b1fe
more -pedantic warnings fixed
...
svn-id: r6109
2002-12-25 00:38:53 +00:00
Max Horn
81dce87a5c
allow for a timed message dialog w/o buttons (still need to add support for multiple buttons with customm labels)
...
svn-id: r6038
2002-12-21 11:57:24 +00:00
Max Horn
5b6f97b8c4
made chooser wider
...
svn-id: r6032
2002-12-20 22:45:36 +00:00
Max Horn
189c5405b0
don't show amiga checkbox for simon games
...
svn-id: r6031
2002-12-20 22:41:03 +00:00
Max Horn
27f896deca
fix Ctrl-D; work around VC++ quirks properly
...
svn-id: r6003
2002-12-16 22:25:54 +00:00
Oliver Kiehl
e3bfb6f1fe
small fix
...
svn-id: r6002
2002-12-16 22:15:38 +00:00
Paweł Kołodziejski
fa4f785f71
fixed compilation under MSVC
...
svn-id: r5998
2002-12-16 19:53:41 +00:00
James Brown
e989809665
New debugger core. Doesn't really have anything implemented yet, but is far more expandable and userfriendly than our previous.
...
Enable experimental console debugger by default, as I havn't written the text console code yet :)
svn-id: r5990
2002-12-16 06:21:08 +00:00
James Brown
4c831704cd
Fix segfault
...
svn-id: r5988
2002-12-16 03:21:38 +00:00
Oliver Kiehl
9648ea6f44
console now "remembers" the text which the user had typed before using the history
...
svn-id: r5977
2002-12-15 12:56:13 +00:00
Max Horn
1d40232efb
added a history (based on code by olki)
...
svn-id: r5976
2002-12-15 02:24:32 +00:00
Max Horn
f7b692dfbb
added input callback hook to console
...
svn-id: r5973
2002-12-15 00:36:34 +00:00
Oliver Kiehl
d58ec10ea2
oops
...
svn-id: r5972
2002-12-14 22:37:42 +00:00
Max Horn
e91eda059e
use killChar for backspace as well
...
svn-id: r5971
2002-12-14 22:31:43 +00:00
Oliver Kiehl
02d66e1b1d
fixed ctrl-w and added ctrl-d and <delete>
...
svn-id: r5970
2002-12-14 22:25:09 +00:00
Max Horn
2f30b76ceb
retrieve the input and (for now) print it back to the console
...
svn-id: r5969
2002-12-14 22:18:00 +00:00
Max Horn
bb210766ce
scroll to caret if user types
...
svn-id: r5968
2002-12-14 22:10:37 +00:00
Max Horn
5c80aeaed6
improved caret
...
svn-id: r5967
2002-12-14 21:59:16 +00:00
Max Horn
09e8c84ca3
improved caret
...
svn-id: r5966
2002-12-14 21:57:30 +00:00
Max Horn
3af3741562
improved line editing; reworked various internal details
...
svn-id: r5965
2002-12-14 21:37:40 +00:00
Max Horn
534b4c4be4
added a scrollbar to console
...
svn-id: r5964
2002-12-14 20:04:46 +00:00
Max Horn
c5294a3528
added a simple prompt; added an edit caret; some other cleanup
...
svn-id: r5963
2002-12-14 18:57:15 +00:00
Max Horn
3575a2db06
fixed arrow/mouse wheel scrolling: now honors seperator items (i.e. you can't select the anymore); seperator items are now marked by an empty string
...
svn-id: r5961
2002-12-14 17:59:22 +00:00
Max Horn
531f758c66
changed console look&feel a little bit
...
svn-id: r5959
2002-12-14 16:08:37 +00:00
Max Horn
9fee7b2326
make alpha blend level adjustable, and fixed an overflow bug
...
svn-id: r5958
2002-12-14 16:07:26 +00:00
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