EasyGUI
gui_draw_sb_t Struct Reference

Scroll bar structure. More...

#include <gui_draw.h>

Data Fields

gui_dim_t x
 
gui_dim_t y
 
gui_dim_t width
 
gui_dim_t height
 
gui_draw_sb_dir_t dir
 
uint32_t entriestotal
 
uint32_t entriesvisible
 
uint32_t entriestop
 

Detailed Description

Scroll bar structure.

Field Documentation

◆ dir

Scroll bar direction (horizontal or vertical

◆ entriestop

uint32_t entriestop

Top visible entry number

◆ entriestotal

uint32_t entriestotal

Total number of entries

◆ entriesvisible

uint32_t entriesvisible

Number of entries visible at a time

◆ height

gui_dim_t height

Total height

◆ width

gui_dim_t width

Total width

◆ x

X position on screen

◆ y

Y position on screen