diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-05-21 19:43:41 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-05-21 19:43:41 -0400 |
commit | 70b098f92d46c134388e02bd8c436649fe31e999 (patch) | |
tree | b5da9769e665b58922cf0653a54cc205420a26a0 /include/window.h | |
parent | cdd1aae79156e0f7eaf1d2fd0056ef2af62a7f0e (diff) |
Fix parameterization
Diffstat (limited to 'include/window.h')
-rw-r--r-- | include/window.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/window.h b/include/window.h new file mode 100644 index 00000000..ebe3338a --- /dev/null +++ b/include/window.h @@ -0,0 +1,25 @@ +#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 *); + +#endif // POKEDIAMOND_WINDOW_H |