VSF Documented
Macros | Functions | Variables
vsf_tgui_v_type.h File Reference
#include "../../vsf_tgui_cfg.h"
#include "./vsf_tgui_sv_color.h"
#include "../../port/view/vsf_tgui_sv_port.h"

Go to the source code of this file.

Macros

#define VSF_TGUI_CFG_V_SUPPORT_FLUXIBLE_BACKGROUND_COLOR   ENABLED
 
#define VSF_TGUI_CFG_V_SUPPORT_FIXED_BACKGROUND_COLOR   ENABLED
 
#define VSF_TGUI_CFG_V_SUPPORT_TILE_TRANSPARENCY   ENABLED
 
#define VSF_TGUI_CFG_V_SUPPORT_CORNER_TILE   ENABLED
 
#define VSF_TGUI_CFG_V_LABLE_SUPPORT_TEXT_COLOR   ENABLED
 
#define VSF_TGUI_CFG_V_CONTROL_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0xB4, 0xC7, 0xE7)
 
#define VSF_TGUI_CFG_V_LABEL_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0xB4, 0xC7, 0xE7)
 
#define VSF_TGUI_CFG_V_LABEL_TEXT_COLOR   VSF_TGUI_COLOR_BLACK
 
#define VSF_TGUI_CFG_V_LABEL_DISABLED_TEXT_MIX_COLOR   VSF_TGUI_COLOR_WHITE
 
#define VSF_TGUI_CFG_V_LABEL_DISABLED_TEXT_MIX_VALUE   128
 
#define VSF_TGUI_CFG_V_BUTTON_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0xB4, 0xC7, 0xE7)
 
#define VSF_TGUI_CFG_V_BUTTON_CLICKED_BACKGROUND_COLOR   VSF_TGUI_COLOR_BLUE
 
#define VSF_TGUI_CFG_V_BUTTON_CLICKED_MIX_COLOR   VSF_TGUI_COLOR_BLUE
 
#define VSF_TGUI_CFG_V_BUTTON_CLICKED_MIX_VALUE   128
 
#define VSF_TGUI_CFG_V_BUTTON_TEXT_COLOR   VSF_TGUI_COLOR_BLACK
 
#define VSF_TGUI_CFG_V_CONTAINER_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0x44, 0x72, 0xC4)
 
#define VSF_TGUI_CFG_V_PANEL_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0x44, 0x72, 0xC4)
 
#define VSF_TGUI_CFG_V_LIST_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGBA(0xB4, 0xC7, 0xE7, 0x00)
 
#define VSF_TGUI_CFG_V_TEXT_LIST_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0xB4, 0xC7, 0xE7)
 
#define VSF_TGUI_CFG_V_TEXT_LIST_INDICATOR_COLOR   VSF_TGUI_COLOR_RGB(0x44, 0x72, 0xC4)
 
#define __SV_BACKGROUND_COLOR(__COLOR)   .background_color = __COLOR,
 
#define __SV_TILE_TRANS_RATE(__COLOR)   .tile_trans_rate = __COLOR,
 
#define __SV_SHOW_CORNER_TILE(__VALUE)   .show_corner_tile = __VALUE,
 
#define __SV_TEXT_COLOR(__COLOR)   .text_color = __COLOR,
 
#define VSF_TGUI_V_CONTROL_STATIC_INIT_DEFAULT
 
#define VSF_TGUI_V_LABEL_STATIC_INIT_DEFAULT
 
#define VSF_TGUI_V_BUTTON_STATIC_INIT_DEFAULT
 
#define VSF_TGUI_V_CONTAINER_STATIC_INIT_DEFAULT
 
#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_DEFAULT
 
#define VSF_TGUI_V_LIST_STATIC_INIT_DEFAULT
 
#define VSF_TGUI_V_PANEL_STATIC_INIT_DEFAULT
 
#define VSF_TGUI_V_CONTROL_STATIC_INIT_OVERRIDE
 
#define VSF_TGUI_V_LABEL_STATIC_INIT_OVERRIDE
 
#define VSF_TGUI_V_BUTTON_STATIC_INIT_OVERRIDE
 
#define VSF_TGUI_V_CONTAINER_STATIC_INIT_OVERRIDE
 
#define VSF_TGUI_V_LIST_STATIC_INIT_OVERRIDE
 
#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_BACKGROUND_CLOLOR_OVERRIDE    .tList.background_color = VSF_TGUI_COLOR_RGBA(0x00, 0x00, 0x00, 0x00),
 
#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_TILE_OVERRIDE    .show_corner_tile = true,
 
#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_OVERRIDE    VSF_TGUI_V_TEXT_LIST_STATIC_INIT_BACKGROUND_CLOLOR_OVERRIDE
 
#define VSF_TGUI_V_TEXT_LIST_CONTENT_INIT_OVERRIDE
 
#define VSF_TGUI_V_TEXT_LIST_CONTENT_INIT_DEFAULT
 
#define VSF_TGUI_V_PANEL_STATIC_INIT_OVERRIDE
 
#define tgui_v_font(...)    __tgui_attribute(font_index, __VA_ARGS__)
 
#define tgui_v_show_corner_tile(...)    __tgui_attribute(show_corner_tile, __VA_ARGS__)
 
#define tgui_v_tile_trans_rate(...)    __tgui_attribute(tile_trans_rate, __VA_ARGS__)
 
#define tgui_v_background_color(...)    __tgui_attribute(background_color, __VA_ARGS__)
 
#define tgui_v_text_color(...)    __tgui_attribute(text_color, __VA_ARGS__)
 

Functions

 end_def_structure (vsf_tgui_v_control_t) declare_structure(vsf_tgui_v_container_t) def_structure(vsf_tgui_v_container_t) REG_RSVD_U8 end_def_structure(vsf_tgui_v_container_t) declare_structure(vsf_tgui_v_label_t) def_structure(vsf_tgui_v_label_t) vsf_tgui_v_color_t text_color
 

Variables

declare_structure(vsf_tgui_v_control_t) def_structure(vsf_tgui_v_control_t) uint8_t font_index uint8_t __skip_frame
 
uint8_t show_corner_tile
 
uint8_t tile_trans_rate
 
vsf_tgui_v_color_t background_color
 

Macro Definition Documentation

◆ VSF_TGUI_CFG_V_SUPPORT_FLUXIBLE_BACKGROUND_COLOR

#define VSF_TGUI_CFG_V_SUPPORT_FLUXIBLE_BACKGROUND_COLOR   ENABLED

◆ VSF_TGUI_CFG_V_SUPPORT_FIXED_BACKGROUND_COLOR

#define VSF_TGUI_CFG_V_SUPPORT_FIXED_BACKGROUND_COLOR   ENABLED

◆ VSF_TGUI_CFG_V_SUPPORT_TILE_TRANSPARENCY

#define VSF_TGUI_CFG_V_SUPPORT_TILE_TRANSPARENCY   ENABLED

◆ VSF_TGUI_CFG_V_SUPPORT_CORNER_TILE

#define VSF_TGUI_CFG_V_SUPPORT_CORNER_TILE   ENABLED

◆ VSF_TGUI_CFG_V_LABLE_SUPPORT_TEXT_COLOR

#define VSF_TGUI_CFG_V_LABLE_SUPPORT_TEXT_COLOR   ENABLED

◆ VSF_TGUI_CFG_V_CONTROL_BACKGROUND_COLOR

#define VSF_TGUI_CFG_V_CONTROL_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0xB4, 0xC7, 0xE7)

◆ VSF_TGUI_CFG_V_LABEL_BACKGROUND_COLOR

#define VSF_TGUI_CFG_V_LABEL_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0xB4, 0xC7, 0xE7)

◆ VSF_TGUI_CFG_V_LABEL_TEXT_COLOR

#define VSF_TGUI_CFG_V_LABEL_TEXT_COLOR   VSF_TGUI_COLOR_BLACK

◆ VSF_TGUI_CFG_V_LABEL_DISABLED_TEXT_MIX_COLOR

#define VSF_TGUI_CFG_V_LABEL_DISABLED_TEXT_MIX_COLOR   VSF_TGUI_COLOR_WHITE

◆ VSF_TGUI_CFG_V_LABEL_DISABLED_TEXT_MIX_VALUE

#define VSF_TGUI_CFG_V_LABEL_DISABLED_TEXT_MIX_VALUE   128

◆ VSF_TGUI_CFG_V_BUTTON_BACKGROUND_COLOR

#define VSF_TGUI_CFG_V_BUTTON_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0xB4, 0xC7, 0xE7)

◆ VSF_TGUI_CFG_V_BUTTON_CLICKED_BACKGROUND_COLOR

#define VSF_TGUI_CFG_V_BUTTON_CLICKED_BACKGROUND_COLOR   VSF_TGUI_COLOR_BLUE

◆ VSF_TGUI_CFG_V_BUTTON_CLICKED_MIX_COLOR

#define VSF_TGUI_CFG_V_BUTTON_CLICKED_MIX_COLOR   VSF_TGUI_COLOR_BLUE

◆ VSF_TGUI_CFG_V_BUTTON_CLICKED_MIX_VALUE

#define VSF_TGUI_CFG_V_BUTTON_CLICKED_MIX_VALUE   128

◆ VSF_TGUI_CFG_V_BUTTON_TEXT_COLOR

#define VSF_TGUI_CFG_V_BUTTON_TEXT_COLOR   VSF_TGUI_COLOR_BLACK

◆ VSF_TGUI_CFG_V_CONTAINER_BACKGROUND_COLOR

#define VSF_TGUI_CFG_V_CONTAINER_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0x44, 0x72, 0xC4)

◆ VSF_TGUI_CFG_V_PANEL_BACKGROUND_COLOR

#define VSF_TGUI_CFG_V_PANEL_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0x44, 0x72, 0xC4)

◆ VSF_TGUI_CFG_V_LIST_BACKGROUND_COLOR

#define VSF_TGUI_CFG_V_LIST_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGBA(0xB4, 0xC7, 0xE7, 0x00)

◆ VSF_TGUI_CFG_V_TEXT_LIST_BACKGROUND_COLOR

#define VSF_TGUI_CFG_V_TEXT_LIST_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0xB4, 0xC7, 0xE7)

◆ VSF_TGUI_CFG_V_TEXT_LIST_INDICATOR_COLOR

#define VSF_TGUI_CFG_V_TEXT_LIST_INDICATOR_COLOR   VSF_TGUI_COLOR_RGB(0x44, 0x72, 0xC4)

◆ __SV_BACKGROUND_COLOR

#define __SV_BACKGROUND_COLOR (   __COLOR)    .background_color = __COLOR,

◆ __SV_TILE_TRANS_RATE

#define __SV_TILE_TRANS_RATE (   __COLOR)    .tile_trans_rate = __COLOR,

◆ __SV_SHOW_CORNER_TILE

#define __SV_SHOW_CORNER_TILE (   __VALUE)    .show_corner_tile = __VALUE,

◆ __SV_TEXT_COLOR

#define __SV_TEXT_COLOR (   __COLOR)    .text_color = __COLOR,

◆ VSF_TGUI_V_CONTROL_STATIC_INIT_DEFAULT

#define VSF_TGUI_V_CONTROL_STATIC_INIT_DEFAULT
Value:
__SV_TILE_TRANS_RATE(0xFF) \
#define VSF_TGUI_CFG_V_CONTROL_BACKGROUND_COLOR
Definition vsf_tgui_v_type.h:56
#define __SV_SHOW_CORNER_TILE(__VALUE)
Definition vsf_tgui_v_type.h:128

◆ VSF_TGUI_V_LABEL_STATIC_INIT_DEFAULT

#define VSF_TGUI_V_LABEL_STATIC_INIT_DEFAULT
Value:
__SV_TILE_TRANS_RATE(0xFF) \
__SV_BACKGROUND_COLOR(VSF_TGUI_CFG_V_LABEL_BACKGROUND_COLOR) \
#define VSF_TGUI_CFG_V_LABEL_BACKGROUND_COLOR
Definition vsf_tgui_v_type.h:60
#define VSF_TGUI_CFG_V_LABEL_TEXT_COLOR
Definition vsf_tgui_v_type.h:64

◆ VSF_TGUI_V_BUTTON_STATIC_INIT_DEFAULT

#define VSF_TGUI_V_BUTTON_STATIC_INIT_DEFAULT
Value:
__SV_TILE_TRANS_RATE(0xFF) \
__SV_BACKGROUND_COLOR(VSF_TGUI_CFG_V_BUTTON_BACKGROUND_COLOR) \
#define VSF_TGUI_CFG_V_BUTTON_TEXT_COLOR
Definition vsf_tgui_v_type.h:92
#define VSF_TGUI_CFG_V_BUTTON_BACKGROUND_COLOR
Definition vsf_tgui_v_type.h:76

◆ VSF_TGUI_V_CONTAINER_STATIC_INIT_DEFAULT

#define VSF_TGUI_V_CONTAINER_STATIC_INIT_DEFAULT
Value:
__SV_TILE_TRANS_RATE(0xFF) \
#define VSF_TGUI_CFG_V_CONTAINER_BACKGROUND_COLOR
Definition vsf_tgui_v_type.h:96

◆ VSF_TGUI_V_TEXT_LIST_STATIC_INIT_DEFAULT

#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_DEFAULT
Value:
__SV_TILE_TRANS_RATE(0xFF) \
#define VSF_TGUI_CFG_V_TEXT_LIST_BACKGROUND_COLOR
Definition vsf_tgui_v_type.h:108

◆ VSF_TGUI_V_LIST_STATIC_INIT_DEFAULT

#define VSF_TGUI_V_LIST_STATIC_INIT_DEFAULT
Value:
__SV_TILE_TRANS_RATE(0xFF)

◆ VSF_TGUI_V_PANEL_STATIC_INIT_DEFAULT

#define VSF_TGUI_V_PANEL_STATIC_INIT_DEFAULT
Value:
__SV_TILE_TRANS_RATE(0xFF)

◆ VSF_TGUI_V_CONTROL_STATIC_INIT_OVERRIDE

#define VSF_TGUI_V_CONTROL_STATIC_INIT_OVERRIDE

◆ VSF_TGUI_V_LABEL_STATIC_INIT_OVERRIDE

#define VSF_TGUI_V_LABEL_STATIC_INIT_OVERRIDE

◆ VSF_TGUI_V_BUTTON_STATIC_INIT_OVERRIDE

#define VSF_TGUI_V_BUTTON_STATIC_INIT_OVERRIDE

◆ VSF_TGUI_V_CONTAINER_STATIC_INIT_OVERRIDE

#define VSF_TGUI_V_CONTAINER_STATIC_INIT_OVERRIDE

◆ VSF_TGUI_V_LIST_STATIC_INIT_OVERRIDE

#define VSF_TGUI_V_LIST_STATIC_INIT_OVERRIDE

◆ VSF_TGUI_V_TEXT_LIST_STATIC_INIT_BACKGROUND_CLOLOR_OVERRIDE

#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_BACKGROUND_CLOLOR_OVERRIDE    .tList.background_color = VSF_TGUI_COLOR_RGBA(0x00, 0x00, 0x00, 0x00),

◆ VSF_TGUI_V_TEXT_LIST_STATIC_INIT_TILE_OVERRIDE

#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_TILE_OVERRIDE    .show_corner_tile = true,

◆ VSF_TGUI_V_TEXT_LIST_STATIC_INIT_OVERRIDE

#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_OVERRIDE    VSF_TGUI_V_TEXT_LIST_STATIC_INIT_BACKGROUND_CLOLOR_OVERRIDE

◆ VSF_TGUI_V_TEXT_LIST_CONTENT_INIT_OVERRIDE

#define VSF_TGUI_V_TEXT_LIST_CONTENT_INIT_OVERRIDE
Value:
.background_color = VSF_TGUI_COLOR_RGBA(0x00, 0x00, 0x00, 0x00), \
#define VSF_TGUI_COLOR_RGBA(__R, __G, __B, __A)
Definition vsf_tgui_v_type.h:51
#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_TILE_OVERRIDE
Definition vsf_tgui_v_type.h:188

◆ VSF_TGUI_V_TEXT_LIST_CONTENT_INIT_DEFAULT

#define VSF_TGUI_V_TEXT_LIST_CONTENT_INIT_DEFAULT

◆ VSF_TGUI_V_PANEL_STATIC_INIT_OVERRIDE

#define VSF_TGUI_V_PANEL_STATIC_INIT_OVERRIDE

◆ tgui_v_font

#define tgui_v_font (   ...)     __tgui_attribute(font_index, __VA_ARGS__)

◆ tgui_v_show_corner_tile

#define tgui_v_show_corner_tile (   ...)     __tgui_attribute(show_corner_tile, __VA_ARGS__)

◆ tgui_v_tile_trans_rate

#define tgui_v_tile_trans_rate (   ...)     __tgui_attribute(tile_trans_rate, __VA_ARGS__)

◆ tgui_v_background_color

#define tgui_v_background_color (   ...)     __tgui_attribute(background_color, __VA_ARGS__)

◆ tgui_v_text_color

#define tgui_v_text_color (   ...)     __tgui_attribute(text_color, __VA_ARGS__)

Function Documentation

◆ end_def_structure()

end_def_structure ( vsf_tgui_v_control_t  )

Variable Documentation

◆ __skip_frame

declare_structure (vsf_tgui_v_control_t) def_structure(vsf_tgui_v_control_t) uint8_t font_index uint8_t __skip_frame

◆ show_corner_tile

uint8_t show_corner_tile

◆ tile_trans_rate

uint8_t tile_trans_rate

◆ background_color

vsf_tgui_v_color_t background_color