prosperon/source/engine/gui.h

23 lines
315 B
C
Raw 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-08-25 17:42:43 -05:00
int gui_input(sapp_event *e);
2024-06-05 16:07:44 -05:00
void gui_endframe();
void gui_exit();
#ifdef __cplusplus
}
#endif
#endif