26 lines
514 B
C
26 lines
514 B
C
|
|
#include "main_window.h"
|
||
|
|
|
||
|
|
static Window *s_main_window;
|
||
|
|
|
||
|
|
static void main_window_load(Window *window) {
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
static void main_window_unload(Window *window) {
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
void main_window_init(void) {
|
||
|
|
s_main_window = window_create();
|
||
|
|
window_set_window_handlers(s_main_window, (WindowHandlers) {
|
||
|
|
.load = main_window_load,
|
||
|
|
.unload = main_window_unload
|
||
|
|
});
|
||
|
|
window_stack_push(s_main_window, true);
|
||
|
|
}
|
||
|
|
|
||
|
|
void main_window_deinit(void) {
|
||
|
|
window_stack_remove(s_main_window, true);
|
||
|
|
window_destroy(s_main_window);
|
||
|
|
}
|