1#ifndef _DOLPHIN_DEMOWIN_H_
2#define _DOLPHIN_DEMOWIN_H_
12#define DEMOWIN_FLAGS_INIT (1 << 0)
13#define DEMOWIN_FLAGS_OPENED (1 << 1)
void DEMOWinCloseWindow(struct STRUCT_DEMOWIN *handle)
Definition DEMOWin.c:98
void DEMOWinDestroyMenuWindow(struct STRUCT_MENU *menu)
Definition DEMOWin.c:608
void DEMOWinSetWindowColor(struct STRUCT_DEMOWIN *handle, enum DEMOWinItem item, u8 r, u8 g, u8 b, u8 a)
Definition DEMOWin.c:104
struct STRUCT_LISTBOX * DEMOWinCreateListWindow(struct STRUCT_LISTBOX *list, unsigned short x, unsigned short y)
Definition DEMOWin.c:903
void DEMOWinDestroyWindow(struct STRUCT_DEMOWIN *handle)
Definition DEMOWin.c:80
void DEMOWinClearRow(struct STRUCT_DEMOWIN *handle, u16 row)
Definition DEMOWin.c:285
void DEMOWinRefresh()
Definition DEMOWin.c:338
void DEMOWinPrintfXY(struct STRUCT_DEMOWIN *handle, u16 col, u16 row, char *fmt,...)
Definition DEMOWin.c:195
DEMOWinItem
Definition DEMOWin.h:4
@ DEMOWIN_ITEM_BKGND
Definition DEMOWin.h:6
@ DEMOWIN_ITEM_BORDER
Definition DEMOWin.h:7
@ DEMOWIN_ITEM_DEFAULT
Definition DEMOWin.h:8
@ DEMOWIN_ITEM_CAP
Definition DEMOWin.h:5
struct STRUCT_MENU * DEMOWinCreateMenuWindow(struct STRUCT_MENU *menu, u16 x, u16 y)
void DEMOWinPadInit(DEMOWinPadInfo *p)
Definition DEMOWin.c:803
long DEMOWinListScrollList(struct STRUCT_LISTBOX *list, unsigned long dir)
Definition DEMOWin.c:981
void DEMOWinDestroyListWindow(struct STRUCT_LISTBOX *list)
Definition DEMOWin.c:936
void DEMOWinListSetCursor(struct STRUCT_LISTBOX *list, int x)
Definition DEMOWin.c:976
void DEMOWinPadRead(DEMOWinPadInfo *p)
Definition DEMOWin.c:815
void DEMOWinOpenWindow(struct STRUCT_DEMOWIN *handle)
Definition DEMOWin.c:92
void DEMOWinInit()
Definition DEMOWin.c:25
void DEMOWinClearWindow(struct STRUCT_DEMOWIN *handle)
Definition DEMOWin.c:307
void DEMOWinSetRepeat(unsigned long threshold, unsigned long rate)
Definition DEMOWin.c:891
void DEMOWinScrollWindow(struct STRUCT_DEMOWIN *handle, u32 dir)
Definition DEMOWin.c:223
void DEMOWinLogPrintf(struct STRUCT_DEMOWIN *handle, char *fmt,...)
Definition DEMOWin.c:150
void DEMOWinSendToBack(struct STRUCT_DEMOWIN *handle)
Definition DEMOWin.c:279
void DEMOWinClearBuffer(struct STRUCT_DEMOWIN *handle)
Definition DEMOWin.c:328
long DEMOWinListMoveCursor(struct STRUCT_LISTBOX *list, unsigned long dir)
Definition DEMOWin.c:1014
u32 DEMOWinMenuChild(struct STRUCT_MENU *menu, int child_flag)
Definition DEMOWin.c:616
void DEMOWinBringToFront(struct STRUCT_DEMOWIN *handle)
Definition DEMOWin.c:264
struct STRUCT_DEMOWIN * DEMOWinCreateWindow(s32 x1, s32 y1, s32 x2, s32 y2, char *caption, u16 scroll, void *func)
Definition DEMOWin.c:34
void DEMOWinResetRepeat()
Definition DEMOWin.c:897
static GXColor const col
Definition gmtoulib.c:1474
signed int s32
Definition types.h:12
unsigned int u32
Definition types.h:13
unsigned short int u16
Definition types.h:7
unsigned char u8
Definition types.h:5
int y
Definition types.h:1
int x
Definition types.h:0
long x2
Definition DEMOWin.h:18
char * caption
Definition DEMOWin.h:34
unsigned short pixel_width
Definition DEMOWin.h:24
unsigned short curr_output_col
Definition DEMOWin.h:31
unsigned long flags
Definition DEMOWin.h:21
unsigned short curr_view_line
Definition DEMOWin.h:32
unsigned short char_height
Definition DEMOWin.h:27
long y1
Definition DEMOWin.h:17
void * parent
Definition DEMOWin.h:42
GXColor border
Definition DEMOWin.h:38
unsigned long priority
Definition DEMOWin.h:20
struct STRUCT_DEMOWIN * prev
Definition DEMOWin.h:41
unsigned short x_cal
Definition DEMOWin.h:22
struct STRUCT_DEMOWIN * next
Definition DEMOWin.h:40
long x1
Definition DEMOWin.h:16
GXColor bkgnd
Definition DEMOWin.h:36
unsigned short num_scroll_lines
Definition DEMOWin.h:28
void(* refresh)(struct STRUCT_DEMOWIN *)
Definition DEMOWin.h:39
unsigned short y_cal
Definition DEMOWin.h:23
GXColor cap
Definition DEMOWin.h:37
unsigned short pixel_height
Definition DEMOWin.h:25
unsigned char * buffer
Definition DEMOWin.h:35
unsigned short char_width
Definition DEMOWin.h:26
long y2
Definition DEMOWin.h:19
unsigned short curr_output_line
Definition DEMOWin.h:30
signed short cursor_line
Definition DEMOWin.h:33
unsigned short total_lines
Definition DEMOWin.h:29