#pragma once #include #include "ofMain.h" #include "Drawables.h" #include "GestureWorks.h" class InteractiveBitmaps : public ofBaseApp{ public: InteractiveBitmaps(); // openFrameworks overrides void setup(); void update(); void draw(); const static std::string window_title; private: clock_t last_tick; std::unordered_map touch_points; std::unordered_map rectangles; ofImage logo; void handlePointEvents(const std::vector& point_events); void handleGestureEvents(const std::vector& gesture_events); };