diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-25 22:07:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-25 22:07:05 +0300 |
commit | 2b681b167c1d307f550a8dc7b56a94d13886827e (patch) | |
tree | 8ab235ab55893ce4c97a34babd83d71750082de9 /src/gui/widgets/widget.h | |
parent | 1f4410ab9ac4064ff0cfb0fd31b4e942bee82277 (diff) | |
download | plus-2b681b167c1d307f550a8dc7b56a94d13886827e.tar.gz plus-2b681b167c1d307f550a8dc7b56a94d13886827e.tar.bz2 plus-2b681b167c1d307f550a8dc7b56a94d13886827e.tar.xz plus-2b681b167c1d307f550a8dc7b56a94d13886827e.zip |
Add method safeDrawFrame for safe OpenGL renderer.
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r-- | src/gui/widgets/widget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h index 723811e66..7c3134302 100644 --- a/src/gui/widgets/widget.h +++ b/src/gui/widgets/widget.h @@ -147,6 +147,9 @@ class Widget notfinal : public Widget2 virtual void drawFrame(Graphics* graphics A_UNUSED) { } + virtual void safeDrawFrame(Graphics* graphics A_UNUSED) + { } + /** * Sets the size of the widget's frame. The frame is not considered a part of * the widget, it only allows a frame to be drawn around the widget, thus a frame |