26 lines
687 B
C
Raw Normal View History

2025-01-22 16:18:30 +01:00
#pragma once
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
struct HMONITOR__;
struct HWND__;
int kinc_windows_get_display_for_monitor(struct HMONITOR__ *monitor);
bool kinc_windows_set_display_mode(int display_index, int width, int height, int bpp, int frequency);
void kinc_windows_restore_display(int display_index);
void kinc_windows_restore_displays();
void kinc_windows_hide_windows();
void kinc_windows_destroy_windows();
struct HWND__ *kinc_windows_window_handle(int window_index);
int kinc_windows_window_index_from_hwnd(struct HWND__ *handle);
int kinc_windows_manual_width(int window);
int kinc_windows_manual_height(int window);
#ifdef __cplusplus
}
#endif