From 9090618078eff67634a0217b9c37b2151183f78d Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Tue, 29 Aug 2017 00:55:14 +0100 Subject: starting to shape up --- gui/src/chainImage.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gui/src/chainImage.h') diff --git a/gui/src/chainImage.h b/gui/src/chainImage.h index 03089a2..3db4cb2 100644 --- a/gui/src/chainImage.h +++ b/gui/src/chainImage.h @@ -50,7 +50,15 @@ class chainImageSet{ } void drawGui(); bool add(std::string filename,glm::vec2 pos); + void keyPressed(int key); + void mouseDragged(int x, int y, int button); + void mousePressed(int x, int y, int button); + void mouseReleased(int x, int y, int button); std::list images; float currentDefaultImageRatio; + std::list::iterator selected; + ofPoint clickPoint; + ofPoint dragPoint; + float dragScale; }; \ No newline at end of file -- cgit v1.2.3