69 |
|
extern void screenlock(); |
70 |
|
extern void screenunlock(); |
71 |
|
|
72 |
– |
#define SCRLOCK screenlock(); |
73 |
– |
#define SCRUNLOCK screenunlock(); |
74 |
– |
|
72 |
|
bool SDLGui_Init(SDL_Surface *GUISurface); |
73 |
|
int SDLGui_UnInit(void); |
74 |
|
int SDLGui_DoDialog(SGOBJ *dlg); |
78 |
|
SDL_Rect *SDLGui_GetFirstBackgroundRect(void); |
79 |
|
SDL_Rect *SDLGui_GetNextBackgroundRect(void); |
80 |
|
|
84 |
– |
#define STATUS_REBOOT 1 |
85 |
– |
#define STATUS_SHUTDOWN 2 |
86 |
– |
int GUImainDlg(); |
81 |
|
SDL_Event getEvent(SGOBJ *dlg, cursor_state *cursor); |
82 |
|
|
89 |
– |
typedef enum { ALERT_OK, ALERT_OKCANCEL } alert_type; |
90 |
– |
extern bool SDLGui_Alert(const char *, alert_type type); |
91 |
– |
|
83 |
|
#endif /* _SDLGUI_H */ |