157 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
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
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Travis Howell
319cd187c8 Should have commited this too.
svn-id: r20018
2006-01-14 09:41:34 +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
Marcus Comstedt
ee15539952 Try do display the virtual keyboard only when a string input widget has focus.
svn-id: r19102
2005-10-15 15:46:12 +00:00
Chris Apers
f14365e3f9 Change __PALM_OS__ with new PALMOS_68K / PALMOS_MODE
svn-id: r18971
2005-10-08 21:25:09 +00:00
Max Horn
cc08602770 Patch #1259034 (Scumm Savegame Informations)
svn-id: r18920
2005-10-01 21:13:38 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Lars Persson
d4716a1fb5 * Start of generic key configuration support for ScummVM
* Moved KeyConfigDialog, key from WinCE to gui
* Updated wince code to inherit and use new GUI::Keys and launch new dialog
* New definition SMALL_SCREEN_DEVICE when keysdialog should be inittialized from options.cpp
* Added new function to SDL\Events that handles key remapping.  LINUPY & QTOPIA remapping moved to that function. SymbianOs.cpp overrides this function to enable key remapping to events
* Compiled VC6++ project. This with warnings and errors, but NOT in the changed code. (SAGA,KYRA)
* Compiled using WCE tools 3 for X86 target and running Scummvm in emulator to test
* Compiled with UIQ target. The rest Symbian platforms might require further configuration to operate properly
* Actor.h in Saga now compiles for default VC6 setting.
* Aspect.cpp does not compile in VC6/WCE due to template problems with the kFastAndNiceAspectMode setting.
* Changed order of creation of gamedetector and mainsystem in Main.cpp
* If anything does not compile, or is totally out of order, please revert changes.

svn-id: r18498
2005-07-05 20:22:56 +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
Lars Persson
1c69696a9a Patches needed to build for SYMBIAN32 WINS/GCC added.
Test built for Symbian and run on P910i without any major problems.
Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA).

svn-id: r18430
2005-06-21 22:08:21 +00:00
Torbjörn Andersson
60007ffbea Cleanup.
svn-id: r18325
2005-06-03 12:51:37 +00:00
Torbjörn Andersson
bf89c8a4b9 The GUI has reached the point where I think it's safe to begin removing the
old auto-scaling hack. Removed wantsScaling(), USE_AUTO_SCALING,
_scaleFactor and _scaleEnable.

Also removed drawBitmap() since we no longer use bitmaps for widget
decorations.

svn-id: r18310
2005-06-02 12:29:01 +00:00
Torbjörn Andersson
d51198e2b4 Made ValueDisplayDialog scale itself.
svn-id: r18274
2005-05-27 13:14:39 +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
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
6ef7dbf97c The SCUMM options dialog mostly scales itself. Mostly.
svn-id: r18160
2005-05-18 09:41:13 +00:00
Torbjörn Andersson
8feee31884 Made the help dialog scale itself. There's one place where it ought to use
word-wrapping, but it looks fairly good even with the current hard-coded
line breaks.

svn-id: r18135
2005-05-17 06:20:50 +00:00
Torbjörn Andersson
8eee14934b Made InfoDialog scale itself.
svn-id: r18128
2005-05-16 12:26:44 +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
ac215285d7 Use a 'big' ListWidget in SaveLoadChooserEx
svn-id: r18116
2005-05-15 18:02:28 +00:00
Max Horn
2d40452a11 Unified rules that determine when a dialog shall use its 'big' mode and when its 'normal' mode; MessageDialog uses Font::wordWrapText now; MessageDialog scales itself now
svn-id: r18111
2005-05-15 17:01:32 +00:00
Max Horn
ef8c36554c Made the SCUMM main dialog scale itself
svn-id: r18097
2005-05-14 22:47:00 +00:00
Max Horn
65ba4df9bc Simple and crude demo of the 'big' buttons -- the infrastructure for this isn't complete, but at least you can see where we are heading...
svn-id: r18062
2005-05-11 19:32:18 +00:00
Max Horn
9642133cd8 Reduce header dependencies
svn-id: r18058
2005-05-11 18:14:23 +00:00
Max Horn
c33cc2ce85 Last part of patch #1163026 (Thumbnails for ScummEngine)
svn-id: r17982
2005-05-09 00:09:01 +00:00
Paweł Kołodziejski
adbd8f23e5 fixed compilation for emsvc4
svn-id: r17153
2005-03-15 09:53:07 +00:00
Paweł Kołodziejski
1a368f2e7c inproper hack for compilation with emsvc4. i don't know how to fix it:
"'GUI::Dialog::open' : illegal call of non-static member function"

svn-id: r17151
2005-03-15 09:24:01 +00:00
Travis Howell
3a7588c983 Ooops
svn-id: r17085
2005-03-12 01:16:58 +00:00
Travis Howell
c39a92933d Add key to toggle speech/subtitles
svn-id: r17082
2005-03-12 00:47:17 +00:00
Max Horn
913fd254d1 Fix for bug #1158465 (New Volume Control Dialogue Error-Prone)
svn-id: r17042
2005-03-08 23:44:07 +00:00
Max Horn
e4bfdcaedd Fix result value
svn-id: r17032
2005-03-08 00:48:20 +00:00
Max Horn
a0d5debc7a Added dialogs which are shown when you modify the talkspeed or music volume using hotkeys (FR #1153300)
svn-id: r17009
2005-03-06 18:00:54 +00:00
Max Horn
695b0fcb5f Fix a small bug (wrong mouse cursor is briefly shown) in the F5 menu
svn-id: r16804
2005-02-18 00:28:56 +00:00
Torbjörn Andersson
cfe996642c InfoDialog can assume the screen is 320 pixels. In games where it isn't,
the dialog will be scaled to the appropriate size and position. This should
fix bug #1107817.

svn-id: r16635
2005-01-25 08:15:49 +00:00
Max Horn
cffd917165 system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
9eed72f0fc oops
svn-id: r15999
2004-12-08 00:03:08 +00:00
Max Horn
6dbe271a5e Only activate virtual keyboard when needed
svn-id: r15998
2004-12-06 22:05:04 +00:00
Max Horn
1ae87c0fbb Trying to cleanup the volume control mess inside the SCUMM engine: renamed MusicEngine::setMasterVolume to setMusicVolume; fixed iMuse to use the correct method for setMusicVolume (previously modified the iMuse internal volume control); hooked up the volume control of various other music engines; added ScummEngine::setupVolume method which can be called whenever volume settings change, and which gurantees that those are handled uniformly
svn-id: r15944
2004-11-28 21:24:02 +00:00
Max Horn
6bcb1ce7d9 Fixing some evil behaviour
svn-id: r15907
2004-11-27 13:10:30 +00:00
Travis Howell
08a260444f Use for HE 7.0 games too.
svn-id: r14286
2004-07-20 11:50:44 +00:00
Travis Howell
6225285a59 Add support for version key in The Dig
svn-id: r14285
2004-07-20 11:30:15 +00:00
Max Horn
6b722ff11b Added Engine::_saveFileMan; thus was able to get rid of auto_ptr usage again
svn-id: r14058
2004-06-25 22:39:21 +00:00
Max Horn
7a8d469c66 Use auto_ptr to avoid leaks
svn-id: r14057
2004-06-25 22:12:57 +00:00
Jamieson Christian
4ee0365a23 Tweaked a few things to accommodate
MSVC6's idiosyncracies.

svn-id: r13644
2004-04-26 20:28:34 +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
da400a38ed Small tweaks for MIPSPro compiler
svn-id: r13397
2004-03-28 13:02:28 +00:00