|
swift
|
Class which builds upon CMessageBox with a scrollback buffer and commands for user control. More...
Public Member Functions | |
| CMessageBoxControl (int left, int right, int top) | |
| Constructor. More... | |
| void | addMessage (const CMessage &message) |
| Add a new message to the bottom of the list. | |
| int | maxLineLength () const |
| Returns the maximum number of characters per line. More... | |
| void | setValues (int leftPx, int topPx, int rightPx, int bottomPx, int lines, int durationMs) |
| Set margin values. More... | |
| void | setMaxVisibleLines (size_t lines) |
| Set max. visible lines. | |
| void | toggle () |
| Toggles the visibility of the message box. | |
| bool | isVisible () const |
| Is message box currently visible? | |
Class which builds upon CMessageBox with a scrollback buffer and commands for user control.
Definition at line 110 of file messages.h.
| XSwiftBus::CMessageBoxControl::CMessageBoxControl | ( | int | left, |
| int | right, | ||
| int | top | ||
| ) |
Constructor.
| left | Number of "virtual pixels" between screen left edge and box left edge. |
| right | Number of "virtual pixels" between screen right edge and box right edge. |
| top | Number of "virtual pixels" between screen top edge and box top edge. |
|
inline |
Returns the maximum number of characters per line.
Definition at line 120 of file messages.h.
|
inline |
Set margin values.
Definition at line 123 of file messages.h.