diff options
Diffstat (limited to 'mu_x11.h')
| -rw-r--r-- | mu_x11.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mu_x11.h b/mu_x11.h new file mode 100644 index 0000000..056fcd5 --- /dev/null +++ b/mu_x11.h @@ -0,0 +1,9 @@ +#ifndef MU_X11_H +#define MU_X11_H +#include <X11/Xlib.h> +#include "vendor/microui.h" +void mux_init(Display *d, Window w, const char *fontname); +int mux_text_width(mu_Font font, const char *s, int len); +int mux_text_height(mu_Font font); +void mux_present(mu_Context *ctx, int w, int h, mu_Color bg); +#endif |
