VSF Documented
Macros | Functions | Variables
vsf_tgui_v_type.h File Reference
#include "../../vsf_tgui_cfg.h"
#include "./vsf_tgui_scguiv_port.h"

Go to the source code of this file.

Macros

#define VSF_TGUI_COLOR_WHITE   C_WHITE
 
#define VSF_TGUI_COLOR_SILVER   C_SILVER
 
#define VSF_TGUI_COLOR_GRAY   C_GRAY
 
#define VSF_TGUI_COLOR_BLACK   C_BLACK
 
#define VSF_TGUI_COLOR_RED   C_RED
 
#define VSF_TGUI_COLOR_MAROON   C_MAROON
 
#define VSF_TGUI_COLOR_YELLOW   C_YELLOW
 
#define VSF_TGUI_COLOR_LIME   C_LIME
 
#define VSF_TGUI_COLOR_GREEN   C_GREEN
 
#define VSF_TGUI_COLOR_AQUA   C_AQUA
 
#define VSF_TGUI_COLOR_TEAL   C_TEAL
 
#define VSF_TGUI_COLOR_BLUE   C_BLUE
 
#define VSF_TGUI_COLOR_NAVY   C_NAVY
 
#define VSF_TGUI_COLOR_PURPLE   C_PURPLE
 
#define VSF_TGUI_COLOR_OLIVE   C_OLIVER
 
#define VSF_TGUI_COLOR_FUCHSIA   C_FUCHSIA
 
#define VSF_TGUI_COLOR_RGBA(__R, __G, __B, __A)   ((vsf_tgui_v_color_t) ((((__R) & 0xF1) << 8) | (((__G) & 0xF3) << 3) | (((__B) & 0xF1) >> 3)) )
 
#define VSF_TGUI_COLOR_RGB(__R, __G, __B)   VSF_TGUI_COLOR_RGBA((__R), (__G), (__B), 0xFF)
 
#define VSF_TGUI_CFG_V_SUPPORT_FLUXIBLE_BACKGROUND_COLOR   ENABLED
 
#define VSF_TGUI_CFG_V_SUPPORT_BORDER   ENABLED
 
#define VSF_TGUI_CFG_V_SUPPORT_ROUND_BORDER   ENABLED
 
#define VSF_TGUI_CFG_V_BORDER_COLOR   VSF_TGUI_COLOR_WHITE
 
#define VSF_TGUI_CFG_V_CONTROL_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0xB4, 0xC7, 0xE7)
 
#define VSF_TGUI_CFG_V_CONTAINER_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0x44, 0x72, 0xC4)
 
#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 VSF_TGUI_CFG_V_LABEL_BACKGROUND_COLOR   VSF_TGUI_COLOR_RGB(0xB4, 0xC7, 0xE7)
 
#define VSF_TGUI_CFG_V_LABLE_SUPPORT_TEXT_COLOR   ENABLED
 
#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_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    tgui_v_background_color(VSF_TGUI_CFG_V_CONTAINER_BACKGROUND_COLOR),
 
#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_DEFAULT
 
#define VSF_TGUI_V_TEXT_LIST_CONTENT_INIT_DEFAULT
 
#define VSF_TGUI_V_LIST_STATIC_INIT_DEFAULT
 
#define VSF_TGUI_V_PANEL_STATIC_INIT_DEFAULT    tgui_v_border_radius(16),
 
#define VSF_TGUI_V_PANEL_STATIC_INIT_OVERRIDE
 
#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_CONTENT_INIT_OVERRIDE
 
#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_OVERRIDE
 
#define tgui_v_font(...)    __tgui_attribute(font_index, __VA_ARGS__)
 
#define tgui_v_background_color(...)    __tgui_attribute(background_color, __VA_ARGS__)
 
#define tgui_v_border_width(...)    __tgui_attribute(border_width, __VA_ARGS__)
 
#define tgui_v_border_color(...)    __tgui_attribute(border_color, __VA_ARGS__)
 
#define tgui_v_border_radius(...)    __tgui_attribute(border_radius, __VA_ARGS__)
 
#define tgui_v_text_color(...)    __tgui_attribute(text_color, __VA_ARGS__)
 

Functions

 def_structure (vsf_tgui_v_control_t) vsf_tgui_v_color_t background_color
 
end_def_structure(vsf_tgui_v_control_t) def_structure(vsf_tgui_v_container_t) uint8_t end_def_structure (vsf_tgui_v_container_t) def_structure(vsf_tgui_v_label_t) vsf_tgui_v_color_t text_color
 

Variables

vsf_tgui_v_color_t border_color
 
uint8_t border_width
 
uint8_t border_radius
 
uint8_t font_index
 

Macro Definition Documentation

◆ VSF_TGUI_COLOR_WHITE

#define VSF_TGUI_COLOR_WHITE   C_WHITE

◆ VSF_TGUI_COLOR_SILVER

#define VSF_TGUI_COLOR_SILVER   C_SILVER

◆ VSF_TGUI_COLOR_GRAY

#define VSF_TGUI_COLOR_GRAY   C_GRAY

◆ VSF_TGUI_COLOR_BLACK

#define VSF_TGUI_COLOR_BLACK   C_BLACK

◆ VSF_TGUI_COLOR_RED

#define VSF_TGUI_COLOR_RED   C_RED

◆ VSF_TGUI_COLOR_MAROON

#define VSF_TGUI_COLOR_MAROON   C_MAROON

◆ VSF_TGUI_COLOR_YELLOW

#define VSF_TGUI_COLOR_YELLOW   C_YELLOW

◆ VSF_TGUI_COLOR_LIME

#define VSF_TGUI_COLOR_LIME   C_LIME

◆ VSF_TGUI_COLOR_GREEN

#define VSF_TGUI_COLOR_GREEN   C_GREEN

◆ VSF_TGUI_COLOR_AQUA

#define VSF_TGUI_COLOR_AQUA   C_AQUA

◆ VSF_TGUI_COLOR_TEAL

#define VSF_TGUI_COLOR_TEAL   C_TEAL

◆ VSF_TGUI_COLOR_BLUE

#define VSF_TGUI_COLOR_BLUE   C_BLUE

◆ VSF_TGUI_COLOR_NAVY

#define VSF_TGUI_COLOR_NAVY   C_NAVY

◆ VSF_TGUI_COLOR_PURPLE

#define VSF_TGUI_COLOR_PURPLE   C_PURPLE

◆ VSF_TGUI_COLOR_OLIVE

#define VSF_TGUI_COLOR_OLIVE   C_OLIVER

◆ VSF_TGUI_COLOR_FUCHSIA

#define VSF_TGUI_COLOR_FUCHSIA   C_FUCHSIA

◆ VSF_TGUI_COLOR_RGBA

#define VSF_TGUI_COLOR_RGBA (   __R,
  __G,
  __B,
  __A 
)    ((vsf_tgui_v_color_t) ((((__R) & 0xF1) << 8) | (((__G) & 0xF3) << 3) | (((__B) & 0xF1) >> 3)) )

◆ VSF_TGUI_COLOR_RGB

#define VSF_TGUI_COLOR_RGB (   __R,
  __G,
  __B 
)    VSF_TGUI_COLOR_RGBA((__R), (__G), (__B), 0xFF)

◆ VSF_TGUI_CFG_V_SUPPORT_FLUXIBLE_BACKGROUND_COLOR

#define VSF_TGUI_CFG_V_SUPPORT_FLUXIBLE_BACKGROUND_COLOR   ENABLED

◆ VSF_TGUI_CFG_V_SUPPORT_BORDER

#define VSF_TGUI_CFG_V_SUPPORT_BORDER   ENABLED

◆ VSF_TGUI_CFG_V_SUPPORT_ROUND_BORDER

#define VSF_TGUI_CFG_V_SUPPORT_ROUND_BORDER   ENABLED

◆ VSF_TGUI_CFG_V_BORDER_COLOR

#define VSF_TGUI_CFG_V_BORDER_COLOR   VSF_TGUI_COLOR_WHITE

◆ 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_CONTAINER_BACKGROUND_COLOR

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

◆ 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)

◆ 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_LABLE_SUPPORT_TEXT_COLOR

#define VSF_TGUI_CFG_V_LABLE_SUPPORT_TEXT_COLOR   ENABLED

◆ 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_V_CONTROL_STATIC_INIT_DEFAULT

#define VSF_TGUI_V_CONTROL_STATIC_INIT_DEFAULT
Value:
tgui_v_background_color(VSF_TGUI_CFG_V_CONTROL_BACKGROUND_COLOR),
#define VSF_TGUI_CFG_V_BORDER_COLOR
Definition vsf_tgui_v_type.h:71
#define tgui_v_border_color(...)
Definition vsf_tgui_v_type.h:186
#define VSF_TGUI_CFG_V_CONTROL_BACKGROUND_COLOR
Definition vsf_tgui_v_type.h:56

◆ VSF_TGUI_V_LABEL_STATIC_INIT_DEFAULT

#define VSF_TGUI_V_LABEL_STATIC_INIT_DEFAULT
Value:
tgui_v_background_color(VSF_TGUI_CFG_V_LABEL_BACKGROUND_COLOR), \
tgui_v_text_color(VSF_TGUI_CFG_V_LABEL_TEXT_COLOR),
#define tgui_v_border_radius(...)
Definition vsf_tgui_v_type.h:191
#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:
tgui_v_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    tgui_v_background_color(VSF_TGUI_CFG_V_CONTAINER_BACKGROUND_COLOR),

◆ VSF_TGUI_V_TEXT_LIST_STATIC_INIT_DEFAULT

#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_DEFAULT
Value:
#define VSF_TGUI_CFG_V_TEXT_LIST_BACKGROUND_COLOR
Definition vsf_tgui_v_type.h:108

◆ VSF_TGUI_V_TEXT_LIST_CONTENT_INIT_DEFAULT

#define VSF_TGUI_V_TEXT_LIST_CONTENT_INIT_DEFAULT

◆ VSF_TGUI_V_LIST_STATIC_INIT_DEFAULT

#define VSF_TGUI_V_LIST_STATIC_INIT_DEFAULT

◆ VSF_TGUI_V_PANEL_STATIC_INIT_DEFAULT

#define VSF_TGUI_V_PANEL_STATIC_INIT_DEFAULT    tgui_v_border_radius(16),

◆ VSF_TGUI_V_PANEL_STATIC_INIT_OVERRIDE

#define VSF_TGUI_V_PANEL_STATIC_INIT_OVERRIDE

◆ 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_CONTENT_INIT_OVERRIDE

#define VSF_TGUI_V_TEXT_LIST_CONTENT_INIT_OVERRIDE

◆ VSF_TGUI_V_TEXT_LIST_STATIC_INIT_OVERRIDE

#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_OVERRIDE

◆ tgui_v_font

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

◆ tgui_v_background_color

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

◆ tgui_v_border_width

#define tgui_v_border_width (   ...)     __tgui_attribute(border_width, __VA_ARGS__)

◆ tgui_v_border_color

#define tgui_v_border_color (   ...)     __tgui_attribute(border_color, __VA_ARGS__)

◆ tgui_v_border_radius

#define tgui_v_border_radius (   ...)     __tgui_attribute(border_radius, __VA_ARGS__)

◆ tgui_v_text_color

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

Function Documentation

◆ def_structure()

def_structure ( vsf_tgui_v_control_t  )

◆ end_def_structure()

end_def_structure(vsf_tgui_v_control_t) def_structure(vsf_tgui_v_container_t) uint8_t end_def_structure ( vsf_tgui_v_container_t  )

Variable Documentation

◆ border_color

vsf_tgui_v_color_t border_color

◆ border_width

uint8_t border_width

◆ border_radius

uint8_t border_radius

◆ font_index

uint8_t font_index