Represents a window in an arbitrary space. It has an ID, title, and position. A close box is within the window's rectangle. The window can be selected by sending a button down message with the position within this window. If a button down message occurs outside this window, it is deselected. More...
Public Attributes | |
struct _Window * | prev |
Previous window in a linked list. NULL if this window is the head of the list. | |
struct _Window * | next |
Next window in a linked list. NULL if this windows is the last in the list. | |
int | _windowId |
Unique ID of this window. | |
const char * | _title |
Title/Name of this window. | |
WindowRectangle | _windowBox |
Position of this window in global coordinates. | |
WindowRectangle | _closeBox |
Position of the close window within the window box, although the coordinates are also global coordinates to eliminate the need to convert between window and global coordinates. | |
bool | _selected |
Whether this window has been selected (a button click occurred within the window). | |
Represents a window in an arbitrary space. It has an ID, title, and position. A close box is within the window's rectangle. The window can be selected by sending a button down message with the position within this window. If a button down message occurs outside this window, it is deselected.
Definition at line 30 of file HandlerChain_MessageWindow.c.
WindowRectangle _closeBox |
Position of the close window within the window box, although the coordinates are also global coordinates to eliminate the need to convert between window and global coordinates.
Definition at line 66 of file HandlerChain_MessageWindow.c.
Referenced by _HandleButtonUpMessage(), MessageWindow::_PointInCloseBox(), and MessageWindow_Create().
bool _selected |
Whether this window has been selected (a button click occurred within the window).
Definition at line 72 of file HandlerChain_MessageWindow.c.
Referenced by _HandleButtonDownMessage(), _HandleButtonUpMessage(), _HandleCloseMessage(), _HandleDestroyMessage(), MessageWindow_ToString(), and MessageWindow::ToString().
const char* _title |
Title/Name of this window.
Definition at line 54 of file HandlerChain_MessageWindow.c.
Referenced by _HandleButtonDownMessage(), _HandleButtonUpMessage(), _HandleCloseMessage(), _HandleDestroyMessage(), MessageWindow_Create(), MessageWindow_ToString(), and MessageWindow::ToString().
WindowRectangle _windowBox |
Position of this window in global coordinates.
Definition at line 59 of file HandlerChain_MessageWindow.c.
Referenced by _HandleButtonDownMessage(), _HandleButtonUpMessage(), MessageWindow::_PointInWindow(), MessageWindow_Create(), MessageWindow_ToString(), and MessageWindow::ToString().
int _windowId |
Unique ID of this window.
Definition at line 49 of file HandlerChain_MessageWindow.c.
Referenced by _FindWindow(), _HandleButtonUpMessage(), _HandleCloseMessage(), _HandleDestroyMessage(), MessageWindow::ID(), MessageWindow_Create(), and MessageWindow_ToString().
struct _Window* next |
Next window in a linked list. NULL if this windows is the last in the list.
Definition at line 44 of file HandlerChain_MessageWindow.c.
Referenced by _AppendWindowToList(), _FindWindow(), and _RemoveWindowFromList().
struct _Window* prev |
Previous window in a linked list. NULL if this window is the head of the list.
Definition at line 39 of file HandlerChain_MessageWindow.c.
Referenced by _AppendWindowToList(), and _RemoveWindowFromList().