63 lines
937 B
C
Raw Normal View History

2014-01-06 02:40:24 +00:00
//
// GUI.h
// emptyExample
//
// Created by James Alliban on 25/06/2013.
//
//
#pragma once
#include "ofMain.h"
#include "BarGraph.h"
#include "BodyGraph.h"
#include "ofxFTGL.h"
2014-01-06 02:40:24 +00:00
class testApp;
class Scene
{
public:
void setup();
void update();
void draw();
2014-01-07 17:11:46 +00:00
void drawVideo();
void drawHUDBG();
void drawHUDCopy();
void drawTextBox(string copy, string align);
void keyPressed(int key);
2014-01-06 02:40:24 +00:00
BarGraph barGraph;
BodyGraph bodyGraph;
ofShader rgbShader;
ofImage bgImg;
ofxFTGLSimpleLayout text;
AbstractGraph* activeGraph;
// video image vars
float brightness;
float contrast;
float saturation;
float red;
float green;
float blue;
float alpha;
2014-01-07 17:11:46 +00:00
// HUD background vars
2014-01-07 17:11:46 +00:00
float hudColour[4];
float circlePointSize;
float radiusW;
float radiusH;
// text vars
float xMargin;
float yMargin;
float yMarginBottomOffset;
float lineLength;
float lineSpacing;
float textSize;
float textColour[4];
2014-01-06 02:40:24 +00:00
};