diff options
author | Vicent Marti | 2008-06-12 19:06:37 +0000 |
---|---|---|
committer | Vicent Marti | 2008-06-12 19:06:37 +0000 |
commit | 7a9a74691fef580467d93c713c03be613a6d289b (patch) | |
tree | 9badb25845ee23bcff69dc4d781b068cfa7ef877 /gui/InterfaceManager.h | |
parent | 5dd77ea8203c7d63848b0423fbc3c9bfbb8987b5 (diff) | |
download | scummvm-rg350-7a9a74691fef580467d93c713c03be613a6d289b.tar.gz scummvm-rg350-7a9a74691fef580467d93c713c03be613a6d289b.tar.bz2 scummvm-rg350-7a9a74691fef580467d93c713c03be613a6d289b.zip |
Parser skeleton
Expanded drawing interface
svn-id: r32678
Diffstat (limited to 'gui/InterfaceManager.h')
-rw-r--r-- | gui/InterfaceManager.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gui/InterfaceManager.h b/gui/InterfaceManager.h index 05f95ee435..7ab3f4c9db 100644 --- a/gui/InterfaceManager.h +++ b/gui/InterfaceManager.h @@ -73,8 +73,10 @@ public: kDDTab, - kDDScrollBarBase, - kDDScrollBarHandle, + kDDScrollbarBase, + kDDScrollbarButtonTop, + kDDScrollbarButtonBottom, + kDDScrollbarHandle, kDDPopUp, kDDCaret, @@ -155,12 +157,12 @@ public: /** Widget drawing */ void drawWidgetBackground(const Common::Rect &r, uint16 hints, WidgetBackground background = kWidgetBackgroundPlain, WidgetStateInfo state = kStateEnabled) {} - void drawButton(const Common::Rect &r, const Common::String &str, WidgetStateInfo state = kStateEnabled, uint16 hints = 0); // {} + void drawButton(const Common::Rect &r, const Common::String &str, WidgetStateInfo state = kStateEnabled, uint16 hints = 0); void drawSurface(const Common::Rect &r, const Graphics::Surface &surface, WidgetStateInfo state = kStateEnabled, int alpha = 256, bool themeTrans = false) {} - void drawSlider(const Common::Rect &r, int width, WidgetStateInfo state = kStateEnabled) {} - void drawCheckbox(const Common::Rect &r, const Common::String &str, bool checked, WidgetStateInfo state = kStateEnabled) {} + void drawSlider(const Common::Rect &r, int width, WidgetStateInfo state = kStateEnabled); + void drawCheckbox(const Common::Rect &r, const Common::String &str, bool checked, WidgetStateInfo state = kStateEnabled); void drawTab(const Common::Rect &r, int tabHeight, int tabWidth, const Common::Array<Common::String> &tabs, int active, uint16 hints, int titleVPad, WidgetStateInfo state = kStateEnabled) {} - void drawScrollbar(const Common::Rect &r, int sliderY, int sliderHeight, ScrollbarState, WidgetStateInfo state = kStateEnabled) {} + void drawScrollbar(const Common::Rect &r, int sliderY, int sliderHeight, ScrollbarState, WidgetStateInfo state = kStateEnabled); void drawPopUpWidget(const Common::Rect &r, const Common::String &sel, int deltax, WidgetStateInfo state = kStateEnabled, TextAlign align = kTextAlignLeft) {} void drawCaret(const Common::Rect &r, bool erase, WidgetStateInfo state = kStateEnabled) {} void drawLineSeparator(const Common::Rect &r, WidgetStateInfo state = kStateEnabled); |