Commit graph

41 commits

Author SHA1 Message Date
Torbjörn Andersson
2023505402 Some minor tweaks to the classic theme's options dialog. The SoundFont and
the paths buttons have the same left margin now.

svn-id: r22941
2006-06-05 19:24:02 +00:00
Max Horn
0f18020010 Some more string usage tweaks
svn-id: r22936
2006-06-05 17:43:30 +00:00
Max Horn
5f76cd0d9e cleanup
svn-id: r22930
2006-06-05 12:35:33 +00:00
Torbjörn Andersson
5f3c930fd1 I just realized that by making the classic SCUMM options dialog just one pixel
wider, it matches the old, hard-coded, width for the 1x scaler. How can I
possibly resist something like that? :-)

svn-id: r22926
2006-06-05 07:17:42 +00:00
Torbjörn Andersson
a2718bc078 Base the width of the SCUMM options dialog, classic theme, on buttonWidth,
rather than hard-coding it. This should fix bug #1500674.

svn-id: r22925
2006-06-05 07:12:28 +00:00
Max Horn
76116f36dd *Loads* of Common::String related optimizations. Woa, *tons* of methods were copying strings needlessly
svn-id: r22873
2006-06-03 13:33:39 +00:00
Eugene Sandulenko
05871836b9 Turn AliasesMap and VariablesMap keys from String to const char *.
Stats before:
Strings: 12048
mallocs: 55629
after:
Strings: 6370
mallocs: 42117
Here Strings are non-empty strings. Mallocs are string-related mallocs
including mallocs in HashMap BaseNode.

svn-id: r22841
2006-06-02 17:51:20 +00:00
Eugene Sandulenko
eabca87697 Optimize string usage a tiny bit more
svn-id: r22839
2006-06-02 16:06:17 +00:00
Max Horn
9686e5a3be Optimize GUI string usage a tiny bit more
svn-id: r22828
2006-06-02 07:20:04 +00:00
Willem Jan Palenstijn
f33a2e2f31 reduce number of string allocations
svn-id: r22823
2006-06-01 22:50:05 +00:00
Eugene Sandulenko
1ec42e169e Fixes for MM NES resolution:
- Introduce useAsIs keyword for resolution aliases
- Extend skipFor keyword to accept multiple values

svn-id: r22779
2006-05-30 18:36:08 +00:00
Eugene Sandulenko
b13e157c16 Put volume controls conditionally into separate tab. Used by PSP theme.
svn-id: r22775
2006-05-30 17:49:53 +00:00
Eugene Sandulenko
b6a56e0795 - Split global audio tab into audio and volume
- More logical order in game options tab

svn-id: r22774
2006-05-30 17:35:57 +00:00
Johannes Schickel
0165c98e00 - adds option to fill GraphicsWidgets with a special color
- updates builtin theme config for my next commit
- bumps theme config

svn-id: r22743
2006-05-29 14:38:56 +00:00
Willem Jan Palenstijn
72403d1336 fix missing saveload thumbnail variables in classic theme config
svn-id: r22684
2006-05-27 13:52:30 +00:00
Eugene Sandulenko
bbb5f6813d More GUI fixes:
- Center dialog title in scumm save/load dialog
- more space in add game dialog between dialog header and selected path

svn-id: r22517
2006-05-18 13:40:35 +00:00
Eugene Sandulenko
57e90daf1c Fix several GUI layout problems:
- Correct button widths in scumm help dialog
- Fix button widths on path tabs in options dialogs
- Fix scumm options dialog in 320xY mode
- Added space after volume controls in options dialog

svn-id: r22516
2006-05-18 13:22:48 +00:00
Max Horn
0d6362ea48 Patch #1091170: ALL, SCUMM: Subtitle speed control
svn-id: r22456
2006-05-13 17:30:04 +00:00
Eugene Sandulenko
58462fa682 - minor cleanup in modern.ini
- implement skipFor theme section keyword

svn-id: r22151
2006-04-25 14:59:42 +00:00
Eugene Sandulenko
869622cf00 - Resize chooser dialog
- Swap About and Help buttons in main SCUMM menu for consistency with launcher

svn-id: r22150
2006-04-25 14:27:41 +00:00
Johannes Schickel
ff421d5adc Prepairs merge of SaveLoadChooser and SaveLoadChooserEx of the scumm engine.
svn-id: r22020
2006-04-19 05:46:21 +00:00
Johannes Schickel
1e15027885 Fixes "aspect ratio" text in the options with --force-1x-overlay.
svn-id: r22014
2006-04-18 19:04:15 +00:00
Eugene Sandulenko
924ec172ff - Implemented text padding in ListWidget and PopUpWidget. Right padding does not work yet.
- Implemented highlisght padding in ListWidget
- Eval::getVar() method with default value
- Removed unused constructors for ListWidget and PoUpWidget
- cleanup
- bumped theme version

svn-id: r21934
2006-04-16 10:23:36 +00:00
Eugene Sandulenko
8a5df05aa0 Hide eval debug output deeper to level 5. Report total number of defined
variables.

svn-id: r21521
2006-03-31 23:51:19 +00:00
Eugene Sandulenko
7569f796ec Fix crash in Options dialog in 320xY mode. Shadow was drawn off-screen
svn-id: r21438
2006-03-24 18:10:41 +00:00
Eugene Sandulenko
819033b649 o Move built-in evaluator constants to AssocArray to speed it up
o Introduced .align text widget property
o Moved all text widgets to use it and populated theme config file

svn-id: r21420
2006-03-24 01:24:26 +00:00
Eugene Sandulenko
3586905f93 Fix bug #1455213: "GUI: ExtraPath won't display" and turn theme version
into #define.

svn-id: r21395
2006-03-21 13:48:51 +00:00
Eugene Sandulenko
a483083f35 Tweaked a little scumm main dialog and scumm save/load dialog. Still plenty
to do.

svn-id: r21271
2006-03-14 03:52:29 +00:00
Eugene Sandulenko
94f5bd81ad Fix Chooser dialog.
svn-id: r21266
2006-03-13 23:18:22 +00:00
Eugene Sandulenko
cd732d680b Fix compilation on MSVC. Reported by Quietust
svn-id: r21165
2006-03-09 12:45:23 +00:00
Eugene Sandulenko
8a5f44d797 Converted last dialogs to new scheme. Now it seems to be everything. Please,
test throghoutly.

svn-id: r21157
2006-03-09 05:18:00 +00:00
Eugene Sandulenko
51495fb199 Moved keys mapping dialog to new scheme. Made it generic. Fixed several
compilation errors associated with it.

svn-id: r21151
2006-03-09 02:54:02 +00:00
Eugene Sandulenko
c3f91ca288 Converted all scumm dialogs to new scheme
svn-id: r21147
2006-03-09 01:08:25 +00:00
Eugene Sandulenko
a8a8624511 o Converted most (all?) widgets to new scheme.
o Converted global options dialog to new scheme.

svn-id: r21137
2006-03-08 01:42:02 +00:00
Eugene Sandulenko
c3e223afdb Fix implementation of UseWithPrefix keyword
svn-id: r21133
2006-03-07 19:23:38 +00:00
Eugene Sandulenko
fc84c7fc1d o More widgets fot alternative constructors
o Cleanup of launcher dialog
o Implemented useWithPrefix keyword

svn-id: r21131
2006-03-07 19:02:42 +00:00
Eugene Sandulenko
d7bc756edc Add XxH to evaluation precedence.
svn-id: r21127
2006-03-07 18:26:04 +00:00
Eugene Sandulenko
1f22481d83 Do not override .prev for simple variable assignments, i.e. VAR=VALUE
svn-id: r21124
2006-03-07 13:52:53 +00:00
Eugene Sandulenko
5c06d3391b Fix 320xY layout
svn-id: r21119
2006-03-07 05:50:37 +00:00
Eugene Sandulenko
018c93b14a More work on customizable GUI.
o Implemented special alias 'prev'
o Added new calling scheme to several widgets
o Partially converted launcher dialog to new scheme
o Converted couple widgets of chooser dialog

svn-id: r21118
2006-03-07 05:39:52 +00:00
Eugene Sandulenko
ebd5833335 WIP for arbitrary widget positions. See
http://wiki.scummvm.org/index.php/GUI_Themes
Code is not yet used.

svn-id: r21115
2006-03-07 03:31:31 +00:00