aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEngine.h
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-22 15:02:46 +0600
committerEugene Sandulenko2016-07-03 12:16:43 +0200
commitfca0f0ed3496530fc0d63efdde9f32fb995cd671 (patch)
tree990ea3530f668feebb09e3915f85c60d7fb87e3c /gui/ThemeEngine.h
parent8f2d35b0b89c4b8912df96ec3c403e00c85c5875 (diff)
downloadscummvm-rg350-fca0f0ed3496530fc0d63efdde9f32fb995cd671.tar.gz
scummvm-rg350-fca0f0ed3496530fc0d63efdde9f32fb995cd671.tar.bz2
scummvm-rg350-fca0f0ed3496530fc0d63efdde9f32fb995cd671.zip
GUI: Make PopUpWidget clip
Diffstat (limited to 'gui/ThemeEngine.h')
-rw-r--r--gui/ThemeEngine.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/ThemeEngine.h b/gui/ThemeEngine.h
index 76581fae10..af8c293a36 100644
--- a/gui/ThemeEngine.h
+++ b/gui/ThemeEngine.h
@@ -341,6 +341,9 @@ public:
void drawWidgetBackground(const Common::Rect &r, uint16 hints,
WidgetBackground background = kWidgetBackgroundPlain, WidgetStateInfo state = kStateEnabled);
+ void drawWidgetBackgroundClip(const Common::Rect &r, const Common::Rect &clippingArea, uint16 hints,
+ WidgetBackground background = kWidgetBackgroundPlain, WidgetStateInfo state = kStateEnabled);
+
void drawButton(const Common::Rect &r, const Common::String &str,
WidgetStateInfo state = kStateEnabled, uint16 hints = 0);
@@ -368,6 +371,8 @@ public:
void drawPopUpWidget(const Common::Rect &r, const Common::String &sel,
int deltax, WidgetStateInfo state = kStateEnabled, Graphics::TextAlign align = Graphics::kTextAlignLeft);
+ void drawPopUpWidgetClip(const Common::Rect &r, const Common::Rect &clippingArea, const Common::String &sel,
+ int deltax, WidgetStateInfo state = kStateEnabled, Graphics::TextAlign align = Graphics::kTextAlignLeft);
void drawCaret(const Common::Rect &r, bool erase,
WidgetStateInfo state = kStateEnabled);