Files
forge-steel/src/window.h
T
klemek d4565fa507
Clang Lint CI / lint-no-video (push) Successful in 56s
Clang Build CI / run-no-video (push) Successful in 59s
Clang Build CI / run-video (push) Successful in 1m15s
Clang Build CI / build-release (push) Successful in 2m23s
Clang Lint CI / lint-video (push) Successful in 2m14s
feat: video auto reconnect
2026-05-14 14:03:41 +02:00

33 lines
758 B
C

#include "types.h"
#ifndef WINDOW_H
#define WINDOW_H
void window_startup(void (*error_callback)(int, const char *));
void window_terminate();
Window *window_init(const char *title, unsigned char monitor_index,
bool windowed, Window *shared_context,
void (*key_callback)(Window *, int, int, int, int));
void window_update_title(Window *window, const char *title);
double window_get_time();
void window_use(Window *window, Context *context);
void window_refresh(Window *window);
void window_events();
void window_close(Window *window);
bool window_should_close(Window *window);
bool window_escape_key(int key, int action);
unsigned int window_read_key(int key, int action, int mods);
#endif /* WINDOW_H */