ofxOui - UI Components for OpenFrameworks

Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
ofxOui::Graph::Ruler Class Reference

#include <ofxOuiGraph.hpp>

Public Types

enum  Layout { Layout::Horizontal, Layout::Vertical }
 

Public Member Functions

 Ruler (Layout layout_=Layout::Horizontal)
 
void update ()
 
void draw ()
 

Public Attributes

float x
 
float y
 
float width
 
float height
 
float min
 
float max
 
Layout layout
 

Protected Attributes

vector< float > ticks_minor
 
vector< float > ticks_major
 
vector< TextBoxticks_labels
 

Member Enumeration Documentation

§ Layout

Enumerator
Horizontal 
Vertical 

Constructor & Destructor Documentation

§ Ruler()

ofxOui::Graph::Ruler::Ruler ( Layout  layout_ = Layout::Horizontal)
inline

Member Function Documentation

§ draw()

void ofxOui::Graph::Ruler::draw ( )

§ update()

void ofxOui::Graph::Ruler::update ( )

Member Data Documentation

§ height

float ofxOui::Graph::Ruler::height

§ layout

Layout ofxOui::Graph::Ruler::layout

§ max

float ofxOui::Graph::Ruler::max

§ min

float ofxOui::Graph::Ruler::min

§ ticks_labels

vector<TextBox> ofxOui::Graph::Ruler::ticks_labels
protected

§ ticks_major

vector<float> ofxOui::Graph::Ruler::ticks_major
protected

§ ticks_minor

vector<float> ofxOui::Graph::Ruler::ticks_minor
protected

§ width

float ofxOui::Graph::Ruler::width

§ x

float ofxOui::Graph::Ruler::x

§ y

float ofxOui::Graph::Ruler::y

The documentation for this class was generated from the following files: