Guest User

Text Snow, Open Frameworks, header

a guest
Oct 14th, 2016
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.77 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include "ofMain.h"
  4. #include "ofxGui.h"
  5.  
  6. class ofApp : public ofBaseApp{
  7.  
  8.     public:
  9.         void setup();
  10.         void update();
  11.         void draw();
  12.  
  13.         void keyPressed(int key);
  14.         void keyReleased(int key);
  15.         void mouseMoved(int x, int y );
  16.         void mouseDragged(int x, int y, int button);
  17.         void mousePressed(int x, int y, int button);
  18.         void mouseReleased(int x, int y, int button);
  19.         void mouseEntered(int x, int y);
  20.         void mouseExited(int x, int y);
  21.         void windowResized(int w, int h);
  22.         void dragEvent(ofDragInfo dragInfo);
  23.         void gotMessage(ofMessage msg);
  24.    
  25.     ofVideoGrabber grabber;
  26.     ofImage image;
  27.  
  28.     ofxPanel gui;
  29.     ofxIntSlider thresh;
  30.     ofxToggle showVideo;
  31.     bool showGui;
  32.    
  33.     vector<ofPoint> rain;
  34.     vector<float> velocity;
  35.     vector<char> text;
  36.  
  37. };
Add Comment
Please, Sign In to add comment