aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.h
diff options
context:
space:
mode:
authorEugene Sandulenko2006-05-27 05:46:04 +0000
committerEugene Sandulenko2006-05-27 05:46:04 +0000
commitb56c7b88d7de665f92e1600f81dcec5c4af3a2aa (patch)
tree08f6922d09a77b9d4f93c3aa354436e0e4c5713e /gui/widget.h
parent3d0aa0a4d9fa36de8b8697ed65d8c1f4a6356a07 (diff)
downloadscummvm-rg350-b56c7b88d7de665f92e1600f81dcec5c4af3a2aa.tar.gz
scummvm-rg350-b56c7b88d7de665f92e1600f81dcec5c4af3a2aa.tar.bz2
scummvm-rg350-b56c7b88d7de665f92e1600f81dcec5c4af3a2aa.zip
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
Diffstat (limited to 'gui/widget.h')
-rw-r--r--gui/widget.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/gui/widget.h b/gui/widget.h
index 4fcd277f9d..6c712ef264 100644
--- a/gui/widget.h
+++ b/gui/widget.h
@@ -58,7 +58,8 @@ enum {
kScrollBarWidget = 'SCRB',
kPopUpWidget = 'POPU',
kTabWidget = 'TABW',
- kGraphicsWidget = 'GFXW'
+ kGraphicsWidget = 'GFXW',
+ kContainerWidget = 'CTNR'
};
enum {
@@ -279,6 +280,16 @@ protected:
bool _transparency;
};
+/* ContainerWidget */
+class ContainerWidget : public Widget {
+public:
+ ContainerWidget(GuiObject *boss, int x, int y, int w, int h);
+ ContainerWidget(GuiObject *boss, Common::String name);
+
+protected:
+ void drawWidget(bool hilite);
+};
+
} // End of namespace GUI
#endif