James Alliban e2523e0b72 Text fields added
- With UI sliders to adjust various visual elements
- Text is hardcoded currently
2014-01-08 17:31:33 +00:00

59 lines
861 B
C++

//
// GUI.h
// emptyExample
//
// Created by James Alliban on 25/06/2013.
//
//
#pragma once
#include "ofMain.h"
#include "BarGraph.h"
#include "ofxFTGL.h"
class testApp;
class Scene
{
public:
void setup();
void update();
void draw();
void drawVideo();
void drawHUDBG();
void drawHUDCopy();
void drawTextBox(string copy, string align);
void keyPressed(int key);
BarGraph barGraph;
ofShader rgbShader;
ofImage bgImg;
ofxFTGLSimpleLayout text;
// video image vars
float brightness;
float contrast;
float saturation;
float red;
float green;
float blue;
float alpha;
// HUD background vars
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];
};