30 #include "ags/shared/core/platform.h" 31 #include "ags/shared/util/string.h" 32 #include "common/std/vector.h" 33 #include "ags/engine/gfx/gfx_defines.h" 43 void sys_main_shutdown();
46 void sys_set_background_mode(
bool on);
52 int sys_get_window_display_index();
54 int sys_get_desktop_resolution(
int &width,
int &height);
58 void sys_renderer_set_output(
const AGS::Shared::String &name);
63 bool sys_audio_init(
const AGS::Shared::String &driver_name =
"");
65 void sys_audio_shutdown();
71 SDL_Window *sys_window_create(
const char *window_title,
int w,
int h, AGS::Engine::WindowMode mode,
int ex_flags = 0);
73 SDL_Window *sys_get_window();
75 void sys_window_set_style(AGS::Engine::WindowMode mode,
int ex_flags = 0);
77 bool sys_window_set_size(
int w,
int h,
bool center);
79 void sys_window_center(
int display_index = -1);
81 void sys_window_fit_in_display(
int display_index);
83 void sys_window_show_cursor(
bool on);
86 bool sys_window_lock_mouse(
bool on);
88 void sys_window_set_mouse(
int x,
int y);
90 void sys_window_destroy();
92 void sys_window_set_title(
const char *title);
95 void sys_window_set_icon();
97 #if AGS_PLATFORM_OS_WINDOWS 99 void *sys_win_get_window();