diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-25 17:05:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-25 17:05:47 +0300 |
commit | f99569872f391ee0090348bf58d4a2a43c549eda (patch) | |
tree | d7196f30c7106a0816a13746d9ca06bad7ab0ea3 /src/touchmanager.cpp | |
parent | 95d7e3775c24aad327e8aa13ec401da45be5c7f5 (diff) | |
download | manaplus-f99569872f391ee0090348bf58d4a2a43c549eda.tar.gz manaplus-f99569872f391ee0090348bf58d4a2a43c549eda.tar.bz2 manaplus-f99569872f391ee0090348bf58d4a2a43c549eda.tar.xz manaplus-f99569872f391ee0090348bf58d4a2a43c549eda.zip |
Add basic support for draw controls method without batching (safeDraw).
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r-- | src/touchmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp index efa4758b1..19024fff4 100644 --- a/src/touchmanager.cpp +++ b/src/touchmanager.cpp @@ -268,6 +268,11 @@ void TouchManager::draw() } } +void TouchManager::safeDraw() +{ + draw(); +} + bool TouchManager::processEvent(const MouseInput &mouseInput) { const int x = mouseInput.getTouchX(); |