Atmel Software Framework

wtk_label Struct Reference

This is the label control struct.

It contains references to the windows composing the label, as well as non-window information required.

Note
Structure fields are only internally accessible, only pointers to structure is needed externally.

Data Fields

bool align_right
 True if text should be right aligned. More...
 
char * caption
 Copy of caption string. More...
 
struct win_windowcontainer
 Container, ultimate widget parent. More...
 
gfx_color_t text_color
 Foreground color of the label text. More...
 

bool wtk_label::align_right

True if text should be right aligned.

Referenced by wtk_label_create(), and wtk_label_handler().

char* wtk_label::caption

Copy of caption string.

Referenced by wtk_label_change(), wtk_label_create(), and wtk_label_handler().

struct win_window* wtk_label::container

Container, ultimate widget parent.

Referenced by wtk_label_as_child(), wtk_label_change(), wtk_label_create(), and wtk_label_handler().

gfx_color_t wtk_label::text_color

Foreground color of the label text.

Referenced by wtk_label_create(), and wtk_label_handler().