TSPS  1.3.2
TSPS is a cross-platform Toolkit for Sensing People in Spaces
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Defines
ofxTSPS::View Class Reference

#include <View.h>

List of all members.

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

Detailed Description

Definition at line 16 of file View.h.


Constructor & Destructor Documentation

ofxTSPS::View::View ( ) [inline]

Definition at line 20 of file View.h.

ofxTSPS::View::~View ( ) [inline]

Definition at line 25 of file View.h.


Member Function Documentation

void ofxTSPS::View::draw ( ) [inline]

Definition at line 80 of file View.h.

void ofxTSPS::View::drawLarge ( float  _x,
float  _y,
float  _width,
float  _height 
) [inline]

Definition at line 121 of file View.h.

bool ofxTSPS::View::isActive ( ) [inline]

Definition at line 150 of file View.h.

bool ofxTSPS::View::isInsideRect ( float  _x,
float  _y 
) [inline]

Definition at line 145 of file View.h.

void ofxTSPS::View::loadFont ( string  fontName,
int  size 
) [inline]

Definition at line 48 of file View.h.

void ofxTSPS::View::mouseMoved ( ofMouseEventArgs &  e) [inline]

Definition at line 140 of file View.h.

void ofxTSPS::View::setActive ( bool  active = true) [inline]

Definition at line 68 of file View.h.

void ofxTSPS::View::setColor ( int  r,
int  g,
int  b 
) [inline]

Definition at line 61 of file View.h.

void ofxTSPS::View::setFont ( ofTrueTypeFont *  font) [inline]

Definition at line 55 of file View.h.

void ofxTSPS::View::setImage ( ofBaseImage *  _image) [inline]

Definition at line 37 of file View.h.

void ofxTSPS::View::setTitle ( string  _title,
string  _shortTitle = "" 
) [inline]

Definition at line 73 of file View.h.

void ofxTSPS::View::setup ( int  _width,
int  _height 
) [inline]

Definition at line 30 of file View.h.


Member Data Documentation

bool ofxTSPS::View::bActive [protected]

Definition at line 162 of file View.h.

bool ofxTSPS::View::bFontLoaded [protected]

Definition at line 164 of file View.h.

bool ofxTSPS::View::bGray [protected]

Definition at line 161 of file View.h.

bool ofxTSPS::View::bImage [protected]

Definition at line 165 of file View.h.

bool ofxTSPS::View::bRolled [protected]

Definition at line 163 of file View.h.

ofColor ofxTSPS::View::color [protected]

Definition at line 156 of file View.h.

ofBaseImage* ofxTSPS::View::image [protected]

Definition at line 157 of file View.h.

ofTrueTypeFont* ofxTSPS::View::p_font [protected]

Definition at line 159 of file View.h.

string ofxTSPS::View::shortTitle [protected]

Definition at line 155 of file View.h.

string ofxTSPS::View::title [protected]

Definition at line 155 of file View.h.


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