185 Commits

Author SHA1 Message Date
Johannes Schickel
5fda0cc6f1 - Fixes a bug that the debugger crashed while opening
- Changed gradient calculating
- added background saving for all dialog/widget backgrounds for now (change that later maybe)
- changed ScummDialog to use the colors of our launcher dialog

svn-id: r20276
2006-01-28 23:03:39 +00:00
Travis Howell
cb5d7b8029 Always save gameid.
svn-id: r20260
2006-01-28 00:22:02 +00:00
Johannes Schickel
5051b080a2 - adds the new gui renderer also a new implementation for the classic gui
- adds a ImageMan and ImageDec class for loading and managing image files
 - adds a loader for zip files which is used by the new theme and the image manager
 - changes the widgets to use the new gui code
 - changes the scumm dialogs to use the new gui code
 - fixes a #include problem in the sky debugger with the new gui code

 To use the new gui copy gui/themes/default-theme.zip to your extrapath.
If the theme zip can not be found the gui will fallback to the classic theme.
If you want to change the gui styles use "gui_theme=classic" for the classic theme
and "gui_theme=default-theme" for the new theme.

Thanks to eriktorbjorn for testing and help with the new theme and to sev for
reviewing this patch.

svn-id: r20227
2006-01-27 15:43:23 +00:00
Max Horn
0b39c0ea9f Fix various incorrect usages of the word 'target' instead of 'gameid'; change the ambigiuous 'GameSettings::name' to 'GameSettings::gameid'
svn-id: r20115
2006-01-21 13:01:20 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Torbjörn Andersson
990ad8f210 I forgot there were path buttons in this file. They, too, need to be wider
to avoid truncating the text in the smaller version of the GUI.

svn-id: r18702
2005-08-18 15:21:58 +00:00
Gregory Montoir
42d4032b59 committed patch #1255847, thanks Simon Sawatzki.
svn-id: r18653
2005-08-10 18:30:55 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Torbjörn Andersson
41f69db19f Cleanup.
svn-id: r18324
2005-06-03 12:33:03 +00:00
Torbjörn Andersson
801db4a515 Added big editable text widget, and removed some cruft. I think this means
that all our widgets are able to scale themselves now, but I could be
mistaken.

svn-id: r18192
2005-05-20 15:03:26 +00:00
Torbjörn Andersson
81453854ee Big version of the popup widget. It could use a bit more polish, though...
svn-id: r18185
2005-05-19 17:03:31 +00:00
Torbjörn Andersson
7d0d766988 More scaling work. It's still more about infrastructure than layout: I want
to give each widget the opportunity to scale itself.

There's a slight regression this time, though: In the small version of the
GUI, some of the buttons (e.g. "SoundFont") have their text truncated. Not
good.

svn-id: r18182
2005-05-19 13:10:57 +00:00
Torbjörn Andersson
4aac7819d1 Some more scaling work. Parts of the options dialogs scale themselves. Some
of them better than others.

svn-id: r18165
2005-05-18 14:11:53 +00:00
Torbjörn Andersson
ef8e42473a Made use of addCheckbox(). I had to add an alternative form of the function
because most checkboxes are on tabs. (We'll probably need a similar form of
addButton() as well.)

svn-id: r18161
2005-05-18 10:12:20 +00:00
Torbjörn Andersson
4ecb6d650f Added "big" version of the Tab widget, and made use of it.
svn-id: r18134
2005-05-17 06:19:42 +00:00
Torbjörn Andersson
6bcfb6ed97 Fixed the SoundFont button's behaviour in the Edit Game dialog.
svn-id: r18125
2005-05-16 06:33:33 +00:00
Max Horn
2935434504 Enlarge the option dialogs; note that the widgets should be rearranged / enlarged, too; they aren't yet
svn-id: r18123
2005-05-16 00:38:30 +00:00
Max Horn
c9290b68ff Made the launcher dialog scale itself
svn-id: r18122
2005-05-16 00:26:23 +00:00
Max Horn
1f3ce23da8 GameDetector isn't actually used here
svn-id: r17757
2005-04-22 21:20:22 +00:00
Max Horn
aea451f092 Reunify DirBrowserDialog and FileBrowserDialog; implemented file browser mode for OSX, too; fixed some memory leaks in the launcher
svn-id: r17639
2005-04-16 17:55:09 +00:00
Eugene Sandulenko
bdbd56406c Patches #1164217 "Updated GS Support + Percussion Remapping Patch" and
#1181750 "Updated Native MIDI documentation". Thanks _tom a lot.

svn-id: r17571
2005-04-13 00:11:49 +00:00
Torbjörn Andersson
13dc149ded Applied patch #1175374 ("FluidSynth MIDI driver"), with a few documentation
changes. There are a few things that could use a bit more work, and I've
only tested it on my Linux box. I have verified that ScummVM still compiles
when it's disabled, though, so it shouldn't break anything too badly.

svn-id: r17512
2005-04-10 14:33:44 +00:00
Max Horn
b43a53f74d Move more text editing code into class EditableWidget; ListWidget now has all the editing capabilities of EditTextWidget
svn-id: r16694
2005-01-29 18:04:34 +00:00
Max Horn
04fc9fe6e7 Started to merge the text editing code in ListWidget and EditTextWidget
svn-id: r16692
2005-01-29 16:30:51 +00:00
Max Horn
41b914e773 After adding a new game, select the new entry
svn-id: r16434
2005-01-05 01:42:52 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
9581bd5691 Fix for bug #1091801 (ALL: Possible to create corrupt config file)
svn-id: r16379
2004-12-30 12:54:04 +00:00
Max Horn
81b6e9e1e6 Get rid of the useless & troublesome master_volume
svn-id: r16328
2004-12-25 23:43:05 +00:00
Eugene Sandulenko
509f1b040f Fix warning
svn-id: r16325
2004-12-25 23:19:42 +00:00
Max Horn
02c0a25c31 Partial fix for bug #1091189: restore the selection after editing the games list in the launcher
svn-id: r16324
2004-12-25 22:26:28 +00:00
Max Horn
4a0c1b86f7 Make ESC key work in the launcher
svn-id: r16323
2004-12-25 22:13:44 +00:00
Robert Göffringmann
0d7ab01640 Pass subdirectories to gamedetector functions
svn-id: r16002
2004-12-09 15:06:49 +00:00
Max Horn
5d9b35510d Changed the FilesystemNode implementation to make it easier to use (client code doesn't have to worry about the memory managment anymore, it's all 'automatic' now). May have introduced a mem leak or two, please check :-)
svn-id: r15848
2004-11-20 21:35:49 +00:00
Max Horn
ee3158cb8c Patch #896096 (Restoring last selected game selection) with some personal modifications
svn-id: r15372
2004-10-01 21:12:18 +00:00
Max Horn
a956d5ece6 Ignore case when sorting entries in the launcher
svn-id: r14756
2004-08-26 00:27:51 +00:00
Max Horn
ee70457667 Fix for bug #1007093 (GUI: removing game configuration from Launcher buggy); moral: either document how things work, or at least provide well named constants for certain return values... using the cheap way out here, i.e. method (b) :-)
svn-id: r14557
2004-08-11 21:49:58 +00:00
Max Horn
580870e9ba Fix label width; properly distinguish between a global default extrapath/savepath, and a target specific one
svn-id: r14343
2004-07-26 18:11:55 +00:00
James Brown
06dc6a2c4e Backport C&P bug from local tree
svn-id: r14143
2004-07-01 10:24:42 +00:00
James Brown
d611b4bf1f Add 'Path' tab to launcher, w/ selection for Game, Data and a new 'Extra' path.
Extrapath is used for pointing to additional game resources - for example, running BS 1 or 2 directly from original CDs, Extrapath would point to the cutscene packs.

svn-id: r14125
2004-06-29 14:23:39 +00:00
Torbjörn Andersson
349f63ebfc Changed "voice_volume" to "speech_volume" for consistency with the Broken
Sword games. (The digial iMUSE code still calls it voice volume, though.)

svn-id: r13483
2004-04-06 11:50:35 +00:00
Paweł Kołodziejski
f141ad488b added voice group volume to scumm engine for imuse digital and implemeted volume groups control
svn-id: r13468
2004-04-05 18:24:36 +00:00
Max Horn
997ccc6c05 fix memory leak
svn-id: r13381
2004-03-25 21:31:03 +00:00
Max Horn
4a15a80eb3 Fix for bug #917532 (GUI: BrowserDialog return value)
svn-id: r13320
2004-03-17 00:07:43 +00:00
Max Horn
deb96003a2 Aaargh, didn't mean to commit this...
svn-id: r13296
2004-03-15 02:28:47 +00:00
Max Horn
782dabbcd3 ...and mor. Next big thing should be to document the overlay stuff, but that'll have to wait till after I slept :-)
svn-id: r13295
2004-03-15 02:21:04 +00:00
Paweł Kołodziejski
bbc9d84e29 fixed compilation
svn-id: r12789
2004-02-09 07:52:21 +00:00
Max Horn
1141ff1ac2 Modified version of patch #892795 (Let scumvm -v show supported libs)
svn-id: r12780
2004-02-09 01:27:27 +00:00
Max Horn
be73a85297 Make use of the MD5-based game detection in the launcher
svn-id: r12766
2004-02-07 17:12:10 +00:00