VSF Documented
Macros | Functions
vsf_tgui_scguiv_port.c File Reference
#include "../../vsf_tgui.h"
#include "./scgui.h"

Macros

#define __VSF_DISP_CLASS_INHERIT__
 
#define __VSF_TGUI_CLASS_INHERIT
 

Functions

unsigned char * vsf_tgui_tile_get_pixelmap (const vsf_tgui_tile_t *tile_ptr)
 
vsf_tgui_region_tvsf_tgui_v_refresh_loop_begin (vsf_tgui_t *gui_ptr, const vsf_tgui_region_t *planned_refresh_region_ptr)
 begin a refresh loop !
 
bool vsf_tgui_v_refresh_loop_end (vsf_tgui_t *gui_ptr)
 
void vsf_tgui_v_bind_disp (vsf_tgui_t *gui_ptr, vk_disp_t *disp, void *pfb, size_t pfb_size)
 
void __vsf_tgui_v_update_dirty_region (vsf_tgui_t *gui_ptr, const vsf_tgui_control_t *control_ptr, const vsf_tgui_region_t *dirty_region_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 *region_ptr, 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 *placed_region_ptr, vsf_tgui_v_color_t color, vsf_tgui_v_color_t bg_color)
 

Macro Definition Documentation

◆ __VSF_DISP_CLASS_INHERIT__

#define __VSF_DISP_CLASS_INHERIT__

◆ __VSF_TGUI_CLASS_INHERIT

#define __VSF_TGUI_CLASS_INHERIT

Function Documentation

◆ vsf_tgui_tile_get_pixelmap()

unsigned char * vsf_tgui_tile_get_pixelmap ( const vsf_tgui_tile_t tile_ptr)

◆ vsf_tgui_v_refresh_loop_begin()

vsf_tgui_region_t * vsf_tgui_v_refresh_loop_begin ( vsf_tgui_t *  gui_ptr,
const vsf_tgui_region_t planned_refresh_region_ptr 
)

begin a refresh loop !

Parameters
gui_ptrthe tgui object address !
planned_refresh_region_ptrthe planned refresh region !
Return values
NULLNo need to refresh (or rendering service is not ready) !
!NULLThe actual refresh region ! !
Note
When NULL is returned, current refresh iteration (i.e. a refresh activities ! between vsf_tgui_v_refresh_loop_begin and vsf_tgui_v_refresh_loop_end ) ! will be ignored and vsf_tgui_v_refresh_loop_end is called immediately

◆ vsf_tgui_v_refresh_loop_end()

bool vsf_tgui_v_refresh_loop_end ( vsf_tgui_t *  gui_ptr)

◆ vsf_tgui_v_bind_disp()

void vsf_tgui_v_bind_disp ( vsf_tgui_t *  gui_ptr,
vk_disp_t disp,
void *  pfb,
size_t  pfb_size 
)

◆ __vsf_tgui_v_update_dirty_region()

void __vsf_tgui_v_update_dirty_region ( vsf_tgui_t *  gui_ptr,
const vsf_tgui_control_t control_ptr,
const vsf_tgui_region_t dirty_region_ptr 
)

◆ 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 region_ptr,
const vsf_tgui_v_color_t  color 
)

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

◆ 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 placed_region_ptr,
vsf_tgui_v_color_t  color,
vsf_tgui_v_color_t  bg_color 
)