diff options
author | Akira Akashi <rubenru09@aol.com> | 2021-05-22 17:05:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-22 17:05:58 +0100 |
commit | 1e7dcfbf615f387c3b4a8a7577ff36dd57922f60 (patch) | |
tree | 9a4e1be7cbadd711196e5efa1fafb9bfd2bba843 /include/window.h | |
parent | 98f11489806b6dba4c6080c5429b2368d3092541 (diff) | |
parent | de6f8fc978e5297d3f425d2d6c8517e9bb8e75ff (diff) |
Merge pull request #378 from PikalaxALT/pikalax_work
list_menu; Try matching FUN_0202EFE4
Diffstat (limited to 'include/window.h')
-rw-r--r-- | include/window.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/window.h b/include/window.h new file mode 100644 index 00000000..ed3576fb --- /dev/null +++ b/include/window.h @@ -0,0 +1,26 @@ +#ifndef POKEDIAMOND_WINDOW_H +#define POKEDIAMOND_WINDOW_H + +struct Window +{ + u8 * unk_00; + u8 unk_04; + u8 unk_05; + u8 unk_06; + u8 width; + u8 height; + u8 unk_9; + u16 unk_A_0:15; + u16 unk_A_15:1; + void * unk_C; +}; + +extern void FillWindowPixelBuffer(struct Window *, u32); +extern void CopyWindowToVram(struct Window *); +extern void FillWindowPixelRect(struct Window *, u32 fillValue, u16 x, u16 y, u16 width, u16 height); +extern void ScrollWindow(struct Window *, u8, u8, u8); +extern u16 GetWindowWidth(struct Window *); +extern u16 GetWindowHeight(struct Window *); +extern void BlitBitmapRectToWindow(struct Window * window, const void * src, u16 srcX, u16 srcY, u16 srcWidth, u16 srcHeight, u16 dstX, u16 dstY, u16 dstWidth, u16 dstHeight); + +#endif // POKEDIAMOND_WINDOW_H |