Commit Graph
3228 Commits
Author SHA1 Message Date
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