Documentation ¶
Index ¶
- func ImNodesBeginInputAttribute(id int32)
- func ImNodesBeginInputAttributeV(id int32, shape NodesPinShape)
- func ImNodesBeginNode(id int32)
- func ImNodesBeginNodeEditor()
- func ImNodesBeginNodeTitleBar()
- func ImNodesBeginOutputAttribute(id int32)
- func ImNodesBeginOutputAttributeV(id int32, shape NodesPinShape)
- func ImNodesBeginStaticAttribute(id int32)
- func ImNodesClearLinkSelection()
- func ImNodesClearLinkSelectionInt(link_id int32)
- func ImNodesClearNodeSelection()
- func ImNodesClearNodeSelectionInt(node_id int32)
- func ImNodesDestroyContext()
- func ImNodesDestroyContextV(ctx *NodesContext)
- func ImNodesEditorContextFree(noname1 *NodesEditorContext)
- func ImNodesEditorContextGetPanning() imgui.Vec2
- func ImNodesEditorContextMoveToNode(node_id int32)
- func ImNodesEditorContextResetPanning(pos imgui.Vec2)
- func ImNodesEditorContextSet(noname1 *NodesEditorContext)
- func ImNodesEndInputAttribute()
- func ImNodesEndNode()
- func ImNodesEndNodeEditor()
- func ImNodesEndNodeTitleBar()
- func ImNodesEndOutputAttribute()
- func ImNodesEndStaticAttribute()
- func ImNodesGetNodeDimensions(id int32) imgui.Vec2
- func ImNodesGetNodeEditorSpacePos(node_id int32) imgui.Vec2
- func ImNodesGetNodeGridSpacePos(node_id int32) imgui.Vec2
- func ImNodesGetNodeScreenSpacePos(node_id int32) imgui.Vec2
- func ImNodesGetSelectedLinks(link_ids *int32)
- func ImNodesGetSelectedNodes(node_ids *int32)
- func ImNodesIsAnyAttributeActive() bool
- func ImNodesIsAnyAttributeActiveV(attribute_id *int32) bool
- func ImNodesIsAttributeActive() bool
- func ImNodesIsEditorHovered() bool
- func ImNodesIsLinkCreatedBoolPtr(started_at_attribute_id *int32, ended_at_attribute_id *int32) bool
- func ImNodesIsLinkCreatedBoolPtrV(started_at_attribute_id *int32, ended_at_attribute_id *int32, ...) bool
- func ImNodesIsLinkCreatedIntPtr(started_at_node_id *int32, started_at_attribute_id *int32, ...) bool
- func ImNodesIsLinkCreatedIntPtrV(started_at_node_id *int32, started_at_attribute_id *int32, ...) bool
- func ImNodesIsLinkDestroyed(link_id *int32) bool
- func ImNodesIsLinkDropped() bool
- func ImNodesIsLinkDroppedV(started_at_attribute_id *int32, including_detached_links bool) bool
- func ImNodesIsLinkHovered(link_id *int32) bool
- func ImNodesIsLinkSelected(link_id int32) bool
- func ImNodesIsLinkStarted(started_at_attribute_id *int32) bool
- func ImNodesIsNodeHovered(node_id *int32) bool
- func ImNodesIsNodeSelected(node_id int32) bool
- func ImNodesIsPinHovered(attribute_id *int32) bool
- func ImNodesLink(id int32, start_attribute_id int32, end_attribute_id int32)
- func ImNodesLoadCurrentEditorStateFromIniFile(file_name string)
- func ImNodesLoadCurrentEditorStateFromIniString(data string, data_size uint64)
- func ImNodesLoadEditorStateFromIniFile(editor *NodesEditorContext, file_name string)
- func ImNodesLoadEditorStateFromIniString(editor *NodesEditorContext, data string, data_size uint64)
- func ImNodesMiniMap()
- func ImNodesNumSelectedLinks() int32
- func ImNodesNumSelectedNodes() int32
- func ImNodesPopAttributeFlag()
- func ImNodesPopColorStyle()
- func ImNodesPopStyleVar()
- func ImNodesPopStyleVarV(count int32)
- func ImNodesPushAttributeFlag(flag NodesAttributeFlags)
- func ImNodesPushColorStyle(item NodesCol, color uint32)
- func ImNodesPushStyleVarFloat(style_item NodesStyleVar, value float32)
- func ImNodesPushStyleVarVec2(style_item NodesStyleVar, value imgui.Vec2)
- func ImNodesSaveCurrentEditorStateToIniFile(file_name string)
- func ImNodesSaveCurrentEditorStateToIniString() string
- func ImNodesSaveCurrentEditorStateToIniStringV(data_size *uint64) string
- func ImNodesSaveEditorStateToIniFile(editor *NodesEditorContext, file_name string)
- func ImNodesSaveEditorStateToIniString(editor *NodesEditorContext) string
- func ImNodesSaveEditorStateToIniStringV(editor *NodesEditorContext, data_size *uint64) string
- func ImNodesSelectLink(link_id int32)
- func ImNodesSelectNode(node_id int32)
- func ImNodesSetCurrentContext(ctx *NodesContext)
- func ImNodesSetImGuiContext(ctx *imgui.Context)
- func ImNodesSetNodeDraggable(node_id int32, draggable bool)
- func ImNodesSetNodeEditorSpacePos(node_id int32, editor_space_pos imgui.Vec2)
- func ImNodesSetNodeGridSpacePos(node_id int32, grid_pos imgui.Vec2)
- func ImNodesSetNodeScreenSpacePos(node_id int32, screen_space_pos imgui.Vec2)
- func ImNodesSnapNodeToGrid(node_id int32)
- func ImNodesStyleColorsClassic()
- func ImNodesStyleColorsClassicV(dest *NodesStyle)
- func ImNodesStyleColorsDark()
- func ImNodesStyleColorsDarkV(dest *NodesStyle)
- func ImNodesStyleColorsLight()
- func ImNodesStyleColorsLightV(dest *NodesStyle)
- type EmulateThreeButtonMouse
- func (self EmulateThreeButtonMouse) C() (C.EmulateThreeButtonMouse, func())
- func (self *EmulateThreeButtonMouse) Destroy()
- func (self *EmulateThreeButtonMouse) Handle() (result *C.EmulateThreeButtonMouse, fin func())
- func (self *EmulateThreeButtonMouse) Modifier() *bool
- func (self EmulateThreeButtonMouse) SetModifier(v *bool)
- type LinkDetachWithModifierClick
- func (self LinkDetachWithModifierClick) C() (C.LinkDetachWithModifierClick, func())
- func (self *LinkDetachWithModifierClick) Destroy()
- func (self *LinkDetachWithModifierClick) Handle() (result *C.LinkDetachWithModifierClick, fin func())
- func (self *LinkDetachWithModifierClick) Modifier() *bool
- func (self LinkDetachWithModifierClick) SetModifier(v *bool)
- type MultipleSelectModifier
- func (self MultipleSelectModifier) C() (C.MultipleSelectModifier, func())
- func (self *MultipleSelectModifier) Destroy()
- func (self *MultipleSelectModifier) Handle() (result *C.MultipleSelectModifier, fin func())
- func (self *MultipleSelectModifier) Modifier() *bool
- func (self MultipleSelectModifier) SetModifier(v *bool)
- type NodesAttributeFlags
- type NodesCol
- type NodesContext
- type NodesEditorContext
- type NodesIO
- func (self *NodesIO) AltMouseButton() int32
- func (self *NodesIO) AutoPanningSpeed() float32
- func (self NodesIO) C() (C.ImNodesIO, func())
- func (self *NodesIO) Destroy()
- func (self *NodesIO) EmulateThreeButtonMouse() EmulateThreeButtonMouse
- func (self *NodesIO) Handle() (result *C.ImNodesIO, fin func())
- func (self *NodesIO) LinkDetachWithModifierClick() LinkDetachWithModifierClick
- func (self *NodesIO) MultipleSelectModifier() MultipleSelectModifier
- func (self NodesIO) SetAltMouseButton(v int32)
- func (self NodesIO) SetAutoPanningSpeed(v float32)
- func (self NodesIO) SetEmulateThreeButtonMouse(v EmulateThreeButtonMouse)
- func (self NodesIO) SetLinkDetachWithModifierClick(v LinkDetachWithModifierClick)
- func (self NodesIO) SetMultipleSelectModifier(v MultipleSelectModifier)
- type NodesMiniMapLocation
- type NodesMiniMapNodeHoveringCallbackUserData
- type NodesPinShape
- type NodesStyle
- func (self NodesStyle) C() (C.ImNodesStyle, func())
- func (self *NodesStyle) Colors() [29]uint32
- func (self *NodesStyle) Destroy()
- func (self *NodesStyle) Flags() NodesStyleFlags
- func (self *NodesStyle) GridSpacing() float32
- func (self *NodesStyle) Handle() (result *C.ImNodesStyle, fin func())
- func (self *NodesStyle) LinkHoverDistance() float32
- func (self *NodesStyle) LinkLineSegmentsPerLength() float32
- func (self *NodesStyle) LinkThickness() float32
- func (self *NodesStyle) MiniMapOffset() imgui.Vec2
- func (self *NodesStyle) MiniMapPadding() imgui.Vec2
- func (self *NodesStyle) NodeBorderThickness() float32
- func (self *NodesStyle) NodeCornerRounding() float32
- func (self *NodesStyle) NodePadding() imgui.Vec2
- func (self *NodesStyle) PinCircleRadius() float32
- func (self *NodesStyle) PinHoverRadius() float32
- func (self *NodesStyle) PinLineThickness() float32
- func (self *NodesStyle) PinOffset() float32
- func (self *NodesStyle) PinQuadSideLength() float32
- func (self *NodesStyle) PinTriangleSideLength() float32
- func (self NodesStyle) SetColors(v *[29]uint32)
- func (self NodesStyle) SetFlags(v NodesStyleFlags)
- func (self NodesStyle) SetGridSpacing(v float32)
- func (self NodesStyle) SetLinkHoverDistance(v float32)
- func (self NodesStyle) SetLinkLineSegmentsPerLength(v float32)
- func (self NodesStyle) SetLinkThickness(v float32)
- func (self NodesStyle) SetMiniMapOffset(v imgui.Vec2)
- func (self NodesStyle) SetMiniMapPadding(v imgui.Vec2)
- func (self NodesStyle) SetNodeBorderThickness(v float32)
- func (self NodesStyle) SetNodeCornerRounding(v float32)
- func (self NodesStyle) SetNodePadding(v imgui.Vec2)
- func (self NodesStyle) SetPinCircleRadius(v float32)
- func (self NodesStyle) SetPinHoverRadius(v float32)
- func (self NodesStyle) SetPinLineThickness(v float32)
- func (self NodesStyle) SetPinOffset(v float32)
- func (self NodesStyle) SetPinQuadSideLength(v float32)
- func (self NodesStyle) SetPinTriangleSideLength(v float32)
- type NodesStyleFlags
- type NodesStyleVar
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImNodesBeginInputAttribute ¶
func ImNodesBeginInputAttribute(id int32)
func ImNodesBeginInputAttributeV ¶
func ImNodesBeginInputAttributeV(id int32, shape NodesPinShape)
ImNodesBeginInputAttributeV parameter default value hint: shape: ImNodesPinShape_CircleFilled
func ImNodesBeginNode ¶
func ImNodesBeginNode(id int32)
func ImNodesBeginNodeEditor ¶
func ImNodesBeginNodeEditor()
func ImNodesBeginNodeTitleBar ¶
func ImNodesBeginNodeTitleBar()
func ImNodesBeginOutputAttribute ¶
func ImNodesBeginOutputAttribute(id int32)
func ImNodesBeginOutputAttributeV ¶
func ImNodesBeginOutputAttributeV(id int32, shape NodesPinShape)
ImNodesBeginOutputAttributeV parameter default value hint: shape: ImNodesPinShape_CircleFilled
func ImNodesBeginStaticAttribute ¶
func ImNodesBeginStaticAttribute(id int32)
func ImNodesClearLinkSelection ¶
func ImNodesClearLinkSelection()
func ImNodesClearLinkSelectionInt ¶
func ImNodesClearLinkSelectionInt(link_id int32)
func ImNodesClearNodeSelection ¶
func ImNodesClearNodeSelection()
func ImNodesClearNodeSelectionInt ¶
func ImNodesClearNodeSelectionInt(node_id int32)
func ImNodesDestroyContext ¶
func ImNodesDestroyContext()
func ImNodesDestroyContextV ¶
func ImNodesDestroyContextV(ctx *NodesContext)
ImNodesDestroyContextV parameter default value hint: ctx: NULL
func ImNodesEditorContextFree ¶
func ImNodesEditorContextFree(noname1 *NodesEditorContext)
func ImNodesEditorContextMoveToNode ¶
func ImNodesEditorContextMoveToNode(node_id int32)
func ImNodesEditorContextSet ¶
func ImNodesEditorContextSet(noname1 *NodesEditorContext)
func ImNodesEndInputAttribute ¶
func ImNodesEndInputAttribute()
func ImNodesEndNode ¶
func ImNodesEndNode()
func ImNodesEndNodeEditor ¶
func ImNodesEndNodeEditor()
func ImNodesEndNodeTitleBar ¶
func ImNodesEndNodeTitleBar()
func ImNodesEndOutputAttribute ¶
func ImNodesEndOutputAttribute()
func ImNodesEndStaticAttribute ¶
func ImNodesEndStaticAttribute()
func ImNodesGetSelectedLinks ¶
func ImNodesGetSelectedLinks(link_ids *int32)
func ImNodesGetSelectedNodes ¶
func ImNodesGetSelectedNodes(node_ids *int32)
func ImNodesIsAnyAttributeActive ¶
func ImNodesIsAnyAttributeActive() bool
func ImNodesIsAnyAttributeActiveV ¶
ImNodesIsAnyAttributeActiveV parameter default value hint: attribute_id: NULL
func ImNodesIsAttributeActive ¶
func ImNodesIsAttributeActive() bool
func ImNodesIsEditorHovered ¶
func ImNodesIsEditorHovered() bool
func ImNodesIsLinkCreatedBoolPtrV ¶
func ImNodesIsLinkCreatedBoolPtrV(started_at_attribute_id *int32, ended_at_attribute_id *int32, created_from_snap *bool) bool
ImNodesIsLinkCreatedBoolPtrV parameter default value hint: created_from_snap: NULL
func ImNodesIsLinkCreatedIntPtrV ¶
func ImNodesIsLinkCreatedIntPtrV(started_at_node_id *int32, started_at_attribute_id *int32, ended_at_node_id *int32, ended_at_attribute_id *int32, created_from_snap *bool) bool
ImNodesIsLinkCreatedIntPtrV parameter default value hint: created_from_snap: NULL
func ImNodesIsLinkDestroyed ¶
func ImNodesIsLinkDropped ¶
func ImNodesIsLinkDropped() bool
func ImNodesIsLinkDroppedV ¶
ImNodesIsLinkDroppedV parameter default value hint: started_at_attribute_id: NULL including_detached_links: true
func ImNodesIsLinkHovered ¶
func ImNodesIsLinkSelected ¶
func ImNodesIsLinkStarted ¶
func ImNodesIsNodeHovered ¶
func ImNodesIsNodeSelected ¶
func ImNodesIsPinHovered ¶
func ImNodesLink ¶
func ImNodesLoadCurrentEditorStateFromIniFile ¶
func ImNodesLoadCurrentEditorStateFromIniFile(file_name string)
func ImNodesLoadEditorStateFromIniFile ¶
func ImNodesLoadEditorStateFromIniFile(editor *NodesEditorContext, file_name string)
func ImNodesLoadEditorStateFromIniString ¶
func ImNodesLoadEditorStateFromIniString(editor *NodesEditorContext, data string, data_size uint64)
func ImNodesMiniMap ¶
func ImNodesMiniMap()
func ImNodesNumSelectedLinks ¶
func ImNodesNumSelectedLinks() int32
func ImNodesNumSelectedNodes ¶
func ImNodesNumSelectedNodes() int32
func ImNodesPopAttributeFlag ¶
func ImNodesPopAttributeFlag()
func ImNodesPopColorStyle ¶
func ImNodesPopColorStyle()
func ImNodesPopStyleVar ¶
func ImNodesPopStyleVar()
func ImNodesPopStyleVarV ¶
func ImNodesPopStyleVarV(count int32)
ImNodesPopStyleVarV parameter default value hint: count: 1
func ImNodesPushAttributeFlag ¶
func ImNodesPushAttributeFlag(flag NodesAttributeFlags)
func ImNodesPushColorStyle ¶
func ImNodesPushStyleVarFloat ¶
func ImNodesPushStyleVarFloat(style_item NodesStyleVar, value float32)
func ImNodesPushStyleVarVec2 ¶
func ImNodesPushStyleVarVec2(style_item NodesStyleVar, value imgui.Vec2)
func ImNodesSaveCurrentEditorStateToIniFile ¶
func ImNodesSaveCurrentEditorStateToIniFile(file_name string)
func ImNodesSaveCurrentEditorStateToIniString ¶
func ImNodesSaveCurrentEditorStateToIniString() string
func ImNodesSaveCurrentEditorStateToIniStringV ¶
ImNodesSaveCurrentEditorStateToIniStringV parameter default value hint: data_size: NULL
func ImNodesSaveEditorStateToIniFile ¶
func ImNodesSaveEditorStateToIniFile(editor *NodesEditorContext, file_name string)
func ImNodesSaveEditorStateToIniString ¶
func ImNodesSaveEditorStateToIniString(editor *NodesEditorContext) string
func ImNodesSaveEditorStateToIniStringV ¶
func ImNodesSaveEditorStateToIniStringV(editor *NodesEditorContext, data_size *uint64) string
ImNodesSaveEditorStateToIniStringV parameter default value hint: data_size: NULL
func ImNodesSelectLink ¶
func ImNodesSelectLink(link_id int32)
func ImNodesSelectNode ¶
func ImNodesSelectNode(node_id int32)
func ImNodesSetCurrentContext ¶
func ImNodesSetCurrentContext(ctx *NodesContext)
func ImNodesSetImGuiContext ¶
func ImNodesSetNodeDraggable ¶
func ImNodesSnapNodeToGrid ¶
func ImNodesSnapNodeToGrid(node_id int32)
func ImNodesStyleColorsClassic ¶
func ImNodesStyleColorsClassic()
func ImNodesStyleColorsClassicV ¶
func ImNodesStyleColorsClassicV(dest *NodesStyle)
ImNodesStyleColorsClassicV parameter default value hint: dest: NULL
func ImNodesStyleColorsDark ¶
func ImNodesStyleColorsDark()
func ImNodesStyleColorsDarkV ¶
func ImNodesStyleColorsDarkV(dest *NodesStyle)
ImNodesStyleColorsDarkV parameter default value hint: dest: NULL
func ImNodesStyleColorsLight ¶
func ImNodesStyleColorsLight()
func ImNodesStyleColorsLightV ¶
func ImNodesStyleColorsLightV(dest *NodesStyle)
ImNodesStyleColorsLightV parameter default value hint: dest: NULL
Types ¶
type EmulateThreeButtonMouse ¶
type EmulateThreeButtonMouse struct {
CData *C.EmulateThreeButtonMouse
}
func NewEmulateThreeButtonMouse ¶
func NewEmulateThreeButtonMouse() *EmulateThreeButtonMouse
func NewEmulateThreeButtonMouseFromC ¶
func NewEmulateThreeButtonMouseFromC[SRC any](cvalue SRC) *EmulateThreeButtonMouse
NewEmulateThreeButtonMouseFromC creates EmulateThreeButtonMouse from its C pointer. SRC ~= *C.EmulateThreeButtonMouse
func (EmulateThreeButtonMouse) C ¶
func (self EmulateThreeButtonMouse) C() (C.EmulateThreeButtonMouse, func())
C is like Handle but returns plain type instead of pointer.
func (*EmulateThreeButtonMouse) Destroy ¶
func (self *EmulateThreeButtonMouse) Destroy()
func (*EmulateThreeButtonMouse) Handle ¶
func (self *EmulateThreeButtonMouse) Handle() (result *C.EmulateThreeButtonMouse, fin func())
Handle returns C version of EmulateThreeButtonMouse and its finalizer func.
func (*EmulateThreeButtonMouse) Modifier ¶
func (self *EmulateThreeButtonMouse) Modifier() *bool
func (EmulateThreeButtonMouse) SetModifier ¶
func (self EmulateThreeButtonMouse) SetModifier(v *bool)
type LinkDetachWithModifierClick ¶
type LinkDetachWithModifierClick struct {
CData *C.LinkDetachWithModifierClick
}
func NewLinkDetachWithModifierClick ¶
func NewLinkDetachWithModifierClick() *LinkDetachWithModifierClick
func NewLinkDetachWithModifierClickFromC ¶
func NewLinkDetachWithModifierClickFromC[SRC any](cvalue SRC) *LinkDetachWithModifierClick
NewLinkDetachWithModifierClickFromC creates LinkDetachWithModifierClick from its C pointer. SRC ~= *C.LinkDetachWithModifierClick
func (LinkDetachWithModifierClick) C ¶
func (self LinkDetachWithModifierClick) C() (C.LinkDetachWithModifierClick, func())
C is like Handle but returns plain type instead of pointer.
func (*LinkDetachWithModifierClick) Destroy ¶
func (self *LinkDetachWithModifierClick) Destroy()
func (*LinkDetachWithModifierClick) Handle ¶
func (self *LinkDetachWithModifierClick) Handle() (result *C.LinkDetachWithModifierClick, fin func())
Handle returns C version of LinkDetachWithModifierClick and its finalizer func.
func (*LinkDetachWithModifierClick) Modifier ¶
func (self *LinkDetachWithModifierClick) Modifier() *bool
func (LinkDetachWithModifierClick) SetModifier ¶
func (self LinkDetachWithModifierClick) SetModifier(v *bool)
type MultipleSelectModifier ¶
type MultipleSelectModifier struct {
CData *C.MultipleSelectModifier
}
func NewMultipleSelectModifier ¶
func NewMultipleSelectModifier() *MultipleSelectModifier
func NewMultipleSelectModifierFromC ¶
func NewMultipleSelectModifierFromC[SRC any](cvalue SRC) *MultipleSelectModifier
NewMultipleSelectModifierFromC creates MultipleSelectModifier from its C pointer. SRC ~= *C.MultipleSelectModifier
func (MultipleSelectModifier) C ¶
func (self MultipleSelectModifier) C() (C.MultipleSelectModifier, func())
C is like Handle but returns plain type instead of pointer.
func (*MultipleSelectModifier) Destroy ¶
func (self *MultipleSelectModifier) Destroy()
func (*MultipleSelectModifier) Handle ¶
func (self *MultipleSelectModifier) Handle() (result *C.MultipleSelectModifier, fin func())
Handle returns C version of MultipleSelectModifier and its finalizer func.
func (*MultipleSelectModifier) Modifier ¶
func (self *MultipleSelectModifier) Modifier() *bool
func (MultipleSelectModifier) SetModifier ¶
func (self MultipleSelectModifier) SetModifier(v *bool)
type NodesAttributeFlags ¶
type NodesAttributeFlags int32
original name: ImNodesAttributeFlags_
const ( NodesAttributeFlagsNone NodesAttributeFlags = 0 NodesAttributeFlagsEnableLinkDetachWithDragClick NodesAttributeFlags = 1 NodesAttributeFlagsEnableLinkCreationOnSnap NodesAttributeFlags = 2 )
type NodesCol ¶
type NodesCol int32
original name: ImNodesCol_
const ( NodesColNodeBackground NodesCol = 0 NodesColNodeBackgroundHovered NodesCol = 1 NodesColNodeBackgroundSelected NodesCol = 2 NodesColNodeOutline NodesCol = 3 NodesColTitleBar NodesCol = 4 NodesColTitleBarHovered NodesCol = 5 NodesColTitleBarSelected NodesCol = 6 NodesColLink NodesCol = 7 NodesColLinkHovered NodesCol = 8 NodesColLinkSelected NodesCol = 9 NodesColPin NodesCol = 10 NodesColPinHovered NodesCol = 11 NodesColBoxSelector NodesCol = 12 NodesColBoxSelectorOutline NodesCol = 13 NodesColGridBackground NodesCol = 14 NodesColGridLine NodesCol = 15 NodesColGridLinePrimary NodesCol = 16 NodesColMiniMapBackground NodesCol = 17 NodesColMiniMapBackgroundHovered NodesCol = 18 NodesColMiniMapOutline NodesCol = 19 NodesColMiniMapOutlineHovered NodesCol = 20 NodesColMiniMapNodeBackground NodesCol = 21 NodesColMiniMapNodeBackgroundHovered NodesCol = 22 NodesColMiniMapNodeBackgroundSelected NodesCol = 23 NodesColMiniMapNodeOutline NodesCol = 24 NodesColMiniMapLink NodesCol = 25 NodesColMiniMapLinkSelected NodesCol = 26 NodesColMiniMapCanvas NodesCol = 27 NodesColMiniMapCanvasOutline NodesCol = 28 NodesColCOUNT NodesCol = 29 )
type NodesContext ¶
type NodesContext struct {
CData *C.ImNodesContext
}
func ImNodesCreateContext ¶
func ImNodesCreateContext() *NodesContext
func ImNodesGetCurrentContext ¶
func ImNodesGetCurrentContext() *NodesContext
func NewNodesContextFromC ¶
func NewNodesContextFromC[SRC any](cvalue SRC) *NodesContext
NewNodesContextFromC creates NodesContext from its C pointer. SRC ~= *C.ImNodesContext
func (*NodesContext) Handle ¶
func (self *NodesContext) Handle() (result *C.ImNodesContext, fin func())
Handle returns C version of NodesContext and its finalizer func.
type NodesEditorContext ¶
type NodesEditorContext struct {
CData *C.ImNodesEditorContext
}
func ImNodesEditorContextCreate ¶
func ImNodesEditorContextCreate() *NodesEditorContext
func NewNodesEditorContextFromC ¶
func NewNodesEditorContextFromC[SRC any](cvalue SRC) *NodesEditorContext
NewNodesEditorContextFromC creates NodesEditorContext from its C pointer. SRC ~= *C.ImNodesEditorContext
func (*NodesEditorContext) Handle ¶
func (self *NodesEditorContext) Handle() (result *C.ImNodesEditorContext, fin func())
Handle returns C version of NodesEditorContext and its finalizer func.
type NodesIO ¶
func ImNodesGetIO ¶
func ImNodesGetIO() *NodesIO
func NewNodesIO ¶
func NewNodesIO() *NodesIO
func NewNodesIOFromC ¶
NewNodesIOFromC creates NodesIO from its C pointer. SRC ~= *C.ImNodesIO
func (*NodesIO) AltMouseButton ¶
func (*NodesIO) AutoPanningSpeed ¶
func (*NodesIO) EmulateThreeButtonMouse ¶
func (self *NodesIO) EmulateThreeButtonMouse() EmulateThreeButtonMouse
func (*NodesIO) LinkDetachWithModifierClick ¶
func (self *NodesIO) LinkDetachWithModifierClick() LinkDetachWithModifierClick
func (*NodesIO) MultipleSelectModifier ¶
func (self *NodesIO) MultipleSelectModifier() MultipleSelectModifier
func (NodesIO) SetAltMouseButton ¶
func (NodesIO) SetAutoPanningSpeed ¶
func (NodesIO) SetEmulateThreeButtonMouse ¶
func (self NodesIO) SetEmulateThreeButtonMouse(v EmulateThreeButtonMouse)
func (NodesIO) SetLinkDetachWithModifierClick ¶
func (self NodesIO) SetLinkDetachWithModifierClick(v LinkDetachWithModifierClick)
func (NodesIO) SetMultipleSelectModifier ¶
func (self NodesIO) SetMultipleSelectModifier(v MultipleSelectModifier)
type NodesMiniMapLocation ¶
type NodesMiniMapLocation int32
original name: ImNodesMiniMapLocation_
const ( NodesMiniMapLocationBottomLeft NodesMiniMapLocation = 0 NodesMiniMapLocationBottomRight NodesMiniMapLocation = 1 NodesMiniMapLocationTopLeft NodesMiniMapLocation = 2 NodesMiniMapLocationTopRight NodesMiniMapLocation = 3 )
type NodesMiniMapNodeHoveringCallbackUserData ¶
type NodesMiniMapNodeHoveringCallbackUserData struct {
Data uintptr
}
func NewNodesMiniMapNodeHoveringCallbackUserDataFromC ¶
func NewNodesMiniMapNodeHoveringCallbackUserDataFromC[SRC any](cvalue SRC) *NodesMiniMapNodeHoveringCallbackUserData
NewNodesMiniMapNodeHoveringCallbackUserDataFromC creates NodesMiniMapNodeHoveringCallbackUserData from its C pointer. SRC ~= *C.ImNodesMiniMapNodeHoveringCallbackUserData
func (NodesMiniMapNodeHoveringCallbackUserData) C ¶
func (self NodesMiniMapNodeHoveringCallbackUserData) C() (C.ImNodesMiniMapNodeHoveringCallbackUserData, func())
C is like Handle but returns plain type instead of pointer.
func (*NodesMiniMapNodeHoveringCallbackUserData) Handle ¶
func (self *NodesMiniMapNodeHoveringCallbackUserData) Handle() (result *C.ImNodesMiniMapNodeHoveringCallbackUserData, fin func())
Handle returns C version of NodesMiniMapNodeHoveringCallbackUserData and its finalizer func.
type NodesPinShape ¶
type NodesPinShape int32
original name: ImNodesPinShape_
const ( NodesPinShapeCircle NodesPinShape = 0 NodesPinShapeCircleFilled NodesPinShape = 1 NodesPinShapeTriangle NodesPinShape = 2 NodesPinShapeTriangleFilled NodesPinShape = 3 NodesPinShapeQuad NodesPinShape = 4 NodesPinShapeQuadFilled NodesPinShape = 5 )
type NodesStyle ¶
type NodesStyle struct {
CData *C.ImNodesStyle
}
func ImNodesGetStyle ¶
func ImNodesGetStyle() *NodesStyle
func NewNodesStyle ¶
func NewNodesStyle() *NodesStyle
func NewNodesStyleFromC ¶
func NewNodesStyleFromC[SRC any](cvalue SRC) *NodesStyle
NewNodesStyleFromC creates NodesStyle from its C pointer. SRC ~= *C.ImNodesStyle
func (NodesStyle) C ¶
func (self NodesStyle) C() (C.ImNodesStyle, func())
C is like Handle but returns plain type instead of pointer.
func (*NodesStyle) Colors ¶
func (self *NodesStyle) Colors() [29]uint32
func (*NodesStyle) Destroy ¶
func (self *NodesStyle) Destroy()
func (*NodesStyle) Flags ¶
func (self *NodesStyle) Flags() NodesStyleFlags
func (*NodesStyle) GridSpacing ¶
func (self *NodesStyle) GridSpacing() float32
func (*NodesStyle) Handle ¶
func (self *NodesStyle) Handle() (result *C.ImNodesStyle, fin func())
Handle returns C version of NodesStyle and its finalizer func.
func (*NodesStyle) LinkHoverDistance ¶
func (self *NodesStyle) LinkHoverDistance() float32
func (*NodesStyle) LinkLineSegmentsPerLength ¶
func (self *NodesStyle) LinkLineSegmentsPerLength() float32
func (*NodesStyle) LinkThickness ¶
func (self *NodesStyle) LinkThickness() float32
func (*NodesStyle) MiniMapOffset ¶
func (self *NodesStyle) MiniMapOffset() imgui.Vec2
func (*NodesStyle) MiniMapPadding ¶
func (self *NodesStyle) MiniMapPadding() imgui.Vec2
func (*NodesStyle) NodeBorderThickness ¶
func (self *NodesStyle) NodeBorderThickness() float32
func (*NodesStyle) NodeCornerRounding ¶
func (self *NodesStyle) NodeCornerRounding() float32
func (*NodesStyle) NodePadding ¶
func (self *NodesStyle) NodePadding() imgui.Vec2
func (*NodesStyle) PinCircleRadius ¶
func (self *NodesStyle) PinCircleRadius() float32
func (*NodesStyle) PinHoverRadius ¶
func (self *NodesStyle) PinHoverRadius() float32
func (*NodesStyle) PinLineThickness ¶
func (self *NodesStyle) PinLineThickness() float32
func (*NodesStyle) PinOffset ¶
func (self *NodesStyle) PinOffset() float32
func (*NodesStyle) PinQuadSideLength ¶
func (self *NodesStyle) PinQuadSideLength() float32
func (*NodesStyle) PinTriangleSideLength ¶
func (self *NodesStyle) PinTriangleSideLength() float32
func (NodesStyle) SetColors ¶
func (self NodesStyle) SetColors(v *[29]uint32)
func (NodesStyle) SetFlags ¶
func (self NodesStyle) SetFlags(v NodesStyleFlags)
func (NodesStyle) SetGridSpacing ¶
func (self NodesStyle) SetGridSpacing(v float32)
func (NodesStyle) SetLinkHoverDistance ¶
func (self NodesStyle) SetLinkHoverDistance(v float32)
func (NodesStyle) SetLinkLineSegmentsPerLength ¶
func (self NodesStyle) SetLinkLineSegmentsPerLength(v float32)
func (NodesStyle) SetLinkThickness ¶
func (self NodesStyle) SetLinkThickness(v float32)
func (NodesStyle) SetMiniMapOffset ¶
func (self NodesStyle) SetMiniMapOffset(v imgui.Vec2)
func (NodesStyle) SetMiniMapPadding ¶
func (self NodesStyle) SetMiniMapPadding(v imgui.Vec2)
func (NodesStyle) SetNodeBorderThickness ¶
func (self NodesStyle) SetNodeBorderThickness(v float32)
func (NodesStyle) SetNodeCornerRounding ¶
func (self NodesStyle) SetNodeCornerRounding(v float32)
func (NodesStyle) SetNodePadding ¶
func (self NodesStyle) SetNodePadding(v imgui.Vec2)
func (NodesStyle) SetPinCircleRadius ¶
func (self NodesStyle) SetPinCircleRadius(v float32)
func (NodesStyle) SetPinHoverRadius ¶
func (self NodesStyle) SetPinHoverRadius(v float32)
func (NodesStyle) SetPinLineThickness ¶
func (self NodesStyle) SetPinLineThickness(v float32)
func (NodesStyle) SetPinOffset ¶
func (self NodesStyle) SetPinOffset(v float32)
func (NodesStyle) SetPinQuadSideLength ¶
func (self NodesStyle) SetPinQuadSideLength(v float32)
func (NodesStyle) SetPinTriangleSideLength ¶
func (self NodesStyle) SetPinTriangleSideLength(v float32)
type NodesStyleFlags ¶
type NodesStyleFlags int32
original name: ImNodesStyleFlags_
const ( NodesStyleFlagsNone NodesStyleFlags = 0 NodesStyleFlagsNodeOutline NodesStyleFlags = 1 NodesStyleFlagsGridLines NodesStyleFlags = 4 NodesStyleFlagsGridLinesPrimary NodesStyleFlags = 8 NodesStyleFlagsGridSnapping NodesStyleFlags = 16 )
type NodesStyleVar ¶
type NodesStyleVar int32
original name: ImNodesStyleVar_
const ( NodesStyleVarGridSpacing NodesStyleVar = 0 NodesStyleVarNodeCornerRounding NodesStyleVar = 1 NodesStyleVarNodePadding NodesStyleVar = 2 NodesStyleVarNodeBorderThickness NodesStyleVar = 3 NodesStyleVarLinkThickness NodesStyleVar = 4 NodesStyleVarLinkLineSegmentsPerLength NodesStyleVar = 5 NodesStyleVarLinkHoverDistance NodesStyleVar = 6 NodesStyleVarPinCircleRadius NodesStyleVar = 7 NodesStyleVarPinQuadSideLength NodesStyleVar = 8 NodesStyleVarPinTriangleSideLength NodesStyleVar = 9 NodesStyleVarPinLineThickness NodesStyleVar = 10 NodesStyleVarPinHoverRadius NodesStyleVar = 11 NodesStyleVarPinOffset NodesStyleVar = 12 NodesStyleVarMiniMapPadding NodesStyleVar = 13 NodesStyleVarMiniMapOffset NodesStyleVar = 14 NodesStyleVarCOUNT NodesStyleVar = 15 )