|
| | DtWindowText (DtDe &de, DtUniqueID id) |
| | CTOR. More...
|
| |
| virtual | ~DtWindowText () |
| | DTOR. More...
|
| |
| virtual void | setTopLeftCorner (float x, float y) |
| | Set the Top left corner of the text in normalized screen coordinates (0..1) This position is relative to the position set in the base DtWindowObject::setPosition, if no position is set it defaults to (0.0,0.0) More...
|
| |
| virtual void | setVisible (bool isVisible) |
| | Set the text visible or invisible. More...
|
| |
| virtual void | setColor (float r, float g, float b, float a) |
| | Set the text's color. More...
|
| |
| virtual void | setText (const std::string &textString) |
| | Set the text to display. More...
|
| |
| virtual void | setFont (const std::string &fontFile, float sizeInPoints) |
| | Set the font file and size in points to display the text in. More...
|
| |
| virtual void | setTextBoxWidth (unsigned int widthInPixels) |
| | Set the width of the text box in pixels. More...
|
| |
| virtual void | setAlignment (unsigned int alignment) |
| | Set the alignment mode of the text. More...
|
| |
| virtual void | setInstance (DtWindowTextInstance *instance) |
| | Set or replace the text instance that implements the text graphically Transfers ownership. More...
|
| |
| virtual DtWindowTextInstance * | findInstance () |
| | Get the text instance that implements the text graphically. More...
|
| |
| virtual void | setGroup (int groupId) |
| | Set this object's group ID for z order. More...
|
| |
| virtual void | setChannelOverlay (std::string displayName, std::string windowName, std::string channelName) |
| | By default window objects are placed on the RemoteDisplayWorldOverlay, which is rendered on all channels that have the "showRemoteGraphics" channel keyword. More...
|
| |
| | DtWindowObject (DtDe &de, DtUniqueID id) |
| | CTOR. More...
|
| |
| virtual | ~DtWindowObject () |
| | DTOR. More...
|
| |
| virtual bool | visible () |
| |
| virtual DtUniqueID | uniqueId () |
| | Returns the unique ID of this object. More...
|
| |
| DtWindowObject * | getParent () |
| | Get the parent windowObject. More...
|
| |
| virtual ChildList | childList () |
| | Returns the child list. More...
|
| |
| virtual void | addChild (DtUniqueID id) |
| | Add a child to this objects child list. More...
|
| |
| virtual void | removeChild (DtUniqueID id) |
| | Remove a child from this objects child list. More...
|
| |
| virtual void | getColor (float &r, float &g, float &b, float &a) |
| |
| virtual void | slot_postTick () |
| | Slot for DtDe::signal_postTick, using when this object is flashing/blinking. More...
|
| |
| virtual Transform | windowTransform () |
| | Get the window transform that is the total transform of this object and all it's parents. More...
|
| |
| virtual DtClipBox | clipBox () |
| | Get this object's clip box specifications. More...
|
| |
| virtual void | setParentId (DtUniqueID parentId) |
| | Get / Set Parent IDs. More...
|
| |
| virtual DtUniqueID | getParentId () |
| |
| virtual void | setPosition (double x, double y) |
| | Set / Get the window position of this object. More...
|
| |
| virtual void | getPosition (double &x, double &y) |
| |
| virtual void | setScale (double scale) |
| | Set / Get the scale of the x y components. More...
|
| |
| virtual void | setScale (double x, double y) |
| |
| virtual void | getScale (double &x, double &y) |
| |
| virtual void | setRotation (double rotation) |
| | Set / Get the rotation of the window object around it's set position, (0.0,0.0) if none is set. More...
|
| |
| virtual void | getRotation (double &rotation) |
| |
| virtual void | setInheritColor (bool inheritColor) |
| | Set / Get whether this object inherits it's color from it's parent. More...
|
| |
| virtual bool | inheritColor () |
| |
| virtual int | group () |
| |
| virtual void | setFlashing (bool flashing, double interval) |
| | Set / Get this object to flash on and off at the given interval. More...
|
| |
| virtual void | getFlashing (bool &flashing, double &interval) |
| |
| virtual void | getChannelOverlay (std::string &displayName, std::string &windowName, std::string &channelName) |
| |
A model-like object that draws a 2D text on screen.
This window text class inherits from DtWindowObject() which means it can be included in a parent/child relationship with other window objects, including surfaces, lines, polygons, and ellipses. Rotations are around the Top Left Corner that is set, the top left position is relative to the position set in the base class. Text is not currently clipped by each letter, clipping that occurs if this object is attached to a surface, is based on the top left position. If the object is clipped, it is clipped entirely. If this object is a child of another object, the position set is relative to the parent. Scale does not currently work for DtWindowText, please change the font size.