mikroSDK Reference Manual
vtft_screen Struct Reference

Structure representig a screen. More...

Data Fields

vtft_ucoord_t width
 
vtft_ucoord_t height
 
gl_color_t color
 
vtft_event press_event
 
vtft_event down_event
 
vtft_event up_event
 
vtft_component *__generic *__generic components
 
vtft_index_t component_count
 

Detailed Description

Screen is the place where all components are stored. 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 he wants.

Field Documentation

◆ width

vtft_ucoord_t vtft_screen::width

Width of the screen.

◆ height

vtft_ucoord_t vtft_screen::height

Height of the screen.

◆ color

gl_color_t vtft_screen::color

Background color.

◆ press_event

vtft_event vtft_screen::press_event

Action triggered on press event.

◆ down_event

vtft_event vtft_screen::down_event

Action triggered on down event.

◆ up_event

vtft_event vtft_screen::up_event

Action triggered on up event.

◆ components

vtft_component* __generic* __generic vtft_screen::components

All component on the screen.

◆ component_count

vtft_index_t vtft_screen::component_count

Number of the component on the screen.