Age | Commit message (Collapse) | Author |
|
Fingolfin's blessings. Keyboard repeat is now handled by the event manager,
rather than by individual engines.
Since this can cause problems with some engines (see the AGI engine), the extra
"key down" events are marked as "synthetic", so that they can be ignored if
necessary.
svn-id: r26170
|
|
svn-id: r25432
|
|
svn-id: r24938
|
|
svn-id: r24656
|
|
svn-id: r24233
|
|
- Added runtime theme switching
svn-id: r24213
|
|
svn-id: r23668
|
|
svn-id: r22928
|
|
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
|
|
- 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
|
|
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
|
|
recives a EVENT_SCREEN_CHANGED.
svn-id: r22025
|
|
- adds three different font styles to the themes (normal, bold (default one), italic)
- implements code for specifing the font files in the theme config ('fontfile_normal','fontfile_bold' and 'fontfile_italic' in the 'extra' section)
- changes EditTextWidget to use the normal font (has some minor aligment problems with the caret now, though)
- extends the FontManager (new functions: getFontByName, assignFontToName, removeFontName)
- adds the font style constans to the builtin constants for the evaluator)
svn-id: r21868
|
|
to a minimum
svn-id: r21426
|
|
o Converted global options dialog to new scheme.
svn-id: r21137
|
|
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: r20518
|
|
- 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: r19142
|
|
svn-id: r18604
|
|
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
|
|
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: r18060
|
|
svn-id: r17646
|
|
svn-id: r17620
|
|
reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
|
|
games like COMI. Note: we can always easily switch back to the SCUMM font or any other font, if we want to
svn-id: r16467
|
|
svn-id: r16460
|
|
svn-id: r16455
|
|
(see also patch #1095133)
svn-id: r16454
|
|
allowed me to change OSystem to use the singleton base class, too
svn-id: r16404
|
|
svn-id: r16398
|
|
svn-id: r15886
|
|
svn-id: r14624
|
|
(you only have to recompile a single file now); foundation for future run-time font switching...
svn-id: r14623
|
|
add some unit tests for this...
svn-id: r13776
|
|
svn-id: r13430
|
|
svn-id: r13364
|
|
svn-id: r13357
|
|
svn-id: r13244
|
|
SCUMM font and any new font... or to have multiple different fonts (like, one for 320x240 and and one for 640x480); furthermore, font rendering can now be done w/o using NewGui
svn-id: r13243
|
|
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
svn-id: r13087
|
|
svn-id: r12176
|
|
svn-id: r11450
|
|
'arbitrary' BDF fonts (via convbdf)
svn-id: r11350
|
|
svn-id: r11255
|
|
svn-id: r11223
|