summaryrefslogtreecommitdiff
path: root/src/gui/windows/minimap.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/minimap.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/minimap.h')
-rw-r--r--src/gui/windows/minimap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/minimap.h b/src/gui/windows/minimap.h
index 8d7ffc2a8..8c7150080 100644
--- a/src/gui/windows/minimap.h
+++ b/src/gui/windows/minimap.h
@@ -61,6 +61,10 @@ class Minimap final : public Window, public ConfigListener
*/
void draw(Graphics *graphics) override final;
+ void safeDraw(Graphics *graphics) override final;
+
+ void draw2(Graphics *const graphics);
+
void mouseMoved(MouseEvent &event) override final;
void mouseReleased(MouseEvent &event) override final;