Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
create_scroll_bar.inc.c
Go to the documentation of this file.
1/* Creates a scroll bar on SCREEN_LAYER at the including overlay's
2 SCROLL_BAR_DEPTH; it shows once its range and count are set */
#define OVL_NAME(name)
The name of this overlay's copy of a function of src/shared/.
Definition battle_mode.h:26
#define SCROLL_BAR_DEPTH
Definition scroll_bar.c:10
ScrollBar * createScrollBar(void)
Creates a scroll bar on SCREEN_LAYER at the including overlay's SCROLL_BAR_DEPTH; it shows once its r...
#define SCREEN_LAYER
The layer over the whole screen that most modes create first and draw their menus on (FIELDSTG and ST...
Definition gfx.h:45
void setScrollBarCount(ScrollBar *bar, s32 pageSize, s32 count)
Sets how many items the list has, and how many it shows at a time.
void setScrollBarPos(ScrollBar *bar, s32 pos)
Sets the item the list is at.
void setScrollBarRange(ScrollBar *bar, s32 top, s32 bottom)
Sets the y range the scroll bar's thumb moves in.
void setScrollBarX(ScrollBar *bar, s32 x, s32 width)
Sets the scroll bar's column: its x and width.
A vertical scroll bar, as the menu overlays (STSTATUS, STGDGLAB) draw one.
Definition menu.h:38
void(* setCount)(struct ScrollBar *bar, s32 pageSize, s32 count)
Definition menu.h:57
s32 layer
Definition menu.h:40
void(* setPos)(struct ScrollBar *bar, s32 pos)
Definition menu.h:58
void(* setRange)(struct ScrollBar *bar, s32 top, s32 bottom)
Definition menu.h:56
s32 depth
Definition menu.h:41
void(* setX)(struct ScrollBar *bar, s32 x, s32 width)
Definition menu.h:55
void * createTask(void(*update)(), s32 size, s32 childrenSize)
createTaskWithId for a task nothing needs to find
Definition task.c:105
void updateScrollBar(ScrollBar *bar)
The scroll bar's task: once its range and count are set, sizes the thumb, then draws it each frame as...