Microchip® Advanced Software Framework

win_window Struct Reference

Window control data.

In addition to the attribute struct defined public, it also includes the required members for it to be a part of the parent's linked list of children, and also the mapping status. If mapped, the window will be visible if the parent is visible.

Data Fields

struct win_attributes attributes
 Window attributes. More...
 
bool is_mapped
 True if this window should be visible if parent is. More...
 
struct win_windownext_sibling
 Next sibling in parent's linked list. More...
 
struct win_windowparent
 Parent window. More...
 
struct win_windowprev_sibling
 Previous sibling in parent's linked list. More...
 
struct win_windowtop_child
 Top child of this window, start of list. More...
 

bool win_window::is_mapped

True if this window should be visible if parent is.

Referenced by win_create(), win_destroy(), win_draw(), win_draw_contents(), win_handle_pointer_event(), win_hide(), win_is_visible(), win_reparent(), and win_show().

struct win_window* win_window::next_sibling

Next sibling in parent's linked list.

Referenced by win_add_top_child(), win_destroy_children(), win_handle_pointer_event(), win_lower(), and win_unlink().

struct win_window* win_window::prev_sibling

Previous sibling in parent's linked list.

Referenced by win_add_top_child(), win_draw(), win_draw_contents(), win_lower(), and win_unlink().

struct win_window* win_window::top_child