468 Commits

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