فهرست منبع

Added the wingdi header to the GDI binding

Benedikt Müssig 3 سال پیش
والد
کامیت
628cc61263
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      demo/gdi/nuklear_gdi.h

+ 1 - 0
demo/gdi/nuklear_gdi.h

@@ -15,6 +15,7 @@
 
 
 #define WIN32_LEAN_AND_MEAN
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 #include <windows.h>
+#include <wingdi.h>
 
 
 typedef struct GdiFont GdiFont;
 typedef struct GdiFont GdiFont;
 NK_API struct nk_context* nk_gdi_init(GdiFont *font, HDC window_dc, unsigned int width, unsigned int height);
 NK_API struct nk_context* nk_gdi_init(GdiFont *font, HDC window_dc, unsigned int width, unsigned int height);