A widget label.
More...
#include <Label.h>
|
enum | {
NSLineBreakByWordWrapping = 0,
NSLineBreakByCharWrapping,
NSLineBreakByClipping,
NSLineBreakByTruncatingHead,
NSLineBreakByTruncatingTail,
NSLineBreakByTruncatingMiddle
} |
|
|
void | _onPointerEvent (DOM::PointerUIEventArgs &e) |
| Default callback for built-in events, including dragging.
|
|
void | _onPointerCaptureEvent (DOM::PointerCaptureUIEventArgs &e) |
| Default callback for built-in events, including dragging.
|
|
bool | _isDropTarget = false |
| True iff the Widget is a target for dragged Widgets.
|
|
bool | _isDraggable = false |
| True iff the Widget is configured to be dragged.
|
|
bool | _isDragging = false |
| True iff the widget is currently being dragged.
|
|
bool | _isPointerOver = false |
| True iff the pointer is over the widget.
|
|
bool | _moveToFrontOnCapture = true |
| True if the element should move to the fron upon pointer capture.
|
|
std::string ofx::MUI::Label::displayText |
( |
| ) |
const |
- Returns
- the displayed text.
ofAlignHorz ofx::MUI::Label::getHorizontalAlignment |
( |
| ) |
const |
- Returns
- the horizontal alignment of the Label text.
std::string ofx::MUI::Label::getText |
( |
| ) |
const |
ofAlignVert ofx::MUI::Label::getVerticalAlignment |
( |
| ) |
const |
- Returns
- the vertical alignment of the Label text.
void ofx::MUI::Label::setHorizontalAlignment |
( |
ofAlignHorz |
alignment | ) |
|
Set the horizontal alignment of the Label text.
- Parameters
-
alignment | The alignment to set. |
void ofx::MUI::Label::setText |
( |
const std::string & |
text | ) |
|
Set the Label text.
- Parameters
-
void ofx::MUI::Label::setVerticalAlignment |
( |
ofAlignVert |
alignment | ) |
|
Set the vertical alignment of the Label text.
- Parameters
-
alignment | The alignment to set. |
The documentation for this class was generated from the following file: