diff options
| author | Tim Redfern <tim@getdrop.com> | 2017-08-29 00:55:14 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2017-08-29 00:55:14 +0100 |
| commit | 9090618078eff67634a0217b9c37b2151183f78d (patch) | |
| tree | 4fd999f31c40ee17688e6cdf1e231e9b589a6c7c /gui/src/chainImage.h | |
| parent | 50d670c523ef4ee563ba961bd479b432516cefaf (diff) | |
starting to shape up
Diffstat (limited to 'gui/src/chainImage.h')
| -rw-r--r-- | gui/src/chainImage.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 <chainImage> images; float currentDefaultImageRatio; + std::list<chainImage>::iterator selected; + ofPoint clickPoint; + ofPoint dragPoint; + float dragScale; };
\ No newline at end of file |
