Graphics::Label Class Reference
Non-interactive text label. More...
#include <Label.h>
Inheritance diagram for Graphics::Label:
Collaboration diagram for Graphics::Label:
Public Member Functions | |
void | draw (SceneObject &scene) const override |
Color | getColor (Element element) const override |
Control () | |
Control (const Rect &bounds) | |
Control (const Rect &bounds, const String &caption) | |
![]() | |
Control () | |
Control (const Rect &bounds) | |
Control (const Rect &bounds, const String &caption) | |
Renderer * | createRenderer (const Location &location) const override |
Create a software renderer for this object. More... | |
void | write (MetaWriter &meta) const override |
String | getCaption () const |
void | setCaption (const String &value) |
void | enable (bool state) |
void | select (bool state) |
void | setPos (Point pos) |
void | resize (Size size) |
void | setBounds (const Rect &r) |
Rect | getBounds () const |
bool | isEnabled () const |
bool | isSelected () const |
bool | isDirty () const |
void | setDirty () |
virtual const Font * | getFont () const |
virtual Align | getTextAlign () const |
![]() | |
Kind | kind () const override |
![]() | |
bool | operator== (const Object &other) const |
virtual String | getTypeStr () const |
![]() | |
Object * | getNext () const |
bool | insertAfter (Object *object) |
Iterator | begin () const |
Iterator | end () const |
Iterator | cbegin () const |
Iterator | cend () const |
![]() | |
virtual | ~LinkedObject () |
virtual LinkedObject * | next () const |
bool | insertAfter (LinkedObject *object) |
bool | operator== (const LinkedObject &other) const |
bool | operator!= (const LinkedObject &other) const |
Additional Inherited Members | |
![]() | |
enum class | Flag { enabled , active , selected , dirty } |
enum class | Element { border , back , text } |
![]() | |
enum class | Kind { XX } |
using | List = LinkedObjectListTemplate< Object > |
using | OwnedList = OwnedLinkedObjectListTemplate< Object > |
![]() | |
using | Iterator = IteratorTemplate< Object, Object *, Object & > |
using | ConstIterator = IteratorTemplate< const Object, const Object *, const Object & > |
![]() | |
void | setFlag (Flag flag, bool state) |
![]() | |
Rect | bounds |
CString | caption |
BitSet< uint8_t, Flag > | flags |
Detailed Description
Non-interactive text label.
Member Function Documentation
◆ Control() [1/3]
|
inline |
◆ Control() [2/3]
|
inline |
◆ Control() [3/3]
|
inline |
◆ draw()
|
overridevirtual |
Implements Graphics::Control.
◆ getColor()
Reimplemented from Graphics::Control.
The documentation for this class was generated from the following file: