-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindowstack.h
53 lines (39 loc) · 1.21 KB
/
windowstack.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef WINDOWSTACK_H
#define WINDOWSTACK_H
#include <gsKit.h>
#include "ui.h"
#define WINDOW_STACK_SIZE 16
/**
* @brief PushWindow
* @param func Window drawing function should be func(GSGLOBAL * gsGlobal)
* @param int Topmost is window topmost and should consume input.
*
* Adds a window to the top of the stack.
*/
void PushWindow( void (*func)(int));
/**
* @brief PopWindow
* Removes the top most window from the stack
*/
void PopWindow();
/**
* @brief DrawWindows
* @param gsGlobal gsKit global variable
* Okay, so stack is a horrible term for it because we draw from top down,
* but only the top most window will actually handle input.
*/
void DrawWindows();
/* Window Draw Funcs */
void DrawCharSelectionScreen_Input();
void DrawCharSelectScreen_Window(int topMost);
void DrawMC0AccessDialog_Window(int topMost);
void DrawMC1AccessDialog_Window(int topMost);
void DrawMCAccesDialog_Window(int topMost);
void DrawSourceDestSame_Window(int topMost);
void DrawInventory_Input();
void DrawInventory_Window(int topMost);
void DrawTransferResult_Input();
void DrawTransferResult_Window(int topMost);
void DrawDiscardConfirmation_Window(int topMost);
void DrawTransferGP_Window(int topMost);
#endif // WINDOWSTACK_H