diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-01 19:49:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-01 22:58:18 +0300 |
commit | d418537e26ec75bc656518dab293ff6313998682 (patch) | |
tree | 3c705f29207814276c2f036dc9b703b3b64cb7ed /src/touchmanager.h | |
parent | 5238a8fd782d5dc703aa788126748050f0cd604e (diff) | |
download | ManaVerse-d418537e26ec75bc656518dab293ff6313998682.tar.gz ManaVerse-d418537e26ec75bc656518dab293ff6313998682.tar.bz2 ManaVerse-d418537e26ec75bc656518dab293ff6313998682.tar.xz ManaVerse-d418537e26ec75bc656518dab293ff6313998682.zip |
Add batch drawing to touch manager.
Diffstat (limited to 'src/touchmanager.h')
-rw-r--r-- | src/touchmanager.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/touchmanager.h b/src/touchmanager.h index ae25d9a8c..43eaf65d1 100644 --- a/src/touchmanager.h +++ b/src/touchmanager.h @@ -32,6 +32,8 @@ #include "localconsts.h" +class ImageCollection; + typedef void (*TouchFuncPtr) (const gcn::MouseInput &mouseInput); const int actionsSize = 10; @@ -88,8 +90,6 @@ class TouchManager final void draw(); - void drawTouchItem(const TouchItem *const item) const; - bool processEvent(const gcn::MouseInput &mouseInput); bool isActionActive(const int index) const; @@ -104,7 +104,9 @@ class TouchManager final TouchItem *mKeyboard; TouchItem *mPad; TouchItemVector mObjects; + ImageCollection *mVertexes; bool mActions[actionsSize]; + bool mRedraw; }; extern TouchManager touchManager; |