354 Commits

Author SHA1 Message Date
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