1 #pragma once 2 3 #define WIN32_MEAN_AND_LEAN 4 #include <windows.h> 5 #include "gdiplus.h" 6 7 #include <nuklear.h> 8 9 struct ui_font { 10 GpFont *ft; 11 struct nk_user_font handle; 12 struct ui_canvas *canvas; 13 }; 14 15 float 16 ui_get_text_width(nk_handle handle, float height, const char *text, int len); 17