1 2 3 4 5 6 7 8 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