feat(api): update imnodes bindings to latest version (#282)
resolve #193 fixes #290 * fix(api): fix imnodes getNode___Pos & generate latest bindings * fix(api): add optional arguments for ImNodes style methods
This commit is contained in:
1 parent
c776b1b384
commit
7be2a2942f
13 files changed
+1021
-1990
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -17,7 +17,7 @@
|
||||
"name" : "drawlist",
|
||||
"qualType" : "int *",
|
||||
"desugaredQualType" : "int *",
|
||||
"defaultValue" : "="
|
||||
"defaultValue" : "nullptr"
|
||||
}, {
|
||||
"@type" : "AstFullComment",
|
||||
"decls" : [ {
|
||||
@@ -471,12 +471,12 @@
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "operation",
|
||||
"qualType" : "OPERATION",
|
||||
"qualType" : "ImGuizmo::OPERATION",
|
||||
"desugaredQualType" : "ImGuizmo::OPERATION"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "mode",
|
||||
"qualType" : "MODE",
|
||||
"qualType" : "ImGuizmo::MODE",
|
||||
"desugaredQualType" : "ImGuizmo::MODE"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
@@ -570,7 +570,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "op",
|
||||
"qualType" : "OPERATION",
|
||||
"qualType" : "ImGuizmo::OPERATION",
|
||||
"desugaredQualType" : "ImGuizmo::OPERATION"
|
||||
}, {
|
||||
"@type" : "AstFullComment",
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -13359,8 +13359,8 @@
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "out",
|
||||
"qualType" : "ImVector<ImGuiTextRange> *",
|
||||
"desugaredQualType" : "ImVector<ImGuiTextRange> *"
|
||||
"qualType" : "ImVector<ImGuiTextFilter::ImGuiTextRange> *",
|
||||
"desugaredQualType" : "ImVector<ImGuiTextFilter::ImGuiTextRange> *"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
@@ -13371,7 +13371,7 @@
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "Filters",
|
||||
"qualType" : "ImVector<ImGuiTextRange>",
|
||||
"qualType" : "ImVector<ImGuiTextFilter::ImGuiTextRange>",
|
||||
"desugaredQualType" : "ImVector<ImGuiTextFilter::ImGuiTextRange>"
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
@@ -13539,7 +13539,7 @@
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "Data",
|
||||
"qualType" : "ImVector<ImGuiStoragePair>",
|
||||
"qualType" : "ImVector<ImGuiStorage::ImGuiStoragePair>",
|
||||
"desugaredQualType" : "ImVector<ImGuiStorage::ImGuiStoragePair>"
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
|
||||
@@ -28526,8 +28526,8 @@
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "out",
|
||||
"qualType" : "ImVector<ImGuiTextRange> *",
|
||||
"desugaredQualType" : "ImVector<ImGuiTextRange> *"
|
||||
"qualType" : "ImVector<ImGuiTextFilter::ImGuiTextRange> *",
|
||||
"desugaredQualType" : "ImVector<ImGuiTextFilter::ImGuiTextRange> *"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
@@ -28538,7 +28538,7 @@
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "Filters",
|
||||
"qualType" : "ImVector<ImGuiTextRange>",
|
||||
"qualType" : "ImVector<ImGuiTextFilter::ImGuiTextRange>",
|
||||
"desugaredQualType" : "ImVector<ImGuiTextFilter::ImGuiTextRange>"
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
@@ -28705,7 +28705,7 @@
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "Data",
|
||||
"qualType" : "ImVector<ImGuiStoragePair>",
|
||||
"qualType" : "ImVector<ImGuiStorage::ImGuiStoragePair>",
|
||||
"desugaredQualType" : "ImVector<ImGuiStorage::ImGuiStoragePair>"
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
|
||||
@@ -99,33 +99,33 @@
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "BeginSaveSession",
|
||||
"qualType" : "ConfigSession",
|
||||
"qualType" : "ax::NodeEditor::ConfigSession",
|
||||
"desugaredQualType" : "void (*)(void *)"
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "EndSaveSession",
|
||||
"qualType" : "ConfigSession",
|
||||
"qualType" : "ax::NodeEditor::ConfigSession",
|
||||
"desugaredQualType" : "void (*)(void *)"
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "SaveSettings",
|
||||
"qualType" : "ConfigSaveSettings",
|
||||
"desugaredQualType" : "bool (*)(const char *, size_t, SaveReasonFlags, void *)"
|
||||
"qualType" : "ax::NodeEditor::ConfigSaveSettings",
|
||||
"desugaredQualType" : "bool (*)(const char *, int, ax::NodeEditor::SaveReasonFlags, void *)"
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "LoadSettings",
|
||||
"qualType" : "ConfigLoadSettings",
|
||||
"desugaredQualType" : "size_t (*)(char *, void *)"
|
||||
"qualType" : "int",
|
||||
"desugaredQualType" : "int"
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "SaveNodeSettings",
|
||||
"qualType" : "ConfigSaveNodeSettings",
|
||||
"desugaredQualType" : "bool (*)(NodeId, const char *, size_t, SaveReasonFlags, void *)"
|
||||
"qualType" : "ax::NodeEditor::ConfigSaveNodeSettings",
|
||||
"desugaredQualType" : "bool (*)(ax::NodeEditor::NodeId, const char *, int, ax::NodeEditor::SaveReasonFlags, void *)"
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "LoadNodeSettings",
|
||||
"qualType" : "ConfigLoadNodeSettings",
|
||||
"desugaredQualType" : "size_t (*)(NodeId, char *, void *)"
|
||||
"qualType" : "int",
|
||||
"desugaredQualType" : "int"
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "UserPointer",
|
||||
@@ -612,8 +612,8 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "ctx",
|
||||
"qualType" : "EditorContext *",
|
||||
"desugaredQualType" : "EditorContext *"
|
||||
"qualType" : "ax::NodeEditor::EditorContext *",
|
||||
"desugaredQualType" : "ax::NodeEditor::EditorContext *"
|
||||
}, {
|
||||
"@type" : "AstFullComment",
|
||||
"decls" : [ {
|
||||
@@ -627,16 +627,16 @@
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "GetCurrentEditor",
|
||||
"resultType" : "EditorContext *"
|
||||
"resultType" : "ax::NodeEditor::EditorContext *"
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "CreateEditor",
|
||||
"resultType" : "EditorContext *",
|
||||
"resultType" : "ax::NodeEditor::EditorContext *",
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "config",
|
||||
"qualType" : "const Config *",
|
||||
"desugaredQualType" : "const Config *",
|
||||
"qualType" : "const ax::NodeEditor::Config *",
|
||||
"desugaredQualType" : "const ax::NodeEditor::Config *",
|
||||
"defaultValue" : "nullptr"
|
||||
} ]
|
||||
}, {
|
||||
@@ -646,13 +646,13 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "ctx",
|
||||
"qualType" : "EditorContext *",
|
||||
"desugaredQualType" : "EditorContext *"
|
||||
"qualType" : "ax::NodeEditor::EditorContext *",
|
||||
"desugaredQualType" : "ax::NodeEditor::EditorContext *"
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "GetStyle",
|
||||
"resultType" : "Style &"
|
||||
"resultType" : "ax::NodeEditor::Style &"
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "GetStyleColorName",
|
||||
@@ -660,7 +660,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "colorIndex",
|
||||
"qualType" : "StyleColor",
|
||||
"qualType" : "ax::NodeEditor::StyleColor",
|
||||
"desugaredQualType" : "ax::NodeEditor::StyleColor"
|
||||
} ]
|
||||
}, {
|
||||
@@ -670,7 +670,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "colorIndex",
|
||||
"qualType" : "StyleColor",
|
||||
"qualType" : "ax::NodeEditor::StyleColor",
|
||||
"desugaredQualType" : "ax::NodeEditor::StyleColor"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
@@ -696,7 +696,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "varIndex",
|
||||
"qualType" : "StyleVar",
|
||||
"qualType" : "ax::NodeEditor::StyleVar",
|
||||
"desugaredQualType" : "ax::NodeEditor::StyleVar"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
@@ -711,7 +711,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "varIndex",
|
||||
"qualType" : "StyleVar",
|
||||
"qualType" : "ax::NodeEditor::StyleVar",
|
||||
"desugaredQualType" : "ax::NodeEditor::StyleVar"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
@@ -726,7 +726,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "varIndex",
|
||||
"qualType" : "StyleVar",
|
||||
"qualType" : "ax::NodeEditor::StyleVar",
|
||||
"desugaredQualType" : "ax::NodeEditor::StyleVar"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
@@ -772,7 +772,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "id",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -782,12 +782,12 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "id",
|
||||
"qualType" : "PinId",
|
||||
"qualType" : "ax::NodeEditor::PinId",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "kind",
|
||||
"qualType" : "PinKind",
|
||||
"qualType" : "ax::NodeEditor::PinKind",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinKind"
|
||||
} ]
|
||||
}, {
|
||||
@@ -875,7 +875,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -905,7 +905,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
}, {
|
||||
"@type" : "AstFullComment",
|
||||
@@ -924,17 +924,17 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "id",
|
||||
"qualType" : "LinkId",
|
||||
"qualType" : "ax::NodeEditor::LinkId",
|
||||
"desugaredQualType" : "ax::NodeEditor::LinkId"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "startPinId",
|
||||
"qualType" : "PinId",
|
||||
"qualType" : "ax::NodeEditor::PinId",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "endPinId",
|
||||
"qualType" : "PinId",
|
||||
"qualType" : "ax::NodeEditor::PinId",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
@@ -956,12 +956,12 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "linkId",
|
||||
"qualType" : "LinkId",
|
||||
"qualType" : "ax::NodeEditor::LinkId",
|
||||
"desugaredQualType" : "ax::NodeEditor::LinkId"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "direction",
|
||||
"qualType" : "FlowDirection",
|
||||
"qualType" : "ax::NodeEditor::FlowDirection",
|
||||
"desugaredQualType" : "ax::NodeEditor::FlowDirection",
|
||||
"defaultValue" : "FlowDirection::Forward"
|
||||
} ]
|
||||
@@ -989,13 +989,13 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "startId",
|
||||
"qualType" : "PinId *",
|
||||
"desugaredQualType" : "PinId *"
|
||||
"qualType" : "ax::NodeEditor::PinId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId *"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "endId",
|
||||
"qualType" : "PinId *",
|
||||
"desugaredQualType" : "PinId *"
|
||||
"qualType" : "ax::NodeEditor::PinId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId *"
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
@@ -1004,13 +1004,13 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "startId",
|
||||
"qualType" : "PinId *",
|
||||
"desugaredQualType" : "PinId *"
|
||||
"qualType" : "ax::NodeEditor::PinId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId *"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "endId",
|
||||
"qualType" : "PinId *",
|
||||
"desugaredQualType" : "PinId *"
|
||||
"qualType" : "ax::NodeEditor::PinId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId *"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "color",
|
||||
@@ -1030,8 +1030,8 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "pinId",
|
||||
"qualType" : "PinId *",
|
||||
"desugaredQualType" : "PinId *"
|
||||
"qualType" : "ax::NodeEditor::PinId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId *"
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
@@ -1040,8 +1040,8 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "pinId",
|
||||
"qualType" : "PinId *",
|
||||
"desugaredQualType" : "PinId *"
|
||||
"qualType" : "ax::NodeEditor::PinId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId *"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "color",
|
||||
@@ -1109,19 +1109,19 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "linkId",
|
||||
"qualType" : "LinkId *",
|
||||
"desugaredQualType" : "LinkId *"
|
||||
"qualType" : "ax::NodeEditor::LinkId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::LinkId *"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "startId",
|
||||
"qualType" : "PinId *",
|
||||
"desugaredQualType" : "PinId *",
|
||||
"qualType" : "ax::NodeEditor::PinId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId *",
|
||||
"defaultValue" : "nullptr"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "endId",
|
||||
"qualType" : "PinId *",
|
||||
"desugaredQualType" : "PinId *",
|
||||
"qualType" : "ax::NodeEditor::PinId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId *",
|
||||
"defaultValue" : "nullptr"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1131,8 +1131,8 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId *",
|
||||
"desugaredQualType" : "NodeId *"
|
||||
"qualType" : "ax::NodeEditor::NodeId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId *"
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
@@ -1160,7 +1160,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
@@ -1175,7 +1175,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
@@ -1190,7 +1190,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1200,7 +1200,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1210,7 +1210,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1220,7 +1220,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
@@ -1235,7 +1235,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1245,7 +1245,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1279,8 +1279,8 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodes",
|
||||
"qualType" : "NodeId *",
|
||||
"desugaredQualType" : "NodeId *"
|
||||
"qualType" : "ax::NodeEditor::NodeId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId *"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "size",
|
||||
@@ -1294,8 +1294,8 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "links",
|
||||
"qualType" : "LinkId *",
|
||||
"desugaredQualType" : "LinkId *"
|
||||
"qualType" : "ax::NodeEditor::LinkId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::LinkId *"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "size",
|
||||
@@ -1309,7 +1309,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1319,7 +1319,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "linkId",
|
||||
"qualType" : "LinkId",
|
||||
"qualType" : "ax::NodeEditor::LinkId",
|
||||
"desugaredQualType" : "ax::NodeEditor::LinkId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1333,7 +1333,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
@@ -1349,7 +1349,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "linkId",
|
||||
"qualType" : "LinkId",
|
||||
"qualType" : "ax::NodeEditor::LinkId",
|
||||
"desugaredQualType" : "ax::NodeEditor::LinkId"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
@@ -1365,7 +1365,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1375,7 +1375,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "linkId",
|
||||
"qualType" : "LinkId",
|
||||
"qualType" : "ax::NodeEditor::LinkId",
|
||||
"desugaredQualType" : "ax::NodeEditor::LinkId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1385,7 +1385,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1395,7 +1395,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "linkId",
|
||||
"qualType" : "LinkId",
|
||||
"qualType" : "ax::NodeEditor::LinkId",
|
||||
"desugaredQualType" : "ax::NodeEditor::LinkId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1405,7 +1405,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1415,7 +1415,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "pinId",
|
||||
"qualType" : "PinId",
|
||||
"qualType" : "ax::NodeEditor::PinId",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1425,7 +1425,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId",
|
||||
"qualType" : "ax::NodeEditor::NodeId",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1435,7 +1435,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "pinId",
|
||||
"qualType" : "PinId",
|
||||
"qualType" : "ax::NodeEditor::PinId",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1473,8 +1473,8 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodeId",
|
||||
"qualType" : "NodeId *",
|
||||
"desugaredQualType" : "NodeId *"
|
||||
"qualType" : "ax::NodeEditor::NodeId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId *"
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
@@ -1483,8 +1483,8 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "pinId",
|
||||
"qualType" : "PinId *",
|
||||
"desugaredQualType" : "PinId *"
|
||||
"qualType" : "ax::NodeEditor::PinId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId *"
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
@@ -1493,8 +1493,8 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "linkId",
|
||||
"qualType" : "LinkId *",
|
||||
"desugaredQualType" : "LinkId *"
|
||||
"qualType" : "ax::NodeEditor::LinkId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::LinkId *"
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
@@ -1549,8 +1549,8 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodes",
|
||||
"qualType" : "NodeId *",
|
||||
"desugaredQualType" : "NodeId *"
|
||||
"qualType" : "ax::NodeEditor::NodeId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId *"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "size",
|
||||
@@ -1564,8 +1564,8 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "links",
|
||||
"qualType" : "LinkId *",
|
||||
"desugaredQualType" : "LinkId *"
|
||||
"qualType" : "ax::NodeEditor::LinkId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::LinkId *"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "size",
|
||||
@@ -1583,27 +1583,27 @@
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "GetHoveredNode",
|
||||
"resultType" : "NodeId"
|
||||
"resultType" : "ax::NodeEditor::NodeId"
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "GetHoveredPin",
|
||||
"resultType" : "PinId"
|
||||
"resultType" : "ax::NodeEditor::PinId"
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "GetHoveredLink",
|
||||
"resultType" : "LinkId"
|
||||
"resultType" : "ax::NodeEditor::LinkId"
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "GetDoubleClickedNode",
|
||||
"resultType" : "NodeId"
|
||||
"resultType" : "ax::NodeEditor::NodeId"
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "GetDoubleClickedPin",
|
||||
"resultType" : "PinId"
|
||||
"resultType" : "ax::NodeEditor::PinId"
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "GetDoubleClickedLink",
|
||||
"resultType" : "LinkId"
|
||||
"resultType" : "ax::NodeEditor::LinkId"
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "IsBackgroundClicked",
|
||||
@@ -1619,18 +1619,18 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "linkId",
|
||||
"qualType" : "LinkId",
|
||||
"qualType" : "ax::NodeEditor::LinkId",
|
||||
"desugaredQualType" : "ax::NodeEditor::LinkId"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "startPinId",
|
||||
"qualType" : "PinId *",
|
||||
"desugaredQualType" : "PinId *"
|
||||
"qualType" : "ax::NodeEditor::PinId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId *"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "endPinId",
|
||||
"qualType" : "PinId *",
|
||||
"desugaredQualType" : "PinId *"
|
||||
"qualType" : "ax::NodeEditor::PinId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId *"
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
@@ -1639,7 +1639,7 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "pinId",
|
||||
"qualType" : "PinId",
|
||||
"qualType" : "ax::NodeEditor::PinId",
|
||||
"desugaredQualType" : "ax::NodeEditor::PinId"
|
||||
} ]
|
||||
}, {
|
||||
@@ -1677,8 +1677,8 @@
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "nodes",
|
||||
"qualType" : "NodeId *",
|
||||
"desugaredQualType" : "NodeId *"
|
||||
"qualType" : "ax::NodeEditor::NodeId *",
|
||||
"desugaredQualType" : "ax::NodeEditor::NodeId *"
|
||||
}, {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "size",
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"info" : {
|
||||
"source" : "include/imnodes/imnodes.h",
|
||||
"hash" : "652280ae054728987fb8b2201f9a88fa",
|
||||
"hash" : "4ea12e1472e9f121b5084ac0b72237de",
|
||||
"url" : "https://github.com/Nelarius/imnodes",
|
||||
"revision" : "e563371cee49eb42da08cca1e0209d30d452c665"
|
||||
"revision" : "8563e1655bd9bb1f249e6552cc6274d506ee788b"
|
||||
},
|
||||
"decls" : [ {
|
||||
"@type" : "AstEnumDecl",
|
||||
@@ -107,82 +107,88 @@
|
||||
"evaluatedValue" : 15
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesCol_MiniMapBackground",
|
||||
"name" : "ImNodesCol_GridLinePrimary",
|
||||
"qualType" : "ImNodesCol_",
|
||||
"order" : 16,
|
||||
"evaluatedValue" : 16
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesCol_MiniMapBackgroundHovered",
|
||||
"name" : "ImNodesCol_MiniMapBackground",
|
||||
"qualType" : "ImNodesCol_",
|
||||
"order" : 17,
|
||||
"evaluatedValue" : 17
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesCol_MiniMapOutline",
|
||||
"name" : "ImNodesCol_MiniMapBackgroundHovered",
|
||||
"qualType" : "ImNodesCol_",
|
||||
"order" : 18,
|
||||
"evaluatedValue" : 18
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesCol_MiniMapOutlineHovered",
|
||||
"name" : "ImNodesCol_MiniMapOutline",
|
||||
"qualType" : "ImNodesCol_",
|
||||
"order" : 19,
|
||||
"evaluatedValue" : 19
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesCol_MiniMapNodeBackground",
|
||||
"name" : "ImNodesCol_MiniMapOutlineHovered",
|
||||
"qualType" : "ImNodesCol_",
|
||||
"order" : 20,
|
||||
"evaluatedValue" : 20
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesCol_MiniMapNodeBackgroundHovered",
|
||||
"name" : "ImNodesCol_MiniMapNodeBackground",
|
||||
"qualType" : "ImNodesCol_",
|
||||
"order" : 21,
|
||||
"evaluatedValue" : 21
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesCol_MiniMapNodeBackgroundSelected",
|
||||
"name" : "ImNodesCol_MiniMapNodeBackgroundHovered",
|
||||
"qualType" : "ImNodesCol_",
|
||||
"order" : 22,
|
||||
"evaluatedValue" : 22
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesCol_MiniMapNodeOutline",
|
||||
"name" : "ImNodesCol_MiniMapNodeBackgroundSelected",
|
||||
"qualType" : "ImNodesCol_",
|
||||
"order" : 23,
|
||||
"evaluatedValue" : 23
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesCol_MiniMapLink",
|
||||
"name" : "ImNodesCol_MiniMapNodeOutline",
|
||||
"qualType" : "ImNodesCol_",
|
||||
"order" : 24,
|
||||
"evaluatedValue" : 24
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesCol_MiniMapLinkSelected",
|
||||
"name" : "ImNodesCol_MiniMapLink",
|
||||
"qualType" : "ImNodesCol_",
|
||||
"order" : 25,
|
||||
"evaluatedValue" : 25
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesCol_MiniMapCanvas",
|
||||
"name" : "ImNodesCol_MiniMapLinkSelected",
|
||||
"qualType" : "ImNodesCol_",
|
||||
"order" : 26,
|
||||
"evaluatedValue" : 26
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesCol_MiniMapCanvasOutline",
|
||||
"name" : "ImNodesCol_MiniMapCanvas",
|
||||
"qualType" : "ImNodesCol_",
|
||||
"order" : 27,
|
||||
"evaluatedValue" : 27
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesCol_COUNT",
|
||||
"name" : "ImNodesCol_MiniMapCanvasOutline",
|
||||
"qualType" : "ImNodesCol_",
|
||||
"order" : 28,
|
||||
"evaluatedValue" : 28
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesCol_COUNT",
|
||||
"qualType" : "ImNodesCol_",
|
||||
"order" : 29,
|
||||
"evaluatedValue" : 29
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstEnumDecl",
|
||||
@@ -309,6 +315,20 @@
|
||||
"order" : 2,
|
||||
"value" : "1 << 2",
|
||||
"evaluatedValue" : 4
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesStyleFlags_GridLinesPrimary",
|
||||
"qualType" : "ImNodesStyleFlags_",
|
||||
"order" : 3,
|
||||
"value" : "1 << 3",
|
||||
"evaluatedValue" : 8
|
||||
}, {
|
||||
"@type" : "AstEnumConstantDecl",
|
||||
"name" : "ImNodesStyleFlags_GridSnapping",
|
||||
"qualType" : "ImNodesStyleFlags_",
|
||||
"order" : 4,
|
||||
"value" : "1 << 4",
|
||||
"evaluatedValue" : 16
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstEnumDecl",
|
||||
@@ -417,6 +437,20 @@
|
||||
"name" : "LinkDetachWithModifierClick",
|
||||
"qualType" : "struct LinkDetachWithModifierClick",
|
||||
"desugaredQualType" : "ImNodesIO::LinkDetachWithModifierClick"
|
||||
}, {
|
||||
"@type" : "AstRecordDecl",
|
||||
"name" : "MultipleSelectModifier",
|
||||
"decls" : [ {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "Modifier",
|
||||
"qualType" : "const bool *",
|
||||
"desugaredQualType" : "const bool *"
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "MultipleSelectModifier",
|
||||
"qualType" : "struct MultipleSelectModifier",
|
||||
"desugaredQualType" : "ImNodesIO::MultipleSelectModifier"
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "AltMouseButton",
|
||||
@@ -514,8 +548,8 @@
|
||||
}, {
|
||||
"@type" : "AstFieldDecl",
|
||||
"name" : "Colors",
|
||||
"qualType" : "unsigned int[28]",
|
||||
"desugaredQualType" : "unsigned int[28]"
|
||||
"qualType" : "unsigned int[29]",
|
||||
"desugaredQualType" : "unsigned int[29]"
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstEnumDecl",
|
||||
@@ -683,23 +717,46 @@
|
||||
"name" : "StyleColorsDark",
|
||||
"resultType" : "void",
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "dest",
|
||||
"qualType" : "ImNodesStyle *",
|
||||
"desugaredQualType" : "ImNodesStyle *",
|
||||
"defaultValue" : "NULL"
|
||||
}, {
|
||||
"@type" : "AstFullComment",
|
||||
"decls" : [ {
|
||||
"@type" : "AstParagraphComment",
|
||||
"decls" : [ {
|
||||
"@type" : "AstTextComment",
|
||||
"text" : " Style presets matching the dear imgui styles of the same name."
|
||||
"text" : " Style presets matching the dear imgui styles of the same name. If dest is NULL, the active"
|
||||
}, {
|
||||
"@type" : "AstTextComment",
|
||||
"text" : " context's ImNodesStyle instance will be used as the destination."
|
||||
} ]
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "StyleColorsClassic",
|
||||
"resultType" : "void"
|
||||
"resultType" : "void",
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "dest",
|
||||
"qualType" : "ImNodesStyle *",
|
||||
"desugaredQualType" : "ImNodesStyle *",
|
||||
"defaultValue" : "NULL"
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "StyleColorsLight",
|
||||
"resultType" : "void"
|
||||
"resultType" : "void",
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "dest",
|
||||
"qualType" : "ImNodesStyle *",
|
||||
"desugaredQualType" : "ImNodesStyle *",
|
||||
"defaultValue" : "NULL"
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "BeginNodeEditor",
|
||||
@@ -1141,6 +1198,25 @@
|
||||
"qualType" : "const int",
|
||||
"desugaredQualType" : "const int"
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "SnapNodeToGrid",
|
||||
"resultType" : "void",
|
||||
"decls" : [ {
|
||||
"@type" : "AstParmVarDecl",
|
||||
"name" : "node_id",
|
||||
"qualType" : "int",
|
||||
"desugaredQualType" : "int"
|
||||
}, {
|
||||
"@type" : "AstFullComment",
|
||||
"decls" : [ {
|
||||
"@type" : "AstParagraphComment",
|
||||
"decls" : [ {
|
||||
"@type" : "AstTextComment",
|
||||
"text" : " If ImNodesStyleFlags_GridSnapping is enabled, snap the specified node's origin to the grid."
|
||||
} ]
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"@type" : "AstFunctionDecl",
|
||||
"name" : "IsEditorHovered",
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
org.gradle.caching=true
|
||||
org.gradle.jvmargs=-Xmx2000m
|
||||
@@ -179,26 +179,50 @@ public final class ImNodes {
|
||||
nStyleColorsDark();
|
||||
}
|
||||
|
||||
public static void styleColorsDark(final ImNodesStyle style) {
|
||||
nStyleColorsDark(style.ptr);
|
||||
}
|
||||
|
||||
private static native void nStyleColorsDark(); /*
|
||||
ImNodes::StyleColorsDark();
|
||||
*/
|
||||
|
||||
private static native void nStyleColorsDark(long style); /*
|
||||
ImNodes::StyleColorsDark(reinterpret_cast<ImNodesStyle*>(style));
|
||||
*/
|
||||
|
||||
public static void styleColorsClassic() {
|
||||
nStyleColorsClassic();
|
||||
}
|
||||
|
||||
public static void styleColorsClassic(final ImNodesStyle style) {
|
||||
nStyleColorsClassic(style.ptr);
|
||||
}
|
||||
|
||||
private static native void nStyleColorsClassic(); /*
|
||||
ImNodes::StyleColorsClassic();
|
||||
*/
|
||||
|
||||
private static native void nStyleColorsClassic(long style); /*
|
||||
ImNodes::StyleColorsClassic(reinterpret_cast<ImNodesStyle*>(style));
|
||||
*/
|
||||
|
||||
public static void styleColorsLight() {
|
||||
nStyleColorsLight();
|
||||
}
|
||||
|
||||
public static void styleColorsLight(final ImNodesStyle style) {
|
||||
nStyleColorsLight(style.ptr);
|
||||
}
|
||||
|
||||
private static native void nStyleColorsLight(); /*
|
||||
ImNodes::StyleColorsLight();
|
||||
*/
|
||||
|
||||
private static native void nStyleColorsLight(long style); /*
|
||||
ImNodes::StyleColorsLight(reinterpret_cast<ImNodesStyle*>(style));
|
||||
*/
|
||||
|
||||
/**
|
||||
* The top-level function call. Call this before calling BeginNode/EndNode. Calling this function
|
||||
* will result the node editor grid workspace being rendered.
|
||||
@@ -551,29 +575,106 @@ public final class ImNodes {
|
||||
ImVec2 gridPos = ImVec2(gridPosX, gridPosY);
|
||||
ImNodes::SetNodeGridSpacePos(nodeId, gridPos);
|
||||
*/
|
||||
|
||||
public static void getNodeScreenSpacePos(final int nodeId) {
|
||||
nGetNodeScreenSpacePos(nodeId);
|
||||
|
||||
public static ImVec2 getNodeScreenSpacePos(final int nodeId) {
|
||||
final ImVec2 dst = new ImVec2();
|
||||
nGetNodeScreenSpacePos(dst, nodeId);
|
||||
return dst;
|
||||
}
|
||||
|
||||
private static native void nGetNodeScreenSpacePos(int nodeId); /*
|
||||
ImNodes::GetNodeScreenSpacePos(nodeId);
|
||||
public static float getNodeScreenSpacePosX(final int nodeId) {
|
||||
return nGetNodeScreenSpacePosX(nodeId);
|
||||
}
|
||||
|
||||
public static float getNodeScreenSpacePosY(final int nodeId) {
|
||||
return nGetNodeScreenSpacePosY(nodeId);
|
||||
}
|
||||
|
||||
public static void getNodeScreenSpacePos(final ImVec2 dst, final int nodeId) {
|
||||
nGetNodeScreenSpacePos(dst, nodeId);
|
||||
}
|
||||
|
||||
private static native void nGetNodeScreenSpacePos(ImVec2 dst, int nodeId); /*
|
||||
Jni::ImVec2Cpy(env, ImNodes::GetNodeScreenSpacePos(nodeId), dst);
|
||||
*/
|
||||
|
||||
public static void getNodeEditorSpacePos(final int nodeId) {
|
||||
nGetNodeEditorSpacePos(nodeId);
|
||||
}
|
||||
|
||||
private static native void nGetNodeEditorSpacePos(int nodeId); /*
|
||||
ImNodes::GetNodeEditorSpacePos(nodeId);
|
||||
private static native float nGetNodeScreenSpacePosX(int nodeId); /*
|
||||
return ImNodes::GetNodeScreenSpacePos(nodeId).x;
|
||||
*/
|
||||
|
||||
public static void getNodeGridSpacePos(final int nodeId) {
|
||||
nGetNodeGridSpacePos(nodeId);
|
||||
private static native float nGetNodeScreenSpacePosY(int nodeId); /*
|
||||
return ImNodes::GetNodeScreenSpacePos(nodeId).y;
|
||||
*/
|
||||
|
||||
public static ImVec2 getNodeEditorSpacePos(final int nodeId) {
|
||||
final ImVec2 dst = new ImVec2();
|
||||
nGetNodeEditorSpacePos(dst, nodeId);
|
||||
return dst;
|
||||
}
|
||||
|
||||
private static native void nGetNodeGridSpacePos(int nodeId); /*
|
||||
ImNodes::GetNodeGridSpacePos(nodeId);
|
||||
public static float getNodeEditorSpacePosX(final int nodeId) {
|
||||
return nGetNodeEditorSpacePosX(nodeId);
|
||||
}
|
||||
|
||||
public static float getNodeEditorSpacePosY(final int nodeId) {
|
||||
return nGetNodeEditorSpacePosY(nodeId);
|
||||
}
|
||||
|
||||
public static void getNodeEditorSpacePos(final ImVec2 dst, final int nodeId) {
|
||||
nGetNodeEditorSpacePos(dst, nodeId);
|
||||
}
|
||||
|
||||
private static native void nGetNodeEditorSpacePos(ImVec2 dst, int nodeId); /*
|
||||
Jni::ImVec2Cpy(env, ImNodes::GetNodeEditorSpacePos(nodeId), dst);
|
||||
*/
|
||||
|
||||
private static native float nGetNodeEditorSpacePosX(int nodeId); /*
|
||||
return ImNodes::GetNodeEditorSpacePos(nodeId).x;
|
||||
*/
|
||||
|
||||
private static native float nGetNodeEditorSpacePosY(int nodeId); /*
|
||||
return ImNodes::GetNodeEditorSpacePos(nodeId).y;
|
||||
*/
|
||||
|
||||
public static ImVec2 getNodeGridSpacePos(final int nodeId) {
|
||||
final ImVec2 dst = new ImVec2();
|
||||
nGetNodeGridSpacePos(dst, nodeId);
|
||||
return dst;
|
||||
}
|
||||
|
||||
public static float getNodeGridSpacePosX(final int nodeId) {
|
||||
return nGetNodeGridSpacePosX(nodeId);
|
||||
}
|
||||
|
||||
public static float getNodeGridSpacePosY(final int nodeId) {
|
||||
return nGetNodeGridSpacePosY(nodeId);
|
||||
}
|
||||
|
||||
public static void getNodeGridSpacePos(final ImVec2 dst, final int nodeId) {
|
||||
nGetNodeGridSpacePos(dst, nodeId);
|
||||
}
|
||||
|
||||
private static native void nGetNodeGridSpacePos(ImVec2 dst, int nodeId); /*
|
||||
Jni::ImVec2Cpy(env, ImNodes::GetNodeGridSpacePos(nodeId), dst);
|
||||
*/
|
||||
|
||||
private static native float nGetNodeGridSpacePosX(int nodeId); /*
|
||||
return ImNodes::GetNodeGridSpacePos(nodeId).x;
|
||||
*/
|
||||
|
||||
private static native float nGetNodeGridSpacePosY(int nodeId); /*
|
||||
return ImNodes::GetNodeGridSpacePos(nodeId).y;
|
||||
*/
|
||||
|
||||
/**
|
||||
* Enable or disable grid snapping.
|
||||
*/
|
||||
public static void snapNodeToGrid(final int nodeId) {
|
||||
nSnapNodeToGrid(nodeId);
|
||||
}
|
||||
|
||||
private static native void nSnapNodeToGrid(int nodeId); /*
|
||||
ImNodes::SnapNodeToGrid(nodeId);
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -40,29 +40,31 @@ public final class ImNodesCol {
|
||||
|
||||
public static final int GridLine = 15;
|
||||
|
||||
public static final int MiniMapBackground = 16;
|
||||
public static final int GridLinePrimary = 16;
|
||||
|
||||
public static final int MiniMapBackgroundHovered = 17;
|
||||
public static final int MiniMapBackground = 17;
|
||||
|
||||
public static final int MiniMapOutline = 18;
|
||||
public static final int MiniMapBackgroundHovered = 18;
|
||||
|
||||
public static final int MiniMapOutlineHovered = 19;
|
||||
public static final int MiniMapOutline = 19;
|
||||
|
||||
public static final int MiniMapNodeBackground = 20;
|
||||
public static final int MiniMapOutlineHovered = 20;
|
||||
|
||||
public static final int MiniMapNodeBackgroundHovered = 21;
|
||||
public static final int MiniMapNodeBackground = 21;
|
||||
|
||||
public static final int MiniMapNodeBackgroundSelected = 22;
|
||||
public static final int MiniMapNodeBackgroundHovered = 22;
|
||||
|
||||
public static final int MiniMapNodeOutline = 23;
|
||||
public static final int MiniMapNodeBackgroundSelected = 23;
|
||||
|
||||
public static final int MiniMapLink = 24;
|
||||
public static final int MiniMapNodeOutline = 24;
|
||||
|
||||
public static final int MiniMapLinkSelected = 25;
|
||||
public static final int MiniMapLink = 25;
|
||||
|
||||
public static final int MiniMapCanvas = 26;
|
||||
public static final int MiniMapLinkSelected = 26;
|
||||
|
||||
public static final int MiniMapCanvasOutline = 27;
|
||||
public static final int MiniMapCanvas = 27;
|
||||
|
||||
public static final int COUNT = 28;
|
||||
public static final int MiniMapCanvasOutline = 28;
|
||||
|
||||
public static final int COUNT = 29;
|
||||
}
|
||||
@@ -19,4 +19,14 @@ public final class ImNodesStyleFlags {
|
||||
* Definition: {@code 1 << 2}
|
||||
*/
|
||||
public static final int GridLines = 4;
|
||||
|
||||
/**
|
||||
* Definition: {@code 1 << 3}
|
||||
*/
|
||||
public static final int GridLinesPrimary = 8;
|
||||
|
||||
/**
|
||||
* Definition: {@code 1 << 4}
|
||||
*/
|
||||
public static final int GridSnapping = 16;
|
||||
}
|
||||
@@ -78,13 +78,13 @@ public final class ImNodes {
|
||||
// Style presets matching the dear imgui styles of the same name.
|
||||
|
||||
@BindingMethod
|
||||
public static native void StyleColorsDark();
|
||||
public static native void StyleColorsDark(@OptArg ImNodesStyle style);
|
||||
|
||||
@BindingMethod
|
||||
public static native void StyleColorsClassic();
|
||||
public static native void StyleColorsClassic(@OptArg ImNodesStyle style);
|
||||
|
||||
@BindingMethod
|
||||
public static native void StyleColorsLight();
|
||||
public static native void StyleColorsLight(@OptArg ImNodesStyle style);
|
||||
|
||||
/**
|
||||
* The top-level function call. Call this before calling BeginNode/EndNode. Calling this function
|
||||
@@ -220,15 +220,21 @@ public final class ImNodes {
|
||||
|
||||
@BindingMethod
|
||||
public static native void SetNodeGridSpacePos(int nodeId, ImVec2 gridPos);
|
||||
|
||||
@BindingMethod
|
||||
public static native ImVec2 GetNodeScreenSpacePos(int nodeId);
|
||||
|
||||
@BindingMethod
|
||||
public static native void GetNodeScreenSpacePos(int nodeId);
|
||||
public static native ImVec2 GetNodeEditorSpacePos(int nodeId);
|
||||
|
||||
@BindingMethod
|
||||
public static native void GetNodeEditorSpacePos(int nodeId);
|
||||
public static native ImVec2 GetNodeGridSpacePos(int nodeId);
|
||||
|
||||
/**
|
||||
* Enable or disable grid snapping.
|
||||
*/
|
||||
@BindingMethod
|
||||
public static native void GetNodeGridSpacePos(int nodeId);
|
||||
public static native void SnapNodeToGrid(int nodeId);
|
||||
|
||||
/**
|
||||
* Returns true if the current node editor canvas is being hovered over by the mouse, and is not
|
||||
|
||||
+1
-1
Submodule include/imnodes updated: e563371cee...8563e1655b.
Reference in new issue
Block a user