ofxOui - UI Components for OpenFrameworks

Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ofxOui::Style Class Reference

Style structure shared among all components. More...

#include <ofxOuiStyle.hpp>

Collaboration diagram for ofxOui::Style:
[legend]

Public Member Functions

 Style ()
 Default Constructor. More...
 
 Style (ofColor background_color_off_, ofColor background_color_off_hover_, ofColor background_color_on_, ofColor background_color_on_hover_, ofColor frame_color_off_, ofColor frame_color_off_hover_, ofColor frame_color_on_, ofColor frame_color_on_hover_, ofColor font_color_off_, ofColor font_color_off_hover_, ofColor font_color_on_, ofColor font_color_on_hover_, ofColor background_color_disabled_, ofColor frame_color_disabled_, ofColor font_color_disabled_, int frame_width_, int roundness_)
 Complete Constructor. More...
 
 Style (Style const &src)
 Copy Constructor. More...
 
Styleoperator= (Style const &src)
 Assignment operator. More...
 
virtual ~Style ()
 Destructor. More...
 

Public Attributes

ofColor background_color_off
 background color (active = off) More...
 
ofColor background_color_off_hover
 background color (active = off + mouse hover) More...
 
ofColor background_color_on
 background color (active = on) More...
 
ofColor background_color_on_hover
 background color (active = on + mouse hover) More...
 
ofColor frame_color_off
 frame color (active = off) More...
 
ofColor frame_color_off_hover
 frame color (active = off + mouse hover) More...
 
ofColor frame_color_on
 frame color (active = on) More...
 
ofColor frame_color_on_hover
 frame color (active = on + mouse hover) More...
 
ofColor font_color_off
 font color (active = off) More...
 
ofColor font_color_off_hover
 font color (active = off + mouse hover) More...
 
ofColor font_color_on
 font color (active = on) More...
 
ofColor font_color_on_hover
 font color (active = on + mouse hover) More...
 
ofColor background_color_disabled
 background color (disabled) More...
 
ofColor frame_color_disabled
 frame color (disabled) More...
 
ofColor font_color_disabled
 font color (disabled) More...
 
int frame_width
 frame width (px) More...
 
int roundness
 roundness of rectangle corners More...
 

Static Public Attributes

static const Style Default
 
static const Style FramedDefault
 
static const Style PlainBlue
 
static const Style FramedBlue
 
static const Style PlainGreen
 
static const Style FramedGreen
 
static const Style PlainRed
 
static const Style FramedRed
 
static const Style Label
 
static const Style PlainGray
 
static const Style FramedGray
 
static const Style PlainYellow
 
static const Style FramedYellow
 
static const Style PlainDarkblue
 
static const Style FramedDarkblue
 

Detailed Description

Style structure shared among all components.

Constructor & Destructor Documentation

§ Style() [1/3]

ofxOui::Style::Style ( )

Default Constructor.

§ Style() [2/3]

ofxOui::Style::Style ( ofColor  background_color_off_,
ofColor  background_color_off_hover_,
ofColor  background_color_on_,
ofColor  background_color_on_hover_,
ofColor  frame_color_off_,
ofColor  frame_color_off_hover_,
ofColor  frame_color_on_,
ofColor  frame_color_on_hover_,
ofColor  font_color_off_,
ofColor  font_color_off_hover_,
ofColor  font_color_on_,
ofColor  font_color_on_hover_,
ofColor  background_color_disabled_,
ofColor  frame_color_disabled_,
ofColor  font_color_disabled_,
int  frame_width_,
int  roundness_ 
)

Complete Constructor.

Parameters
background_color_off_background color (active = off)
background_color_off_hover_background color (active = off + mouse hover)
background_color_on_background color (active = on)
background_color_on_hover_background color (active = on + mouse hover)
frame_color_off_frame color (active = off)
frame_color_off_hover_frame color (active = off + mouse hover)
frame_color_on_frame color (active = on)
frame_color_on_hover_frame color (active = on + mouse hover)
font_color_off_font color (active = off)
font_color_off_hover_font color (active = off + mouse hover)
font_color_on_font color (active = on)
font_color_on_hover_font color (active = on + mouse hover)
background_color_disabled_background color (disabled)
frame_color_disabled_frame color (disabled)
font_color_disabled_font color (disabled)
frame_width_frame width (px)
roundness_roundness of rectangle corners

§ Style() [3/3]

ofxOui::Style::Style ( ofxOui::Style const &  src)

Copy Constructor.

§ ~Style()

ofxOui::Style::~Style ( )
virtual

Destructor.

Member Function Documentation

§ operator=()

ofxOui::Style & ofxOui::Style::operator= ( ofxOui::Style const &  src)

Assignment operator.

Member Data Documentation

§ background_color_disabled

ofColor ofxOui::Style::background_color_disabled

background color (disabled)

§ background_color_off

ofColor ofxOui::Style::background_color_off

background color (active = off)

§ background_color_off_hover

ofColor ofxOui::Style::background_color_off_hover

background color (active = off + mouse hover)

§ background_color_on

ofColor ofxOui::Style::background_color_on

background color (active = on)

§ background_color_on_hover

ofColor ofxOui::Style::background_color_on_hover

background color (active = on + mouse hover)

§ Default

const ofxOui::Style ofxOui::Style::Default
static

§ font_color_disabled

ofColor ofxOui::Style::font_color_disabled

font color (disabled)

§ font_color_off

ofColor ofxOui::Style::font_color_off

font color (active = off)

§ font_color_off_hover

ofColor ofxOui::Style::font_color_off_hover

font color (active = off + mouse hover)

§ font_color_on

ofColor ofxOui::Style::font_color_on

font color (active = on)

§ font_color_on_hover

ofColor ofxOui::Style::font_color_on_hover

font color (active = on + mouse hover)

§ frame_color_disabled

ofColor ofxOui::Style::frame_color_disabled

frame color (disabled)

§ frame_color_off

ofColor ofxOui::Style::frame_color_off

frame color (active = off)

§ frame_color_off_hover

ofColor ofxOui::Style::frame_color_off_hover

frame color (active = off + mouse hover)

§ frame_color_on

ofColor ofxOui::Style::frame_color_on

frame color (active = on)

§ frame_color_on_hover

ofColor ofxOui::Style::frame_color_on_hover

frame color (active = on + mouse hover)

§ frame_width

int ofxOui::Style::frame_width

frame width (px)

§ FramedBlue

const ofxOui::Style ofxOui::Style::FramedBlue
static

§ FramedDarkblue

const ofxOui::Style ofxOui::Style::FramedDarkblue
static

§ FramedDefault

const ofxOui::Style ofxOui::Style::FramedDefault
static

§ FramedGray

const ofxOui::Style ofxOui::Style::FramedGray
static

§ FramedGreen

const ofxOui::Style ofxOui::Style::FramedGreen
static

§ FramedRed

const ofxOui::Style ofxOui::Style::FramedRed
static

§ FramedYellow

const ofxOui::Style ofxOui::Style::FramedYellow
static

§ Label

const ofxOui::Style ofxOui::Style::Label
static

§ PlainBlue

const ofxOui::Style ofxOui::Style::PlainBlue
static

§ PlainDarkblue

const ofxOui::Style ofxOui::Style::PlainDarkblue
static

§ PlainGray

const ofxOui::Style ofxOui::Style::PlainGray
static

§ PlainGreen

const ofxOui::Style ofxOui::Style::PlainGreen
static

§ PlainRed

const ofxOui::Style ofxOui::Style::PlainRed
static

§ PlainYellow

const ofxOui::Style ofxOui::Style::PlainYellow
static

§ roundness

int ofxOui::Style::roundness

roundness of rectangle corners


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