Mercurial > hg > screen-ui
annotate testApp.h @ 1:3b6ab3b28808
Add command line params for disabling keys
author | Henrik Ekeus <hekeus@eecs.qmul.ac.uk> |
---|---|
date | Tue, 24 Jan 2012 13:48:54 +0000 |
parents | 2db9be889344 |
children |
rev | line source |
---|---|
hekeus@0 | 1 #ifndef _TEST_APP |
hekeus@0 | 2 #define _TEST_APP |
hekeus@0 | 3 |
hekeus@0 | 4 |
hekeus@0 | 5 #include "ofMain.h" |
hekeus@0 | 6 |
hekeus@0 | 7 class testApp : public ofBaseApp{ |
hekeus@0 | 8 |
hekeus@0 | 9 public: |
hekeus@0 | 10 |
hekeus@0 | 11 void setup(); |
hekeus@0 | 12 void update(); |
hekeus@0 | 13 void draw(); |
hekeus@0 | 14 |
hekeus@0 | 15 void keyPressed(int key); |
hekeus@0 | 16 void keyReleased(int key); |
hekeus@0 | 17 void mouseMoved(int x, int y ); |
hekeus@0 | 18 void mouseDragged(int x, int y, int button); |
hekeus@0 | 19 void mousePressed(int x, int y, int button); |
hekeus@0 | 20 void mouseReleased(int x, int y, int button); |
hekeus@0 | 21 void windowResized(int w, int h); |
hekeus@0 | 22 |
hekeus@0 | 23 float counter; |
hekeus@0 | 24 bool bSmooth; |
hekeus@0 | 25 }; |
hekeus@0 | 26 |
hekeus@0 | 27 #endif |
hekeus@0 | 28 |