forked from AllenDang/cimgui-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
util.h
30 lines (19 loc) · 859 Bytes
/
util.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once
#include "cimgui_wrapper.h"
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
extern void wrap_GetIndexBufferLayout(size_t *entrySize);
extern void wrap_GetVertexBufferLayout(size_t *entrySize, size_t *posOffset, size_t *uvOffset, size_t *colOffset);
extern ImDrawList *wrap_DrawData_GetDrawListAt(ImDrawData *self, int idx);
extern ImDrawCmd *wrap_DrawList_GetDrawCmdAt(ImDrawList *self, int idx);
extern void wrap_DrawCmd_CallUserCallback(ImDrawList *list, ImDrawCmd *cmd);
extern void wrap_ImGuiIO_SetMouseButtonDown(ImGuiIO *self, int btnIndex, bool isDown);
extern ImVector_ImWchar *wrap_NewGlyphRange();
extern void wrap_DestroyGlyphRange(ImVector_ImWchar *range);
extern ImWchar *wrap_GlyphRange_GetData(ImVector_ImWchar *range);
extern int wrap_ImFontAtlas_GetFontCount(ImFontAtlas *self);
#ifdef __cplusplus
}
#endif