6 #ifndef TB_MESSAGE_WINDOW_H
7 #define TB_MESSAGE_WINDOW_H
10 #include "tb_widgets_listener.h"
60 void AddButton(
TBID id,
bool focused);
62 virtual void OnWidgetDelete(
TBWidget *widget);
63 virtual bool OnWidgetDying(
TBWidget *widget);
70 #endif // TB_MESSAGE_WINDOW_H
TB_TEXT_ALIGN
TB_TEXT_ALIGN specifies horizontal text alignment.
Definition: tb_widgets_common.h:22
TBWindow is a TBWidget that provides some window-like features.
Definition: tb_window.h:33
Aligned left.
Definition: tb_widgets_common.h:23
TB_TEXT_ALIGN align
Text alignment in message box.
Definition: tb_message_window.h:32
TBMessageWindowSettings contains additional settings for TBMessageWindow.
Definition: tb_message_window.h:22
bool styling
Enable styling in the textfield.
Definition: tb_message_window.h:31
virtual bool OnEvent(const TBWidgetEvent &ev)
Callback for handling events.
Definition: tb_message_window.cpp:126
TBID is a wrapper for a uint32_t to be used as ID.
Definition: tb_id.h:18
TBStr is a simple string class.
Definition: tb_str.h:62
bool dimmer
Set to true to dim background widgets by a TBDimmer.
Definition: tb_message_window.h:30
virtual TBWidget * GetEventDestination()
Get the widget that should receive the events this widget invoke.
Definition: tb_message_window.h:55
TBMessageWindow is a window for showing simple messages.
Definition: tb_message_window.h:44
virtual void OnDie()
Called when Die() is called on this widget.
Definition: tb_message_window.cpp:156
TB_MSG msg
The type of response for the message.
Definition: tb_message_window.h:28
TBID icon_skin
The icon skin (0 for no icon)
Definition: tb_message_window.h:29