Commit Graph
3228 Commits
Author SHA1 Message Date
Torbjörn Andersson 8975ba8963 Cleanup. We no longer need these widget size parameters.
svn-id: r22798
2006-05-31 12:09:00 +00:00
Torbjörn Andersson 9aa7eec0f6 Update _tabHeight on screen changes.
svn-id: r22791
2006-05-31 08:52:20 +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
Johannes Schickel 94272b6ba8 Should fix drawing on systems with alpha mask.
svn-id: r22773
2006-05-30 16:48:15 +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 a46fe65378 A quick hack to let PSP gui use bigger fonts. Proper solution is to add
possibility to specify font for each widget class

svn-id: r22770
2006-05-30 12:29:32 +00:00
Eugene Sandulenko 0284becc9d GUI theme for PSP-specific resolution
svn-id: r22768
2006-05-30 12:07:47 +00:00
Max Horn 865b48e095 Added sections for infrastructure and GUI to the credits file. These are badly incomplete; folks, please add yourself as appropriate
svn-id: r22766
2006-05-30 10:08:02 +00:00
Eugene Sandulenko 5bbe44cd50 Fix bug #1496582 "GUI: Default graphics mode not committing".
svn-id: r22763
2006-05-30 01:41:49 +00:00
Johannes Schickel 1d72b954c7 Introduces special switch for GraphicsWidget for use of theme transparency again.
svn-id: r22746
2006-05-29 14:55:43 +00:00
Johannes Schickel 975dd5f1fa - updates new theme config
svn-id: r22744
2006-05-29 14:39:31 +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
Johannes Schickel 2dd94dd247 Oops this reverts my last commit. :/
svn-id: r22742
2006-05-29 14:30:21 +00:00
Johannes Schickel c37d69df56 - comments out getColorAlphaImp2
- adds note in getColorAlpha about we handle negative alpha values currently (could be removed when getColorAlphaImp2 get's fixed)

svn-id: r22741
2006-05-29 14:21:07 +00:00
Johannes Schickel bdceb581fd - cleanup
- uses working getColorAlphaImpl for alpha == 0 in getColorAlpha

svn-id: r22740
2006-05-29 14:16:52 +00:00
Johannes Schickel 0a557cf2a4 - changes transparency parameter of Theme::drawSurface to alpha parameter.
- adds possibility to draw GraphicsWidgets with alpha values.

svn-id: r22738
2006-05-29 14:00:00 +00:00
Johannes Schickel af25e65c31 Removes leftover comment.
svn-id: r22737
2006-05-29 13:24:49 +00:00
Johannes Schickel fbc55218f1 - Fixes list position after screen change.
svn-id: r22736
2006-05-29 13:21:56 +00:00
Johannes Schickel f3e74f88de - Fixes disabled transparency for classic theme.
- Introduces check for define 'CT_NO_TRANSPARENCY' to disable transparency support.

svn-id: r22735
2006-05-29 13:12:04 +00:00
Johannes Schickel ba82b4a235 Fixes widget drawing for classic theme.
svn-id: r22734
2006-05-29 13:06:28 +00:00
Torbjörn Andersson 7f1eafea96 Don't "tickle" a dialog until after it has had a chance to redraw itself,
otherwise it may be in an inconsistent state since the modern theme uses
openDialog() to allocate a surface as large as he dialog itself.

This fixes a crash when changing to a bigger scaler when the About dialog is
running.

svn-id: r22688
2006-05-27 22:57:00 +00:00
Willem Jan Palenstijn dfce3faabd add fixme about scrolling in about dialog
svn-id: r22685
2006-05-27 14:41:15 +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
Willem Jan Palenstijn 0993c6a712 make EditableWidget's caret visible when it moves
svn-id: r22682
2006-05-27 13:17:19 +00:00
Johannes Schickel 1b2485f4af Don't draw the shadow outside the scrollbar (should fix 'garbage' when moving the scrollbar)
svn-id: r22680
2006-05-27 12:48:31 +00:00
Johannes Schickel ae191feb21 Fixes caret drawing in EditTextWidgets.
svn-id: r22678
2006-05-27 12:37:00 +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
Torbjörn Andersson 923101abcb Override the list widget's FindWidget() function, to allow it to return the
scrollbar widget.

svn-id: r22672
2006-05-27 06:38:45 +00:00
Eugene Sandulenko 9943084227 Oops. More advanced warning recovered a mechanic mistake. Fixing.
svn-id: r22671
2006-05-27 06:08:44 +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 9477029a44 remove unused variable
svn-id: r22647
2006-05-26 01:51:03 +00:00
Eugene Sandulenko 5fee4afc32 - Put scrollbar inside of list widget
- Use resize() instead of setPos() and setSize() where applicable

svn-id: r22646
2006-05-26 01:49:56 +00:00
Eugene Sandulenko 12461c3ca0 Do not create scrollbar copy on each resolution switch
svn-id: r22645
2006-05-26 01:16:21 +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 9828eb7a0b Properly process screen change event in console
svn-id: r22643
2006-05-26 00:17:55 +00:00
Torbjörn Andersson 79819da301 The GUI never asked for the cursor to be visible. I'm not sure why that used to
work before the cursor manager. Oh well, the launcher should have a visible
cursor again, knock on wood.

svn-id: r22641
2006-05-25 23:20:35 +00:00
Torbjörn Andersson 8062eb6ec3 Set and show/hide mouse cursors through a "cursor manager" (analogous to the
recently added (cursor) palette manager) so that the cursor can be properly
restored after returning from the GUI.

If there's any C++ magic that can keep the backend functions from being called
by anything else than these managing classes, that would probably be a good
idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps
there are at least some backends that will no longer need to?

svn-id: r22639
2006-05-25 22:51:42 +00:00
Paweł Kołodziejski 107073537e imported AGI engine
svn-id: r22588
2006-05-23 23:43:52 +00:00
Torbjörn Andersson 6cdd98b617 After the GUI has finished, restore the old cursor palette (if any). For this
to work, cursor palette now has to be set using the new "palette manager". See
graphics/paletteman.cpp

svn-id: r22543
2006-05-20 10:59:25 +00:00
Torbjörn Andersson 22fb1e48ef Set a cursor palette for the classic theme, as well. Otherwise we'll get the
wrong colours in many games.

svn-id: r22540
2006-05-20 08:29:50 +00:00
Torbjörn Andersson 71d07416cd Call the inherited handleScreenChanged() method, so that the widget can resize
itself on scaler changes.

svn-id: r22537
2006-05-19 22:49:23 +00:00
Torbjörn Andersson ce749cd44c Call handleScreenChanged() *before* calling setEditString(). Otherwise
_leftPadding may be wrong, or even undefined, when getEditRect() is called,
which may cause ScummVM to trigger an "invalid rect" assertion.

svn-id: r22536
2006-05-19 22:41:51 +00:00
Eugene Sandulenko 23498c5974 Minor GUI tweaks
svn-id: r22534
2006-05-19 22:25:14 +00:00