VSF Documented
Macros | Functions | Variables
vsf_tgui_scguiv_port.h File Reference
#include "../../vsf_tgui_cfg.h"
#include "component/ui/disp/vsf_disp.h"
#include "./scgui.h"

Go to the source code of this file.

Macros

#define __VSF_DISP_CLASS_INHERIT__
 
#define VSF_TGUI_HOR_MAX   800
 
#define VSF_TGUI_VER_MAX   600
 
#define vsf_tgui_vport_init(__vsf_tgui_v_port_ptr)
 

Functions

 declare_class (vsf_tgui_t) typedef uint16_t vsf_tgui_v_color_t
 
 def_structure (vsf_tgui_v_port_t) vk_disp_t *disp
 
 end_def_structure (vsf_tgui_v_port_t) extern void __vsf_tgui_v_update_dirty_region(vsf_tgui_t *gui_ptr
 
void vsf_tgui_control_v_draw_rect (vsf_tgui_t *gui_ptr, const vsf_tgui_control_t *control_ptr, const vsf_tgui_region_t *dirty_region_ptr, const vsf_tgui_region_t *ptRectRegion, const vsf_tgui_v_color_t color)
 
void vsf_tgui_control_v_draw_text (vsf_tgui_t *gui_ptr, const vsf_tgui_control_t *control_ptr, const vsf_tgui_region_t *dirty_region_ptr, vsf_tgui_text_info_t *ptStringInfo, const uint8_t font_index, const vsf_tgui_v_color_t color, const vsf_tgui_align_mode_t mode)
 
void vsf_tgui_control_v_draw_tile (vsf_tgui_t *gui_ptr, const vsf_tgui_control_t *control_ptr, const vsf_tgui_region_t *dirty_region_ptr, const vsf_tgui_tile_t *tile_ptr, const vsf_tgui_align_mode_t mode, const uint8_t trans_rate, vsf_tgui_region_t *ptPlacedRegion, vsf_tgui_v_color_t color, vsf_tgui_v_color_t bg_color)
 

Variables

bool is_disp_inited
 
bool refresh_is_first_pfb
 
bool refresh_pending
 
bool refresh_pending_notify
 
uint8_t refresh_pending_cnt
 
vk_disp_area_t refresh_pending_area
 
uint16_trefresh_pending_buffer
 
SC_tile cur_tile
 
vsf_tgui_region_t request_region
 
vsf_tgui_region_t current_region
 
const vsf_tgui_control_tcontrol_ptr
 
const vsf_tgui_control_t const vsf_tgui_region_tdirty_region_ptr
 

Macro Definition Documentation

◆ __VSF_DISP_CLASS_INHERIT__

#define __VSF_DISP_CLASS_INHERIT__

◆ VSF_TGUI_HOR_MAX

#define VSF_TGUI_HOR_MAX   800

◆ VSF_TGUI_VER_MAX

#define VSF_TGUI_VER_MAX   600

◆ vsf_tgui_vport_init

#define vsf_tgui_vport_init (   __vsf_tgui_v_port_ptr)
Value:
do { \
(__vsf_tgui_v_port_ptr)->current_region.tSize.iHeight = 0; \
(__vsf_tgui_v_port_ptr)->current_region.tSize.iWidth = 0; \
} while(0)
vsf_tgui_region_t current_region
Definition vsf_tgui_scguiv_port.h:80

Function Documentation

◆ declare_class()

declare_class ( vsf_tgui_t  )

◆ def_structure()

def_structure ( vsf_tgui_v_port_t  )

◆ end_def_structure()

end_def_structure ( vsf_tgui_v_port_t  )

◆ vsf_tgui_control_v_draw_rect()

void vsf_tgui_control_v_draw_rect ( vsf_tgui_t *  gui_ptr,
const vsf_tgui_control_t control_ptr,
const vsf_tgui_region_t dirty_region_ptr,
const vsf_tgui_region_t ptRectRegion,
const vsf_tgui_v_color_t  color 
)
extern

◆ vsf_tgui_control_v_draw_text()

void vsf_tgui_control_v_draw_text ( vsf_tgui_t *  gui_ptr,
const vsf_tgui_control_t control_ptr,
const vsf_tgui_region_t dirty_region_ptr,
vsf_tgui_text_info_t ptStringInfo,
const uint8_t  font_index,
const vsf_tgui_v_color_t  color,
const vsf_tgui_align_mode_t  mode 
)
extern

◆ vsf_tgui_control_v_draw_tile()

void vsf_tgui_control_v_draw_tile ( vsf_tgui_t *  gui_ptr,
const vsf_tgui_control_t control_ptr,
const vsf_tgui_region_t dirty_region_ptr,
const vsf_tgui_tile_t tile_ptr,
const vsf_tgui_align_mode_t  mode,
const uint8_t  trans_rate,
vsf_tgui_region_t ptPlacedRegion,
vsf_tgui_v_color_t  color,
vsf_tgui_v_color_t  bg_color 
)
extern

Variable Documentation

◆ is_disp_inited

bool is_disp_inited

◆ refresh_is_first_pfb

bool refresh_is_first_pfb

◆ refresh_pending

bool refresh_pending

◆ refresh_pending_notify

bool refresh_pending_notify

◆ refresh_pending_cnt

uint8_t refresh_pending_cnt

◆ refresh_pending_area

vk_disp_area_t refresh_pending_area

◆ refresh_pending_buffer

uint16_t* refresh_pending_buffer

◆ cur_tile

SC_tile cur_tile

◆ request_region

vsf_tgui_region_t request_region

◆ current_region

vsf_tgui_region_t current_region

◆ control_ptr

const vsf_tgui_control_t* control_ptr

◆ dirty_region_ptr

const vsf_tgui_control_t const vsf_tgui_region_t* dirty_region_ptr