mikroSDK Reference Manual
|
Structure for a button component. More...
Necto Studio Designer will define the values stored within each component. User can access component values inside screen source file named "*screen_name*_screen.c" generated by the Necto Studio Designer and read/change them if want.
vtft_comp_type_t vtft_button::type |
Type of the component.
vtft_index_t vtft_button::order |
Order in wich component was generated.
vtft_bool_t vtft_button::visible |
Determines if the component will be drawn.
vtft_coord_t vtft_button::left |
Leftmost coordinate of the component.
vtft_coord_t vtft_button::top |
Topmost coordinate of the component.
vtft_bool_t vtft_button::active |
Indicates if the component has been set active for the touch panel events.
vtft_event_set vtft_button::event_set |
Collection of actions to be triggered on events if component is set as active.
vtft_pen vtft_button::pen |
Pen used for drawing the component.
vtft_press_gradient vtft_button::press_gradient |
Colors used for drawing the component when pressed and when not pressed.
vtft_ucoord_t vtft_button::width |
Width of the component.
vtft_ucoord_t vtft_button::height |
Height of the component.
vtft_text vtft_button::text |
Text to be displayed.
vtft_text_alignment vtft_button::text_align |
Indicates how to align the text inside the component.
vtft_bool_t vtft_button::vertical_text |
Indicates wether text is drawn verticaly or not.