TSPS
1.3.2
TSPS is a cross-platform Toolkit for Sensing People in Spaces
|
#include <View.h>
Public Member Functions | |
View () | |
~View () | |
void | setup (int _width, int _height) |
void | setImage (ofBaseImage *_image) |
void | loadFont (string fontName, int size) |
void | setFont (ofTrueTypeFont *font) |
void | setColor (int r, int g, int b) |
void | setActive (bool active=true) |
void | setTitle (string _title, string _shortTitle="") |
void | draw () |
void | drawLarge (float _x, float _y, float _width, float _height) |
void | mouseMoved (ofMouseEventArgs &e) |
bool | isInsideRect (float _x, float _y) |
bool | isActive () |
Protected Attributes | |
string | title |
string | shortTitle |
ofColor | color |
ofBaseImage * | image |
ofTrueTypeFont * | p_font |
bool | bGray |
bool | bActive |
bool | bRolled |
bool | bFontLoaded |
bool | bImage |
ofxTSPS::View::View | ( | ) | [inline] |
ofxTSPS::View::~View | ( | ) | [inline] |
void ofxTSPS::View::draw | ( | ) | [inline] |
void ofxTSPS::View::drawLarge | ( | float | _x, |
float | _y, | ||
float | _width, | ||
float | _height | ||
) | [inline] |
bool ofxTSPS::View::isActive | ( | ) | [inline] |
bool ofxTSPS::View::isInsideRect | ( | float | _x, |
float | _y | ||
) | [inline] |
void ofxTSPS::View::loadFont | ( | string | fontName, |
int | size | ||
) | [inline] |
void ofxTSPS::View::mouseMoved | ( | ofMouseEventArgs & | e | ) | [inline] |
void ofxTSPS::View::setActive | ( | bool | active = true | ) | [inline] |
void ofxTSPS::View::setColor | ( | int | r, |
int | g, | ||
int | b | ||
) | [inline] |
void ofxTSPS::View::setFont | ( | ofTrueTypeFont * | font | ) | [inline] |
void ofxTSPS::View::setImage | ( | ofBaseImage * | _image | ) | [inline] |
void ofxTSPS::View::setTitle | ( | string | _title, |
string | _shortTitle = "" |
||
) | [inline] |
void ofxTSPS::View::setup | ( | int | _width, |
int | _height | ||
) | [inline] |
bool ofxTSPS::View::bActive [protected] |
bool ofxTSPS::View::bFontLoaded [protected] |
bool ofxTSPS::View::bGray [protected] |
bool ofxTSPS::View::bImage [protected] |
bool ofxTSPS::View::bRolled [protected] |
ofColor ofxTSPS::View::color [protected] |
ofBaseImage* ofxTSPS::View::image [protected] |
ofTrueTypeFont* ofxTSPS::View::p_font [protected] |
string ofxTSPS::View::shortTitle [protected] |
string ofxTSPS::View::title [protected] |