|
@@ -16,17 +16,17 @@
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#include <windows.h>
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
+/* font */
|
|
|
|
+typedef struct GdipFont GdipFont;
|
|
|
|
+NK_API GdipFont* nk_gdipfont_create(const char *name, int size);
|
|
|
|
+NK_API void nk_gdipfont_del(GdipFont *font);
|
|
|
|
+
|
|
NK_API struct nk_context* nk_gdip_init(HWND hwnd, unsigned int width, unsigned int height);
|
|
NK_API struct nk_context* nk_gdip_init(HWND hwnd, unsigned int width, unsigned int height);
|
|
NK_API void nk_gdip_set_font(GdipFont *font);
|
|
NK_API void nk_gdip_set_font(GdipFont *font);
|
|
NK_API int nk_gdip_handle_event(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam);
|
|
NK_API int nk_gdip_handle_event(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam);
|
|
NK_API void nk_gdip_render(enum nk_anti_aliasing AA, struct nk_color clear);
|
|
NK_API void nk_gdip_render(enum nk_anti_aliasing AA, struct nk_color clear);
|
|
NK_API void nk_gdip_shutdown(void);
|
|
NK_API void nk_gdip_shutdown(void);
|
|
|
|
|
|
-/* font */
|
|
|
|
-typedef struct GdipFont GdipFont;
|
|
|
|
-NK_API GdipFont* nk_gdipfont_create(const char *name, int size);
|
|
|
|
-NK_API void nk_gdipfont_del(GdipFont *font);
|
|
|
|
-
|
|
|
|
#endif
|
|
#endif
|
|
/*
|
|
/*
|
|
* ==============================================================
|
|
* ==============================================================
|