-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathcimgui-go-preset.json
129 lines (127 loc) · 5.06 KB
/
cimgui-go-preset.json
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"PackagePath": "github.com/AllenDang/cimgui-go",
"SkipFuncs": {
"igInputText": true,
"igInputTextWithHint": true,
"igInputTextMultiline": true,
"ImFontAtlas_GetTexDataAsAlpha8": true,
"ImFontAtlas_GetTexDataAsAlpha8V": true,
"ImFontAtlas_GetTexDataAsRGBA32": true,
"ImFontAtlas_GetTexDataAsRGBA32V": true,
"ImVec1_GetX": true,
"ImVec2_GetX": true,
"ImVec2_GetY": true,
"ImVec4_GetX": true,
"ImVec4_GetY": true,
"ImVec4_GetW": true,
"ImVec4_GetZ": true,
"ImRect_GetMin": true,
"ImRect_GetMax": true,
"ImPlotPoint_SetX": true,
"ImPlotPoint_SetY": true
},
"SkipStructs": {
"ImVec2": true,
"ImVec2ih": true,
"ImVec4": true,
"ImColor": true,
"ImRect": true,
"ImPlotTime": true,
"ImPlotPoint": true
},
"SkipMethods": {
"ImVec1": true,
"ImVec2": true,
"ImVec2ih": true,
"ImVec4": true,
"ImColor": true,
"ImRect": true,
"ImPlotTime": true
},
"SkipTypedefs": {
"ImS8": true,
"ImS16": true,
"ImS32": true,
"ImS64": true,
"ImU8": true,
"ImU16": true,
"ImU32": true,
"ImU64": true,
"ImGuiInputTextCallback": true
},
"TypedefsPoolSize": 32,
"TypedefsCustomPoolSizes": {
},
"Replace": {
"igGetDrawData": "CurrentDrawData",
"igGetDrawListSharedData": "CurrentDrawListSharedData",
"igGetFont": "CurrentFont",
"igGetIO": "CurrentIO",
"igGetPlatformIO": "CurrentPlatformIO",
"igGetStyle": "CurrentStyle",
"igGetMouseCursor": "CurrentMouseCursor",
"ImAxis": "AxisEnum",
"GetItem_ID": "ItemByID"
},
"TrimPrefix": [
"ImGuizmo",
"imnodes",
"ImNodes",
"ImPlot",
"ImGui",
"Im",
"ig"
],
"OriginReplace": {
"TextEditor_GetText": "TextEditor_GetText_alloc"
},
"DefaultArgReplace": {
"FLT_MIN": "igGET_FLT_MIN()",
"FLT_MAX": "igGET_FLT_MAX()",
"nullptr": "0",
"NULL": "0",
"((void*)0)": "0"
},
"DefaultArgArbitraryValue": {
"text_end": 0,
"text_end_": "0"
},
"ExtraCGOPreamble": [
"#include \"../imgui/extra_types.h\""
],
"InternalFiles": [
"imgui_internal"
],
"InternalPrefix": "Internal",
"SimpleTypes": {
"ImU8": ["byte", "C.ImU8"],
"ImU16": ["uint16", "C.ImU16"],
"ImU32": ["uint32", "C.ImU32"],
"ImU64": ["uint64", "C.ImU64"],
"ImS8": ["int", "C.ImS8"],
"ImS16": ["int16", "C.ImS16"],
"ImS32": ["int", "C.ImS32"],
"ImS64": ["int64", "C.ImS64"],
"ImWchar": ["Wchar", "C.ImWchar", "imgui"],
"ImWchar*": ["*Wchar", "(*C.ImWchar)", "imgui"],
"ImWchar16": ["uint16", "C.ImWchar16", "imgui"]
},
"SimplePtrTypes": {
"ImU8": ["byte", "C.ImU8"],
"ImU16": ["uint16", "C.ImU16"],
"ImU32": ["uint32", "C.ImU32"],
"ImU64": ["uint64", "C.ImU64"],
"ImS8": ["int8", "C.ImS8"],
"ImS16": ["int16", "C.ImS16"],
"ImS32": ["int32", "C.ImS32"],
"ImS64": ["int64", "C.ImS64"]
},
"WrappableTypes": {
"ImVec2": ["Vec2", "C.ImVec2", "imgui"],
"ImVec4": ["Vec4", "C.ImVec4", "imgui"],
"ImColor": ["Color", "C.ImColor", "imgui"],
"ImRect": ["Rect", "C.ImRect", "imgui"],
"ImPlotPoint": ["PlotPoint", "C.ImPlotPoint", "implot"],
"ImPlotTime": ["PlotTime", "C.ImPlotTime", "implot"]
}
}