summaryrefslogtreecommitdiff
path: root/src/gui/windows/debugwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-25 18:45:59 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-25 18:45:59 +0300
commit7369332bb0a6d219cb2415a0b5e65bf2825da349 (patch)
treeef09d6526d0804e7370d41269e2e235d0c34cf6e /src/gui/windows/debugwindow.h
parent6b8cc23d56d0f46bb8b53bbfb3468adea6a7dd77 (diff)
downloadmanaverse-7369332bb0a6d219cb2415a0b5e65bf2825da349.tar.gz
manaverse-7369332bb0a6d219cb2415a0b5e65bf2825da349.tar.bz2
manaverse-7369332bb0a6d219cb2415a0b5e65bf2825da349.tar.xz
manaverse-7369332bb0a6d219cb2415a0b5e65bf2825da349.zip
Add missing safeDraw to some windows.
Without it drawing code can mix safe and not safe drawing.
Diffstat (limited to 'src/gui/windows/debugwindow.h')
-rw-r--r--src/gui/windows/debugwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/debugwindow.h b/src/gui/windows/debugwindow.h
index 9a0b2fe5c..5496852f6 100644
--- a/src/gui/windows/debugwindow.h
+++ b/src/gui/windows/debugwindow.h
@@ -56,6 +56,8 @@ class DebugWindow final : public Window
void draw(Graphics *g) override final;
+ void safeDraw(Graphics *g) override final;
+
void setPing(int pingTime);
void widgetResized(const Event &event) override final;