Age | Commit message (Collapse) | Author |
|
dialog-related events since they were probably generated while the old dialog
was still visible, and therefore note intended for the new one.
This hopefully fixes strange behaviour/crashes with pop-up widgets. (Most easy
to trigger in 3x mode or when running ScummVM under Valgrind.)
svn-id: r23141
|
|
restored background (example: the tab scrolling buttons).
- Call _theme->drawAll() at the end of the redraw method of NewGui
svn-id: r23134
|
|
may be a noticeable amount of time (disabling the theme can be comparatively
slow) where the cursor is wrong.
svn-id: r23082
|
|
- typo fix
svn-id: r22987
|
|
copying strings needlessly
svn-id: r22873
|
|
for the main loop to check for _needRedraw. Otherwise subsequent events can
cause widgets to be redrawn before the theme has had a chance to re-open the
dialogs, and this could cause at least the modern theme to crash.
svn-id: r22860
|
|
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
|
|
- 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
|
|
work before the cursor manager. Oh well, the launcher should have a visible
cursor again, knock on wood.
svn-id: r22641
|
|
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
|
|
to work, cursor palette now has to be set using the new "palette manager". See
graphics/paletteman.cpp
svn-id: r22543
|
|
wrong colours in many games.
svn-id: r22540
|
|
recives a EVENT_SCREEN_CHANGED.
svn-id: r22025
|
|
cursor (it should be replaced though).
svn-id: r22019
|
|
(some little things could be missing yet though)
svn-id: r22017
|
|
- Remove reduntant code in drawing pipeline. Topmost dialog was drawn
up to 4 times
svn-id: r21998
|
|
screen change.
svn-id: r21953
|
|
reserve the gui theme name 'default' to indicate, well, the *default* theme, whatever that is
svn-id: r21887
|
|
OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently)
svn-id: r21557
|
|
- 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
|
|
svn-id: r21438
|
|
to a minimum
svn-id: r21426
|
|
bad crashes on blitting stage.
svn-id: r21422
|
|
svn-id: r21147
|
|
o Add 'true' and 'false' constants
o add .visible widget property
o allow dots to be part of section and key names in configs
svn-id: r21123
|
|
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
|
|
svn-id: r20676
|
|
svn-id: r20518
|
|
svn-id: r20355
|
|
- 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
|
|
svn-id: r20088
|
|
svn-id: r19735
|
|
svn-id: r19142
|
|
svn-id: r18749
|
|
svn-id: r18604
|
|
svn-id: r18444
|
|
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
|
|
svn-id: r18326
|
|
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
|
|
that all our widgets are able to scale themselves now, but I could be
mistaken.
svn-id: r18192
|
|
svn-id: r18114
|
|
svn-id: r18112
|
|
were being drawn at unscaled coordinates.) I don't know if this is the
correct fix, but the change is small and easy to revert, if need be.
svn-id: r18072
|
|
svn-id: r17975
|
|
svn-id: r17695
|
|
svn-id: r17646
|
|
svn-id: r17620
|
|
svn-id: r17354
|
|
o Fixed crash when in-game GUI was displayed
o Support for save/load
o Savegame version bumped
svn-id: r17232
|
|
svn-id: r17099
|