#include <usymbol.hpp>
Inheritance diagram for ubit::USymbol:
Public Member Functions | |
USymbol (const USymbol &=USymbol::left) | |
void | set (const USymbol &) |
virtual void | update () |
updates graphics. | |
void | setColor (const UColor &) |
void | setFrontShadowColor (const UColor &) |
void | setBackShadowColor (const UColor &) |
Static Public Attributes | |
static USymbol | left |
predefined symbols: | |
static USymbol | right |
static USymbol | up |
static USymbol | down |
static USymbol | check |
static USymbol | radio |
static USymbol | square |
static USymbol | smallSquare |
static USymbol | circle |
Protected Types | |
S_LEFT | |
S_RIGHT | |
S_UP | |
S_DOWN | |
S_CHECK | |
S_RADIO | |
S_SQUARE | |
S_SMALL_SQUARE | |
S_CIRCLE | |
enum | { S_LEFT, S_RIGHT, S_UP, S_DOWN, S_CHECK, S_RADIO, S_SQUARE, S_SMALL_SQUARE, S_CIRCLE } |
Protected Member Functions | |
USymbol (int ix, UMask bmodes=0) | |
virtual void | getSize (UContext &, int &w, int &h) const |
virtual void | paint (UGraph &, UContext &, const URegion &) const |
Protected Attributes | |
int | ix |
UColor * | color |
UColor * | frontShadowColor |
UColor * | backShadowColor |
Friends | |
class | UBox |
USymbol & | usymbol (const USymbol &) |