Icon image box wrapper.
More...
#include <ofxOuiIcon.hpp>
|
| Icon () |
| Default Constructor. More...
|
|
virtual | ~Icon () |
| Destructor. More...
|
|
virtual void | update () |
| OF-like update function: updates the position of the icon. More...
|
|
virtual void | draw () |
| OF-like draw function: draws the icon. More...
|
|
virtual void | load (string filename) |
| load the image file More...
|
|
§ Icon()
§ ~Icon()
§ draw()
void ofxOui::Icon::draw |
( |
| ) |
|
|
virtual |
OF-like draw function: draws the icon.
§ load()
void ofxOui::Icon::load |
( |
string |
filename | ) |
|
|
virtual |
load the image file
- Parameters
-
filename | path to the image file |
§ update()
void ofxOui::Icon::update |
( |
| ) |
|
|
virtual |
OF-like update function: updates the position of the icon.
§ alignment
§ color
ofColor ofxOui::Icon::color = ofColor::black |
Color (in case of a binary icon)
§ height
int ofxOui::Icon::height = 100 |
height (of the containing box)
§ icon_
ofImage ofxOui::Icon::icon_ |
|
protected |
§ padding
int ofxOui::Icon::padding = 10 |
padding (within the containing box)
§ rect
ofRectangle ofxOui::Icon::rect |
Actual rectangle where the icon is drawn.
§ width
int ofxOui::Icon::width = 100 |
width (of the containing box)
x position (of the containing box)
y position (of the containing box)
The documentation for this class was generated from the following files: