prosperon/source/engine/gui.h

26 lines
358 B
C
Raw Permalink Normal View History

2024-06-05 16:07:44 -05:00
#ifndef GUI_H
#define GUI_H
#include "jsffi.h"
#include "sokol/sokol_app.h"
#ifdef __cplusplus
extern "C" {
#endif
JSValue gui_init(JSContext *js);
void gui_newframe(int x, int y, float dt);
void gfx_gui();
2024-09-03 14:08:46 -05:00
void gui_input(sapp_event *e);
2024-06-05 16:07:44 -05:00
void gui_endframe();
void gui_exit();
2024-09-03 14:08:46 -05:00
int gui_wantmouse();
int gui_wantkeys();
2024-06-05 16:07:44 -05:00
#ifdef __cplusplus
}
#endif
#endif