Age | Commit message (Collapse) | Author |
|
Drawing nows happens directly when the Dialog or Widget draw methods are
called. This makes it easy to debug why a particular low level draw
method was called, by inspecting the call stack.
This replaces the notion of "buffering" by two independant ways to
control what is drawn and where:
- The active layer is used to select whether the foreground or
background part of the dialogs are rendered by the draw calls.
- The active surface is used to select if the draw calls affect the back
buffer or the screen.
The foreground layer of the active dialog is drawn directly to the
screen. Its background layer is drawn to the back buffer. This way
widgets can restore the back buffer in order to update without having to
redraw the dialog's background.
Dialogs lower in the dialog stack are drawn entirely to the back buffer.
|
|
|
|
|
|
Some backends may break as I only compiled SDL
|
|
This removes the dependency on array.h from str.h.
Also, begun migration from the confusing type name "StringList" to
the more appropriate StringArray.
svn-id: r48282
|
|
svn-id: r27786
|
|
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
|
|
fixes bug #1657322, GUI: 'Mass Add' button text does not revert after mass add)
svn-id: r26174
|
|
svn-id: r26173
|
|
svn-id: r23662
|
|
(some little things could be missing yet though)
svn-id: r22017
|
|
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: r18321
|
|
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
|
|
svn-id: r18145
|
|
svn-id: r18061
|
|
(after all, we don't want to draw text when the canvas is not yet ready, no matter whether this is due to a screen change or for any other reason)
svn-id: r17624
|
|
behind the credits show. Until we have a new canvas, don't draw any credits
text, or it too will show up on the canvas.
The latter, at the very least, was a bug in my original patch.
svn-id: r17621
|
|
svn-id: r17620
|
|
svn-id: r16398
|
|
svn-id: r16388
|
|
causes faster/reverse scrolling (this is an insider trick and not documented on purpose :-)
svn-id: r16383
|
|
svn-id: r16140
|
|
svn-id: r12176
|
|
svn-id: r11255
|
|
Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
|
|
sky/simon; also added our copyright to it
svn-id: r9122
|