57 Commits

Author SHA1 Message Date
Eugene Sandulenko
6f8c4250f9 Move whole theme ini file to evaluator. Next step is caching. Also now it is
possible to use per-resolution gfx and colors, i.e. complete customization.

svn-id: r22964
2006-06-06 23:57:14 +00:00
Eugene Sandulenko
7094405116 Fix About dialog in PSP theme
svn-id: r22782
2006-05-30 18:55:41 +00:00
Eugene Sandulenko
148995dc2d Slight adjustment to list height in PSP theme so it will not have ugly empty
space between last list item and widget edge.

svn-id: r22780
2006-05-30 18:48:16 +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
Joost Peters
ac1b601429 override some widget settings for launcher on 480x272
svn-id: r22778
2006-05-30 18:27:04 +00:00
Eugene Sandulenko
9852a3b808 Fix game options in PSP theme
svn-id: r22777
2006-05-30 18:05:13 +00:00
Eugene Sandulenko
7e656e7274 Fix global options on PSP theme
svn-id: r22776
2006-05-30 17:57:44 +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
Eugene Sandulenko
411264238a Narrow buttons for PSP resolution for better look.
svn-id: r22771
2006-05-30 12:42:51 +00:00
Eugene Sandulenko
0284becc9d GUI theme for PSP-specific resolution
svn-id: r22768
2006-05-30 12:07:47 +00:00
Johannes Schickel
975dd5f1fa - updates new theme config
svn-id: r22744
2006-05-29 14:39:31 +00:00
Eugene Sandulenko
60e288fe87 More vertical space in game options 'game' tab for consistency and better
visuals

svn-id: r22677
2006-05-27 12:05:16 +00:00
Eugene Sandulenko
b56c7b88d7 Major GUI update:
- Implemented padding in console
- Update only current line in console instead of whole screen
- Fixed caret positioning in edit text widget
- Improved buttons drawing, now they look more realistic
- Added label spacing in popup widget
- Correct shadow in popup widget
- Fixed up with selected popup widget being drawn on wrong tab
- Added shading to list dialog
- Adjusted shading of inactive widgets
- Proper coloring of browset (add game) dialog
- Introduced Container widget
- Used Container widget in scumm save/load dialog. Now it looks properly
- Adjusted button colors even more. Now they match almost perfectly albeit with banding
- Made scrollbar appear only when it is really needed

svn-id: r22670
2006-05-27 05:46:04 +00:00
Eugene Sandulenko
7f8b79d5d0 Use Courier 12pt (free one) for 2x and 3x console. Looks much more useable now.
svn-id: r22644
2006-05-26 01:05:19 +00:00
Eugene Sandulenko
23498c5974 Minor GUI tweaks
svn-id: r22534
2006-05-19 22:25:14 +00:00
Eugene Sandulenko
fac7a13cf5 Proper rendering of slider widget.
svn-id: r22527
2006-05-18 21:48:47 +00:00
Eugene Sandulenko
4ead8dff26 - Fix spelling in theme config
- Introduce embossing shadow
- Less round corners in popup widget
- Custom border in editable text widget
- Matched color in popup widget and editable text widget with mock-ups
- Less round corners in editable text widget
- Text padding in editable text widget

svn-id: r22525
2006-05-18 20:53:28 +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
Eugene Sandulenko
3f62ce3069 Improve new cursor image a bit for better visibility.
svn-id: r22508
2006-05-18 01:44:13 +00:00
Eugene Sandulenko
71e341ba39 Better cursor image
svn-id: r22507
2006-05-18 01:36:06 +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
af8b2d83f7 Oops again. removed unneeded entry.
svn-id: r22023
2006-04-19 05:50:03 +00:00
Johannes Schickel
87c6abdd68 Oops forgot to commit changes here with last commit.
svn-id: r22022
2006-04-19 05:48:08 +00:00
Johannes Schickel
0a767b6467 Implements custom cursor support for the new theme and includes a standard cursor (it should be replaced though).
svn-id: r22019
2006-04-19 03:17:00 +00:00
Johannes Schickel
30787714d3 Started to prepare the gui for runtime resolution switches.
(some little things could be missing yet though)

svn-id: r22017
2006-04-19 01:05:28 +00:00
Johannes Schickel
1ae205a241 - adds own drawing function for (not expanded) popup widgets
- adds pixmaps, colorfades, and gradient factor for the (not expanded) popup widget in new theme
- bumps themeconfig version

svn-id: r22011
2006-04-18 18:40:33 +00:00
Eugene Sandulenko
1c9c14011b Tame colors a bit to match GUI mock-ups
svn-id: r21997
2006-04-18 00:34:57 +00:00
Johannes Schickel
e9cbf5fcbd - Moves Graphics::loadFont to Graphics::NewFont::loadFont
- adds code for caching of fonts (just for Graphics::NewFont)
- implements cache using in the modern theme for custom fonts
- adds cache file for current normal font in the theme zip file

svn-id: r21952
2006-04-16 19:54:39 +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
Max Horn
1eb526f71a Instead of calling our main them 'default-theme', call it 'modern' and reserve the gui theme name 'default' to indicate, well, the *default* theme, whatever that is
svn-id: r21887
2006-04-14 13:20:39 +00:00
Johannes Schickel
53f81b3366 Sets up standard normal font.
svn-id: r21869
2006-04-14 02:21:38 +00:00
Johannes Schickel
70cc7b8c26 - changed standard inactive dialog effect to dim with 30% instead of luminance
svn-id: r21546
2006-04-02 01:08:16 +00:00
Johannes Schickel
d0b8efd575 - moves some code in ThemeNew.cpp (calcGradient and calcAlpha to the bottom)
- added possibility to use a shading effect on inactive dialogs (luminance and dim are builtin, and special ablility to specifiy a own expression, evaluated via the evaluator)
- adds also a color cache (atm it's generated on startup)
- uses luminance effect by default
- bumps theme config version to 7

svn-id: r21544
2006-04-02 00:56:21 +00:00
Eugene Sandulenko
3e1afa4a2f o Rearranged options dialog
o Made button corners less round to match mock-ups

svn-id: r21423
2006-03-24 03:33:47 +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
fce18c2e13 Bump theme config version number to avod confusion. A key was added there,
but I didn't bump it last time.

svn-id: r21391
2006-03-20 12:32:55 +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
60793c0e64 Positioned logo properly, added different version number rendering and
got rid of antialiasing artifacts

svn-id: r21270
2006-03-14 03:08:14 +00:00
Eugene Sandulenko
c9970b78b5 Rearrange launcher.
Logo is still shown weirdly.

svn-id: r21268
2006-03-14 02:19:38 +00:00
Eugene Sandulenko
94f5bd81ad Fix Chooser dialog.
svn-id: r21266
2006-03-13 23:18:22 +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
059c7a0296 Set svn keywords on theme file.
svn-id: r21120
2006-03-07 05:53:28 +00:00
Eugene Sandulenko
5c06d3391b Fix 320xY layout
svn-id: r21119
2006-03-07 05:50:37 +00:00