mikroSDK Reference Manual
vtft_text Struct Reference

The structure used for information about the font bitmap and color. More...

Data Fields

vtft_byte_t *__generic caption
 
vtft_index_t max_length
 
vtft_font font
 

Detailed Description

User shall define the values stored within.

Note
Concept for working with captions is made to minimize used memory. If caption won't be changed, max_length property should be set to 0. In this case allocated memory size corresponds to caption length. If caption will be changed from project code, MaxLength property should be set to maximum possible Caption length. In this case Componentname_Caption variable should be used for working with caption. This variable is introduced to enable easier coding, pointer mechanism takes care of updating actual ComponentName.Caption variable.

Field Documentation

◆ caption

vtft_byte_t* __generic vtft_text::caption

String of text.

◆ max_length

vtft_index_t vtft_text::max_length

Maximum length of the caption.

◆ font

vtft_font vtft_text::font

Font used for drawing caption.