|
|
| UFontFamily (const UStr &logical_name) |
| | create a new font family.
|
| |
|
UFontFamily & | operator= (const UFontFamily &) |
| |
|
const UStr & | getName () const |
| |
|
void | setFamily (const char *native_families) |
| | changes font characteristics for this family (args are coma separated lists).
|
| |
|
void | setStyles (const char *normal_styles, const char *italic_styles) |
| | changes font characteristics for this family.
|
| |
|
void | setWeights (const char *normal_weights, const char *bold_weights) |
| | changes font characteristics for this family.
|
| |
|
void | setCompression (const char *compressions) |
| |
|
void | setEncoding (const char *encodings) |
| |
|
void | setPreferredSizes (const char *sizes) |
| |
| void | setFreeType (const char *regular_files, const char *bold_files, const char *italic_files, const char *bold_italic_files) |
| | specifies FreeType font files for this family. More...
|
| |
|
| UObject (const UObject &) |
| |
|
UObject & | operator= (const UObject &) |
| |
| virtual const UClass & | getClass () const |
| | instance method that returns the metaclass of this object. More...
|
| |
|
const UStr & | getClassName () const |
| | returns getClass().getName().
|
| |
| virtual void | error (const char *function_name, const char *format,...) const |
| | prints out an error message. More...
|
| |
| virtual void | warning (const char *function_name, const char *format,...) const |
| | prints out a warning message: More...
|
| |
| bool | isDeletable () const |
| | checks if this object can be destroyed by 'delete'. More...
|
| |
| bool | isConst () const |
| | checks whether the content of this object can be modified ( More...
|
| |
| UObject & | setConst () |
| | specifies that the content of this object cannot be modified. More...
|
| |
| bool | isAutoUpdate () const |
| | return current update policy: More...
|
| |
| UObject & | setAutoUpdate (bool state=true) |
| | changes the update policy of this object when its is modified. More...
|
| |
|
bool | isIgnoringChangeCallbacks () const |
| | return true if change callbacks are fired.
|
| |
|
UObject & | ignoreChangeCallbacks (bool state) |
| | change callbacks are not fired if argument is true.
|
| |
|
virtual UNode * | toNode () |
| | dynamic cast: returns this object if it derives from UNode and null otherwise.
|
| |
|
virtual const UNode * | toNode () const |
| | dynamic cast: returns this object if it derives from UNode and null otherwise.
|
| |
|
virtual UAttr * | toAttr () |
| | dynamic cast: returns this object if it derives from UAttr and null otherwise.
|
| |
|
virtual const UAttr * | toAttr () const |
| | dynamic cast: returns this object if it derives from UAttr and null otherwise.
|
| |
|
virtual UElem * | toElem () |
| | dynamic cast: returns this object if it derives from UElem and null otherwise.
|
| |
|
virtual const UElem * | toElem () const |
| | dynamic cast: returns this object if it derives from UElem and null otherwise.
|
| |
|
virtual UData * | toData () |
| | dynamic cast: returns this object if it derives from UData and null otherwise.
|
| |
|
virtual const UData * | toData () const |
| | dynamic cast: returns this object if it derives from UData and null otherwise.
|
| |
|
virtual UStr * | toStr () |
| | dynamic cast: returns this object if it derives from UStr and null otherwise.
|
| |
|
virtual const UStr * | toStr () const |
| | dynamic cast: returns this object if it derives from UStr and null otherwise.
|
| |
|
virtual UCall * | toCall () |
| | dynamic cast: returns this object if it derives from UCall and null otherwise.
|
| |
|
virtual const UCall * | toCall () const |
| | dynamic cast: returns this object if it derives from UCall and null otherwise.
|
| |
|
virtual UBox * | toBox () |
| | dynamic cast: returns this object if it derives from UBox and null otherwise.
|
| |
|
virtual const UBox * | toBox () const |
| | dynamic cast: returns this object if it derives from UBox and null otherwise.
|
| |
|
virtual UWin * | toWin () |
| | dynamic cast: returns this object if it derives from UWin and null otherwise.
|
| |
|
virtual const UWin * | toWin () const |
| | dynamic cast: returns this object if it derives from UWin and null otherwise.
|
| |
|
virtual UMenu * | toMenu () |
| | dynamic cast: returns this object if it derives from UMenu and null otherwise.
|
| |
|
virtual const UMenu * | toMenu () const |
| | dynamic cast: returns this object if it derives from UMenu and null otherwise.
|
| |
|
State | getState () const |
| | returns the current object state.
|
| |
|
void | setState (State s) |
| | changes the object state.
|
| |
|
PtrCount | getPtrCount () const |
| | [impl] returns the number of uptr<> smart pointers that are pointing to this object.
|
| |
| bool | checkConst () const |
| | [impl] produces an error if this object is logically constant ( More...
|
| |
|
bool | isDestructed () const |
| | [impl] this object has been destructed (but memory has not been freed yet).
|
| |
|
bool | isDestructing () const |
| | [impl] this object is being destructed (one of its destructors has been called).
|
| |
|
virtual bool | hasSceneGraphParent () const |
| |
| void * | operator new (size_t) |
| | < [impl] returns true if there is at least one scene graph parent (redefined by UNode). More...
|
| |
|
void | operator delete (void *) |
| | delete operator is forbidden on instances that derive from UObject.
|
| |
|
void | addPtr () const |
| | [Impl] a uptr is added to this object.
|
| |
|
void | removePtr () const |
| | [Impl] a uptr is removed from this object.
|
| |
A Font Family represents a collection of fonts for all possible sizes and styles.
Note that actual fonts are only loaded when necessary