summaryrefslogtreecommitdiff
path: root/pluginchooser/src/ofApp.cpp
blob: 4c98ea7fe705eebee9c6e9c8a0be14b2117f5eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#include "ofApp.h"
#include "glew.h"
#include "pluginpanel.h"

//--------------------------------------------------------------
void ofApp::setup(){

    ofSetFrameRate(60);

    plugingui.setup("chaos","",10,10);

    testsettings.setup("test","",10,160);

}

void ofApp::update(){
	plugingui.update();
}

void ofApp::draw(){ 
	ofBackground(0);

	ofSetColor(255);
	ofNoFill();

	plugingui.draw();

	testsettings.draw();

	//seed the pipeline of drawing for the chaos algorithm
/*
	n-> delete
	n-1 -> chaos -> n
	n-2 -> chaos -> n-1

	 . . .

	1 -> chaos -> 2
	new frame -> chaos -> 1
*/
}

void ofApp::exit() {
}

void ofApp::keyPressed(ofKeyEventArgs &args){

}


void ofApp::keyReleased(ofKeyEventArgs &args){
}

void ofApp::mouseMoved(int x, int y ){
}

void ofApp::mouseDragged(int x, int y, int button){
}

void ofApp::mousePressed(int x, int y, int button){	
}

void ofApp::mouseReleased(int x, int y, int button){
}

void ofApp::mouseEntered(int x, int y){
}

void ofApp::mouseExited(int x, int y){
}

void ofApp::windowResized(int w, int h){
}

void ofApp::dragEvent(ofDragInfo dragInfo){ 
}