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.
|
|
|
|
Previously, if the user enters a command that is more than 256
characters, it will overflow the history buffer.
By using a Common::String, this is not possible.
|
|
|
|
|
|
svn-id: r54267
|
|
svn-id: r54265
|
|
svn-id: r54006
|
|
engines + GUI and proper keypad handling
svn-id: r48101
|
|
svn-id: r42054
|
|
flexible data structures
svn-id: r40458
|
|
gui/GuiManager.h
svn-id: r35668
|
|
svn-id: r30667
|
|
svn-id: r30664
|
|
svn-id: r27786
|
|
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
|
|
svn-id: r26044
|
|
comment to gui/console.h
svn-id: r23892
|
|
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker
restrictions)
* Change the base Debugger class to *not* be a template class anymore;
instead, a thin (template based) wrapper class is used to hook up
debugger commands
* Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single
version of each in GUI::Debugger
* New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries
the console to determine when to wrap
* Debugger::preEnter and postEnter aren't pure virtual anymore
svn-id: r23890
|
|
class ConsoleDialog (to avoid name clashes with other code)
svn-id: r23889
|
|
svn-id: r23662
|
|
- 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
|
|
svn-id: r22643
|
|
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: r18964
|
|
svn-id: r18604
|
|
to be made once, instead of whenever the console is redrawn. (This is the
same trick as the About dialog uses.)
It should speed up the drawing quite a bit, though it's not particularly
noticeable on the computer I'm using at the moment, so I can't say for
sure.
svn-id: r18540
|
|
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: r17652
|
|
svn-id: r17646
|
|
svn-id: r16398
|
|
svn-id: r16040
|
|
svn-id: r15903
|
|
ok, and as far as I can tell it does fix bugs #941811 and #941814, just as
it promised.
svn-id: r13849
|
|
svn-id: r13793
|
|
svn-id: r12176
|
|
svn-id: r11416
|
|
'arbitrary' BDF fonts (via convbdf)
svn-id: r11350
|
|
svn-id: r11255
|
|
svn-id: r11223
|
|
Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
|
|
svn-id: r10982
|
|
the overlay isn't so tiny anymore in COMI
svn-id: r10329
|