Commit Graph

40 Commits

Author SHA1 Message Date
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
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
Eugene Sandulenko
c89aa846f0 Add newline to the end of the file
svn-id: r20876
2006-02-25 14:15:19 +00:00
Eugene Sandulenko
388a553f00 Put theme .ini out of .zip for better changes tracking.
svn-id: r20875
2006-02-25 14:00:22 +00:00
Johannes Schickel
129e7846b5 Implemented shadow drawing, also extended the theme config again
(new color entries for highlighted buttons and for other widgets).
Also added a 'highlight' check to the CheckBox widget.
Changed the PopUpDialog to use a shadow around itself.

svn-id: r20341
2006-02-01 15:11:39 +00:00
Johannes Schickel
1976ac6250 Adds more configureable options to the config file of the new theme,
also update the default theme zip file for that.
Also it changes the way the tab buttons get drawn, now they have
only rounded corners at the top.

svn-id: r20336
2006-01-31 19:35:33 +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