Documentation
¶
Index ¶
- func AlignTextToFramePadding()
- func ArrowButton(str_id string, dir Dir) bool
- func Begin(name string) bool
- func BeginChildID(id ID) bool
- func BeginChildIDV(id ID, size Vec2, child_flags ChildFlags, window_flags WindowFlags) bool
- func BeginChildStr(str_id string) bool
- func BeginChildStrV(str_id string, size Vec2, child_flags ChildFlags, window_flags WindowFlags) bool
- func BeginCombo(label, preview_value string) bool
- func BeginComboV(label, preview_value string, flags ComboFlags) bool
- func BeginDisabled()
- func BeginDisabledV(disabled bool)
- func BeginDragDropSource() bool
- func BeginDragDropSourceV(flags DragDropFlags) bool
- func BeginDragDropTarget() bool
- func BeginGroup()
- func BeginItemTooltip() bool
- func BeginListBox(label string) bool
- func BeginListBoxV(label string, size Vec2) bool
- func BeginMainMenuBar() bool
- func BeginMenu(label string) bool
- func BeginMenuBar() bool
- func BeginMenuV(label string, enabled bool) bool
- func BeginPopup(str_id string) bool
- func BeginPopupContextItem() bool
- func BeginPopupContextItemV(str_id string, popup_flags PopupFlags) bool
- func BeginPopupContextVoid() bool
- func BeginPopupContextVoidV(str_id string, popup_flags PopupFlags) bool
- func BeginPopupContextWindow() bool
- func BeginPopupContextWindowV(str_id string, popup_flags PopupFlags) bool
- func BeginPopupModal(name string) bool
- func BeginPopupModalV(name string, p_open *bool, flags WindowFlags) bool
- func BeginPopupV(str_id string, flags WindowFlags) bool
- func BeginTabBar(str_id string) bool
- func BeginTabBarV(str_id string, flags TabBarFlags) bool
- func BeginTabItem(label string) bool
- func BeginTabItemV(label string, p_open *bool, flags TabItemFlags) bool
- func BeginTable(str_id string, columns int32) bool
- func BeginTableV(str_id string, columns int32, flags TableFlags, outer_size Vec2, ...) bool
- func BeginTooltip() bool
- func BeginV(name string, p_open *bool, flags WindowFlags) bool
- func Bullet()
- func BulletText(fmt string)
- func Button(label string) bool
- func ButtonV(label string, size Vec2) bool
- func CalcItemWidth() float32
- func Checkbox(label string, v *bool) bool
- func CheckboxFlagsIntPtr(label string, flags *int32, flags_value int32) bool
- func CheckboxFlagsUintPtr(label string, flags *uint32, flags_value uint32) bool
- func ClearContextHookCallbackPool()
- func ClearDemoMarkerCallbackPool()
- func ClearDrawCallbackPool()
- func ClearErrorCallbackPool()
- func ClearMemAllocFuncPool()
- func ClearMemFreeFuncPool()
- func ClearSizeCallbackPool()
- func ClipboardText() string
- func CloseCurrentPopup()
- func CollapsingHeaderBoolPtr(label string, p_visible *bool) bool
- func CollapsingHeaderBoolPtrV(label string, p_visible *bool, flags TreeNodeFlags) bool
- func CollapsingHeaderTreeNodeFlags(label string) bool
- func CollapsingHeaderTreeNodeFlagsV(label string, flags TreeNodeFlags) bool
- func ColorButton(desc_id string, col Vec4) bool
- func ColorButtonV(desc_id string, col Vec4, flags ColorEditFlags, size Vec2) bool
- func ColorConvertFloat4ToU32(in Vec4) uint32
- func ColorConvertHSVtoRGB(h, s, v float32, out_r, out_g, out_b *float32)
- func ColorConvertRGBtoHSV(r, g, b float32, out_h, out_s, out_v *float32)
- func ColorEdit3(label string, col *[3]float32) bool
- func ColorEdit3V(label string, col *[3]float32, flags ColorEditFlags) bool
- func ColorEdit4(label string, col *[4]float32) bool
- func ColorEdit4V(label string, col *[4]float32, flags ColorEditFlags) bool
- func ColorPicker3(label string, col *[3]float32) bool
- func ColorPicker3V(label string, col *[3]float32, flags ColorEditFlags) bool
- func ColorPicker4(label string, col *[4]float32) bool
- func ColorPicker4V(label string, col *[4]float32, flags ColorEditFlags, ref_col *float32) bool
- func ColorU32Col(idx Col) uint32
- func ColorU32ColV(idx Col, alpha_mul float32) uint32
- func ColorU32U32(col uint32) uint32
- func ColorU32U32V(col uint32, alpha_mul float32) uint32
- func ColorU32Vec4(col Vec4) uint32
- func ColumnIndex() int32
- func ColumnOffset() float32
- func ColumnOffsetV(column_index int32) float32
- func ColumnWidth() float32
- func ColumnWidthV(column_index int32) float32
- func Columns()
- func ColumnsCount() int32
- func ColumnsV(count int32, id string, borders bool)
- func ComboStr(label string, current_item *int32, items_separated_by_zeros string) bool
- func ComboStrV(label string, current_item *int32, items_separated_by_zeros string, ...) bool
- func ComboStrarr(label string, current_item *int32, items []string, items_count int32) bool
- func ComboStrarrV(label string, current_item *int32, items []string, ...) bool
- func CursorPosX() float32
- func CursorPosY() float32
- func DebugCheckVersionAndDataLayout(version_str string, ...) bool
- func DebugFlashStyleColor(idx Col)
- func DebugLog(fmt string)
- func DebugStartItemPicker()
- func DebugTextEncoding(text string)
- func DestroyContext()
- func DestroyContextV(ctx *Context)
- func DestroyPlatformWindows()
- func DragFloat(label string, v *float32) bool
- func DragFloat2(label string, v *[2]float32) bool
- func DragFloat2V(label string, v *[2]float32, v_speed, v_min, v_max float32, format string, ...) bool
- func DragFloat3(label string, v *[3]float32) bool
- func DragFloat3V(label string, v *[3]float32, v_speed, v_min, v_max float32, format string, ...) bool
- func DragFloat4(label string, v *[4]float32) bool
- func DragFloat4V(label string, v *[4]float32, v_speed, v_min, v_max float32, format string, ...) bool
- func DragFloatRange2(label string, v_current_min, v_current_max *float32) bool
- func DragFloatRange2V(label string, v_current_min, v_current_max *float32, ...) bool
- func DragFloatV(label string, v *float32, v_speed, v_min, v_max float32, format string, ...) bool
- func DragInt(label string, v *int32) bool
- func DragInt2(label string, v *[2]int32) bool
- func DragInt2V(label string, v *[2]int32, v_speed float32, v_min, v_max int32, format string, ...) bool
- func DragInt3(label string, v *[3]int32) bool
- func DragInt3V(label string, v *[3]int32, v_speed float32, v_min, v_max int32, format string, ...) bool
- func DragInt4(label string, v *[4]int32) bool
- func DragInt4V(label string, v *[4]int32, v_speed float32, v_min, v_max int32, format string, ...) bool
- func DragIntRange2(label string, v_current_min, v_current_max *int32) bool
- func DragIntRange2V(label string, v_current_min, v_current_max *int32, v_speed float32, ...) bool
- func DragIntV(label string, v *int32, v_speed float32, v_min, v_max int32, format string, ...) bool
- func DragScalar(label string, data_type DataType, p_data uintptr) bool
- func DragScalarN(label string, data_type DataType, p_data uintptr, components int32) bool
- func DragScalarNV(label string, data_type DataType, p_data uintptr, components int32, ...) bool
- func DragScalarV(label string, data_type DataType, p_data uintptr, v_speed float32, ...) bool
- func Dummy(size Vec2)
- func End()
- func EndChild()
- func EndCombo()
- func EndDisabled()
- func EndDragDropSource()
- func EndDragDropTarget()
- func EndFrame()
- func EndGroup()
- func EndListBox()
- func EndMainMenuBar()
- func EndMenu()
- func EndMenuBar()
- func EndPopup()
- func EndTabBar()
- func EndTabItem()
- func EndTable()
- func EndTooltip()
- func FontSize() float32
- func FrameCount() int32
- func FrameHeight() float32
- func FrameHeightWithSpacing() float32
- func Image(tex_ref TextureRef, image_size Vec2)
- func ImageButton(str_id string, tex_ref TextureRef, image_size Vec2) bool
- func ImageButtonV(str_id string, tex_ref TextureRef, image_size, uv0, uv1 Vec2, ...) bool
- func ImageV(tex_ref TextureRef, image_size, uv0, uv1 Vec2)
- func ImageWithBg(tex_ref TextureRef, image_size Vec2)
- func ImageWithBgV(tex_ref TextureRef, image_size, uv0, uv1 Vec2, bg_col, tint_col Vec4)
- func Indent()
- func IndentV(indent_w float32)
- func IndexBufferLayout() (entrySize int)
- func InputDouble(label string, v *float64) bool
- func InputDoubleV(label string, v *float64, step, step_fast float64, format string, ...) bool
- func InputFloat(label string, v *float32) bool
- func InputFloat2(label string, v *[2]float32) bool
- func InputFloat2V(label string, v *[2]float32, format string, flags InputTextFlags) bool
- func InputFloat3(label string, v *[3]float32) bool
- func InputFloat3V(label string, v *[3]float32, format string, flags InputTextFlags) bool
- func InputFloat4(label string, v *[4]float32) bool
- func InputFloat4V(label string, v *[4]float32, format string, flags InputTextFlags) bool
- func InputFloatV(label string, v *float32, step, step_fast float32, format string, ...) bool
- func InputInt(label string, v *int32) bool
- func InputInt2(label string, v *[2]int32) bool
- func InputInt2V(label string, v *[2]int32, flags InputTextFlags) bool
- func InputInt3(label string, v *[3]int32) bool
- func InputInt3V(label string, v *[3]int32, flags InputTextFlags) bool
- func InputInt4(label string, v *[4]int32) bool
- func InputInt4V(label string, v *[4]int32, flags InputTextFlags) bool
- func InputIntV(label string, v *int32, step, step_fast int32, flags InputTextFlags) bool
- func InputScalar(label string, data_type DataType, p_data uintptr) bool
- func InputScalarN(label string, data_type DataType, p_data uintptr, components int32) bool
- func InputScalarNV(label string, data_type DataType, p_data uintptr, components int32, ...) bool
- func InputScalarV(label string, data_type DataType, p_data, p_step, p_step_fast uintptr, ...) bool
- func InputTextMultiline(label string, buf *string, size Vec2, flags InputTextFlags, ...) bool
- func InputTextWithHint(label, hint string, buf *string, flags InputTextFlags, ...) bool
- func InternalActivateItemByID(id ID)
- func InternalAddSettingsHandler(handler *SettingsHandler)
- func InternalArrowButtonEx(str_id string, dir Dir, size_arg Vec2) bool
- func InternalArrowButtonExV(str_id string, dir Dir, size_arg Vec2, flags ButtonFlags) bool
- func InternalBeginBoxSelect(scope_rect Rect, window *Window, box_select_id ID, ms_flags MultiSelectFlags) bool
- func InternalBeginChildEx(name string, id ID, size_arg Vec2, child_flags ChildFlags, ...) bool
- func InternalBeginColumns(str_id string, count int32)
- func InternalBeginColumnsV(str_id string, count int32, flags OldColumnFlags)
- func InternalBeginComboPopup(popup_id ID, bb Rect, flags ComboFlags) bool
- func InternalBeginComboPreview() bool
- func InternalBeginDisabledOverrideReenable()
- func InternalBeginDockableDragDropSource(window *Window)
- func InternalBeginDockableDragDropTarget(window *Window)
- func InternalBeginDocked(window *Window, p_open *bool)
- func InternalBeginDragDropTargetCustom(bb Rect, id ID) bool
- func InternalBeginDragDropTargetViewport(viewport *Viewport) bool
- func InternalBeginDragDropTargetViewportV(viewport *Viewport, p_bb *Rect) bool
- func InternalBeginErrorTooltip() bool
- func InternalBeginMenuEx(label, icon string) bool
- func InternalBeginMenuExV(label, icon string, enabled bool) bool
- func InternalBeginPopupEx(id ID, extra_window_flags WindowFlags) bool
- func InternalBeginPopupMenuEx(id ID, label string, extra_window_flags WindowFlags) bool
- func InternalBeginTabBarEx(tab_bar *TabBar, bb Rect, flags TabBarFlags) bool
- func InternalBeginTableEx(name string, id ID, columns_count int32) bool
- func InternalBeginTableExV(name string, id ID, columns_count int32, flags TableFlags, outer_size Vec2, ...) bool
- func InternalBeginTooltipEx(tooltip_flags TooltipFlags, extra_window_flags WindowFlags) bool
- func InternalBeginTooltipHidden() bool
- func InternalBeginViewportSideBar(name string, viewport *Viewport, dir Dir, size float32, ...) bool
- func InternalBringWindowToDisplayBack(window *Window)
- func InternalBringWindowToDisplayBehind(window, above_window *Window)
- func InternalBringWindowToDisplayFront(window *Window)
- func InternalBringWindowToFocusFront(window *Window)
- func InternalButtonBehavior(bb Rect, id ID, out_hovered, out_held *bool) bool
- func InternalButtonBehaviorV(bb Rect, id ID, out_hovered, out_held *bool, flags ButtonFlags) bool
- func InternalButtonEx(label string) bool
- func InternalButtonExV(label string, size_arg Vec2, flags ButtonFlags) bool
- func InternalCalcClipRectVisibleItemsY(clip_rect Rect, pos Vec2, items_height float32, ...)
- func InternalCalcTypematicRepeatAmount(t0, t1, repeat_delay, repeat_rate float32) int32
- func InternalCalcWrapWidthForPos(pos Vec2, wrap_pos_x float32) float32
- func InternalCallContextHooks(ctx *Context, typeArg ContextHookType)
- func InternalCheckboxFlagsS64Ptr(label string, flags *int64, flags_value int64) bool
- func InternalCheckboxFlagsU64Ptr(label string, flags *uint64, flags_value uint64) bool
- func InternalClearActiveID()
- func InternalClearDragDrop()
- func InternalClearIniSettings()
- func InternalClearWindowSettings(name string)
- func InternalCloseButton(id ID, pos Vec2) bool
- func InternalClosePopupToLevel(remaining int32, restore_focus_to_window_under_popup bool)
- func InternalClosePopupsExceptModals()
- func InternalClosePopupsOverWindow(ref_window *Window, restore_focus_to_window_under_popup bool)
- func InternalCollapseButton(id ID, pos Vec2, dock_node *DockNode) bool
- func InternalColorEditOptionsPopup(col *float32, flags ColorEditFlags)
- func InternalColorPickerOptionsPopup(ref_col *float32, flags ColorEditFlags)
- func InternalColorTooltip(text string, col *float32, flags ColorEditFlags)
- func InternalColumnNormFromOffset(columns *OldColumns, offset float32) float32
- func InternalColumnOffsetFromNorm(columns *OldColumns, offset_norm float32) float32
- func InternalDataTypeApplyFromText(buf string, data_type DataType, p_data uintptr, format string) bool
- func InternalDataTypeApplyFromTextV(buf string, data_type DataType, p_data uintptr, format string, ...) bool
- func InternalDataTypeApplyOp(data_type DataType, op int32, output, arg_1, arg_2 uintptr)
- func InternalDataTypeClamp(data_type DataType, p_data, p_min, p_max uintptr) bool
- func InternalDataTypeCompare(data_type DataType, arg_1, arg_2 uintptr) int32
- func InternalDataTypeFormatString(buf string, buf_size int32, data_type DataType, p_data uintptr, format string) int32
- func InternalDataTypeIsZero(data_type DataType, p_data uintptr) bool
- func InternalDebugAllocHook(info *DebugAllocInfo, frame_count int32, ptr uintptr, size uint64)
- func InternalDebugBreakButton(label, description_of_location string) bool
- func InternalDebugBreakButtonTooltip(keyboard_only bool, description_of_location string)
- func InternalDebugBreakClearData()
- func InternalDebugDrawCursorPos()
- func InternalDebugDrawCursorPosV(col uint32)
- func InternalDebugDrawItemRect()
- func InternalDebugDrawItemRectV(col uint32)
- func InternalDebugDrawLineExtents()
- func InternalDebugDrawLineExtentsV(col uint32)
- func InternalDebugHookIdInfo(id ID, data_type DataType, data_id, data_id_end uintptr)
- func InternalDebugLocateItem(target_id ID)
- func InternalDebugLocateItemOnHover(target_id ID)
- func InternalDebugLocateItemResolveWithLastItem()
- func InternalDebugNodeColumns(columns *OldColumns)
- func InternalDebugNodeDockNode(node *DockNode, label string)
- func InternalDebugNodeDrawCmdShowMeshAndBoundingBox(out_draw_list, draw_list *DrawList, draw_cmd *DrawCmd, ...)
- func InternalDebugNodeDrawList(window *Window, viewport *ViewportP, draw_list *DrawList, label string)
- func InternalDebugNodeFont(font *Font)
- func InternalDebugNodeFontGlyph(font *Font, glyph *FontGlyph)
- func InternalDebugNodeFontGlyphsForSrcMask(font *Font, baked *FontBaked, src_mask int32)
- func InternalDebugNodeInputTextState(state *InputTextState)
- func InternalDebugNodeMultiSelectState(state *MultiSelectState)
- func InternalDebugNodePlatformMonitor(monitor *PlatformMonitor, label string, idx int32)
- func InternalDebugNodeStorage(storage *Storage, label string)
- func InternalDebugNodeTabBar(tab_bar *TabBar, label string)
- func InternalDebugNodeTable(table *Table)
- func InternalDebugNodeTableSettings(settings *TableSettings)
- func InternalDebugNodeTexture(tex *TextureData, int_id int32)
- func InternalDebugNodeTextureV(tex *TextureData, int_id int32, highlight_rect *FontAtlasRect)
- func InternalDebugNodeTypingSelectState(state *TypingSelectState)
- func InternalDebugNodeViewport(viewport *ViewportP)
- func InternalDebugNodeWindow(window *Window, label string)
- func InternalDebugNodeWindowSettings(settings *WindowSettings)
- func InternalDebugRenderKeyboardPreview(draw_list *DrawList)
- func InternalDebugRenderViewportThumbnail(draw_list *DrawList, viewport *ViewportP, bb Rect)
- func InternalDebugTextUnformattedWithLocateItem(line_begin, line_end string)
- func InternalDebugTextureIDToU64(tex_id TextureID) uint64
- func InternalDemoMarker(file string, line int32, section string)
- func InternalDestroyPlatformWindow(viewport *ViewportP)
- func InternalDockBuilderCopyWindowSettings(src_name, dst_name string)
- func InternalDockBuilderDockWindow(window_name string, node_id ID)
- func InternalDockBuilderFinish(node_id ID)
- func InternalDockBuilderRemoveNode(node_id ID)
- func InternalDockBuilderRemoveNodeChildNodes(node_id ID)
- func InternalDockBuilderRemoveNodeDockedWindows(node_id ID)
- func InternalDockBuilderRemoveNodeDockedWindowsV(node_id ID, clear_settings_refs bool)
- func InternalDockBuilderSetNodePos(node_id ID, pos Vec2)
- func InternalDockBuilderSetNodeSize(node_id ID, size Vec2)
- func InternalDockContextCalcDropPosForDocking(target *Window, target_node *DockNode, payload_window *Window, ...) bool
- func InternalDockContextClearNodes(ctx *Context, root_id ID, clear_settings_refs bool)
- func InternalDockContextEndFrame(ctx *Context)
- func InternalDockContextInitialize(ctx *Context)
- func InternalDockContextNewFrameUpdateDocking(ctx *Context)
- func InternalDockContextNewFrameUpdateUndocking(ctx *Context)
- func InternalDockContextProcessUndockNode(ctx *Context, node *DockNode)
- func InternalDockContextProcessUndockWindow(ctx *Context, window *Window)
- func InternalDockContextProcessUndockWindowV(ctx *Context, window *Window, clear_persistent_docking_ref bool)
- func InternalDockContextQueueDock(ctx *Context, target *Window, target_node *DockNode, payload *Window, ...)
- func InternalDockContextQueueUndockNode(ctx *Context, node *DockNode)
- func InternalDockContextQueueUndockWindow(ctx *Context, window *Window)
- func InternalDockContextRebuildNodes(ctx *Context)
- func InternalDockContextShutdown(ctx *Context)
- func InternalDockNodeBeginAmendTabBar(node *DockNode) bool
- func InternalDockNodeEndAmendTabBar()
- func InternalDockNodeGetDepth(node *DockNode) int32
- func InternalDockNodeIsInHierarchyOf(node, parent *DockNode) bool
- func InternalDockNodeWindowMenuHandlerDefault(ctx *Context, node *DockNode, tab_bar *TabBar)
- func InternalDragBehavior(id ID, data_type DataType, p_v uintptr, v_speed float32, p_min, p_max uintptr, ...) bool
- func InternalEndBoxSelect(scope_rect Rect, ms_flags MultiSelectFlags)
- func InternalEndColumns()
- func InternalEndComboPreview()
- func InternalEndDisabledOverrideReenable()
- func InternalEndErrorTooltip()
- func InternalErrorCheckEndFrameFinalizeErrorTooltip()
- func InternalErrorCheckUsingSetCursorPosToExtendParentBoundaries()
- func InternalErrorLog(msg string) bool
- func InternalErrorRecoveryStoreState(state_out *ErrorRecoveryState)
- func InternalErrorRecoveryTryToRecoverState(state_in *ErrorRecoveryState)
- func InternalErrorRecoveryTryToRecoverWindowState(state_in *ErrorRecoveryState)
- func InternalExtendHitBoxWhenNearViewportEdge(window *Window, bb *Rect, threshold float32, axis Axis)
- func InternalFindRenderedTextEnd(text string) string
- func InternalFindRenderedTextEndV(text string) string
- func InternalFindWindowDisplayIndex(window *Window) int32
- func InternalFocusItem()
- func InternalFocusTopMostWindowUnderOne(under_this_window, ignore_window *Window, filter_viewport *Viewport, ...)
- func InternalFocusWindow(window *Window)
- func InternalFocusWindowV(window *Window, flags FocusRequestFlags)
- func InternalFontRasterizerDensity() float32
- func InternalGcAwakeTransientWindowBuffers(window *Window)
- func InternalGcCompactTransientMiscBuffers()
- func InternalGcCompactTransientWindowBuffers(window *Window)
- func InternalImAbsDouble(x float64) float64
- func InternalImAbsFloat(x float32) float32
- func InternalImAbsInt(x int32) int32
- func InternalImAlphaBlendColors(col_a, col_b uint32) uint32
- func InternalImBitArrayClearAllBits(arr *uint32, bitcount int32)
- func InternalImBitArrayClearBit(arr *uint32, n int32)
- func InternalImBitArrayGetStorageSizeInBytes(bitcount int32) uint64
- func InternalImBitArraySetBit(arr *uint32, n int32)
- func InternalImBitArraySetBitRange(arr *uint32, n, n2 int32)
- func InternalImBitArrayTestBit(arr *uint32, n int32) bool
- func InternalImCharIsBlankA(c rune) bool
- func InternalImCharIsBlankW(c uint32) bool
- func InternalImCharIsXdigitA(c rune) bool
- func InternalImCountSetBits(v uint32) uint32
- func InternalImDot(a, b Vec2) float32
- func InternalImExponentialMovingAverage(avg, sample float32, n int32) float32
- func InternalImFileLoadToMemory(filename, mode string) uintptr
- func InternalImFileLoadToMemoryV(filename, mode string, out_file_size *uint64, padding_bytes int32) uintptr
- func InternalImFloorFloat(f float32) float32
- func InternalImFontAtlasAddDrawListSharedData(atlas *FontAtlas, data *DrawListSharedData)
- func InternalImFontAtlasBakedAddFontGlyphAdvancedX(atlas *FontAtlas, baked *FontBaked, src *FontConfig, codepoint Wchar, ...)
- func InternalImFontAtlasBakedDiscard(atlas *FontAtlas, font *Font, baked *FontBaked)
- func InternalImFontAtlasBakedDiscardFontGlyph(atlas *FontAtlas, font *Font, baked *FontBaked, glyph *FontGlyph)
- func InternalImFontAtlasBakedSetFontGlyphBitmap(atlas *FontAtlas, baked *FontBaked, src *FontConfig, glyph *FontGlyph, ...)
- func InternalImFontAtlasBuildClear(atlas *FontAtlas)
- func InternalImFontAtlasBuildDestroy(atlas *FontAtlas)
- func InternalImFontAtlasBuildDiscardBakes(atlas *FontAtlas, unused_frames int32)
- func InternalImFontAtlasBuildGetOversampleFactors(src *FontConfig, baked *FontBaked, out_oversample_h, out_oversample_v *int32)
- func InternalImFontAtlasBuildInit(atlas *FontAtlas)
- func InternalImFontAtlasBuildLegacyPreloadAllGlyphRanges(atlas *FontAtlas)
- func InternalImFontAtlasBuildMain(atlas *FontAtlas)
- func InternalImFontAtlasBuildNotifySetFont(atlas *FontAtlas, old_font, new_font *Font)
- func InternalImFontAtlasBuildRenderBitmapFromString(atlas *FontAtlas, x, y, w, h int32, in_str string, in_marker_char rune)
- func InternalImFontAtlasBuildSetupFontLoader(atlas *FontAtlas, font_loader *FontLoader)
- func InternalImFontAtlasBuildSetupFontSpecialGlyphs(atlas *FontAtlas, font *Font, src *FontConfig)
- func InternalImFontAtlasBuildUpdatePointers(atlas *FontAtlas)
- func InternalImFontAtlasDebugLogTextureRequests(atlas *FontAtlas)
- func InternalImFontAtlasFontDestroyOutput(atlas *FontAtlas, font *Font)
- func InternalImFontAtlasFontDestroySourceData(atlas *FontAtlas, src *FontConfig)
- func InternalImFontAtlasFontDiscardBakes(atlas *FontAtlas, font *Font, unused_frames int32)
- func InternalImFontAtlasFontInitOutput(atlas *FontAtlas, font *Font) bool
- func InternalImFontAtlasFontRebuildOutput(atlas *FontAtlas, font *Font)
- func InternalImFontAtlasFontSourceAddToFont(atlas *FontAtlas, font *Font, src *FontConfig)
- func InternalImFontAtlasFontSourceInit(atlas *FontAtlas, src *FontConfig) bool
- func InternalImFontAtlasGetMouseCursorTexData(atlas *FontAtlas, cursor_type MouseCursor, out_offset, out_size *Vec2, ...) bool
- func InternalImFontAtlasPackDiscardRect(atlas *FontAtlas, id FontAtlasRectId)
- func InternalImFontAtlasPackInit(atlas *FontAtlas)
- func InternalImFontAtlasRectIdGetGeneration(id FontAtlasRectId) uint32
- func InternalImFontAtlasRectIdGetIndex(id FontAtlasRectId) int32
- func InternalImFontAtlasRemoveDrawListSharedData(atlas *FontAtlas, data *DrawListSharedData)
- func InternalImFontAtlasTextureBlockConvert(src_pixels *uint, src_fmt TextureFormat, src_pitch int32, dst_pixels *uint, ...)
- func InternalImFontAtlasTextureBlockCopy(src_tex *TextureData, src_x, src_y int32, dst_tex *TextureData, ...)
- func InternalImFontAtlasTextureBlockFill(dst_tex *TextureData, dst_x, dst_y, w, h int32, col uint32)
- func InternalImFontAtlasTextureBlockPostProcess(data *FontAtlasPostProcessData)
- func InternalImFontAtlasTextureBlockPostProcessMultiply(data *FontAtlasPostProcessData, multiply_factor float32)
- func InternalImFontAtlasTextureBlockQueueUpload(atlas *FontAtlas, tex *TextureData, x, y, w, h int32)
- func InternalImFontAtlasTextureCompact(atlas *FontAtlas)
- func InternalImFontAtlasTextureGrow(atlas *FontAtlas)
- func InternalImFontAtlasTextureGrowV(atlas *FontAtlas, old_w, old_h int32)
- func InternalImFontAtlasTextureMakeSpace(atlas *FontAtlas)
- func InternalImFontAtlasTextureRepack(atlas *FontAtlas, w, h int32)
- func InternalImFontAtlasUpdateDrawListsSharedData(atlas *FontAtlas)
- func InternalImFontAtlasUpdateDrawListsTextures(atlas *FontAtlas, old_tex, new_tex TextureRef)
- func InternalImFontAtlasUpdateNewFrame(atlas *FontAtlas, frame_count int32, renderer_has_textures bool)
- func InternalImFontCalcWordWrapPositionEx(font *Font, size float32, text string, wrap_width float32) string
- func InternalImFontCalcWordWrapPositionExV(font *Font, size float32, text string, wrap_width float32, flags DrawTextFlags) string
- func InternalImFormatString(buf string, buf_size uint64, fmt string) int32
- func InternalImFormatStringToTempBuffer(out_buf, out_buf_end []string, fmt string)
- func InternalImHashSkipUncontributingPrefix(label string) string
- func InternalImInvLength(lhs Vec2, fail_value float32) float32
- func InternalImIsFloatAboveGuaranteedIntegerPrecision(f float32) bool
- func InternalImIsPowerOfTwoInt(v int32) bool
- func InternalImIsPowerOfTwoU64(v uint64) bool
- func InternalImLengthSqrVec2(lhs Vec2) float32
- func InternalImLengthSqrVec4(lhs Vec4) float32
- func InternalImLinearRemapClamp(s0, s1, d0, d1, x float32) float32
- func InternalImLinearSweep(current, target, speed float32) float32
- func InternalImLogDouble(x float64) float64
- func InternalImLogFloat(x float32) float32
- func InternalImMemdup(src uintptr, size uint64) uintptr
- func InternalImModPositive(a, b int32) int32
- func InternalImParseFormatFindEnd(format string) string
- func InternalImParseFormatFindStart(format string) string
- func InternalImParseFormatPrecision(format string, default_value int32) int32
- func InternalImParseFormatSanitizeForPrinting(fmt_in, fmt_out string, fmt_out_size uint64)
- func InternalImParseFormatSanitizeForScanning(fmt_in, fmt_out string, fmt_out_size uint64) string
- func InternalImParseFormatTrimDecorations(format, buf string, buf_size uint64) string
- func InternalImPowDouble(x, y float64) float64
- func InternalImPowFloat(x, y float32) float32
- func InternalImRound64(f float32) float32
- func InternalImRsqrtDouble(x float64) float64
- func InternalImRsqrtFloat(x float32) float32
- func InternalImSaturate(f float32) float32
- func InternalImSignDouble(x float64) float64
- func InternalImSignFloat(x float32) float32
- func InternalImStrSkipBlank(str string) string
- func InternalImStrTrimBlanks(str string)
- func InternalImStrbol(buf_mid_line, buf_begin string) string
- func InternalImStrchrRange(str_begin, str_end string, c rune) string
- func InternalImStrdup(str string) string
- func InternalImStrdupcpy(dst string, p_dst_size *uint64, str string) string
- func InternalImStreolRange(str, str_end string) string
- func InternalImStricmp(str1, str2 string) int32
- func InternalImStristr(haystack, haystack_end, needle, needle_end string) string
- func InternalImStrlenW(str *Wchar) int32
- func InternalImStrncpy(dst, src string, count uint64)
- func InternalImStrnicmp(str1, str2 string, count uint64) int32
- func InternalImTextCalcWordWrapNextLineStart(text string) string
- func InternalImTextCalcWordWrapNextLineStartV(text string, flags DrawTextFlags) string
- func InternalImTextCharFromUtf8(out_char *uint32, in_text, in_text_end string) int32
- func InternalImTextCharToUtf8(out_buf *[5]rune, c uint32) int32
- func InternalImTextClassifierClear(bits *uint32, codepoint_min, codepoint_end uint32, char_class WcharClass)
- func InternalImTextClassifierSetCharClass(bits *uint32, codepoint_min, codepoint_end uint32, char_class WcharClass, ...)
- func InternalImTextClassifierSetCharClassFromStr(bits *uint32, codepoint_min, codepoint_end uint32, char_class WcharClass, ...)
- func InternalImTextCountCharsFromUtf8(in_text, in_text_end string) int32
- func InternalImTextCountLines(in_text, in_text_end string) int32
- func InternalImTextCountUtf8BytesFromChar(in_text, in_text_end string) int32
- func InternalImTextCountUtf8BytesFromStr(in_text, in_text_end *Wchar) int32
- func InternalImTextFindPreviousUtf8Codepoint(in_text_start, in_p string) string
- func InternalImTextFindValidUtf8CodepointEnd(in_text_start, in_text_end, in_p string) string
- func InternalImTextInitClassifiers()
- func InternalImTextStrFromUtf8(out_buf *Wchar, out_buf_size int32, in_text, in_text_end string) int32
- func InternalImTextStrFromUtf8V(out_buf *Wchar, out_buf_size int32, in_text, in_text_end string, ...) int32
- func InternalImTextStrToUtf8(out_buf string, out_buf_size int32, in_text, in_text_end *Wchar) int32
- func InternalImTextureDataGetFormatBytesPerPixel(format TextureFormat) int32
- func InternalImTextureDataGetFormatName(format TextureFormat) string
- func InternalImTextureDataGetStatusName(status TextureStatus) string
- func InternalImToUpper(c rune) rune
- func InternalImTriangleArea(a, b, c Vec2) float32
- func InternalImTriangleBarycentricCoords(a, b, c, p Vec2, out_u, out_v, out_w *float32)
- func InternalImTriangleContainsPoint(a, b, c, p Vec2) bool
- func InternalImTriangleIsClockwise(a, b, c Vec2) bool
- func InternalImTrunc64(f float32) float32
- func InternalImTruncFloat(f float32) float32
- func InternalImUpperPowerOfTwo(v int32) int32
- func InternalImageButtonEx(id ID, tex_ref TextureRef, image_size, uv0, uv1 Vec2, bg_col, tint_col Vec4) bool
- func InternalImageButtonExV(id ID, tex_ref TextureRef, image_size, uv0, uv1 Vec2, bg_col, tint_col Vec4, ...) bool
- func InternalInitialize()
- func InternalInputTextDeactivateHook(id ID)
- func InternalInputTextEx(label, hint, buf string, buf_size int32, size_arg Vec2, flags InputTextFlags) bool
- func InternalIsActiveIdUsingNavDir(dir Dir) bool
- func InternalIsAliasKey(key Key) bool
- func InternalIsClippedEx(bb Rect, id ID) bool
- func InternalIsDragDropActive() bool
- func InternalIsDragDropPayloadBeingAccepted() bool
- func InternalIsGamepadKey(key Key) bool
- func InternalIsItemActiveAsInputText() bool
- func InternalIsKeyChordPressedInputFlags(key_chord KeyChord, flags InputFlags) bool
- func InternalIsKeyChordPressedInputFlagsV(key_chord KeyChord, flags InputFlags, owner_id ID) bool
- func InternalIsKeyDownID(key Key, owner_id ID) bool
- func InternalIsKeyPressedInputFlags(key Key, flags InputFlags) bool
- func InternalIsKeyPressedInputFlagsV(key Key, flags InputFlags, owner_id ID) bool
- func InternalIsKeyReleasedID(key Key, owner_id ID) bool
- func InternalIsKeyboardKey(key Key) bool
- func InternalIsLRModKey(key Key) bool
- func InternalIsLegacyKey(key Key) bool
- func InternalIsMouseClickedInputFlags(button MouseButton, flags InputFlags) bool
- func InternalIsMouseClickedInputFlagsV(button MouseButton, flags InputFlags, owner_id ID) bool
- func InternalIsMouseDoubleClickedID(button MouseButton, owner_id ID) bool
- func InternalIsMouseDownID(button MouseButton, owner_id ID) bool
- func InternalIsMouseDragPastThreshold(button MouseButton) bool
- func InternalIsMouseDragPastThresholdV(button MouseButton, lock_threshold float32) bool
- func InternalIsMouseKey(key Key) bool
- func InternalIsMouseReleasedID(button MouseButton, owner_id ID) bool
- func InternalIsNamedKey(key Key) bool
- func InternalIsNamedKeyOrMod(key Key) bool
- func InternalIsPopupOpenID(id ID, popup_flags PopupFlags) bool
- func InternalIsPopupOpenRequestForItem(flags PopupFlags, id ID) bool
- func InternalIsPopupOpenRequestForWindow(flags PopupFlags) bool
- func InternalIsWindowAbove(potential_above, potential_below *Window) bool
- func InternalIsWindowChildOf(window, potential_parent *Window, popup_hierarchy, dock_hierarchy bool) bool
- func InternalIsWindowContentHoverable(window *Window) bool
- func InternalIsWindowContentHoverableV(window *Window, flags HoveredFlags) bool
- func InternalIsWindowInBeginStack(window *Window) bool
- func InternalIsWindowNavFocusable(window *Window) bool
- func InternalIsWindowWithinBeginStackOf(window, potential_parent *Window) bool
- func InternalItemAdd(bb Rect, id ID) bool
- func InternalItemAddV(bb Rect, id ID, nav_bb *Rect, extra_flags ItemFlags) bool
- func InternalItemHoverable(bb Rect, id ID, item_flags ItemFlags) bool
- func InternalItemSizeRect(bb Rect)
- func InternalItemSizeRectV(bb Rect, text_baseline_y float32)
- func InternalItemSizeVec2(size Vec2)
- func InternalItemSizeVec2V(size Vec2, text_baseline_y float32)
- func InternalKeepAliveID(id ID)
- func InternalKeyChordName(key_chord KeyChord) string
- func InternalLocalizeGetMsg(key LocKey) string
- func InternalLocalizeRegisterEntries(entries *LocEntry, count int32)
- func InternalLogBegin(flags LogFlags, auto_open_depth int32)
- func InternalLogRenderedText(ref_pos *Vec2, text string)
- func InternalLogRenderedTextV(ref_pos *Vec2, text string)
- func InternalLogSetNextTextDecoration(prefix, suffix string)
- func InternalLogToBuffer()
- func InternalLogToBufferV(auto_open_depth int32)
- func InternalMarkIniSettingsDirty()
- func InternalMarkIniSettingsDirtyWindowPtr(window *Window)
- func InternalMarkItemEdited(id ID)
- func InternalMenuItemEx(label, icon string) bool
- func InternalMenuItemExV(label, icon, shortcut string, selected, enabled bool) bool
- func InternalMultiSelectAddSetAll(ms *MultiSelectTempData, selected bool)
- func InternalMultiSelectAddSetRange(ms *MultiSelectTempData, selected bool, range_dir int32, ...)
- func InternalMultiSelectItemFooter(id ID, p_selected, p_pressed *bool)
- func InternalMultiSelectItemHeader(id ID, p_selected *bool, p_button_flags *ButtonFlags)
- func InternalNavClearPreferredPosForAxis(axis Axis)
- func InternalNavHighlightActivated(id ID)
- func InternalNavInitRequestApplyResult()
- func InternalNavInitWindow(window *Window, force_reinit bool)
- func InternalNavMoveRequestApplyResult()
- func InternalNavMoveRequestButNoResultYet() bool
- func InternalNavMoveRequestCancel()
- func InternalNavMoveRequestForward(move_dir, clip_dir Dir, move_flags NavMoveFlags, scroll_flags ScrollFlags)
- func InternalNavMoveRequestResolveWithLastItem(result *NavItemData)
- func InternalNavMoveRequestResolveWithPastTreeNode(result *NavItemData, tree_node_data *TreeNodeStackData)
- func InternalNavMoveRequestSubmit(move_dir, clip_dir Dir, move_flags NavMoveFlags, scroll_flags ScrollFlags)
- func InternalNavMoveRequestTryWrapping(window *Window, move_flags NavMoveFlags)
- func InternalNavTweakPressedAmount(axis Axis) float32
- func InternalNavUpdateCurrentWindowIsScrollPushableX()
- func InternalOpenPopupEx(id ID)
- func InternalOpenPopupExV(id ID, popup_flags PopupFlags)
- func InternalPopColumnsBackground()
- func InternalPopFocusScope()
- func InternalPopPasswordFont()
- func InternalPushColumnClipRect(column_index int32)
- func InternalPushColumnsBackground()
- func InternalPushFocusScope(id ID)
- func InternalPushMultiItemsWidths(components int32, width_full float32)
- func InternalPushOverrideID(id ID)
- func InternalPushPasswordFont()
- func InternalRegisterFontAtlas(atlas *FontAtlas)
- func InternalRegisterUserTexture(tex *TextureData)
- func InternalRemoveContextHook(ctx *Context, hook_to_remove ID)
- func InternalRemoveSettingsHandler(type_name string)
- func InternalRenderArrow(draw_list *DrawList, pos Vec2, col uint32, dir Dir)
- func InternalRenderArrowDockMenu(draw_list *DrawList, p_min Vec2, sz float32, col uint32)
- func InternalRenderArrowPointingAt(draw_list *DrawList, pos, half_sz Vec2, direction Dir, col uint32)
- func InternalRenderArrowV(draw_list *DrawList, pos Vec2, col uint32, dir Dir, scale float32)
- func InternalRenderBullet(draw_list *DrawList, pos Vec2, col uint32)
- func InternalRenderCheckMark(draw_list *DrawList, pos Vec2, col uint32, sz float32)
- func InternalRenderColorComponentMarker(bb Rect, col uint32, rounding float32)
- func InternalRenderColorRectWithAlphaCheckerboard(draw_list *DrawList, p_min, p_max Vec2, fill_col uint32, grid_step float32, ...)
- func InternalRenderColorRectWithAlphaCheckerboardV(draw_list *DrawList, p_min, p_max Vec2, fill_col uint32, grid_step float32, ...)
- func InternalRenderDragDropTargetRectEx(draw_list *DrawList, bb Rect)
- func InternalRenderDragDropTargetRectForItem(bb Rect)
- func InternalRenderFrame(p_min, p_max Vec2, fill_col uint32)
- func InternalRenderFrameBorder(p_min, p_max Vec2)
- func InternalRenderFrameBorderV(p_min, p_max Vec2, rounding float32)
- func InternalRenderFrameV(p_min, p_max Vec2, fill_col uint32, borders bool, rounding float32)
- func InternalRenderMouseCursor(pos Vec2, scale float32, mouse_cursor MouseCursor, ...)
- func InternalRenderNavCursor(bb Rect, id ID)
- func InternalRenderNavCursorV(bb Rect, id ID, flags NavRenderCursorFlags)
- func InternalRenderRectFilledInRangeH(draw_list *DrawList, rect Rect, col uint32, fill_x0, fill_x1, rounding float32)
- func InternalRenderRectFilledWithHole(draw_list *DrawList, outer, inner Rect, col uint32, rounding float32)
- func InternalRenderText(pos Vec2, text string)
- func InternalRenderTextClipped(pos_min, pos_max Vec2, text string, text_size_if_known *Vec2)
- func InternalRenderTextClippedEx(draw_list *DrawList, pos_min, pos_max Vec2, text string, ...)
- func InternalRenderTextClippedExV(draw_list *DrawList, pos_min, pos_max Vec2, text string, ...)
- func InternalRenderTextClippedV(pos_min, pos_max Vec2, text string, text_size_if_known *Vec2, align Vec2, ...)
- func InternalRenderTextEllipsis(draw_list *DrawList, pos_min, pos_max Vec2, ellipsis_max_x float32, ...)
- func InternalRenderTextV(pos Vec2, text string, hide_text_after_hash bool)
- func InternalRenderTextWrapped(pos Vec2, text string, wrap_width float32)
- func InternalRoundedFontSize(size float32) float32
- func InternalScale() float32
- func InternalScaleWindowsInViewport(viewport *ViewportP, scale float32)
- func InternalScrollToBringRectIntoView(window *Window, rect Rect)
- func InternalScrollToItem()
- func InternalScrollToItemV(flags ScrollFlags)
- func InternalScrollToRect(window *Window, rect Rect)
- func InternalScrollToRectV(window *Window, rect Rect, flags ScrollFlags)
- func InternalScrollbar(axis Axis)
- func InternalScrollbarEx(bb Rect, id ID, axis Axis, p_scroll_v *int64, avail_v, contents_v int64) bool
- func InternalScrollbarExV(bb Rect, id ID, axis Axis, p_scroll_v *int64, avail_v, contents_v int64, ...) bool
- func InternalSeparatorEx(flags SeparatorFlags)
- func InternalSeparatorExV(flags SeparatorFlags, thickness float32)
- func InternalSeparatorTextEx(id ID, label, label_end string, extra_width float32)
- func InternalSetActiveID(id ID, window *Window)
- func InternalSetActiveIdUsingAllKeyboardKeys()
- func InternalSetContextName(ctx *Context, name string)
- func InternalSetCurrentFont(font *Font, font_size_before_scaling, font_size_after_scaling float32)
- func InternalSetCurrentViewport(window *Window, viewport *ViewportP)
- func InternalSetFocusID(id ID, window *Window)
- func InternalSetFontRasterizerDensity(rasterizer_density float32)
- func InternalSetHoveredID(id ID)
- func InternalSetItemKeyOwnerInputFlags(key Key, flags InputFlags)
- func InternalSetKeyOwner(key Key, owner_id ID)
- func InternalSetKeyOwnerV(key Key, owner_id ID, flags InputFlags)
- func InternalSetKeyOwnersForKeyChord(key KeyChord, owner_id ID)
- func InternalSetKeyOwnersForKeyChordV(key KeyChord, owner_id ID, flags InputFlags)
- func InternalSetLastItemData(item_id ID, item_flags ItemFlags, status_flags ItemStatusFlags, item_rect Rect)
- func InternalSetNavCursorVisibleAfterMove()
- func InternalSetNavFocusScope(focus_scope_id ID)
- func InternalSetNavID(id ID, nav_layer NavLayer, focus_scope_id ID, rect_rel Rect)
- func InternalSetNavWindow(window *Window)
- func InternalSetNextItemColorMarker(col uint32)
- func InternalSetNextItemRefVal(data_type DataType, p_data uintptr)
- func InternalSetNextWindowRefreshPolicy(flags WindowRefreshFlags)
- func InternalSetScrollFromPosXWindowPtr(window *Window, local_x, center_x_ratio float32)
- func InternalSetScrollFromPosYWindowPtr(window *Window, local_y, center_y_ratio float32)
- func InternalSetScrollXWindowPtr(window *Window, scroll_x float32)
- func InternalSetScrollYWindowPtr(window *Window, scroll_y float32)
- func InternalSetShortcutRouting(key_chord KeyChord, flags InputFlags, owner_id ID) bool
- func InternalSetWindowClipRectBeforeSetChannel(window *Window, clip_rect Rect)
- func InternalSetWindowCollapsedWindowPtr(window *Window, collapsed bool)
- func InternalSetWindowCollapsedWindowPtrV(window *Window, collapsed bool, cond Cond)
- func InternalSetWindowDock(window *Window, dock_id ID, cond Cond)
- func InternalSetWindowHiddenAndSkipItemsForCurrentFrame(window *Window)
- func InternalSetWindowHitTestHole(window *Window, pos, size Vec2)
- func InternalSetWindowParentWindowForFocusRoute(window, parent_window *Window)
- func InternalSetWindowPosWindowPtr(window *Window, pos Vec2)
- func InternalSetWindowPosWindowPtrV(window *Window, pos Vec2, cond Cond)
- func InternalSetWindowSizeWindowPtr(window *Window, size Vec2)
- func InternalSetWindowSizeWindowPtrV(window *Window, size Vec2, cond Cond)
- func InternalSetWindowViewport(window *Window, viewport *ViewportP)
- func InternalShadeVertsLinearColorGradientKeepAlpha(draw_list *DrawList, vert_start_idx, vert_end_idx int32, ...)
- func InternalShadeVertsLinearUV(draw_list *DrawList, vert_start_idx, vert_end_idx int32, a, b, uv_a, uv_b Vec2, ...)
- func InternalShadeVertsTransformPos(draw_list *DrawList, vert_start_idx, vert_end_idx int32, pivot_in Vec2, ...)
- func InternalShortcutID(key_chord KeyChord, flags InputFlags, owner_id ID) bool
- func InternalShowFontAtlas(atlas *FontAtlas)
- func InternalShrinkWidths(items *ShrinkWidthItem, count int32, width_excess, width_min float32)
- func InternalShutdown()
- func InternalSliderBehavior(bb Rect, id ID, data_type DataType, p_v, p_min, p_max uintptr, format string, ...) bool
- func InternalSplitterBehavior(bb Rect, id ID, axis Axis, size1, size2 *float32, min_size1, min_size2 float32) bool
- func InternalSplitterBehaviorV(bb Rect, id ID, axis Axis, size1, size2 *float32, ...) bool
- func InternalStartMouseMovingWindow(window *Window)
- func InternalStartMouseMovingWindowOrNode(window *Window, node *DockNode, undock bool)
- func InternalStopMouseMovingWindow()
- func InternalTabBarAddTab(tab_bar *TabBar, tab_flags TabItemFlags, window *Window)
- func InternalTabBarCloseTab(tab_bar *TabBar, tab *TabItem)
- func InternalTabBarGetTabName(tab_bar *TabBar, tab *TabItem) string
- func InternalTabBarGetTabOrder(tab_bar *TabBar, tab *TabItem) int32
- func InternalTabBarProcessReorder(tab_bar *TabBar) bool
- func InternalTabBarQueueFocusStr(tab_bar *TabBar, tab_name string)
- func InternalTabBarQueueFocusTabItemPtr(tab_bar *TabBar, tab *TabItem)
- func InternalTabBarQueueReorder(tab_bar *TabBar, tab *TabItem, offset int32)
- func InternalTabBarQueueReorderFromMousePos(tab_bar *TabBar, tab *TabItem, mouse_pos Vec2)
- func InternalTabBarRemove(tab_bar *TabBar)
- func InternalTabBarRemoveTab(tab_bar *TabBar, tab_id ID)
- func InternalTabItemBackground(draw_list *DrawList, bb Rect, flags TabItemFlags, col uint32)
- func InternalTabItemEx(tab_bar *TabBar, label string, p_open *bool, flags TabItemFlags, ...) bool
- func InternalTabItemLabelAndCloseButton(draw_list *DrawList, bb Rect, flags TabItemFlags, frame_padding Vec2, ...)
- func InternalTabItemSpacing(str_id string, flags TabItemFlags, width float32)
- func InternalTableAngledHeadersRowEx(row_id ID, angle, max_label_width float32, data *TableHeaderData, ...)
- func InternalTableBeginApplyRequests(table *Table)
- func InternalTableBeginCell(table *Table, column_n int32)
- func InternalTableBeginContextMenuPopup(table *Table) bool
- func InternalTableBeginInitMemory(table *Table, columns_count int32)
- func InternalTableBeginRow(table *Table)
- func InternalTableCalcMaxColumnWidth(table *Table, column_n int32) float32
- func InternalTableDrawBorders(table *Table)
- func InternalTableDrawDefaultContextMenu(table *Table, flags_for_section_to_display TableFlags)
- func InternalTableEndCell(table *Table)
- func InternalTableEndRow(table *Table)
- func InternalTableFixColumnSortDirection(table *Table, column *TableColumn)
- func InternalTableFixDisplayOrder(table *Table)
- func InternalTableGcCompactSettings()
- func InternalTableGcCompactTransientBuffersTablePtr(table *Table)
- func InternalTableGcCompactTransientBuffersTableTempDataPtr(table *TableTempData)
- func InternalTableGetColumnNameTablePtr(table *Table, column_n int32) string
- func InternalTableGetColumnWidthAuto(table *Table, column *TableColumn) float32
- func InternalTableGetHeaderAngledMaxLabelWidth() float32
- func InternalTableGetHeaderRowHeight() float32
- func InternalTableGetHoveredRow() int32
- func InternalTableLoadSettings(table *Table)
- func InternalTableMergeDrawChannels(table *Table)
- func InternalTableOpenContextMenu()
- func InternalTableOpenContextMenuV(column_n int32)
- func InternalTablePopBackgroundChannel()
- func InternalTablePopColumnChannel()
- func InternalTablePushBackgroundChannel()
- func InternalTablePushColumnChannel(column_n int32)
- func InternalTableQueueSetColumnDisplayOrder(table *Table, column_n, dst_order int32)
- func InternalTableRemove(table *Table)
- func InternalTableResetSettings(table *Table)
- func InternalTableSaveSettings(table *Table)
- func InternalTableSetColumnDisplayOrder(table *Table, column_n, dst_order int32)
- func InternalTableSetColumnSortDirection(column_n int32, sort_direction SortDirection, append_to_sort_specs bool)
- func InternalTableSetColumnWidth(column_n int32, width float32)
- func InternalTableSetColumnWidthAutoAll(table *Table)
- func InternalTableSetColumnWidthAutoSingle(table *Table, column_n int32)
- func InternalTableSettingsAddSettingsHandler()
- func InternalTableSetupDrawChannels(table *Table)
- func InternalTableSortSpecsBuild(table *Table)
- func InternalTableSortSpecsSanitize(table *Table)
- func InternalTableUpdateBorders(table *Table)
- func InternalTableUpdateColumnsWeightFromWidth(table *Table)
- func InternalTableUpdateLayout(table *Table)
- func InternalTeleportMousePos(pos Vec2)
- func InternalTempInputIsActive(id ID) bool
- func InternalTempInputScalar(bb Rect, id ID, label string, data_type DataType, p_data uintptr, ...) bool
- func InternalTempInputScalarV(bb Rect, id ID, label string, data_type DataType, p_data uintptr, ...) bool
- func InternalTempInputText(bb Rect, id ID, label, buf string, buf_size uint64) bool
- func InternalTestKeyOwner(key Key, owner_id ID) bool
- func InternalTestShortcutRouting(key_chord KeyChord, owner_id ID) bool
- func InternalTextAligned(align_x, size_x float32, fmt string)
- func InternalTextEx(text string)
- func InternalTextExV(text string, flags TextFlags)
- func InternalTranslateWindowsInViewport(viewport *ViewportP, old_pos, new_pos, old_size, new_size Vec2)
- func InternalTreeNodeBehavior(id ID, flags TreeNodeFlags, label string) bool
- func InternalTreeNodeBehaviorV(id ID, flags TreeNodeFlags, label, label_end string) bool
- func InternalTreeNodeDrawLineToChildNode(target_pos Vec2)
- func InternalTreeNodeDrawLineToTreePop(data *TreeNodeStackData)
- func InternalTreeNodeSetOpen(storage_id ID, open bool)
- func InternalTreeNodeUpdateNextOpen(storage_id ID, flags TreeNodeFlags) bool
- func InternalTreePushOverrideID(id ID)
- func InternalTypematicRepeatRate(flags InputFlags, repeat_delay, repeat_rate *float32)
- func InternalUnregisterFontAtlas(atlas *FontAtlas)
- func InternalUnregisterUserTexture(tex *TextureData)
- func InternalUpdateCurrentFontSize(restore_font_size_after_scaling float32)
- func InternalUpdateHoveredWindowAndCaptureFlags(mouse_pos Vec2)
- func InternalUpdateInputEvents(trickle_fast_inputs bool)
- func InternalUpdateMouseMovingWindowEndFrame()
- func InternalUpdateMouseMovingWindowNewFrame()
- func InternalUpdateWindowParentAndRootLinks(window *Window, flags WindowFlags, parent_window *Window)
- func InternalUpdateWindowSkipRefresh(window *Window)
- func InternalWindowAlwaysWantOwnTabBar(window *Window) bool
- func InvisibleButton(str_id string, size Vec2) bool
- func InvisibleButtonV(str_id string, size Vec2, flags ButtonFlags) bool
- func IsAnyItemActive() bool
- func IsAnyItemFocused() bool
- func IsAnyItemHovered() bool
- func IsAnyMouseDown() bool
- func IsItemActivated() bool
- func IsItemActive() bool
- func IsItemClicked() bool
- func IsItemClickedV(mouse_button MouseButton) bool
- func IsItemDeactivated() bool
- func IsItemDeactivatedAfterEdit() bool
- func IsItemEdited() bool
- func IsItemFocused() bool
- func IsItemHovered() bool
- func IsItemHoveredV(flags HoveredFlags) bool
- func IsItemToggledOpen() bool
- func IsItemToggledSelection() bool
- func IsItemVisible() bool
- func IsKeyChordPressed(key_chord KeyChord) bool
- func IsKeyDown(key Key) bool
- func IsKeyPressedBool(key Key) bool
- func IsKeyPressedBoolV(key Key, repeat bool) bool
- func IsKeyReleased(key Key) bool
- func IsMouseClickedBool(button MouseButton) bool
- func IsMouseClickedBoolV(button MouseButton, repeat bool) bool
- func IsMouseDoubleClicked(button MouseButton) bool
- func IsMouseDown(button MouseButton) bool
- func IsMouseDragging(button MouseButton) bool
- func IsMouseDraggingV(button MouseButton, lock_threshold float32) bool
- func IsMouseHoveringRect(r_min, r_max Vec2) bool
- func IsMouseHoveringRectV(r_min, r_max Vec2, clip bool) bool
- func IsMousePosValid() bool
- func IsMousePosValidV(mouse_pos *Vec2) bool
- func IsMouseReleased(button MouseButton) bool
- func IsMouseReleasedWithDelay(button MouseButton, delay float32) bool
- func IsPopupOpenStr(str_id string) bool
- func IsPopupOpenStrV(str_id string, flags PopupFlags) bool
- func IsRectVisible(size Vec2) bool
- func IsRectVisibleVec2(rect_min, rect_max Vec2) bool
- func IsWindowAppearing() bool
- func IsWindowCollapsed() bool
- func IsWindowDocked() bool
- func IsWindowFocused() bool
- func IsWindowFocusedV(flags FocusedFlags) bool
- func IsWindowHovered() bool
- func IsWindowHoveredV(flags HoveredFlags) bool
- func KeyName(key Key) string
- func KeyPressedAmount(key Key, repeat_delay, rate float32) int32
- func LabelText(label, fmt string)
- func ListBoxStrarr(label string, current_item *int32, items []string, items_count int32) bool
- func ListBoxStrarrV(label string, current_item *int32, items []string, ...) bool
- func LoadIniSettingsFromDisk(ini_filename string)
- func LoadIniSettingsFromMemory(ini_data string)
- func LoadIniSettingsFromMemoryV(ini_data string, ini_size uint64)
- func LogButtons()
- func LogFinish()
- func LogText(fmt string)
- func LogToClipboard()
- func LogToClipboardV(auto_open_depth int32)
- func LogToFile()
- func LogToFileV(auto_open_depth int32, filename string)
- func LogToTTY()
- func LogToTTYV(auto_open_depth int32)
- func MemAlloc(size uint64) uintptr
- func MemFree(ptr uintptr)
- func MenuItemBool(label string) bool
- func MenuItemBoolPtr(label, shortcut string, p_selected *bool) bool
- func MenuItemBoolPtrV(label, shortcut string, p_selected *bool, enabled bool) bool
- func MenuItemBoolV(label, shortcut string, selected, enabled bool) bool
- func MouseClickedCount(button MouseButton) int32
- func NewEmptystbrpcontextopaque() *stbrpcontextopaque
- func NewFrame()
- func NewLine()
- func NewstbrpcontextopaqueFromC[SRC any](cvalue SRC) *stbrpcontextopaque
- func NewstbrpnodeFromC[SRC any](cvalue SRC) *stbrpnode
- func NextColumn()
- func OpenPopupID(id ID)
- func OpenPopupIDV(id ID, popup_flags PopupFlags)
- func OpenPopupOnItemClick()
- func OpenPopupOnItemClickV(str_id string, popup_flags PopupFlags)
- func OpenPopupStr(str_id string)
- func OpenPopupStrV(str_id string, popup_flags PopupFlags)
- func PlotHistogramFloatPtr(label string, values *float32, values_count int32)
- func PlotHistogramFloatPtrV(label string, values *float32, values_count, values_offset int32, ...)
- func PlotLinesFloatPtr(label string, values *float32, values_count int32)
- func PlotLinesFloatPtrV(label string, values *float32, values_count, values_offset int32, ...)
- func PopClipRect()
- func PopFont()
- func PopID()
- func PopItemFlag()
- func PopItemWidth()
- func PopStyleColor()
- func PopStyleColorV(count int32)
- func PopStyleVar()
- func PopStyleVarV(count int32)
- func PopTextWrapPos()
- func ProgressBar(fraction float32)
- func ProgressBarV(fraction float32, size_arg Vec2, overlay string)
- func PushClipRect(clip_rect_min, clip_rect_max Vec2, intersect_with_current_clip_rect bool)
- func PushFont(font *Font, font_size_base_unscaled float32)
- func PushIDInt(int_id int32)
- func PushIDPtr(ptr_id uintptr)
- func PushIDStr(str_id string)
- func PushIDStrStr(str_id_begin, str_id_end string)
- func PushItemFlag(option ItemFlags, enabled bool)
- func PushItemWidth(item_width float32)
- func PushStyleColorU32(idx Col, col uint32)
- func PushStyleColorVec4(idx Col, col Vec4)
- func PushStyleVarFloat(idx StyleVar, val float32)
- func PushStyleVarVec2(idx StyleVar, val Vec2)
- func PushStyleVarX(idx StyleVar, val_x float32)
- func PushStyleVarY(idx StyleVar, val_y float32)
- func PushTextWrapPos()
- func PushTextWrapPosV(wrap_local_pos_x float32)
- func RadioButtonBool(label string, active bool) bool
- func RadioButtonIntPtr(label string, v *int32, v_button int32) bool
- func Render()
- func RenderPlatformWindowsDefault()
- func RenderPlatformWindowsDefaultV(platform_render_arg, renderer_render_arg uintptr)
- func ResetMouseDragDelta()
- func ResetMouseDragDeltaV(button MouseButton)
- func SameLine()
- func SameLineV(offset_from_start_x, spacing float32)
- func SaveIniSettingsToDisk(ini_filename string)
- func SaveIniSettingsToMemory() string
- func SaveIniSettingsToMemoryV(out_ini_size *uint64) string
- func ScrollMaxX() float32
- func ScrollMaxY() float32
- func ScrollX() float32
- func ScrollY() float32
- func SelectableBool(label string) bool
- func SelectableBoolPtr(label string, p_selected *bool) bool
- func SelectableBoolPtrV(label string, p_selected *bool, flags SelectableFlags, size Vec2) bool
- func SelectableBoolV(label string, selected bool, flags SelectableFlags, size Vec2) bool
- func Separator()
- func SeparatorText(label string)
- func SetAllocatorFunctions(alloc_func MemAllocFunc, free_func MemFreeFunc)
- func SetAllocatorFunctionsV(alloc_func MemAllocFunc, free_func MemFreeFunc, user_data uintptr)
- func SetAssertHandler(handler AssertHandler)
- func SetClipboardText(text string)
- func SetColorEditOptions(flags ColorEditFlags)
- func SetColumnOffset(column_index int32, offset_x float32)
- func SetColumnWidth(column_index int32, width float32)
- func SetCurrentContext(ctx *Context)
- func SetCursorPos(local_pos Vec2)
- func SetCursorPosX(local_x float32)
- func SetCursorPosY(local_y float32)
- func SetCursorScreenPos(pos Vec2)
- func SetDragDropPayload(typeArg string, data uintptr, sz uint64) bool
- func SetDragDropPayloadV(typeArg string, data uintptr, sz uint64, cond Cond) bool
- func SetItemDefaultFocus()
- func SetItemKeyOwner(key Key)
- func SetItemTooltip(fmt string)
- func SetKeyboardFocusHere()
- func SetKeyboardFocusHereV(offset int32)
- func SetMouseCursor(cursor_type MouseCursor)
- func SetNavCursorVisible(visible bool)
- func SetNextFrameWantCaptureKeyboard(want_capture_keyboard bool)
- func SetNextFrameWantCaptureMouse(want_capture_mouse bool)
- func SetNextItemAllowOverlap()
- func SetNextItemOpen(is_open bool)
- func SetNextItemOpenV(is_open bool, cond Cond)
- func SetNextItemSelectionUserData(selection_user_data SelectionUserData)
- func SetNextItemShortcut(key_chord KeyChord)
- func SetNextItemShortcutV(key_chord KeyChord, flags InputFlags)
- func SetNextItemStorageID(storage_id ID)
- func SetNextItemWidth(item_width float32)
- func SetNextWindowBgAlpha(alpha float32)
- func SetNextWindowClass(window_class *WindowClass)
- func SetNextWindowCollapsed(collapsed bool)
- func SetNextWindowCollapsedV(collapsed bool, cond Cond)
- func SetNextWindowContentSize(size Vec2)
- func SetNextWindowDockID(dock_id ID)
- func SetNextWindowDockIDV(dock_id ID, cond Cond)
- func SetNextWindowFocus()
- func SetNextWindowPos(pos Vec2)
- func SetNextWindowPosV(pos Vec2, cond Cond, pivot Vec2)
- func SetNextWindowScroll(scroll Vec2)
- func SetNextWindowSize(size Vec2)
- func SetNextWindowSizeConstraints(size_min, size_max Vec2)
- func SetNextWindowSizeConstraintsV(size_min, size_max Vec2, custom_callback SizeCallback, ...)
- func SetNextWindowSizeV(size Vec2, cond Cond)
- func SetNextWindowViewport(viewport_id ID)
- func SetScrollFromPosXFloat(local_x float32)
- func SetScrollFromPosXFloatV(local_x, center_x_ratio float32)
- func SetScrollFromPosYFloat(local_y float32)
- func SetScrollFromPosYFloatV(local_y, center_y_ratio float32)
- func SetScrollHereX()
- func SetScrollHereXV(center_x_ratio float32)
- func SetScrollHereY()
- func SetScrollHereYV(center_y_ratio float32)
- func SetScrollXFloat(scroll_x float32)
- func SetScrollYFloat(scroll_y float32)
- func SetStateStorage(storage *Storage)
- func SetTabItemClosed(tab_or_docked_window_label string)
- func SetTooltip(fmt string)
- func SetWindowCollapsedBool(collapsed bool)
- func SetWindowCollapsedBoolV(collapsed bool, cond Cond)
- func SetWindowCollapsedStr(name string, collapsed bool)
- func SetWindowCollapsedStrV(name string, collapsed bool, cond Cond)
- func SetWindowFocus()
- func SetWindowFocusStr(name string)
- func SetWindowPosStr(name string, pos Vec2)
- func SetWindowPosStrV(name string, pos Vec2, cond Cond)
- func SetWindowPosVec2(pos Vec2)
- func SetWindowPosVec2V(pos Vec2, cond Cond)
- func SetWindowSizeStr(name string, size Vec2)
- func SetWindowSizeStrV(name string, size Vec2, cond Cond)
- func SetWindowSizeVec2(size Vec2)
- func SetWindowSizeVec2V(size Vec2, cond Cond)
- func Shortcut(key_chord KeyChord) bool
- func ShortcutNilV(key_chord KeyChord, flags InputFlags) bool
- func ShowAboutWindow()
- func ShowAboutWindowV(p_open *bool)
- func ShowDebugLogWindow()
- func ShowDebugLogWindowV(p_open *bool)
- func ShowDemoWindow()
- func ShowDemoWindowV(p_open *bool)
- func ShowFontSelector(label string)
- func ShowIDStackToolWindow()
- func ShowIDStackToolWindowV(p_open *bool)
- func ShowMetricsWindow()
- func ShowMetricsWindowV(p_open *bool)
- func ShowStyleEditor()
- func ShowStyleEditorV(ref *Style)
- func ShowStyleSelector(label string) bool
- func ShowUserGuide()
- func SliderAngle(label string, v_rad *float32) bool
- func SliderAngleV(label string, v_rad *float32, v_degrees_min, v_degrees_max float32, ...) bool
- func SliderFloat(label string, v *float32, v_min, v_max float32) bool
- func SliderFloat2(label string, v *[2]float32, v_min, v_max float32) bool
- func SliderFloat2V(label string, v *[2]float32, v_min, v_max float32, format string, ...) bool
- func SliderFloat3(label string, v *[3]float32, v_min, v_max float32) bool
- func SliderFloat3V(label string, v *[3]float32, v_min, v_max float32, format string, ...) bool
- func SliderFloat4(label string, v *[4]float32, v_min, v_max float32) bool
- func SliderFloat4V(label string, v *[4]float32, v_min, v_max float32, format string, ...) bool
- func SliderFloatV(label string, v *float32, v_min, v_max float32, format string, ...) bool
- func SliderInt(label string, v *int32, v_min, v_max int32) bool
- func SliderInt2(label string, v *[2]int32, v_min, v_max int32) bool
- func SliderInt2V(label string, v *[2]int32, v_min, v_max int32, format string, ...) bool
- func SliderInt3(label string, v *[3]int32, v_min, v_max int32) bool
- func SliderInt3V(label string, v *[3]int32, v_min, v_max int32, format string, ...) bool
- func SliderInt4(label string, v *[4]int32, v_min, v_max int32) bool
- func SliderInt4V(label string, v *[4]int32, v_min, v_max int32, format string, ...) bool
- func SliderIntV(label string, v *int32, v_min, v_max int32, format string, flags SliderFlags) bool
- func SliderScalar(label string, data_type DataType, p_data, p_min, p_max uintptr) bool
- func SliderScalarN(label string, data_type DataType, p_data uintptr, components int32, ...) bool
- func SliderScalarNV(label string, data_type DataType, p_data uintptr, components int32, ...) bool
- func SliderScalarV(label string, data_type DataType, p_data, p_min, p_max uintptr, format string, ...) bool
- func SmallButton(label string) bool
- func Spacing()
- func StyleColorName(idx Col) string
- func StyleColorsClassic()
- func StyleColorsClassicV(dst *Style)
- func StyleColorsDark()
- func StyleColorsDarkV(dst *Style)
- func StyleColorsLight()
- func StyleColorsLightV(dst *Style)
- func TabItemButton(label string) bool
- func TabItemButtonV(label string, flags TabItemFlags) bool
- func TableAngledHeadersRow()
- func TableGetColumnCount() int32
- func TableGetColumnIndex() int32
- func TableGetColumnNameInt() string
- func TableGetColumnNameIntV(column_n int32) string
- func TableGetHoveredColumn() int32
- func TableGetRowIndex() int32
- func TableHeader(label string)
- func TableHeadersRow()
- func TableNextColumn() bool
- func TableNextRow()
- func TableNextRowV(row_flags TableRowFlags, min_row_height float32)
- func TableSetBgColor(target TableBgTarget, color uint32)
- func TableSetBgColorV(target TableBgTarget, color uint32, column_n int32)
- func TableSetColumnEnabled(column_n int32, v bool)
- func TableSetColumnIndex(column_n int32) bool
- func TableSetupColumn(label string)
- func TableSetupColumnV(label string, flags TableColumnFlags, init_width_or_weight float32, user_id ID)
- func TableSetupScrollFreeze(cols, rows int32)
- func Text(fmt string)
- func TextColored(col Vec4, fmt string)
- func TextDisabled(fmt string)
- func TextLineHeight() float32
- func TextLineHeightWithSpacing() float32
- func TextLink(label string) bool
- func TextLinkOpenURL(label string) bool
- func TextLinkOpenURLV(label, url string) bool
- func TextUnformatted(text string)
- func TextUnformattedV(text string)
- func TextWrapped(fmt string)
- func Time() float64
- func TreeNodeExPtr(ptr_id uintptr, flags TreeNodeFlags, fmt string) bool
- func TreeNodeExStr(label string) bool
- func TreeNodeExStrStr(str_id string, flags TreeNodeFlags, fmt string) bool
- func TreeNodeExStrV(label string, flags TreeNodeFlags) bool
- func TreeNodeGetOpen(storage_id ID) bool
- func TreeNodePtr(ptr_id uintptr, fmt string) bool
- func TreeNodeStr(label string) bool
- func TreeNodeStrStr(str_id, fmt string) bool
- func TreeNodeToLabelSpacing() float32
- func TreePop()
- func TreePushPtr(ptr_id uintptr)
- func TreePushStr(str_id string)
- func Unindent()
- func UnindentV(indent_w float32)
- func UpdatePlatformWindows()
- func VSliderFloat(label string, size Vec2, v *float32, v_min, v_max float32) bool
- func VSliderFloatV(label string, size Vec2, v *float32, v_min, v_max float32, format string, ...) bool
- func VSliderInt(label string, size Vec2, v *int32, v_min, v_max int32) bool
- func VSliderIntV(label string, size Vec2, v *int32, v_min, v_max int32, format string, ...) bool
- func VSliderScalar(label string, size Vec2, data_type DataType, p_data, p_min, p_max uintptr) bool
- func VSliderScalarV(label string, size Vec2, data_type DataType, p_data, p_min, p_max uintptr, ...) bool
- func ValueBool(prefix string, b bool)
- func ValueFloat(prefix string, v float32)
- func ValueFloatV(prefix string, v float32, float_format string)
- func ValueInt(prefix string, v int32)
- func ValueUint(prefix string, v uint32)
- func Version() string
- func VertexBufferLayout() (entrySize int, posOffset int, uvOffset int, colOffset int)
- func WindowDpiScale() float32
- func WindowHeight() float32
- func WindowWidth() float32
- type ActivateFlags
- type AssertHandler
- type AssertionError
- type Axis
- type BackendFlags
- type BitArrayForNamedKeys
- type BitArrayPtr
- type BitVector
- func (self BitVector) C() (C.ImBitVector, func())
- func (self *BitVector) Handle() (result *C.ImBitVector, fin func())
- func (self *BitVector) InternalClear()
- func (self *BitVector) InternalClearBit(n int32)
- func (self *BitVector) InternalCreate(sz int32)
- func (self *BitVector) InternalSetBit(n int32)
- func (self *BitVector) InternalTestBit(n int32) bool
- func (self BitVector) SetStorage(v vectors.Vector[uint32])
- func (self *BitVector) Storage() vectors.Vector[uint32]
- type BoxSelectState
- func (self *BoxSelectState) BoxSelectRectCurr() Rect
- func (self *BoxSelectState) BoxSelectRectPrev() Rect
- func (self BoxSelectState) C() (C.ImGuiBoxSelectState, func())
- func (self *BoxSelectState) EndPosRel() Vec2
- func (self *BoxSelectState) Handle() (result *C.ImGuiBoxSelectState, fin func())
- func (self *BoxSelectState) ID() ID
- func (self *BoxSelectState) InternalDestroy()
- func (self *BoxSelectState) IsActive() bool
- func (self *BoxSelectState) IsStartedFromVoid() bool
- func (self *BoxSelectState) IsStartedSetNavIdOnce() bool
- func (self *BoxSelectState) IsStarting() bool
- func (self *BoxSelectState) KeyMods() KeyChord
- func (self *BoxSelectState) RequestClear() bool
- func (self *BoxSelectState) ScrollAccum() Vec2
- func (self BoxSelectState) SetBoxSelectRectCurr(v Rect)
- func (self BoxSelectState) SetBoxSelectRectPrev(v Rect)
- func (self BoxSelectState) SetEndPosRel(v Vec2)
- func (self BoxSelectState) SetID(v ID)
- func (self BoxSelectState) SetIsActive(v bool)
- func (self BoxSelectState) SetIsStartedFromVoid(v bool)
- func (self BoxSelectState) SetIsStartedSetNavIdOnce(v bool)
- func (self BoxSelectState) SetIsStarting(v bool)
- func (self BoxSelectState) SetKeyMods(v KeyChord)
- func (self BoxSelectState) SetRequestClear(v bool)
- func (self BoxSelectState) SetScrollAccum(v Vec2)
- func (self BoxSelectState) SetStartPosRel(v Vec2)
- func (self BoxSelectState) SetUnclipMode(v bool)
- func (self BoxSelectState) SetUnclipRect(v Rect)
- func (self BoxSelectState) SetWindow(v *Window)
- func (self *BoxSelectState) StartPosRel() Vec2
- func (self *BoxSelectState) UnclipMode() bool
- func (self *BoxSelectState) UnclipRect() Rect
- func (self *BoxSelectState) Window() *Window
- type ButtonFlags
- type ButtonFlagsPrivate
- type ChildFlags
- type ClipboardHandler
- type Col
- type Color
- type ColorEditFlags
- type ColorMod
- type ComboFlags
- type ComboFlagsPrivate
- type ComboPreviewData
- func (self *ComboPreviewData) BackupCursorMaxPos() Vec2
- func (self *ComboPreviewData) BackupCursorPos() Vec2
- func (self *ComboPreviewData) BackupCursorPosPrevLine() Vec2
- func (self *ComboPreviewData) BackupLayout() LayoutType
- func (self *ComboPreviewData) BackupPrevLineTextBaseOffset() float32
- func (self ComboPreviewData) C() (C.ImGuiComboPreviewData, func())
- func (self *ComboPreviewData) Handle() (result *C.ImGuiComboPreviewData, fin func())
- func (self *ComboPreviewData) InternalDestroy()
- func (self *ComboPreviewData) PreviewRect() Rect
- func (self ComboPreviewData) SetBackupCursorMaxPos(v Vec2)
- func (self ComboPreviewData) SetBackupCursorPos(v Vec2)
- func (self ComboPreviewData) SetBackupCursorPosPrevLine(v Vec2)
- func (self ComboPreviewData) SetBackupLayout(v LayoutType)
- func (self ComboPreviewData) SetBackupPrevLineTextBaseOffset(v float32)
- func (self ComboPreviewData) SetPreviewRect(v Rect)
- type Cond
- type ConfigFlags
- type Context
- func (self *Context) ActiveId() ID
- func (self *Context) ActiveIdAllowOverlap() bool
- func (self *Context) ActiveIdClickOffset() Vec2
- func (self *Context) ActiveIdDisabledId() ID
- func (self *Context) ActiveIdFromShortcut() bool
- func (self *Context) ActiveIdHasBeenEditedBefore() bool
- func (self *Context) ActiveIdHasBeenEditedThisFrame() bool
- func (self *Context) ActiveIdHasBeenPressedBefore() bool
- func (self *Context) ActiveIdIsAlive() ID
- func (self *Context) ActiveIdIsJustActivated() bool
- func (self *Context) ActiveIdMouseButton() int
- func (self *Context) ActiveIdNoClearOnFocusLoss() bool
- func (self *Context) ActiveIdPreviousFrame() ID
- func (self *Context) ActiveIdSource() InputSource
- func (self *Context) ActiveIdTimer() float32
- func (self *Context) ActiveIdUsingAllKeyboardKeys() bool
- func (self *Context) ActiveIdUsingNavDirMask() uint32
- func (self *Context) ActiveIdValueOnActivation() DataTypeStorage
- func (self *Context) ActiveIdWindow() *Window
- func (self *Context) BeginComboDepth() int32
- func (self *Context) BeginMenuDepth() int32
- func (self *Context) BeginPopupStack() vectors.Vector[PopupData]
- func (self *Context) BoxSelectState() BoxSelectState
- func (self Context) C() (C.ImGuiContext, func())
- func (self *Context) ClipboardHandlerData() vectors.Vector[int8]
- func (self *Context) ClipperTempData() vectors.Vector[ListClipperData]
- func (self *Context) ClipperTempDataStacked() int32
- func (self *Context) ColorEditCurrentID() ID
- func (self *Context) ColorEditOptions() ColorEditFlags
- func (self *Context) ColorEditSavedColor() uint32
- func (self *Context) ColorEditSavedHue() float32
- func (self *Context) ColorEditSavedID() ID
- func (self *Context) ColorEditSavedSat() float32
- func (self *Context) ColorPickerRef() Vec4
- func (self *Context) ColorStack() vectors.Vector[ColorMod]
- func (self *Context) ComboPreviewData() ComboPreviewData
- func (self *Context) ConfigFlagsCurrFrame() ConfigFlags
- func (self *Context) ConfigFlagsLastFrame() ConfigFlags
- func (self *Context) ConfigNavEnableTabbing() bool
- func (self *Context) ConfigNavWindowingKeyNext() KeyChord
- func (self *Context) ConfigNavWindowingKeyPrev() KeyChord
- func (self *Context) ConfigNavWindowingWithGamepad() bool
- func (self *Context) ContextName() [16]rune
- func (self *Context) CurrentDpiScale() float32
- func (self *Context) CurrentFocusScopeId() ID
- func (self *Context) CurrentItemFlags() ItemFlags
- func (self *Context) CurrentMultiSelect() *MultiSelectTempData
- func (self *Context) CurrentTabBar() *TabBar
- func (self *Context) CurrentTabBarStack() vectors.Vector[PtrOrIndex]
- func (self *Context) CurrentTable() *Table
- func (self *Context) CurrentViewport() *ViewportP
- func (self *Context) CurrentWindow() *Window
- func (self *Context) CurrentWindowStack() vectors.Vector[WindowStackData]
- func (self *Context) DataTypeZeroValue() DataTypeStorage
- func (self *Context) DeactivatedItemData() DeactivatedItemData
- func (self *Context) DebugAllocInfo() DebugAllocInfo
- func (self *Context) DebugBeginReturnValueCullDepth() int
- func (self *Context) DebugBreakInLocateId() bool
- func (self *Context) DebugBreakInShortcutRouting() KeyChord
- func (self *Context) DebugBreakInTable() ID
- func (self *Context) DebugBreakInWindow() ID
- func (self *Context) DebugBreakKeyChord() KeyChord
- func (self *Context) DebugDrawIdConflictsCount() int32
- func (self *Context) DebugDrawIdConflictsId() ID
- func (self *Context) DebugFlashStyleColorBackup() Vec4
- func (self *Context) DebugFlashStyleColorIdx() Col
- func (self *Context) DebugFlashStyleColorTime() float32
- func (self *Context) DebugHookIdInfoId() ID
- func (self *Context) DebugHoveredDockNode() *DockNode
- func (self *Context) DebugIDStackTool() IDStackTool
- func (self *Context) DebugItemPathQuery() DebugItemPathQuery
- func (self *Context) DebugItemPickerActive() bool
- func (self *Context) DebugItemPickerBreakId() ID
- func (self *Context) DebugItemPickerMouseButton() byte
- func (self *Context) DebugLocateFrames() byte
- func (self *Context) DebugLocateId() ID
- func (self *Context) DebugLogAutoDisableFlags() DebugLogFlags
- func (self *Context) DebugLogAutoDisableFrames() byte
- func (self *Context) DebugLogBuf() TextBuffer
- func (self *Context) DebugLogFlags() DebugLogFlags
- func (self *Context) DebugLogIndex() TextIndex
- func (self *Context) DebugLogSkippedErrors() int32
- func (self *Context) DebugMetricsConfig() MetricsConfig
- func (self *Context) DebugShowGroupRects() bool
- func (self *Context) DemoMarkerCallback() DemoMarkerCallback
- func (self *Context) DimBgRatio() float32
- func (self *Context) DisabledAlphaBackup() float32
- func (self *Context) DisabledStackSize() int16
- func (self *Context) DockContext() DockContext
- func (self *Context) DragCurrentAccum() float32
- func (self *Context) DragCurrentAccumDirty() bool
- func (self *Context) DragDropAcceptFlagsCurr() DragDropFlags
- func (self *Context) DragDropAcceptFlagsPrev() DragDropFlags
- func (self *Context) DragDropAcceptFrameCount() int32
- func (self *Context) DragDropAcceptIdCurr() ID
- func (self *Context) DragDropAcceptIdCurrRectSurface() float32
- func (self *Context) DragDropAcceptIdPrev() ID
- func (self *Context) DragDropActive() bool
- func (self *Context) DragDropHoldJustPressedId() ID
- func (self *Context) DragDropMouseButton() int32
- func (self *Context) DragDropPayload() Payload
- func (self *Context) DragDropPayloadBufLocal() [16]uint
- func (self *Context) DragDropSourceFlags() DragDropFlags
- func (self *Context) DragDropSourceFrameCount() int32
- func (self *Context) DragDropTargetClipRect() Rect
- func (self *Context) DragDropTargetFullViewport() ID
- func (self *Context) DragDropTargetId() ID
- func (self *Context) DragDropTargetRect() Rect
- func (self *Context) DragDropWithinSource() bool
- func (self *Context) DragDropWithinTarget() bool
- func (self *Context) DragSpeedDefaultRatio() float32
- func (self *Context) DrawChannelsTempMergeBuffer() vectors.Vector[DrawChannel]
- func (self *Context) DrawListSharedData() DrawListSharedData
- func (self *Context) ErrorCallback() ErrorCallback
- func (self *Context) ErrorCallbackUserData() uintptr
- func (self *Context) ErrorCountCurrentFrame() int32
- func (self *Context) ErrorFirst() bool
- func (self *Context) ErrorTooltipLockedPos() Vec2
- func (self *Context) FallbackMonitor() PlatformMonitor
- func (self *Context) FocusScopeStack() vectors.Vector[FocusScopeData]
- func (self *Context) Font() *Font
- func (self *Context) FontAtlases() vectors.Vector[FontAtlas]
- func (self *Context) FontBaked() *FontBaked
- func (self *Context) FontBakedScale() float32
- func (self *Context) FontRasterizerDensity() float32
- func (self *Context) FontSize() float32
- func (self *Context) FontSizeBase() float32
- func (self *Context) FontStack() vectors.Vector[FontStackData]
- func (self *Context) FrameCount() int32
- func (self *Context) FrameCountEnded() int32
- func (self *Context) FrameCountPlatformEnded() int32
- func (self *Context) FrameCountRendered() int32
- func (self *Context) FramerateSecPerFrame() [60]float32
- func (self *Context) FramerateSecPerFrameAccum() float32
- func (self *Context) FramerateSecPerFrameCount() int32
- func (self *Context) FramerateSecPerFrameIdx() int32
- func (self *Context) GcCompactAll() bool
- func (self *Context) GroupStack() vectors.Vector[GroupData]
- func (self *Context) Handle() (result *C.ImGuiContext, fin func())
- func (self *Context) HookIdNext() ID
- func (self *Context) Hooks() vectors.Vector[ContextHook]
- func (self *Context) HoverItemDelayClearTimer() float32
- func (self *Context) HoverItemDelayId() ID
- func (self *Context) HoverItemDelayIdPreviousFrame() ID
- func (self *Context) HoverItemDelayTimer() float32
- func (self *Context) HoverItemUnlockedStationaryId() ID
- func (self *Context) HoverWindowUnlockedStationaryId() ID
- func (self *Context) HoveredId() ID
- func (self *Context) HoveredIdAllowOverlap() bool
- func (self *Context) HoveredIdIsDisabled() bool
- func (self *Context) HoveredIdNotActiveTimer() float32
- func (self *Context) HoveredIdPreviousFrame() ID
- func (self *Context) HoveredIdPreviousFrameItemCount() int32
- func (self *Context) HoveredIdTimer() float32
- func (self *Context) HoveredWindow() *Window
- func (self *Context) HoveredWindowBeforeClear() *Window
- func (self *Context) HoveredWindowUnderMovingWindow() *Window
- func (self *Context) IO() IO
- func (self *Context) Initialized() bool
- func (self *Context) InputEventsNextEventId() uint32
- func (self *Context) InputEventsNextMouseSource() MouseSource
- func (self *Context) InputEventsQueue() vectors.Vector[InputEvent]
- func (self *Context) InputEventsTrail() vectors.Vector[InputEvent]
- func (self *Context) InputTextDeactivatedState() InputTextDeactivatedState
- func (self *Context) InputTextLineIndex() TextIndex
- func (self *Context) InputTextPasswordFontBackupBaked() FontBaked
- func (self *Context) InputTextPasswordFontBackupFlags() FontFlags
- func (self *Context) InputTextReactivateId() ID
- func (self *Context) InputTextState() InputTextState
- func (self *Context) InternalDestroy()
- func (self *Context) ItemFlagsStack() vectors.Vector[ItemFlags]
- func (self *Context) ItemUnclipByLog() bool
- func (self *Context) KeysMayBeCharInput() BitArrayForNamedKeys
- func (self *Context) KeysOwnerData() [155]KeyOwnerData
- func (self *Context) KeysRoutingTable() KeyRoutingTable
- func (self *Context) LastActiveId() ID
- func (self *Context) LastActiveIdTimer() float32
- func (self *Context) LastItemData() LastItemData
- func (self *Context) LastKeyModsChangeFromNoneTime() float64
- func (self *Context) LastKeyModsChangeTime() float64
- func (self *Context) LastKeyboardKeyPressTime() float64
- func (self *Context) LocalizationTable() [13]string
- func (self *Context) LogBuffer() TextBuffer
- func (self *Context) LogDepthRef() int32
- func (self *Context) LogDepthToExpand() int32
- func (self *Context) LogDepthToExpandDefault() int32
- func (self *Context) LogEnabled() bool
- func (self *Context) LogFlags() LogFlags
- func (self *Context) LogLineFirstItem() bool
- func (self *Context) LogLinePosY() float32
- func (self *Context) LogNextPrefix() string
- func (self *Context) LogNextSuffix() string
- func (self *Context) LogWindow() *Window
- func (self *Context) MenusIdSubmittedThisFrame() vectors.Vector[ID]
- func (self *Context) MouseCursor() MouseCursor
- func (self *Context) MouseLastHoveredViewport() *ViewportP
- func (self *Context) MouseLastValidPos() Vec2
- func (self *Context) MouseStationaryTimer() float32
- func (self *Context) MouseViewport() *ViewportP
- func (self *Context) MovingWindow() *Window
- func (self *Context) MultiSelectTempData() vectors.Vector[MultiSelectTempData]
- func (self *Context) MultiSelectTempDataStacked() int32
- func (self *Context) NavActivateDownId() ID
- func (self *Context) NavActivateFlags() ActivateFlags
- func (self *Context) NavActivateId() ID
- func (self *Context) NavActivatePressedId() ID
- func (self *Context) NavAnyRequest() bool
- func (self *Context) NavCursorHideFrames() int
- func (self *Context) NavCursorVisible() bool
- func (self *Context) NavFocusRoute() vectors.Vector[FocusScopeData]
- func (self *Context) NavFocusScopeId() ID
- func (self *Context) NavHighlightActivatedId() ID
- func (self *Context) NavHighlightActivatedTimer() float32
- func (self *Context) NavHighlightItemUnderNav() bool
- func (self *Context) NavId() ID
- func (self *Context) NavIdIsAlive() bool
- func (self *Context) NavIdItemFlags() ItemFlags
- func (self *Context) NavInitRequest() bool
- func (self *Context) NavInitRequestFromMove() bool
- func (self *Context) NavInitResult() NavItemData
- func (self *Context) NavInputSource() InputSource
- func (self *Context) NavJustMovedFromFocusScopeId() ID
- func (self *Context) NavJustMovedToFocusScopeId() ID
- func (self *Context) NavJustMovedToHasSelectionData() bool
- func (self *Context) NavJustMovedToId() ID
- func (self *Context) NavJustMovedToIsTabbing() bool
- func (self *Context) NavJustMovedToKeyMods() KeyChord
- func (self *Context) NavLastValidSelectionUserData() SelectionUserData
- func (self *Context) NavLayer() NavLayer
- func (self *Context) NavMousePosDirty() bool
- func (self *Context) NavMoveClipDir() Dir
- func (self *Context) NavMoveDir() Dir
- func (self *Context) NavMoveDirForDebug() Dir
- func (self *Context) NavMoveFlags() NavMoveFlags
- func (self *Context) NavMoveForwardToNextFrame() bool
- func (self *Context) NavMoveKeyMods() KeyChord
- func (self *Context) NavMoveResultLocal() NavItemData
- func (self *Context) NavMoveResultLocalVisible() NavItemData
- func (self *Context) NavMoveResultOther() NavItemData
- func (self *Context) NavMoveScoringItems() bool
- func (self *Context) NavMoveScrollFlags() ScrollFlags
- func (self *Context) NavMoveSubmitted() bool
- func (self *Context) NavNextActivateFlags() ActivateFlags
- func (self *Context) NavNextActivateId() ID
- func (self *Context) NavOpenContextMenuItemId() ID
- func (self *Context) NavOpenContextMenuWindowId() ID
- func (self *Context) NavScoringDebugCount() int32
- func (self *Context) NavScoringNoClipRect() Rect
- func (self *Context) NavScoringRect() Rect
- func (self *Context) NavTabbingCounter() int32
- func (self *Context) NavTabbingDir() int32
- func (self *Context) NavTabbingResultFirst() NavItemData
- func (self *Context) NavWindow() *Window
- func (self *Context) NavWindowingAccumDeltaPos() Vec2
- func (self *Context) NavWindowingAccumDeltaSize() Vec2
- func (self *Context) NavWindowingHighlightAlpha() float32
- func (self *Context) NavWindowingInputSource() InputSource
- func (self *Context) NavWindowingListWindow() *Window
- func (self *Context) NavWindowingTarget() *Window
- func (self *Context) NavWindowingTargetAnim() *Window
- func (self *Context) NavWindowingTimer() float32
- func (self *Context) NavWindowingToggleKey() Key
- func (self *Context) NavWindowingToggleLayer() bool
- func (self *Context) NextItemData() NextItemData
- func (self *Context) NextWindowData() NextWindowData
- func (self *Context) OpenPopupStack() vectors.Vector[PopupData]
- func (self *Context) PlatformIO() PlatformIO
- func (self *Context) PlatformImeData() PlatformImeData
- func (self *Context) PlatformImeDataPrev() PlatformImeData
- func (self *Context) PlatformLastFocusedViewportId() ID
- func (self *Context) PlatformMonitorsFullWorkRect() Rect
- func (self *Context) PlatformWindowsCreatedCount() int32
- func (self *Context) ScrollbarClickDeltaToGrabCenter() float32
- func (self *Context) ScrollbarSeekMode() int16
- func (self Context) SetActiveId(v ID)
- func (self Context) SetActiveIdAllowOverlap(v bool)
- func (self Context) SetActiveIdClickOffset(v Vec2)
- func (self Context) SetActiveIdDisabledId(v ID)
- func (self Context) SetActiveIdFromShortcut(v bool)
- func (self Context) SetActiveIdHasBeenEditedBefore(v bool)
- func (self Context) SetActiveIdHasBeenEditedThisFrame(v bool)
- func (self Context) SetActiveIdHasBeenPressedBefore(v bool)
- func (self Context) SetActiveIdIsAlive(v ID)
- func (self Context) SetActiveIdIsJustActivated(v bool)
- func (self Context) SetActiveIdMouseButton(v int)
- func (self Context) SetActiveIdNoClearOnFocusLoss(v bool)
- func (self Context) SetActiveIdPreviousFrame(v ID)
- func (self Context) SetActiveIdSource(v InputSource)
- func (self Context) SetActiveIdTimer(v float32)
- func (self Context) SetActiveIdUsingAllKeyboardKeys(v bool)
- func (self Context) SetActiveIdUsingNavDirMask(v uint32)
- func (self Context) SetActiveIdValueOnActivation(v DataTypeStorage)
- func (self Context) SetActiveIdWindow(v *Window)
- func (self Context) SetBeginComboDepth(v int32)
- func (self Context) SetBeginMenuDepth(v int32)
- func (self Context) SetBeginPopupStack(v vectors.Vector[PopupData])
- func (self Context) SetBoxSelectState(v BoxSelectState)
- func (self Context) SetClipboardHandlerData(v vectors.Vector[int8])
- func (self Context) SetClipperTempData(v vectors.Vector[ListClipperData])
- func (self Context) SetClipperTempDataStacked(v int32)
- func (self Context) SetColorEditCurrentID(v ID)
- func (self Context) SetColorEditOptions(v ColorEditFlags)
- func (self Context) SetColorEditSavedColor(v uint32)
- func (self Context) SetColorEditSavedHue(v float32)
- func (self Context) SetColorEditSavedID(v ID)
- func (self Context) SetColorEditSavedSat(v float32)
- func (self Context) SetColorPickerRef(v Vec4)
- func (self Context) SetColorStack(v vectors.Vector[ColorMod])
- func (self Context) SetComboPreviewData(v ComboPreviewData)
- func (self Context) SetConfigFlagsCurrFrame(v ConfigFlags)
- func (self Context) SetConfigFlagsLastFrame(v ConfigFlags)
- func (self Context) SetConfigNavEnableTabbing(v bool)
- func (self Context) SetConfigNavWindowingKeyNext(v KeyChord)
- func (self Context) SetConfigNavWindowingKeyPrev(v KeyChord)
- func (self Context) SetConfigNavWindowingWithGamepad(v bool)
- func (self Context) SetContextName(v *[16]rune)
- func (self Context) SetCurrentDpiScale(v float32)
- func (self Context) SetCurrentFocusScopeId(v ID)
- func (self Context) SetCurrentItemFlags(v ItemFlags)
- func (self Context) SetCurrentMultiSelect(v *MultiSelectTempData)
- func (self Context) SetCurrentTabBar(v *TabBar)
- func (self Context) SetCurrentTabBarStack(v vectors.Vector[PtrOrIndex])
- func (self Context) SetCurrentTable(v *Table)
- func (self Context) SetCurrentViewport(v *ViewportP)
- func (self Context) SetCurrentWindow(v *Window)
- func (self Context) SetCurrentWindowStack(v vectors.Vector[WindowStackData])
- func (self Context) SetDataTypeZeroValue(v DataTypeStorage)
- func (self Context) SetDeactivatedItemData(v DeactivatedItemData)
- func (self Context) SetDebugAllocInfo(v DebugAllocInfo)
- func (self Context) SetDebugBeginReturnValueCullDepth(v int)
- func (self Context) SetDebugBreakInLocateId(v bool)
- func (self Context) SetDebugBreakInShortcutRouting(v KeyChord)
- func (self Context) SetDebugBreakInTable(v ID)
- func (self Context) SetDebugBreakInWindow(v ID)
- func (self Context) SetDebugBreakKeyChord(v KeyChord)
- func (self Context) SetDebugDrawIdConflictsCount(v int32)
- func (self Context) SetDebugDrawIdConflictsId(v ID)
- func (self Context) SetDebugFlashStyleColorBackup(v Vec4)
- func (self Context) SetDebugFlashStyleColorIdx(v Col)
- func (self Context) SetDebugFlashStyleColorTime(v float32)
- func (self Context) SetDebugHookIdInfoId(v ID)
- func (self Context) SetDebugHoveredDockNode(v *DockNode)
- func (self Context) SetDebugIDStackTool(v IDStackTool)
- func (self Context) SetDebugItemPathQuery(v DebugItemPathQuery)
- func (self Context) SetDebugItemPickerActive(v bool)
- func (self Context) SetDebugItemPickerBreakId(v ID)
- func (self Context) SetDebugItemPickerMouseButton(v byte)
- func (self Context) SetDebugLocateFrames(v byte)
- func (self Context) SetDebugLocateId(v ID)
- func (self Context) SetDebugLogAutoDisableFlags(v DebugLogFlags)
- func (self Context) SetDebugLogAutoDisableFrames(v byte)
- func (self Context) SetDebugLogBuf(v TextBuffer)
- func (self Context) SetDebugLogFlags(v DebugLogFlags)
- func (self Context) SetDebugLogIndex(v TextIndex)
- func (self Context) SetDebugLogSkippedErrors(v int32)
- func (self Context) SetDebugMetricsConfig(v MetricsConfig)
- func (self Context) SetDebugShowGroupRects(v bool)
- func (self Context) SetDemoMarkerCallback(v DemoMarkerCallback)
- func (self Context) SetDimBgRatio(v float32)
- func (self Context) SetDisabledAlphaBackup(v float32)
- func (self Context) SetDisabledStackSize(v int16)
- func (self Context) SetDockContext(v DockContext)
- func (self Context) SetDragCurrentAccum(v float32)
- func (self Context) SetDragCurrentAccumDirty(v bool)
- func (self Context) SetDragDropAcceptFlagsCurr(v DragDropFlags)
- func (self Context) SetDragDropAcceptFlagsPrev(v DragDropFlags)
- func (self Context) SetDragDropAcceptFrameCount(v int32)
- func (self Context) SetDragDropAcceptIdCurr(v ID)
- func (self Context) SetDragDropAcceptIdCurrRectSurface(v float32)
- func (self Context) SetDragDropAcceptIdPrev(v ID)
- func (self Context) SetDragDropActive(v bool)
- func (self Context) SetDragDropHoldJustPressedId(v ID)
- func (self Context) SetDragDropMouseButton(v int32)
- func (self Context) SetDragDropPayload(v Payload)
- func (self Context) SetDragDropPayloadBufLocal(v *[16]uint)
- func (self Context) SetDragDropSourceFlags(v DragDropFlags)
- func (self Context) SetDragDropSourceFrameCount(v int32)
- func (self Context) SetDragDropTargetClipRect(v Rect)
- func (self Context) SetDragDropTargetFullViewport(v ID)
- func (self Context) SetDragDropTargetId(v ID)
- func (self Context) SetDragDropTargetRect(v Rect)
- func (self Context) SetDragDropWithinSource(v bool)
- func (self Context) SetDragDropWithinTarget(v bool)
- func (self Context) SetDragSpeedDefaultRatio(v float32)
- func (self Context) SetDrawChannelsTempMergeBuffer(v vectors.Vector[DrawChannel])
- func (self Context) SetDrawListSharedData(v DrawListSharedData)
- func (self Context) SetErrorCallback(v ErrorCallback)
- func (self Context) SetErrorCallbackUserData(v uintptr)
- func (self Context) SetErrorCountCurrentFrame(v int32)
- func (self Context) SetErrorFirst(v bool)
- func (self Context) SetErrorTooltipLockedPos(v Vec2)
- func (self Context) SetFallbackMonitor(v PlatformMonitor)
- func (self Context) SetFocusScopeStack(v vectors.Vector[FocusScopeData])
- func (self Context) SetFont(v *Font)
- func (self Context) SetFontBaked(v *FontBaked)
- func (self Context) SetFontBakedScale(v float32)
- func (self Context) SetFontRasterizerDensity(v float32)
- func (self Context) SetFontSize(v float32)
- func (self Context) SetFontSizeBase(v float32)
- func (self Context) SetFontStack(v vectors.Vector[FontStackData])
- func (self Context) SetFrameCount(v int32)
- func (self Context) SetFrameCountEnded(v int32)
- func (self Context) SetFrameCountPlatformEnded(v int32)
- func (self Context) SetFrameCountRendered(v int32)
- func (self Context) SetFramerateSecPerFrame(v *[60]float32)
- func (self Context) SetFramerateSecPerFrameAccum(v float32)
- func (self Context) SetFramerateSecPerFrameCount(v int32)
- func (self Context) SetFramerateSecPerFrameIdx(v int32)
- func (self Context) SetGcCompactAll(v bool)
- func (self Context) SetGroupStack(v vectors.Vector[GroupData])
- func (self Context) SetHookIdNext(v ID)
- func (self Context) SetHooks(v vectors.Vector[ContextHook])
- func (self Context) SetHoverItemDelayClearTimer(v float32)
- func (self Context) SetHoverItemDelayId(v ID)
- func (self Context) SetHoverItemDelayIdPreviousFrame(v ID)
- func (self Context) SetHoverItemDelayTimer(v float32)
- func (self Context) SetHoverItemUnlockedStationaryId(v ID)
- func (self Context) SetHoverWindowUnlockedStationaryId(v ID)
- func (self Context) SetHoveredId(v ID)
- func (self Context) SetHoveredIdAllowOverlap(v bool)
- func (self Context) SetHoveredIdIsDisabled(v bool)
- func (self Context) SetHoveredIdNotActiveTimer(v float32)
- func (self Context) SetHoveredIdPreviousFrame(v ID)
- func (self Context) SetHoveredIdPreviousFrameItemCount(v int32)
- func (self Context) SetHoveredIdTimer(v float32)
- func (self Context) SetHoveredWindow(v *Window)
- func (self Context) SetHoveredWindowBeforeClear(v *Window)
- func (self Context) SetHoveredWindowUnderMovingWindow(v *Window)
- func (self Context) SetIO(v IO)
- func (self Context) SetInitialized(v bool)
- func (self Context) SetInputEventsNextEventId(v uint32)
- func (self Context) SetInputEventsNextMouseSource(v MouseSource)
- func (self Context) SetInputEventsQueue(v vectors.Vector[InputEvent])
- func (self Context) SetInputEventsTrail(v vectors.Vector[InputEvent])
- func (self Context) SetInputTextDeactivatedState(v InputTextDeactivatedState)
- func (self Context) SetInputTextLineIndex(v TextIndex)
- func (self Context) SetInputTextPasswordFontBackupBaked(v FontBaked)
- func (self Context) SetInputTextPasswordFontBackupFlags(v FontFlags)
- func (self Context) SetInputTextReactivateId(v ID)
- func (self Context) SetInputTextState(v InputTextState)
- func (self Context) SetItemFlagsStack(v vectors.Vector[ItemFlags])
- func (self Context) SetItemUnclipByLog(v bool)
- func (self Context) SetKeysMayBeCharInput(v BitArrayForNamedKeys)
- func (self Context) SetKeysOwnerData(v *[155]KeyOwnerData)
- func (self Context) SetKeysRoutingTable(v KeyRoutingTable)
- func (self Context) SetLastActiveId(v ID)
- func (self Context) SetLastActiveIdTimer(v float32)
- func (self Context) SetLastItemData(v LastItemData)
- func (self Context) SetLastKeyModsChangeFromNoneTime(v float64)
- func (self Context) SetLastKeyModsChangeTime(v float64)
- func (self Context) SetLastKeyboardKeyPressTime(v float64)
- func (self Context) SetLocalizationTable(v *[13]string)
- func (self Context) SetLogBuffer(v TextBuffer)
- func (self Context) SetLogDepthRef(v int32)
- func (self Context) SetLogDepthToExpand(v int32)
- func (self Context) SetLogDepthToExpandDefault(v int32)
- func (self Context) SetLogEnabled(v bool)
- func (self Context) SetLogFlags(v LogFlags)
- func (self Context) SetLogLineFirstItem(v bool)
- func (self Context) SetLogLinePosY(v float32)
- func (self Context) SetLogNextPrefix(v string)
- func (self Context) SetLogNextSuffix(v string)
- func (self Context) SetLogWindow(v *Window)
- func (self Context) SetMenusIdSubmittedThisFrame(v vectors.Vector[ID])
- func (self Context) SetMouseCursor(v MouseCursor)
- func (self Context) SetMouseLastHoveredViewport(v *ViewportP)
- func (self Context) SetMouseLastValidPos(v Vec2)
- func (self Context) SetMouseStationaryTimer(v float32)
- func (self Context) SetMouseViewport(v *ViewportP)
- func (self Context) SetMovingWindow(v *Window)
- func (self Context) SetMultiSelectTempData(v vectors.Vector[MultiSelectTempData])
- func (self Context) SetMultiSelectTempDataStacked(v int32)
- func (self Context) SetNavActivateDownId(v ID)
- func (self Context) SetNavActivateFlags(v ActivateFlags)
- func (self Context) SetNavActivateId(v ID)
- func (self Context) SetNavActivatePressedId(v ID)
- func (self Context) SetNavAnyRequest(v bool)
- func (self Context) SetNavCursorHideFrames(v int)
- func (self Context) SetNavCursorVisible(v bool)
- func (self Context) SetNavFocusRoute(v vectors.Vector[FocusScopeData])
- func (self Context) SetNavFocusScopeId(v ID)
- func (self Context) SetNavHighlightActivatedId(v ID)
- func (self Context) SetNavHighlightActivatedTimer(v float32)
- func (self Context) SetNavHighlightItemUnderNav(v bool)
- func (self Context) SetNavId(v ID)
- func (self Context) SetNavIdIsAlive(v bool)
- func (self Context) SetNavIdItemFlags(v ItemFlags)
- func (self Context) SetNavInitRequest(v bool)
- func (self Context) SetNavInitRequestFromMove(v bool)
- func (self Context) SetNavInitResult(v NavItemData)
- func (self Context) SetNavInputSource(v InputSource)
- func (self Context) SetNavJustMovedFromFocusScopeId(v ID)
- func (self Context) SetNavJustMovedToFocusScopeId(v ID)
- func (self Context) SetNavJustMovedToHasSelectionData(v bool)
- func (self Context) SetNavJustMovedToId(v ID)
- func (self Context) SetNavJustMovedToIsTabbing(v bool)
- func (self Context) SetNavJustMovedToKeyMods(v KeyChord)
- func (self Context) SetNavLastValidSelectionUserData(v SelectionUserData)
- func (self Context) SetNavLayer(v NavLayer)
- func (self Context) SetNavMousePosDirty(v bool)
- func (self Context) SetNavMoveClipDir(v Dir)
- func (self Context) SetNavMoveDir(v Dir)
- func (self Context) SetNavMoveDirForDebug(v Dir)
- func (self Context) SetNavMoveFlags(v NavMoveFlags)
- func (self Context) SetNavMoveForwardToNextFrame(v bool)
- func (self Context) SetNavMoveKeyMods(v KeyChord)
- func (self Context) SetNavMoveResultLocal(v NavItemData)
- func (self Context) SetNavMoveResultLocalVisible(v NavItemData)
- func (self Context) SetNavMoveResultOther(v NavItemData)
- func (self Context) SetNavMoveScoringItems(v bool)
- func (self Context) SetNavMoveScrollFlags(v ScrollFlags)
- func (self Context) SetNavMoveSubmitted(v bool)
- func (self Context) SetNavNextActivateFlags(v ActivateFlags)
- func (self Context) SetNavNextActivateId(v ID)
- func (self Context) SetNavOpenContextMenuItemId(v ID)
- func (self Context) SetNavOpenContextMenuWindowId(v ID)
- func (self Context) SetNavScoringDebugCount(v int32)
- func (self Context) SetNavScoringNoClipRect(v Rect)
- func (self Context) SetNavScoringRect(v Rect)
- func (self Context) SetNavTabbingCounter(v int32)
- func (self Context) SetNavTabbingDir(v int32)
- func (self Context) SetNavTabbingResultFirst(v NavItemData)
- func (self Context) SetNavWindow(v *Window)
- func (self Context) SetNavWindowingAccumDeltaPos(v Vec2)
- func (self Context) SetNavWindowingAccumDeltaSize(v Vec2)
- func (self Context) SetNavWindowingHighlightAlpha(v float32)
- func (self Context) SetNavWindowingInputSource(v InputSource)
- func (self Context) SetNavWindowingListWindow(v *Window)
- func (self Context) SetNavWindowingTarget(v *Window)
- func (self Context) SetNavWindowingTargetAnim(v *Window)
- func (self Context) SetNavWindowingTimer(v float32)
- func (self Context) SetNavWindowingToggleKey(v Key)
- func (self Context) SetNavWindowingToggleLayer(v bool)
- func (self Context) SetNextItemData(v NextItemData)
- func (self Context) SetNextWindowData(v NextWindowData)
- func (self Context) SetOpenPopupStack(v vectors.Vector[PopupData])
- func (self Context) SetPlatformIO(v PlatformIO)
- func (self Context) SetPlatformImeData(v PlatformImeData)
- func (self Context) SetPlatformImeDataPrev(v PlatformImeData)
- func (self Context) SetPlatformLastFocusedViewportId(v ID)
- func (self Context) SetPlatformMonitorsFullWorkRect(v Rect)
- func (self Context) SetPlatformWindowsCreatedCount(v int32)
- func (self Context) SetScrollbarClickDeltaToGrabCenter(v float32)
- func (self Context) SetScrollbarSeekMode(v int16)
- func (self Context) SetSettingsDirtyTimer(v float32)
- func (self Context) SetSettingsHandlers(v vectors.Vector[SettingsHandler])
- func (self Context) SetSettingsIniData(v TextBuffer)
- func (self Context) SetSettingsLoaded(v bool)
- func (self Context) SetShrinkWidthBuffer(v vectors.Vector[ShrinkWidthItem])
- func (self Context) SetSliderCurrentAccum(v float32)
- func (self Context) SetSliderCurrentAccumDirty(v bool)
- func (self Context) SetSliderGrabClickOffset(v float32)
- func (self Context) SetStackSizesInBeginForCurrentWindow(v *ErrorRecoveryState)
- func (self Context) SetStackSizesInNewFrame(v ErrorRecoveryState)
- func (self Context) SetStyle(v Style)
- func (self Context) SetStyleVarStack(v vectors.Vector[StyleMod])
- func (self Context) SetTablesLastTimeActive(v vectors.Vector[float32])
- func (self Context) SetTablesTempData(v vectors.Vector[TableTempData])
- func (self Context) SetTablesTempDataStacked(v int32)
- func (self Context) SetTempBuffer(v vectors.Vector[int8])
- func (self Context) SetTempInputId(v ID)
- func (self Context) SetTempKeychordName(v *[64]rune)
- func (self Context) SetTestEngine(v uintptr)
- func (self Context) SetTestEngineHookItems(v bool)
- func (self Context) SetTime(v float64)
- func (self Context) SetTooltipOverrideCount(v int16)
- func (self Context) SetTooltipPreviousWindow(v *Window)
- func (self Context) SetTreeNodeStack(v vectors.Vector[TreeNodeStackData])
- func (self Context) SetTypingSelectState(v TypingSelectState)
- func (self Context) SetViewportCreatedCount(v int32)
- func (self Context) SetViewportFocusedStampCount(v int32)
- func (self Context) SetWantCaptureKeyboardNextFrame(v int32)
- func (self Context) SetWantCaptureMouseNextFrame(v int32)
- func (self Context) SetWantTextInputNextFrame(v int32)
- func (self Context) SetWheelingAxisAvg(v Vec2)
- func (self Context) SetWheelingWindow(v *Window)
- func (self Context) SetWheelingWindowRefMousePos(v Vec2)
- func (self Context) SetWheelingWindowReleaseTimer(v float32)
- func (self Context) SetWheelingWindowScrolledFrame(v int32)
- func (self Context) SetWheelingWindowStartFrame(v int32)
- func (self Context) SetWheelingWindowWheelRemainder(v Vec2)
- func (self Context) SetWindowResizeBorderExpectedRect(v Rect)
- func (self Context) SetWindowResizeRelativeMode(v bool)
- func (self Context) SetWindowsActiveCount(v int32)
- func (self Context) SetWindowsBorderHoverPadding(v float32)
- func (self Context) SetWindowsById(v Storage)
- func (self Context) SetWithinEndChildID(v ID)
- func (self Context) SetWithinEndPopupID(v ID)
- func (self Context) SetWithinFrameScope(v bool)
- func (self Context) SetWithinFrameScopeWithImplicitWindow(v bool)
- func (self *Context) SettingsDirtyTimer() float32
- func (self *Context) SettingsHandlers() vectors.Vector[SettingsHandler]
- func (self *Context) SettingsIniData() TextBuffer
- func (self *Context) SettingsLoaded() bool
- func (self *Context) ShrinkWidthBuffer() vectors.Vector[ShrinkWidthItem]
- func (self *Context) SliderCurrentAccum() float32
- func (self *Context) SliderCurrentAccumDirty() bool
- func (self *Context) SliderGrabClickOffset() float32
- func (self *Context) StackSizesInBeginForCurrentWindow() *ErrorRecoveryState
- func (self *Context) StackSizesInNewFrame() ErrorRecoveryState
- func (self *Context) Style() Style
- func (self *Context) StyleVarStack() vectors.Vector[StyleMod]
- func (self *Context) TablesLastTimeActive() vectors.Vector[float32]
- func (self *Context) TablesTempData() vectors.Vector[TableTempData]
- func (self *Context) TablesTempDataStacked() int32
- func (self *Context) TempBuffer() vectors.Vector[int8]
- func (self *Context) TempInputId() ID
- func (self *Context) TempKeychordName() [64]rune
- func (self *Context) TestEngine() uintptr
- func (self *Context) TestEngineHookItems() bool
- func (self *Context) Time() float64
- func (self *Context) TooltipOverrideCount() int16
- func (self *Context) TooltipPreviousWindow() *Window
- func (self *Context) TreeNodeStack() vectors.Vector[TreeNodeStackData]
- func (self *Context) TypingSelectState() TypingSelectState
- func (self *Context) UserTextures() vectors.Vector[TextureData]
- func (self *Context) ViewportCreatedCount() int32
- func (self *Context) ViewportFocusedStampCount() int32
- func (self *Context) Viewports() vectors.Vector[ViewportP]
- func (self *Context) WantCaptureKeyboardNextFrame() int32
- func (self *Context) WantCaptureMouseNextFrame() int32
- func (self *Context) WantTextInputNextFrame() int32
- func (self *Context) WheelingAxisAvg() Vec2
- func (self *Context) WheelingWindow() *Window
- func (self *Context) WheelingWindowRefMousePos() Vec2
- func (self *Context) WheelingWindowReleaseTimer() float32
- func (self *Context) WheelingWindowScrolledFrame() int32
- func (self *Context) WheelingWindowStartFrame() int32
- func (self *Context) WheelingWindowWheelRemainder() Vec2
- func (self *Context) WindowResizeBorderExpectedRect() Rect
- func (self *Context) WindowResizeRelativeMode() bool
- func (self *Context) Windows() vectors.Vector[Window]
- func (self *Context) WindowsActiveCount() int32
- func (self *Context) WindowsBorderHoverPadding() float32
- func (self *Context) WindowsById() Storage
- func (self *Context) WindowsFocusOrder() vectors.Vector[Window]
- func (self *Context) WindowsTempSortBuffer() vectors.Vector[Window]
- func (self *Context) WithinEndChildID() ID
- func (self *Context) WithinEndPopupID() ID
- func (self *Context) WithinFrameScope() bool
- func (self *Context) WithinFrameScopeWithImplicitWindow() bool
- type ContextHook
- func (self ContextHook) C() (C.ImGuiContextHook, func())
- func (self *ContextHook) Callback() ContextHookCallback
- func (self *ContextHook) Handle() (result *C.ImGuiContextHook, fin func())
- func (self *ContextHook) HookId() ID
- func (self *ContextHook) InternalDestroy()
- func (self *ContextHook) Owner() ID
- func (self ContextHook) SetCallback(v ContextHookCallback)
- func (self ContextHook) SetHookId(v ID)
- func (self ContextHook) SetOwner(v ID)
- func (self ContextHook) SetType(v ContextHookType)
- func (self ContextHook) SetUserData(v uintptr)
- func (self *ContextHook) Type() ContextHookType
- func (self *ContextHook) UserData() uintptr
- type ContextHookCallback
- type ContextHookType
- type DataAuthority
- type DataType
- type DataTypeInfo
- func (self DataTypeInfo) C() (C.ImGuiDataTypeInfo, func())
- func (self *DataTypeInfo) Handle() (result *C.ImGuiDataTypeInfo, fin func())
- func (self *DataTypeInfo) Name() string
- func (self *DataTypeInfo) PrintFmt() string
- func (self *DataTypeInfo) ScanFmt() string
- func (self DataTypeInfo) SetName(v string)
- func (self DataTypeInfo) SetPrintFmt(v string)
- func (self DataTypeInfo) SetScanFmt(v string)
- func (self DataTypeInfo) SetSize(v uint64)
- func (self *DataTypeInfo) Size() uint64
- type DataTypePrivate
- type DataTypeStorage
- type DeactivatedItemData
- func (self DeactivatedItemData) C() (C.ImGuiDeactivatedItemData, func())
- func (self *DeactivatedItemData) ElapseFrame() int32
- func (self *DeactivatedItemData) Handle() (result *C.ImGuiDeactivatedItemData, fin func())
- func (self *DeactivatedItemData) HasBeenEditedBefore() bool
- func (self *DeactivatedItemData) ID() ID
- func (self *DeactivatedItemData) IsAlive() bool
- func (self DeactivatedItemData) SetElapseFrame(v int32)
- func (self DeactivatedItemData) SetHasBeenEditedBefore(v bool)
- func (self DeactivatedItemData) SetID(v ID)
- func (self DeactivatedItemData) SetIsAlive(v bool)
- type DebugAllocEntry
- func (self *DebugAllocEntry) AllocCount() int16
- func (self DebugAllocEntry) C() (C.ImGuiDebugAllocEntry, func())
- func (self *DebugAllocEntry) FrameCount() int32
- func (self *DebugAllocEntry) FreeCount() int16
- func (self *DebugAllocEntry) Handle() (result *C.ImGuiDebugAllocEntry, fin func())
- func (self DebugAllocEntry) SetAllocCount(v int16)
- func (self DebugAllocEntry) SetFrameCount(v int32)
- func (self DebugAllocEntry) SetFreeCount(v int16)
- type DebugAllocInfo
- func (self DebugAllocInfo) C() (C.ImGuiDebugAllocInfo, func())
- func (self *DebugAllocInfo) Handle() (result *C.ImGuiDebugAllocInfo, fin func())
- func (self *DebugAllocInfo) InternalDestroy()
- func (self *DebugAllocInfo) LastEntriesBuf() [6]DebugAllocEntry
- func (self *DebugAllocInfo) LastEntriesIdx() int16
- func (self DebugAllocInfo) SetLastEntriesBuf(v *[6]DebugAllocEntry)
- func (self DebugAllocInfo) SetLastEntriesIdx(v int16)
- func (self DebugAllocInfo) SetTotalAllocCount(v int32)
- func (self DebugAllocInfo) SetTotalFreeCount(v int32)
- func (self *DebugAllocInfo) TotalAllocCount() int32
- func (self *DebugAllocInfo) TotalFreeCount() int32
- type DebugItemPathQuery
- func (self *DebugItemPathQuery) Active() bool
- func (self DebugItemPathQuery) C() (C.ImGuiDebugItemPathQuery, func())
- func (self *DebugItemPathQuery) Complete() bool
- func (self *DebugItemPathQuery) Handle() (result *C.ImGuiDebugItemPathQuery, fin func())
- func (self *DebugItemPathQuery) InternalDestroy()
- func (self *DebugItemPathQuery) MainID() ID
- func (self *DebugItemPathQuery) ResultPathBuf() TextBuffer
- func (self *DebugItemPathQuery) Results() vectors.Vector[StackLevelInfo]
- func (self *DebugItemPathQuery) ResultsDescBuf() TextBuffer
- func (self DebugItemPathQuery) SetActive(v bool)
- func (self DebugItemPathQuery) SetComplete(v bool)
- func (self DebugItemPathQuery) SetMainID(v ID)
- func (self DebugItemPathQuery) SetResultPathBuf(v TextBuffer)
- func (self DebugItemPathQuery) SetResults(v vectors.Vector[StackLevelInfo])
- func (self DebugItemPathQuery) SetResultsDescBuf(v TextBuffer)
- func (self DebugItemPathQuery) SetStep(v int)
- func (self *DebugItemPathQuery) Step() int
- type DebugLogFlags
- type DemoMarkerCallback
- type Dir
- type DockContext
- func (self DockContext) C() (C.ImGuiDockContext, func())
- func (self *DockContext) Handle() (result *C.ImGuiDockContext, fin func())
- func (self *DockContext) InternalDestroy()
- func (self *DockContext) Nodes() Storage
- func (self *DockContext) NodesSettings() vectors.Vector[DockNodeSettings]
- func (self *DockContext) Requests() vectors.Vector[DockRequest]
- func (self DockContext) SetNodes(v Storage)
- func (self DockContext) SetNodesSettings(v vectors.Vector[DockNodeSettings])
- func (self DockContext) SetRequests(v vectors.Vector[DockRequest])
- func (self DockContext) SetWantFullRebuild(v bool)
- func (self *DockContext) WantFullRebuild() bool
- type DockNode
- func InternalDockBuilderGetCentralNode(node_id ID) *DockNode
- func InternalDockBuilderGetNode(node_id ID) *DockNode
- func InternalDockContextFindNodeByID(ctx *Context, id ID) *DockNode
- func InternalDockNodeGetRootNode(node *DockNode) *DockNode
- func InternalNewDockNode(id ID) *DockNode
- func InternalWindowDockNode() *DockNode
- func NewDockNodeFromC[SRC any](cvalue SRC) *DockNode
- func NewEmptyDockNode() *DockNode
- func (self *DockNode) AuthorityForPos() DataAuthority
- func (self *DockNode) AuthorityForSize() DataAuthority
- func (self *DockNode) AuthorityForViewport() DataAuthority
- func (self DockNode) C() (C.ImGuiDockNode, func())
- func (self *DockNode) CentralNode() *DockNode
- func (self *DockNode) ChildNodes() [2]*DockNode
- func (self *DockNode) CountNodeWithWindows() int32
- func (self *DockNode) Handle() (result *C.ImGuiDockNode, fin func())
- func (self *DockNode) HasCentralNodeChild() bool
- func (self *DockNode) HasCloseButton() bool
- func (self *DockNode) HasWindowMenuButton() bool
- func (self *DockNode) HostWindow() *Window
- func (self *DockNode) ID() ID
- func (self *DockNode) InternalDestroy()
- func (self *DockNode) InternalIsCentralNode() bool
- func (self *DockNode) InternalIsDockSpace() bool
- func (self *DockNode) InternalIsEmpty() bool
- func (self *DockNode) InternalIsFloatingNode() bool
- func (self *DockNode) InternalIsHiddenTabBar() bool
- func (self *DockNode) InternalIsLeafNode() bool
- func (self *DockNode) InternalIsNoTabBar() bool
- func (self *DockNode) InternalIsRootNode() bool
- func (self *DockNode) InternalIsSplitNode() bool
- func (self *DockNode) InternalRect() Rect
- func (self *DockNode) InternalSetLocalFlags(flags DockNodeFlags)
- func (self *DockNode) InternalUpdateMergedFlags()
- func (self *DockNode) IsBgDrawnThisFrame() bool
- func (self *DockNode) IsFocused() bool
- func (self *DockNode) IsVisible() bool
- func (self *DockNode) LastBgColor() uint32
- func (self *DockNode) LastFocusedNodeId() ID
- func (self *DockNode) LastFrameActive() int32
- func (self *DockNode) LastFrameAlive() int32
- func (self *DockNode) LastFrameFocused() int32
- func (self *DockNode) LocalFlags() DockNodeFlags
- func (self *DockNode) LocalFlagsInWindows() DockNodeFlags
- func (self *DockNode) MergedFlags() DockNodeFlags
- func (self *DockNode) OnlyNodeWithWindows() *DockNode
- func (self *DockNode) ParentNode() *DockNode
- func (self *DockNode) Pos() Vec2
- func (self *DockNode) RefViewportId() ID
- func (self *DockNode) SelectedTabId() ID
- func (self DockNode) SetAuthorityForPos(v DataAuthority)
- func (self DockNode) SetAuthorityForSize(v DataAuthority)
- func (self DockNode) SetAuthorityForViewport(v DataAuthority)
- func (self DockNode) SetCentralNode(v *DockNode)
- func (self DockNode) SetChildNodes(v *[2]*DockNode)
- func (self DockNode) SetCountNodeWithWindows(v int32)
- func (self DockNode) SetHasCentralNodeChild(v bool)
- func (self DockNode) SetHasCloseButton(v bool)
- func (self DockNode) SetHasWindowMenuButton(v bool)
- func (self DockNode) SetHostWindow(v *Window)
- func (self DockNode) SetID(v ID)
- func (self DockNode) SetIsBgDrawnThisFrame(v bool)
- func (self DockNode) SetIsFocused(v bool)
- func (self DockNode) SetIsVisible(v bool)
- func (self DockNode) SetLastBgColor(v uint32)
- func (self DockNode) SetLastFocusedNodeId(v ID)
- func (self DockNode) SetLastFrameActive(v int32)
- func (self DockNode) SetLastFrameAlive(v int32)
- func (self DockNode) SetLastFrameFocused(v int32)
- func (self DockNode) SetLocalFlagsInWindows(v DockNodeFlags)
- func (self DockNode) SetMergedFlags(v DockNodeFlags)
- func (self DockNode) SetOnlyNodeWithWindows(v *DockNode)
- func (self DockNode) SetParentNode(v *DockNode)
- func (self DockNode) SetPos(v Vec2)
- func (self DockNode) SetRefViewportId(v ID)
- func (self DockNode) SetSelectedTabId(v ID)
- func (self DockNode) SetSharedFlags(v DockNodeFlags)
- func (self DockNode) SetSize(v Vec2)
- func (self DockNode) SetSizeRef(v Vec2)
- func (self DockNode) SetSplitAxis(v Axis)
- func (self DockNode) SetState(v DockNodeState)
- func (self DockNode) SetTabBar(v *TabBar)
- func (self DockNode) SetVisibleWindow(v *Window)
- func (self DockNode) SetWantCloseAll(v bool)
- func (self DockNode) SetWantCloseTabId(v ID)
- func (self DockNode) SetWantHiddenTabBarToggle(v bool)
- func (self DockNode) SetWantHiddenTabBarUpdate(v bool)
- func (self DockNode) SetWantLockSizeOnce(v bool)
- func (self DockNode) SetWantMouseMove(v bool)
- func (self DockNode) SetWindowClass(v WindowClass)
- func (self *DockNode) SharedFlags() DockNodeFlags
- func (self *DockNode) Size() Vec2
- func (self *DockNode) SizeRef() Vec2
- func (self *DockNode) SplitAxis() Axis
- func (self *DockNode) State() DockNodeState
- func (self *DockNode) TabBar() *TabBar
- func (self *DockNode) VisibleWindow() *Window
- func (self *DockNode) WantCloseAll() bool
- func (self *DockNode) WantCloseTabId() ID
- func (self *DockNode) WantHiddenTabBarToggle() bool
- func (self *DockNode) WantHiddenTabBarUpdate() bool
- func (self *DockNode) WantLockSizeOnce() bool
- func (self *DockNode) WantMouseMove() bool
- func (self *DockNode) WindowClass() WindowClass
- func (self *DockNode) Windows() vectors.Vector[Window]
- type DockNodeFlags
- type DockNodeFlagsPrivate
- type DockNodeSettings
- type DockNodeState
- type DockRequest
- type DragDropFlags
- type DrawCallback
- type DrawChannel
- func (self DrawChannel) C() (C.ImDrawChannel, func())
- func (self *DrawChannel) CmdBuffer() vectors.Vector[DrawCmd]
- func (self *DrawChannel) Handle() (result *C.ImDrawChannel, fin func())
- func (self *DrawChannel) IdxBuffer() vectors.Vector[DrawIdx]
- func (self DrawChannel) SetCmdBuffer(v vectors.Vector[DrawCmd])
- func (self DrawChannel) SetIdxBuffer(v vectors.Vector[DrawIdx])
- type DrawCmd
- func (self DrawCmd) C() (C.ImDrawCmd, func())
- func (d DrawCmd) CallUserCallback(list DrawList)
- func (self *DrawCmd) ClipRect() Vec4
- func (self *DrawCmd) Destroy()
- func (self *DrawCmd) ElemCount() uint32
- func (self *DrawCmd) Handle() (result *C.ImDrawCmd, fin func())
- func (d DrawCmd) HasUserCallback() bool
- func (self *DrawCmd) IdxOffset() uint32
- func (self DrawCmd) SetClipRect(v Vec4)
- func (self DrawCmd) SetElemCount(v uint32)
- func (self DrawCmd) SetIdxOffset(v uint32)
- func (self DrawCmd) SetTexRef(v TextureRef)
- func (self DrawCmd) SetUserCallback(v DrawCallback)
- func (self DrawCmd) SetUserCallbackData(v uintptr)
- func (self DrawCmd) SetUserCallbackDataOffset(v int32)
- func (self DrawCmd) SetUserCallbackDataSize(v int32)
- func (self DrawCmd) SetVtxOffset(v uint32)
- func (self *DrawCmd) TexID() TextureID
- func (self *DrawCmd) TexRef() TextureRef
- func (self *DrawCmd) UserCallback() DrawCallback
- func (self *DrawCmd) UserCallbackData() uintptr
- func (self *DrawCmd) UserCallbackDataOffset() int32
- func (self *DrawCmd) UserCallbackDataSize() int32
- func (self *DrawCmd) VtxOffset() uint32
- type DrawCmdHeader
- func (self DrawCmdHeader) C() (C.ImDrawCmdHeader, func())
- func (self *DrawCmdHeader) ClipRect() Vec4
- func (self *DrawCmdHeader) Handle() (result *C.ImDrawCmdHeader, fin func())
- func (self DrawCmdHeader) SetClipRect(v Vec4)
- func (self DrawCmdHeader) SetTexRef(v TextureRef)
- func (self DrawCmdHeader) SetVtxOffset(v uint32)
- func (self *DrawCmdHeader) TexRef() TextureRef
- func (self *DrawCmdHeader) VtxOffset() uint32
- type DrawData
- func (self *DrawData) AddDrawList(draw_list *DrawList)
- func (self DrawData) C() (C.ImDrawData, func())
- func (self *DrawData) Clear()
- func (self *DrawData) CmdLists() vectors.Vector[DrawList]
- func (self *DrawData) CmdListsCount() int32
- func (d DrawData) CommandLists() []DrawList
- func (self *DrawData) DeIndexAllBuffers()
- func (self *DrawData) Destroy()
- func (self *DrawData) DisplayPos() Vec2
- func (self *DrawData) DisplaySize() Vec2
- func (self *DrawData) FramebufferScale() Vec2
- func (self *DrawData) Handle() (result *C.ImDrawData, fin func())
- func (self *DrawData) OwnerViewport() *Viewport
- func (self *DrawData) ScaleClipRects(fb_scale Vec2)
- func (self DrawData) SetCmdListsCount(v int32)
- func (self DrawData) SetDisplayPos(v Vec2)
- func (self DrawData) SetDisplaySize(v Vec2)
- func (self DrawData) SetFramebufferScale(v Vec2)
- func (self DrawData) SetOwnerViewport(v *Viewport)
- func (self DrawData) SetTotalIdxCount(v int32)
- func (self DrawData) SetTotalVtxCount(v int32)
- func (self DrawData) SetValid(v bool)
- func (self *DrawData) Textures() vectors.Vector[TextureData]
- func (self *DrawData) TotalIdxCount() int32
- func (self *DrawData) TotalVtxCount() int32
- func (self *DrawData) Valid() bool
- type DrawDataBuilder
- func (self DrawDataBuilder) C() (C.ImDrawDataBuilder, func())
- func (self *DrawDataBuilder) Handle() (result *C.ImDrawDataBuilder, fin func())
- func (self *DrawDataBuilder) InternalDestroy()
- func (self *DrawDataBuilder) LayerData1() vectors.Vector[DrawList]
- func (self *DrawDataBuilder) Layers() [2]vectors.Vector[DrawList]
- type DrawFlags
- type DrawIdx
- type DrawList
- func BackgroundDrawList() *DrawList
- func BackgroundDrawListV(viewport *Viewport) *DrawList
- func ForegroundDrawListViewportPtr() *DrawList
- func ForegroundDrawListViewportPtrV(viewport *Viewport) *DrawList
- func InternalForegroundDrawListWindowPtr(window *Window) *DrawList
- func NewDrawList(shared_data *DrawListSharedData) *DrawList
- func NewDrawListFromC[SRC any](cvalue SRC) *DrawList
- func NewEmptyDrawList() *DrawList
- func WindowDrawList() *DrawList
- func (self *DrawList) AddBezierCubic(p1, p2, p3, p4 Vec2, col uint32, thickness float32)
- func (self *DrawList) AddBezierCubicV(p1, p2, p3, p4 Vec2, col uint32, thickness float32, num_segments int32)
- func (self *DrawList) AddBezierQuadratic(p1, p2, p3 Vec2, col uint32, thickness float32)
- func (self *DrawList) AddBezierQuadraticV(p1, p2, p3 Vec2, col uint32, thickness float32, num_segments int32)
- func (self *DrawList) AddCallback(callback DrawCallback, userdata uintptr)
- func (self *DrawList) AddCallbackV(callback DrawCallback, userdata uintptr, userdata_size uint64)
- func (self *DrawList) AddCircle(center Vec2, radius float32, col uint32)
- func (self *DrawList) AddCircleFilled(center Vec2, radius float32, col uint32)
- func (self *DrawList) AddCircleFilledV(center Vec2, radius float32, col uint32, num_segments int32)
- func (self *DrawList) AddCircleV(center Vec2, radius float32, col uint32, num_segments int32, thickness float32)
- func (self *DrawList) AddConcavePolyFilled(points *Vec2, num_points int32, col uint32)
- func (self *DrawList) AddConvexPolyFilled(points *Vec2, num_points int32, col uint32)
- func (self *DrawList) AddDrawCmd()
- func (self *DrawList) AddEllipse(center, radius Vec2, col uint32)
- func (self *DrawList) AddEllipseFilled(center, radius Vec2, col uint32)
- func (self *DrawList) AddEllipseFilledV(center, radius Vec2, col uint32, rot float32, num_segments int32)
- func (self *DrawList) AddEllipseV(center, radius Vec2, col uint32, rot float32, num_segments int32, ...)
- func (self *DrawList) AddImage(tex_ref TextureRef, p_min, p_max Vec2)
- func (self *DrawList) AddImageQuad(tex_ref TextureRef, p1, p2, p3, p4 Vec2)
- func (self *DrawList) AddImageQuadV(tex_ref TextureRef, p1, p2, p3, p4, uv1, uv2, uv3, uv4 Vec2, col uint32)
- func (self *DrawList) AddImageRounded(tex_ref TextureRef, p_min, p_max, uv_min, uv_max Vec2, col uint32, ...)
- func (self *DrawList) AddImageRoundedV(tex_ref TextureRef, p_min, p_max, uv_min, uv_max Vec2, col uint32, ...)
- func (self *DrawList) AddImageV(tex_ref TextureRef, p_min, p_max, uv_min, uv_max Vec2, col uint32)
- func (self *DrawList) AddLine(p1, p2 Vec2, col uint32)
- func (self *DrawList) AddLineV(p1, p2 Vec2, col uint32, thickness float32)
- func (self *DrawList) AddNgon(center Vec2, radius float32, col uint32, num_segments int32)
- func (self *DrawList) AddNgonFilled(center Vec2, radius float32, col uint32, num_segments int32)
- func (self *DrawList) AddNgonV(center Vec2, radius float32, col uint32, num_segments int32, thickness float32)
- func (self *DrawList) AddPolyline(points *Vec2, num_points int32, col uint32, flags DrawFlags, thickness float32)
- func (self *DrawList) AddQuad(p1, p2, p3, p4 Vec2, col uint32)
- func (self *DrawList) AddQuadFilled(p1, p2, p3, p4 Vec2, col uint32)
- func (self *DrawList) AddQuadV(p1, p2, p3, p4 Vec2, col uint32, thickness float32)
- func (self *DrawList) AddRect(p_min, p_max Vec2, col uint32)
- func (self *DrawList) AddRectFilled(p_min, p_max Vec2, col uint32)
- func (self *DrawList) AddRectFilledMultiColor(p_min, p_max Vec2, ...)
- func (self *DrawList) AddRectFilledV(p_min, p_max Vec2, col uint32, rounding float32, flags DrawFlags)
- func (self *DrawList) AddRectV(p_min, p_max Vec2, col uint32, rounding float32, flags DrawFlags, ...)
- func (self *DrawList) AddTextFontPtr(font *Font, font_size float32, pos Vec2, col uint32, text_begin string)
- func (self *DrawList) AddTextFontPtrV(font *Font, font_size float32, pos Vec2, col uint32, text_begin string, ...)
- func (self *DrawList) AddTextVec2(pos Vec2, col uint32, text_begin string)
- func (self *DrawList) AddTextVec2V(pos Vec2, col uint32, text_begin string)
- func (self *DrawList) AddTriangle(p1, p2, p3 Vec2, col uint32)
- func (self *DrawList) AddTriangleFilled(p1, p2, p3 Vec2, col uint32)
- func (self *DrawList) AddTriangleV(p1, p2, p3 Vec2, col uint32, thickness float32)
- func (self DrawList) C() (C.ImDrawList, func())
- func (self *DrawList) CalcCircleAutoSegmentCount(radius float32) int32
- func (self *DrawList) CallbacksDataBuf() vectors.Vector[byte]
- func (self *DrawList) ChannelsMerge()
- func (self *DrawList) ChannelsSetCurrent(n int32)
- func (self *DrawList) ChannelsSplit(count int32)
- func (self *DrawList) ClearFreeMemory()
- func (self *DrawList) ClipRectMax() Vec2
- func (self *DrawList) ClipRectMin() Vec2
- func (self *DrawList) ClipRectStack() vectors.Vector[Vec4]
- func (self *DrawList) CloneOutput() *DrawList
- func (self *DrawList) CmdBuffer() vectors.Vector[DrawCmd]
- func (self *DrawList) CmdHeader() DrawCmdHeader
- func (d DrawList) Commands() []DrawCmd
- func (self *DrawList) Data() *DrawListSharedData
- func (self *DrawList) Destroy()
- func (self *DrawList) Flags() DrawListFlags
- func (self *DrawList) FringeScale() float32
- func (d DrawList) GetIndexBuffer() (unsafe.Pointer, int)
- func (d DrawList) GetVertexBuffer() (unsafe.Pointer, int)
- func (self *DrawList) Handle() (result *C.ImDrawList, fin func())
- func (self *DrawList) IdxBuffer() vectors.Vector[DrawIdx]
- func (self *DrawList) IdxWritePtr() *DrawIdx
- func (self *DrawList) OnChangedClipRect()
- func (self *DrawList) OnChangedTexture()
- func (self *DrawList) OnChangedVtxOffset()
- func (self *DrawList) OwnerName() string
- func (self *DrawList) PathArcTo(center Vec2, radius, a_min, a_max float32)
- func (self *DrawList) PathArcToFast(center Vec2, radius float32, a_min_of_12, a_max_of_12 int32)
- func (self *DrawList) PathArcToFastEx(center Vec2, radius float32, a_min_sample, a_max_sample, a_step int32)
- func (self *DrawList) PathArcToN(center Vec2, radius, a_min, a_max float32, num_segments int32)
- func (self *DrawList) PathArcToV(center Vec2, radius, a_min, a_max float32, num_segments int32)
- func (self *DrawList) PathBezierCubicCurveTo(p2, p3, p4 Vec2)
- func (self *DrawList) PathBezierCubicCurveToV(p2, p3, p4 Vec2, num_segments int32)
- func (self *DrawList) PathBezierQuadraticCurveTo(p2, p3 Vec2)
- func (self *DrawList) PathBezierQuadraticCurveToV(p2, p3 Vec2, num_segments int32)
- func (self *DrawList) PathClear()
- func (self *DrawList) PathEllipticalArcTo(center, radius Vec2, rot, a_min, a_max float32)
- func (self *DrawList) PathEllipticalArcToV(center, radius Vec2, rot, a_min, a_max float32, num_segments int32)
- func (self *DrawList) PathFillConcave(col uint32)
- func (self *DrawList) PathFillConvex(col uint32)
- func (self *DrawList) PathLineTo(pos Vec2)
- func (self *DrawList) PathLineToMergeDuplicate(pos Vec2)
- func (self *DrawList) PathRect(rect_min, rect_max Vec2)
- func (self *DrawList) PathRectV(rect_min, rect_max Vec2, rounding float32, flags DrawFlags)
- func (self *DrawList) PathStroke(col uint32)
- func (self *DrawList) PathStrokeV(col uint32, flags DrawFlags, thickness float32)
- func (self *DrawList) PopClipRect()
- func (self *DrawList) PopTexture()
- func (self *DrawList) PopUnusedDrawCmd()
- func (self *DrawList) PrimQuadUV(a, b, c, d, uv_a, uv_b, uv_c, uv_d Vec2, col uint32)
- func (self *DrawList) PrimRect(a, b Vec2, col uint32)
- func (self *DrawList) PrimRectUV(a, b, uv_a, uv_b Vec2, col uint32)
- func (self *DrawList) PrimReserve(idx_count, vtx_count int32)
- func (self *DrawList) PrimUnreserve(idx_count, vtx_count int32)
- func (self *DrawList) PrimVtx(pos, uv Vec2, col uint32)
- func (self *DrawList) PrimWriteIdx(idx DrawIdx)
- func (self *DrawList) PrimWriteVtx(pos, uv Vec2, col uint32)
- func (self *DrawList) PushClipRect(clip_rect_min, clip_rect_max Vec2)
- func (self *DrawList) PushClipRectFullScreen()
- func (self *DrawList) PushClipRectV(clip_rect_min, clip_rect_max Vec2, intersect_with_current_clip_rect bool)
- func (self *DrawList) PushTexture(tex_ref TextureRef)
- func (self *DrawList) ResetForNewFrame()
- func (self DrawList) SetCallbacksDataBuf(v vectors.Vector[byte])
- func (self DrawList) SetClipRectStack(v vectors.Vector[Vec4])
- func (self DrawList) SetCmdBuffer(v vectors.Vector[DrawCmd])
- func (self DrawList) SetCmdHeader(v DrawCmdHeader)
- func (self DrawList) SetData(v *DrawListSharedData)
- func (self *DrawList) SetDrawListSharedData(data *DrawListSharedData)
- func (self DrawList) SetFlags(v DrawListFlags)
- func (self DrawList) SetFringeScale(v float32)
- func (self DrawList) SetIdxBuffer(v vectors.Vector[DrawIdx])
- func (self DrawList) SetIdxWritePtr(v *DrawIdx)
- func (self DrawList) SetOwnerName(v string)
- func (self DrawList) SetPath(v vectors.Vector[Vec2])
- func (self DrawList) SetSplitter(v DrawListSplitter)
- func (self *DrawList) SetTexture(tex_ref TextureRef)
- func (self DrawList) SetTextureStack(v vectors.Vector[TextureRef])
- func (self DrawList) SetVtxBuffer(v vectors.Vector[DrawVert])
- func (self DrawList) SetVtxCurrentIdx(v uint32)
- func (self DrawList) SetVtxWritePtr(v *DrawVert)
- func (self *DrawList) Splitter() DrawListSplitter
- func (self *DrawList) TextureStack() vectors.Vector[TextureRef]
- func (self *DrawList) TryMergeDrawCmds()
- func (self *DrawList) VtxBuffer() vectors.Vector[DrawVert]
- func (self *DrawList) VtxCurrentIdx() uint32
- func (self *DrawList) VtxWritePtr() *DrawVert
- type DrawListFlags
- type DrawListSharedData
- func (self *DrawListSharedData) ArcFastRadiusCutoff() float32
- func (self *DrawListSharedData) ArcFastVtx() [48]Vec2
- func (self DrawListSharedData) C() (C.ImDrawListSharedData, func())
- func (self *DrawListSharedData) CircleSegmentCounts() [64]byte
- func (self *DrawListSharedData) CircleSegmentMaxError() float32
- func (self *DrawListSharedData) ClipRectFullscreen() Vec4
- func (self *DrawListSharedData) Context() *Context
- func (self *DrawListSharedData) CurveTessellationTol() float32
- func (self *DrawListSharedData) DrawLists() vectors.Vector[DrawList]
- func (self *DrawListSharedData) Font() *Font
- func (self *DrawListSharedData) FontAtlas() *FontAtlas
- func (self *DrawListSharedData) FontScale() float32
- func (self *DrawListSharedData) FontSize() float32
- func (self *DrawListSharedData) Handle() (result *C.ImDrawListSharedData, fin func())
- func (self *DrawListSharedData) InitialFlags() DrawListFlags
- func (self *DrawListSharedData) InitialFringeScale() float32
- func (self *DrawListSharedData) InternalDestroy()
- func (self *DrawListSharedData) InternalSetCircleTessellationMaxError(max_error float32)
- func (self DrawListSharedData) SetArcFastRadiusCutoff(v float32)
- func (self DrawListSharedData) SetArcFastVtx(v *[48]Vec2)
- func (self DrawListSharedData) SetCircleSegmentCounts(v *[64]byte)
- func (self DrawListSharedData) SetCircleSegmentMaxError(v float32)
- func (self DrawListSharedData) SetClipRectFullscreen(v Vec4)
- func (self DrawListSharedData) SetContext(v *Context)
- func (self DrawListSharedData) SetCurveTessellationTol(v float32)
- func (self DrawListSharedData) SetFont(v *Font)
- func (self DrawListSharedData) SetFontAtlas(v *FontAtlas)
- func (self DrawListSharedData) SetFontScale(v float32)
- func (self DrawListSharedData) SetFontSize(v float32)
- func (self DrawListSharedData) SetInitialFlags(v DrawListFlags)
- func (self DrawListSharedData) SetInitialFringeScale(v float32)
- func (self DrawListSharedData) SetTempBuffer(v vectors.Vector[Vec2])
- func (self DrawListSharedData) SetTexUvLines(v *Vec4)
- func (self DrawListSharedData) SetTexUvWhitePixel(v Vec2)
- func (self *DrawListSharedData) TexUvLines() *Vec4
- func (self *DrawListSharedData) TexUvWhitePixel() Vec2
- type DrawListSplitter
- func (self DrawListSplitter) C() (C.ImDrawListSplitter, func())
- func (self *DrawListSplitter) Channels() vectors.Vector[DrawChannel]
- func (self *DrawListSplitter) Clear()
- func (self *DrawListSplitter) ClearFreeMemory()
- func (self *DrawListSplitter) Count() int32
- func (self *DrawListSplitter) Current() int32
- func (self *DrawListSplitter) Destroy()
- func (self *DrawListSplitter) Handle() (result *C.ImDrawListSplitter, fin func())
- func (self *DrawListSplitter) Merge(draw_list *DrawList)
- func (self DrawListSplitter) SetChannels(v vectors.Vector[DrawChannel])
- func (self DrawListSplitter) SetCount(v int32)
- func (self DrawListSplitter) SetCurrent(v int32)
- func (self *DrawListSplitter) SetCurrentChannel(draw_list *DrawList, channel_idx int32)
- func (self *DrawListSplitter) Split(draw_list *DrawList, count int32)
- type DrawTextFlags
- type DrawVert
- func (self DrawVert) C() (C.ImDrawVert, func())
- func (self *DrawVert) Col() uint32
- func (self *DrawVert) Handle() (result *C.ImDrawVert, fin func())
- func (self *DrawVert) Pos() Vec2
- func (self DrawVert) SetCol(v uint32)
- func (self DrawVert) SetPos(v Vec2)
- func (self DrawVert) SetUv(v Vec2)
- func (self *DrawVert) Uv() Vec2
- type ErrorCallback
- type ErrorRecoveryState
- func (self ErrorRecoveryState) C() (C.ImGuiErrorRecoveryState, func())
- func (self *ErrorRecoveryState) Handle() (result *C.ImGuiErrorRecoveryState, fin func())
- func (self *ErrorRecoveryState) InternalDestroy()
- func (self ErrorRecoveryState) SetSizeOfBeginPopupStack(v int16)
- func (self ErrorRecoveryState) SetSizeOfColorStack(v int16)
- func (self ErrorRecoveryState) SetSizeOfDisabledStack(v int16)
- func (self ErrorRecoveryState) SetSizeOfFocusScopeStack(v int16)
- func (self ErrorRecoveryState) SetSizeOfFontStack(v int16)
- func (self ErrorRecoveryState) SetSizeOfGroupStack(v int16)
- func (self ErrorRecoveryState) SetSizeOfIDStack(v int16)
- func (self ErrorRecoveryState) SetSizeOfItemFlagsStack(v int16)
- func (self ErrorRecoveryState) SetSizeOfStyleVarStack(v int16)
- func (self ErrorRecoveryState) SetSizeOfTreeStack(v int16)
- func (self ErrorRecoveryState) SetSizeOfWindowStack(v int16)
- func (self *ErrorRecoveryState) SizeOfBeginPopupStack() int16
- func (self *ErrorRecoveryState) SizeOfColorStack() int16
- func (self *ErrorRecoveryState) SizeOfDisabledStack() int16
- func (self *ErrorRecoveryState) SizeOfFocusScopeStack() int16
- func (self *ErrorRecoveryState) SizeOfFontStack() int16
- func (self *ErrorRecoveryState) SizeOfGroupStack() int16
- func (self *ErrorRecoveryState) SizeOfIDStack() int16
- func (self *ErrorRecoveryState) SizeOfItemFlagsStack() int16
- func (self *ErrorRecoveryState) SizeOfStyleVarStack() int16
- func (self *ErrorRecoveryState) SizeOfTreeStack() int16
- func (self *ErrorRecoveryState) SizeOfWindowStack() int16
- type FocusRequestFlags
- type FocusScopeData
- func (self FocusScopeData) C() (C.ImGuiFocusScopeData, func())
- func (self *FocusScopeData) Handle() (result *C.ImGuiFocusScopeData, fin func())
- func (self *FocusScopeData) ID() ID
- func (self FocusScopeData) SetID(v ID)
- func (self FocusScopeData) SetWindowID(v ID)
- func (self *FocusScopeData) WindowID() ID
- type FocusedFlags
- type Font
- func (self *Font) AddRemapChar(from_codepoint, to_codepoint Wchar)
- func (self Font) C() (C.ImFont, func())
- func (self *Font) CalcTextSizeA(size, max_width, wrap_width float32, text_begin string) Vec2
- func (self *Font) CalcTextSizeAV(size, max_width, wrap_width float32, text_begin string, out_remaining []string) Vec2
- func (self *Font) CalcWordWrapPosition(size float32, text string, wrap_width float32) string
- func (self *Font) ClearOutputData()
- func (self *Font) CurrentRasterizerDensity() float32
- func (self *Font) DebugName() string
- func (self *Font) Destroy()
- func (self *Font) EllipsisAutoBake() bool
- func (self *Font) EllipsisChar() Wchar
- func (self *Font) FallbackChar() Wchar
- func (self *Font) Flags() FontFlags
- func (self *Font) FontBaked(font_size float32) *FontBaked
- func (self *Font) FontBakedV(font_size, density float32) *FontBaked
- func (self *Font) FontId() ID
- func (self *Font) Handle() (result *C.ImFont, fin func())
- func (self *Font) IsGlyphInFont(c Wchar) bool
- func (self *Font) IsGlyphRangeUnused(c_begin, c_last uint32) bool
- func (self *Font) IsLoaded() bool
- func (self *Font) LastBaked() *FontBaked
- func (self *Font) LegacySize() float32
- func (self *Font) OwnerAtlas() *FontAtlas
- func (self *Font) RemapPairs() Storage
- func (self *Font) RenderChar(draw_list *DrawList, size float32, pos Vec2, col uint32, c Wchar)
- func (self *Font) RenderCharV(draw_list *DrawList, size float32, pos Vec2, col uint32, c Wchar, ...)
- func (self *Font) RenderText(draw_list *DrawList, size float32, pos Vec2, col uint32, clip_rect Vec4, ...)
- func (self *Font) RenderTextV(draw_list *DrawList, size float32, pos Vec2, col uint32, clip_rect Vec4, ...)
- func (self Font) SetCurrentRasterizerDensity(v float32)
- func (self Font) SetEllipsisAutoBake(v bool)
- func (self Font) SetEllipsisChar(v Wchar)
- func (self Font) SetFallbackChar(v Wchar)
- func (self Font) SetFlags(v FontFlags)
- func (self Font) SetFontId(v ID)
- func (self Font) SetLastBaked(v *FontBaked)
- func (self Font) SetLegacySize(v float32)
- func (self Font) SetOwnerAtlas(v *FontAtlas)
- func (self Font) SetRemapPairs(v Storage)
- func (self Font) SetUsed8kPagesMap(v *[1]byte)
- func (self *Font) Sources() vectors.Vector[FontConfig]
- func (self *Font) Used8kPagesMap() [1]byte
- type FontAtlas
- func (self *FontAtlas) AddCustomRect(width, height int32) FontAtlasRectId
- func (self *FontAtlas) AddCustomRectV(width, height int32, out_r *FontAtlasRect) FontAtlasRectId
- func (self *FontAtlas) AddFont(font_cfg *FontConfig) *Font
- func (self *FontAtlas) AddFontDefault() *Font
- func (self *FontAtlas) AddFontDefaultBitmap() *Font
- func (self *FontAtlas) AddFontDefaultBitmapV(font_cfg *FontConfig) *Font
- func (self *FontAtlas) AddFontDefaultV(font_cfg *FontConfig) *Font
- func (self *FontAtlas) AddFontDefaultVector() *Font
- func (self *FontAtlas) AddFontDefaultVectorV(font_cfg *FontConfig) *Font
- func (self *FontAtlas) AddFontFromFileTTF(filename string) *Font
- func (self *FontAtlas) AddFontFromFileTTFV(filename string, size_pixels float32, font_cfg *FontConfig, ...) *Font
- func (self *FontAtlas) AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85 string) *Font
- func (self *FontAtlas) AddFontFromMemoryCompressedBase85TTFV(compressed_font_data_base85 string, size_pixels float32, font_cfg *FontConfig, ...) *Font
- func (self *FontAtlas) AddFontFromMemoryCompressedTTF(compressed_font_data uintptr, compressed_font_data_size int32) *Font
- func (self *FontAtlas) AddFontFromMemoryCompressedTTFV(compressed_font_data uintptr, compressed_font_data_size int32, ...) *Font
- func (self *FontAtlas) AddFontFromMemoryTTF(font_data uintptr, font_data_size int32) *Font
- func (self *FontAtlas) AddFontFromMemoryTTFV(font_data uintptr, font_data_size int32, size_pixels float32, ...) *Font
- func (self *FontAtlas) Builder() *FontAtlasBuilder
- func (self FontAtlas) C() (C.ImFontAtlas, func())
- func (self *FontAtlas) Clear()
- func (self *FontAtlas) ClearFonts()
- func (self *FontAtlas) ClearInputData()
- func (self *FontAtlas) ClearTexData()
- func (self *FontAtlas) CompactCache()
- func (self *FontAtlas) CustomRect(id FontAtlasRectId, out_r *FontAtlasRect) bool
- func (self *FontAtlas) Destroy()
- func (self *FontAtlas) DrawListSharedDatas() vectors.Vector[DrawListSharedData]
- func (self *FontAtlas) Flags() FontAtlasFlags
- func (fa FontAtlas) FontCount() int
- func (self *FontAtlas) FontLoader() *FontLoader
- func (self *FontAtlas) FontLoaderData() uintptr
- func (self *FontAtlas) FontLoaderFlags() uint32
- func (self *FontAtlas) FontLoaderName() string
- func (self *FontAtlas) FontNextUniqueID() int32
- func (self *FontAtlas) Fonts() vectors.Vector[Font]
- func (self *FontAtlas) GlyphRangesDefault() *Wchar
- func (self *FontAtlas) Handle() (result *C.ImFontAtlas, fin func())
- func (self *FontAtlas) Locked() bool
- func (self *FontAtlas) OwnerContext() *Context
- func (self *FontAtlas) RefCount() int32
- func (self *FontAtlas) RemoveCustomRect(id FontAtlasRectId)
- func (self *FontAtlas) RemoveFont(font *Font)
- func (self *FontAtlas) RendererHasTextures() bool
- func (self FontAtlas) SetBuilder(v *FontAtlasBuilder)
- func (self FontAtlas) SetFlags(v FontAtlasFlags)
- func (self *FontAtlas) SetFontLoader(font_loader *FontLoader)
- func (self FontAtlas) SetFontLoaderData(v uintptr)
- func (self FontAtlas) SetFontLoaderFlags(v uint32)
- func (self FontAtlas) SetFontLoaderName(v string)
- func (self FontAtlas) SetFontNextUniqueID(v int32)
- func (self FontAtlas) SetLocked(v bool)
- func (self FontAtlas) SetOwnerContext(v *Context)
- func (self FontAtlas) SetRefCount(v int32)
- func (self FontAtlas) SetRendererHasTextures(v bool)
- func (self FontAtlas) SetSources(v vectors.Vector[FontConfig])
- func (self FontAtlas) SetTexData(v *TextureData)
- func (self FontAtlas) SetTexDesiredFormat(v TextureFormat)
- func (self FontAtlas) SetTexGlyphPadding(v int32)
- func (self FontAtlas) SetTexIsBuilt(v bool)
- func (self FontAtlas) SetTexMaxHeight(v int32)
- func (self FontAtlas) SetTexMaxWidth(v int32)
- func (self FontAtlas) SetTexMinHeight(v int32)
- func (self FontAtlas) SetTexMinWidth(v int32)
- func (self FontAtlas) SetTexNextUniqueID(v int32)
- func (self FontAtlas) SetTexPixelsUseColors(v bool)
- func (self FontAtlas) SetTexRef(v TextureRef)
- func (self FontAtlas) SetTexUvLines(v *[33]Vec4)
- func (self FontAtlas) SetTexUvScale(v Vec2)
- func (self FontAtlas) SetTexUvWhitePixel(v Vec2)
- func (self FontAtlas) SetUserData(v uintptr)
- func (self *FontAtlas) Sources() vectors.Vector[FontConfig]
- func (self *FontAtlas) TexData() *TextureData
- func (self *FontAtlas) TexDesiredFormat() TextureFormat
- func (self *FontAtlas) TexGlyphPadding() int32
- func (self *FontAtlas) TexIsBuilt() bool
- func (self *FontAtlas) TexList() vectors.Vector[TextureData]
- func (self *FontAtlas) TexMaxHeight() int32
- func (self *FontAtlas) TexMaxWidth() int32
- func (self *FontAtlas) TexMinHeight() int32
- func (self *FontAtlas) TexMinWidth() int32
- func (self *FontAtlas) TexNextUniqueID() int32
- func (self *FontAtlas) TexPixelsUseColors() bool
- func (self *FontAtlas) TexRef() TextureRef
- func (self *FontAtlas) TexUvLines() [33]Vec4
- func (self *FontAtlas) TexUvScale() Vec2
- func (self *FontAtlas) TexUvWhitePixel() Vec2
- func (self *FontAtlas) UserData() uintptr
- type FontAtlasBuilder
- func (self *FontAtlasBuilder) BakedDiscardedCount() int32
- func (self *FontAtlasBuilder) BakedMap() Storage
- func (self FontAtlasBuilder) C() (C.ImFontAtlasBuilder, func())
- func (self *FontAtlasBuilder) FrameCount() int32
- func (self *FontAtlasBuilder) Handle() (result *C.ImFontAtlasBuilder, fin func())
- func (self *FontAtlasBuilder) InternalDestroy()
- func (self *FontAtlasBuilder) LockDisableResize() bool
- func (self *FontAtlasBuilder) MaxRectBounds() Vec2i
- func (self *FontAtlasBuilder) MaxRectSize() Vec2i
- func (self *FontAtlasBuilder) PackContext() stbrpcontextopaque
- func (self *FontAtlasBuilder) PackIdLinesTexData() FontAtlasRectId
- func (self *FontAtlasBuilder) PackIdMouseCursors() FontAtlasRectId
- func (self *FontAtlasBuilder) PreloadedAllGlyphsRanges() bool
- func (self *FontAtlasBuilder) Rects() vectors.Vector[TextureRect]
- func (self *FontAtlasBuilder) RectsDiscardedCount() int32
- func (self *FontAtlasBuilder) RectsDiscardedSurface() int32
- func (self *FontAtlasBuilder) RectsIndex() vectors.Vector[FontAtlasRectEntry]
- func (self *FontAtlasBuilder) RectsIndexFreeListStart() int32
- func (self *FontAtlasBuilder) RectsPackedCount() int32
- func (self *FontAtlasBuilder) RectsPackedSurface() int32
- func (self FontAtlasBuilder) SetBakedDiscardedCount(v int32)
- func (self FontAtlasBuilder) SetBakedMap(v Storage)
- func (self FontAtlasBuilder) SetFrameCount(v int32)
- func (self FontAtlasBuilder) SetLockDisableResize(v bool)
- func (self FontAtlasBuilder) SetMaxRectBounds(v Vec2i)
- func (self FontAtlasBuilder) SetMaxRectSize(v Vec2i)
- func (self FontAtlasBuilder) SetPackIdLinesTexData(v FontAtlasRectId)
- func (self FontAtlasBuilder) SetPackIdMouseCursors(v FontAtlasRectId)
- func (self FontAtlasBuilder) SetPreloadedAllGlyphsRanges(v bool)
- func (self FontAtlasBuilder) SetRects(v vectors.Vector[TextureRect])
- func (self FontAtlasBuilder) SetRectsDiscardedCount(v int32)
- func (self FontAtlasBuilder) SetRectsDiscardedSurface(v int32)
- func (self FontAtlasBuilder) SetRectsIndex(v vectors.Vector[FontAtlasRectEntry])
- func (self FontAtlasBuilder) SetRectsIndexFreeListStart(v int32)
- func (self FontAtlasBuilder) SetRectsPackedCount(v int32)
- func (self FontAtlasBuilder) SetRectsPackedSurface(v int32)
- type FontAtlasFlags
- type FontAtlasPostProcessData
- func (self FontAtlasPostProcessData) C() (C.ImFontAtlasPostProcessData, func())
- func (self *FontAtlasPostProcessData) Font() *Font
- func (self *FontAtlasPostProcessData) FontAtlas() *FontAtlas
- func (self *FontAtlasPostProcessData) FontBaked() *FontBaked
- func (self *FontAtlasPostProcessData) FontSrc() *FontConfig
- func (self *FontAtlasPostProcessData) Format() TextureFormat
- func (self *FontAtlasPostProcessData) Glyph() *FontGlyph
- func (self *FontAtlasPostProcessData) Handle() (result *C.ImFontAtlasPostProcessData, fin func())
- func (self *FontAtlasPostProcessData) Height() int32
- func (self *FontAtlasPostProcessData) Pitch() int32
- func (self *FontAtlasPostProcessData) Pixels() uintptr
- func (self FontAtlasPostProcessData) SetFont(v *Font)
- func (self FontAtlasPostProcessData) SetFontAtlas(v *FontAtlas)
- func (self FontAtlasPostProcessData) SetFontBaked(v *FontBaked)
- func (self FontAtlasPostProcessData) SetFontSrc(v *FontConfig)
- func (self FontAtlasPostProcessData) SetFormat(v TextureFormat)
- func (self FontAtlasPostProcessData) SetGlyph(v *FontGlyph)
- func (self FontAtlasPostProcessData) SetHeight(v int32)
- func (self FontAtlasPostProcessData) SetPitch(v int32)
- func (self FontAtlasPostProcessData) SetPixels(v uintptr)
- func (self FontAtlasPostProcessData) SetWidth(v int32)
- func (self *FontAtlasPostProcessData) Width() int32
- type FontAtlasRect
- func (self FontAtlasRect) C() (C.ImFontAtlasRect, func())
- func (self *FontAtlasRect) Destroy()
- func (self *FontAtlasRect) H() uint16
- func (self *FontAtlasRect) Handle() (result *C.ImFontAtlasRect, fin func())
- func (self FontAtlasRect) SetH(v uint16)
- func (self FontAtlasRect) SetUv0(v Vec2)
- func (self FontAtlasRect) SetUv1(v Vec2)
- func (self FontAtlasRect) SetW(v uint16)
- func (self FontAtlasRect) SetX(v uint16)
- func (self FontAtlasRect) SetY(v uint16)
- func (self *FontAtlasRect) Uv0() Vec2
- func (self *FontAtlasRect) Uv1() Vec2
- func (self *FontAtlasRect) W() uint16
- func (self *FontAtlasRect) X() uint16
- func (self *FontAtlasRect) Y() uint16
- type FontAtlasRectEntry
- func (self FontAtlasRectEntry) C() (C.ImFontAtlasRectEntry, func())
- func (self *FontAtlasRectEntry) Generation() uint32
- func (self *FontAtlasRectEntry) Handle() (result *C.ImFontAtlasRectEntry, fin func())
- func (self *FontAtlasRectEntry) IsUsed() uint32
- func (self FontAtlasRectEntry) SetGeneration(v uint32)
- func (self FontAtlasRectEntry) SetIsUsed(v uint32)
- func (self FontAtlasRectEntry) SetTargetIndex(v int32)
- func (self *FontAtlasRectEntry) TargetIndex() int32
- type FontAtlasRectId
- func InternalImFontAtlasPackAddRect(atlas *FontAtlas, w, h int32) FontAtlasRectId
- func InternalImFontAtlasPackAddRectV(atlas *FontAtlas, w, h int32, overwrite_entry *FontAtlasRectEntry) FontAtlasRectId
- func InternalImFontAtlasRectIdMake(index_idx, gen_idx int32) FontAtlasRectId
- func NewFontAtlasRectIdFromC[SRC any](cvalue SRC) *FontAtlasRectId
- type FontBaked
- func GetFontBaked() *FontBaked
- func InternalImFontAtlasBakedAdd(atlas *FontAtlas, font *Font, font_size, font_rasterizer_density float32, ...) *FontBaked
- func InternalImFontAtlasBakedGetClosestMatch(atlas *FontAtlas, font *Font, font_size, font_rasterizer_density float32) *FontBaked
- func InternalImFontAtlasBakedGetOrAdd(atlas *FontAtlas, font *Font, font_size, font_rasterizer_density float32) *FontBaked
- func NewEmptyFontBaked() *FontBaked
- func NewFontBaked() *FontBaked
- func NewFontBakedFromC[SRC any](cvalue SRC) *FontBaked
- func (self *FontBaked) Ascent() float32
- func (self *FontBaked) BakedId() ID
- func (self FontBaked) C() (C.ImFontBaked, func())
- func (self *FontBaked) CharAdvance(c Wchar) float32
- func (self *FontBaked) ClearOutputData()
- func (self *FontBaked) Descent() float32
- func (self *FontBaked) Destroy()
- func (self *FontBaked) FallbackAdvanceX() float32
- func (self *FontBaked) FallbackGlyphIndex() int32
- func (self *FontBaked) FindGlyph(c Wchar) *FontGlyph
- func (self *FontBaked) FindGlyphNoFallback(c Wchar) *FontGlyph
- func (self *FontBaked) FontLoaderDatas() uintptr
- func (self *FontBaked) Glyphs() vectors.Vector[FontGlyph]
- func (self *FontBaked) Handle() (result *C.ImFontBaked, fin func())
- func (self *FontBaked) IndexAdvanceX() vectors.Vector[float32]
- func (self *FontBaked) IndexLookup() vectors.Vector[uint16]
- func (self *FontBaked) IsGlyphLoaded(c Wchar) bool
- func (self *FontBaked) LastUsedFrame() int32
- func (self *FontBaked) LoadNoFallback() uint32
- func (self *FontBaked) LoadNoRenderOnLayout() uint32
- func (self *FontBaked) MetricsTotalSurface() uint32
- func (self *FontBaked) OwnerFont() *Font
- func (self *FontBaked) RasterizerDensity() float32
- func (self FontBaked) SetAscent(v float32)
- func (self FontBaked) SetBakedId(v ID)
- func (self FontBaked) SetDescent(v float32)
- func (self FontBaked) SetFallbackAdvanceX(v float32)
- func (self FontBaked) SetFallbackGlyphIndex(v int32)
- func (self FontBaked) SetFontLoaderDatas(v uintptr)
- func (self FontBaked) SetGlyphs(v vectors.Vector[FontGlyph])
- func (self FontBaked) SetIndexAdvanceX(v vectors.Vector[float32])
- func (self FontBaked) SetIndexLookup(v vectors.Vector[uint16])
- func (self FontBaked) SetLastUsedFrame(v int32)
- func (self FontBaked) SetLoadNoFallback(v uint32)
- func (self FontBaked) SetLoadNoRenderOnLayout(v uint32)
- func (self FontBaked) SetMetricsTotalSurface(v uint32)
- func (self FontBaked) SetOwnerFont(v *Font)
- func (self FontBaked) SetRasterizerDensity(v float32)
- func (self FontBaked) SetSize(v float32)
- func (self FontBaked) SetWantDestroy(v uint32)
- func (self *FontBaked) Size() float32
- func (self *FontBaked) WantDestroy() uint32
- type FontConfig
- func (self FontConfig) C() (C.ImFontConfig, func())
- func (self *FontConfig) Destroy()
- func (self *FontConfig) DstFont() *Font
- func (self *FontConfig) EllipsisChar() Wchar
- func (self *FontConfig) ExtraSizeScale() float32
- func (self *FontConfig) Flags() FontFlags
- func (self *FontConfig) FontData() uintptr
- func (self *FontConfig) FontDataOwnedByAtlas() bool
- func (self *FontConfig) FontDataSize() int32
- func (self *FontConfig) FontLoader() *FontLoader
- func (self *FontConfig) FontLoaderData() uintptr
- func (self *FontConfig) FontLoaderFlags() uint32
- func (self *FontConfig) FontNo() uint32
- func (self *FontConfig) GlyphExcludeRanges() *Wchar
- func (self *FontConfig) GlyphExtraAdvanceX() float32
- func (self *FontConfig) GlyphMaxAdvanceX() float32
- func (self *FontConfig) GlyphMinAdvanceX() float32
- func (self *FontConfig) GlyphOffset() Vec2
- func (self *FontConfig) GlyphRanges() *Wchar
- func (self *FontConfig) Handle() (result *C.ImFontConfig, fin func())
- func (self *FontConfig) MergeMode() bool
- func (self *FontConfig) Name() [40]rune
- func (self *FontConfig) OversampleH() int
- func (self *FontConfig) OversampleV() int
- func (self *FontConfig) PixelSnapH() bool
- func (self *FontConfig) RasterizerDensity() float32
- func (self *FontConfig) RasterizerMultiply() float32
- func (self FontConfig) SetDstFont(v *Font)
- func (self FontConfig) SetEllipsisChar(v Wchar)
- func (self FontConfig) SetExtraSizeScale(v float32)
- func (self FontConfig) SetFlags(v FontFlags)
- func (self FontConfig) SetFontData(v uintptr)
- func (self FontConfig) SetFontDataOwnedByAtlas(v bool)
- func (self FontConfig) SetFontDataSize(v int32)
- func (self FontConfig) SetFontLoader(v *FontLoader)
- func (self FontConfig) SetFontLoaderData(v uintptr)
- func (self FontConfig) SetFontLoaderFlags(v uint32)
- func (self FontConfig) SetFontNo(v uint32)
- func (self FontConfig) SetGlyphExcludeRanges(v *Wchar)
- func (self FontConfig) SetGlyphExtraAdvanceX(v float32)
- func (self FontConfig) SetGlyphMaxAdvanceX(v float32)
- func (self FontConfig) SetGlyphMinAdvanceX(v float32)
- func (self FontConfig) SetGlyphOffset(v Vec2)
- func (self FontConfig) SetGlyphRanges(v *Wchar)
- func (self FontConfig) SetMergeMode(v bool)
- func (self FontConfig) SetName(v *[40]rune)
- func (self FontConfig) SetOversampleH(v int)
- func (self FontConfig) SetOversampleV(v int)
- func (self FontConfig) SetPixelSnapH(v bool)
- func (self FontConfig) SetRasterizerDensity(v float32)
- func (self FontConfig) SetRasterizerMultiply(v float32)
- func (self FontConfig) SetSizePixels(v float32)
- func (self *FontConfig) SizePixels() float32
- type FontFlags
- type FontGlyph
- func (self *FontGlyph) AdvanceX() float32
- func (self FontGlyph) C() (C.ImFontGlyph, func())
- func (self *FontGlyph) Codepoint() uint32
- func (self *FontGlyph) Colored() uint32
- func (self *FontGlyph) Destroy()
- func (self *FontGlyph) Handle() (result *C.ImFontGlyph, fin func())
- func (self *FontGlyph) PackId() int32
- func (self FontGlyph) SetAdvanceX(v float32)
- func (self FontGlyph) SetCodepoint(v uint32)
- func (self FontGlyph) SetColored(v uint32)
- func (self FontGlyph) SetPackId(v int32)
- func (self FontGlyph) SetSourceIdx(v uint32)
- func (self FontGlyph) SetU0(v float32)
- func (self FontGlyph) SetU1(v float32)
- func (self FontGlyph) SetV0(v float32)
- func (self FontGlyph) SetV1(v float32)
- func (self FontGlyph) SetVisible(v uint32)
- func (self FontGlyph) SetX0(v float32)
- func (self FontGlyph) SetX1(v float32)
- func (self FontGlyph) SetY0(v float32)
- func (self FontGlyph) SetY1(v float32)
- func (self *FontGlyph) SourceIdx() uint32
- func (self *FontGlyph) U0() float32
- func (self *FontGlyph) U1() float32
- func (self *FontGlyph) V0() float32
- func (self *FontGlyph) V1() float32
- func (self *FontGlyph) Visible() uint32
- func (self *FontGlyph) X0() float32
- func (self *FontGlyph) X1() float32
- func (self *FontGlyph) Y0() float32
- func (self *FontGlyph) Y1() float32
- type FontGlyphRangesBuilder
- func (self *FontGlyphRangesBuilder) AddChar(c Wchar)
- func (self *FontGlyphRangesBuilder) AddRanges(ranges *Wchar)
- func (self *FontGlyphRangesBuilder) AddText(text string)
- func (self *FontGlyphRangesBuilder) AddTextV(text string)
- func (self *FontGlyphRangesBuilder) Bit(n uint64) bool
- func (fa FontGlyphRangesBuilder) BuildRanges(ranges GlyphRange)
- func (self FontGlyphRangesBuilder) C() (C.ImFontGlyphRangesBuilder, func())
- func (self *FontGlyphRangesBuilder) Clear()
- func (self *FontGlyphRangesBuilder) Destroy()
- func (self *FontGlyphRangesBuilder) Handle() (result *C.ImFontGlyphRangesBuilder, fin func())
- func (self *FontGlyphRangesBuilder) SetBit(n uint64)
- func (self FontGlyphRangesBuilder) SetUsedChars(v vectors.Vector[uint32])
- func (self *FontGlyphRangesBuilder) UsedChars() vectors.Vector[uint32]
- type FontLoader
- func (self FontLoader) C() (C.ImFontLoader, func())
- func (self *FontLoader) FontBakedSrcLoaderDataSize() uint64
- func (self *FontLoader) Handle() (result *C.ImFontLoader, fin func())
- func (self *FontLoader) InternalDestroy()
- func (self *FontLoader) Name() string
- func (self FontLoader) SetFontBakedSrcLoaderDataSize(v uint64)
- func (self FontLoader) SetName(v string)
- type FontStackData
- func (self FontStackData) C() (C.ImFontStackData, func())
- func (self *FontStackData) Font() *Font
- func (self *FontStackData) FontSizeAfterScaling() float32
- func (self *FontStackData) FontSizeBeforeScaling() float32
- func (self *FontStackData) Handle() (result *C.ImFontStackData, fin func())
- func (self FontStackData) SetFont(v *Font)
- func (self FontStackData) SetFontSizeAfterScaling(v float32)
- func (self FontStackData) SetFontSizeBeforeScaling(v float32)
- type FreeTypeLoaderFlags
- type GlyphRange
- type GroupData
- func (self *GroupData) BackupActiveIdHasBeenEditedThisFrame() bool
- func (self *GroupData) BackupActiveIdIsAlive() ID
- func (self *GroupData) BackupCurrLineSize() Vec2
- func (self *GroupData) BackupCurrLineTextBaseOffset() float32
- func (self *GroupData) BackupCursorMaxPos() Vec2
- func (self *GroupData) BackupCursorPos() Vec2
- func (self *GroupData) BackupCursorPosPrevLine() Vec2
- func (self *GroupData) BackupDeactivatedIdIsAlive() bool
- func (self *GroupData) BackupGroupOffset() Vec1
- func (self *GroupData) BackupHoveredIdIsAlive() bool
- func (self *GroupData) BackupIndent() Vec1
- func (self *GroupData) BackupIsSameLine() bool
- func (self GroupData) C() (C.ImGuiGroupData, func())
- func (self *GroupData) EmitItem() bool
- func (self *GroupData) Handle() (result *C.ImGuiGroupData, fin func())
- func (self GroupData) SetBackupActiveIdHasBeenEditedThisFrame(v bool)
- func (self GroupData) SetBackupActiveIdIsAlive(v ID)
- func (self GroupData) SetBackupCurrLineSize(v Vec2)
- func (self GroupData) SetBackupCurrLineTextBaseOffset(v float32)
- func (self GroupData) SetBackupCursorMaxPos(v Vec2)
- func (self GroupData) SetBackupCursorPos(v Vec2)
- func (self GroupData) SetBackupCursorPosPrevLine(v Vec2)
- func (self GroupData) SetBackupDeactivatedIdIsAlive(v bool)
- func (self GroupData) SetBackupGroupOffset(v Vec1)
- func (self GroupData) SetBackupHoveredIdIsAlive(v bool)
- func (self GroupData) SetBackupIndent(v Vec1)
- func (self GroupData) SetBackupIsSameLine(v bool)
- func (self GroupData) SetEmitItem(v bool)
- func (self GroupData) SetWindowID(v ID)
- func (self *GroupData) WindowID() ID
- type HoveredFlags
- type HoveredFlagsPrivate
- type ID
- func DockSpace(dockspace_id ID) ID
- func DockSpaceOverViewport() ID
- func DockSpaceOverViewportV(dockspace_id ID, viewport *Viewport, flags DockNodeFlags, ...) ID
- func DockSpaceV(dockspace_id ID, size Vec2, flags DockNodeFlags, window_class *WindowClass) ID
- func IDInt(int_id int32) ID
- func IDPtr(ptr_id uintptr) ID
- func IDStr(str_id string) ID
- func IDStrStr(str_id_begin, str_id_end string) ID
- func InternalActiveID() ID
- func InternalAddContextHook(ctx *Context, hook *ContextHook) ID
- func InternalColumnsID(str_id string, count int32) ID
- func InternalCurrentFocusScope() ID
- func InternalDockBuilderAddNode() ID
- func InternalDockBuilderAddNodeV(node_id ID, flags DockNodeFlags) ID
- func InternalDockBuilderSplitNode(node_id ID, split_dir Dir, size_ratio_for_node_at_dir float32, ...) ID
- func InternalDockContextGenNodeID(ctx *Context) ID
- func InternalDockNodeGetWindowMenuButtonId(node *DockNode) ID
- func InternalFocusID() ID
- func InternalHoveredID() ID
- func InternalIDWithSeedInt(n int32, seed ID) ID
- func InternalIDWithSeedStr(str_id_begin, str_id_end string, seed ID) ID
- func InternalImFontAtlasBakedGetId(font_id ID, baked_size, rasterizer_density float32) ID
- func InternalImHashData(data uintptr, data_size uint64) ID
- func InternalImHashDataV(data uintptr, data_size uint64, seed ID) ID
- func InternalImHashStr(data string) ID
- func InternalImHashStrV(data string, data_size uint64, seed ID) ID
- func InternalKeyOwner(key Key) ID
- func InternalTableGetColumnResizeID(table *Table, column_n int32) ID
- func InternalTableGetColumnResizeIDV(table *Table, column_n, instance_no int32) ID
- func InternalTableGetInstanceID(table *Table, instance_no int32) ID
- func InternalWindowResizeBorderID(window *Window, dir Dir) ID
- func InternalWindowResizeCornerID(window *Window, n int32) ID
- func InternalWindowScrollbarID(window *Window, axis Axis) ID
- func ItemID() ID
- func NewIDFromC[SRC any](cvalue SRC) *ID
- func WindowDockID() ID
- type IDStackTool
- func (self IDStackTool) C() (C.ImGuiIDStackTool, func())
- func (self *IDStackTool) CopyToClipboardLastTime() float32
- func (self *IDStackTool) Handle() (result *C.ImGuiIDStackTool, fin func())
- func (self *IDStackTool) InternalDestroy()
- func (self *IDStackTool) LastActiveFrame() int32
- func (self *IDStackTool) OptCopyToClipboardOnCtrlC() bool
- func (self *IDStackTool) OptHexEncodeNonAsciiChars() bool
- func (self IDStackTool) SetCopyToClipboardLastTime(v float32)
- func (self IDStackTool) SetLastActiveFrame(v int32)
- func (self IDStackTool) SetOptCopyToClipboardOnCtrlC(v bool)
- func (self IDStackTool) SetOptHexEncodeNonAsciiChars(v bool)
- type IO
- func (self *IO) AddFocusEvent(focused bool)
- func (self *IO) AddInputCharacter(c uint32)
- func (self *IO) AddInputCharacterUTF16(c uint16)
- func (self *IO) AddInputCharactersUTF8(str string)
- func (self *IO) AddKeyAnalogEvent(key Key, down bool, v float32)
- func (self *IO) AddKeyEvent(key Key, down bool)
- func (self *IO) AddMouseButtonEvent(button int32, down bool)
- func (self *IO) AddMousePosEvent(x, y float32)
- func (self *IO) AddMouseSourceEvent(source MouseSource)
- func (self *IO) AddMouseViewportEvent(id ID)
- func (io IO) AddMouseWheelDelta(horizontal, vertical float32)
- func (self *IO) AddMouseWheelEvent(wheel_x, wheel_y float32)
- func (self *IO) AppAcceptingEvents() bool
- func (self *IO) AppFocusLost() bool
- func (self *IO) BackendFlags() BackendFlags
- func (self *IO) BackendLanguageUserData() uintptr
- func (self *IO) BackendPlatformName() string
- func (self *IO) BackendPlatformUserData() uintptr
- func (self *IO) BackendRendererName() string
- func (self *IO) BackendRendererUserData() uintptr
- func (self IO) C() (C.ImGuiIO, func())
- func (self *IO) ClearEventsQueue()
- func (self *IO) ClearInputKeys()
- func (self *IO) ClearInputMouse()
- func (self *IO) ConfigDebugBeginReturnValueLoop() bool
- func (self *IO) ConfigDebugBeginReturnValueOnce() bool
- func (self *IO) ConfigDebugHighlightIdConflicts() bool
- func (self *IO) ConfigDebugHighlightIdConflictsShowItemPicker() bool
- func (self *IO) ConfigDebugIgnoreFocusLoss() bool
- func (self *IO) ConfigDebugIniSettings() bool
- func (self *IO) ConfigDebugIsDebuggerPresent() bool
- func (self *IO) ConfigDockingAlwaysTabBar() bool
- func (self *IO) ConfigDockingNoDockingOver() bool
- func (self *IO) ConfigDockingNoSplit() bool
- func (self *IO) ConfigDockingTransparentPayload() bool
- func (self *IO) ConfigDockingWithShift() bool
- func (self *IO) ConfigDpiScaleFonts() bool
- func (self *IO) ConfigDpiScaleViewports() bool
- func (self *IO) ConfigDragClickToInputText() bool
- func (self *IO) ConfigErrorRecovery() bool
- func (self *IO) ConfigErrorRecoveryEnableAssert() bool
- func (self *IO) ConfigErrorRecoveryEnableDebugLog() bool
- func (self *IO) ConfigErrorRecoveryEnableTooltip() bool
- func (self *IO) ConfigFlags() ConfigFlags
- func (self *IO) ConfigInputTextCursorBlink() bool
- func (self *IO) ConfigInputTextEnterKeepActive() bool
- func (self *IO) ConfigInputTrickleEventQueue() bool
- func (self *IO) ConfigMacOSXBehaviors() bool
- func (self *IO) ConfigMemoryCompactTimer() float32
- func (self *IO) ConfigNavCaptureKeyboard() bool
- func (self *IO) ConfigNavCursorVisibleAlways() bool
- func (self *IO) ConfigNavCursorVisibleAuto() bool
- func (self *IO) ConfigNavEscapeClearFocusItem() bool
- func (self *IO) ConfigNavEscapeClearFocusWindow() bool
- func (self *IO) ConfigNavMoveSetMousePos() bool
- func (self *IO) ConfigNavSwapGamepadButtons() bool
- func (self *IO) ConfigScrollbarScrollByPage() bool
- func (self *IO) ConfigViewportsNoAutoMerge() bool
- func (self *IO) ConfigViewportsNoDecoration() bool
- func (self *IO) ConfigViewportsNoDefaultParent() bool
- func (self *IO) ConfigViewportsNoTaskBarIcon() bool
- func (self *IO) ConfigViewportsPlatformFocusSetsImGuiFocus() bool
- func (self *IO) ConfigWindowsCopyContentsWithCtrlC() bool
- func (self *IO) ConfigWindowsMoveFromTitleBarOnly() bool
- func (self *IO) ConfigWindowsResizeFromEdges() bool
- func (self *IO) Ctx() *Context
- func (self *IO) DeltaTime() float32
- func (self *IO) Destroy()
- func (self *IO) DisplayFramebufferScale() Vec2
- func (self *IO) DisplaySize() Vec2
- func (self *IO) FontAllowUserScaling() bool
- func (self *IO) FontDefault() *Font
- func (self *IO) Fonts() *FontAtlas
- func (self *IO) Framerate() float32
- func (self *IO) Handle() (result *C.ImGuiIO, fin func())
- func (self *IO) IniFilename() string
- func (self *IO) IniSavingRate() float32
- func (self *IO) InputQueueCharacters() vectors.Vector[Wchar]
- func (self *IO) InputQueueSurrogate() uint16
- func (self *IO) KeyAlt() bool
- func (self *IO) KeyCtrl() bool
- func (self *IO) KeyMods() KeyChord
- func (self *IO) KeyRepeatDelay() float32
- func (self *IO) KeyRepeatRate() float32
- func (self *IO) KeyShift() bool
- func (self *IO) KeySuper() bool
- func (self *IO) KeysData() [155]KeyData
- func (self *IO) LogFilename() string
- func (self *IO) MetricsActiveWindows() int32
- func (self *IO) MetricsRenderIndices() int32
- func (self *IO) MetricsRenderVertices() int32
- func (self *IO) MetricsRenderWindows() int32
- func (self *IO) MouseClicked() [5]bool
- func (self *IO) MouseClickedCount() [5]uint16
- func (self *IO) MouseClickedLastCount() [5]uint16
- func (self *IO) MouseClickedPos() [5]Vec2
- func (self *IO) MouseClickedTime() [5]float64
- func (self *IO) MouseCtrlLeftAsRightClick() bool
- func (self *IO) MouseDelta() Vec2
- func (self *IO) MouseDoubleClickMaxDist() float32
- func (self *IO) MouseDoubleClickTime() float32
- func (self *IO) MouseDoubleClicked() [5]bool
- func (self *IO) MouseDown() [5]bool
- func (self *IO) MouseDownDuration() [5]float32
- func (self *IO) MouseDownDurationPrev() [5]float32
- func (self *IO) MouseDownOwned() [5]bool
- func (self *IO) MouseDownOwnedUnlessPopupClose() [5]bool
- func (self *IO) MouseDragMaxDistanceAbs() [5]Vec2
- func (self *IO) MouseDragMaxDistanceSqr() [5]float32
- func (self *IO) MouseDragThreshold() float32
- func (self *IO) MouseDrawCursor() bool
- func (self *IO) MouseHoveredViewport() ID
- func (self *IO) MousePos() Vec2
- func (self *IO) MousePosPrev() Vec2
- func (self *IO) MouseReleased() [5]bool
- func (self *IO) MouseReleasedTime() [5]float64
- func (self *IO) MouseSource() MouseSource
- func (self *IO) MouseWheel() float32
- func (self *IO) MouseWheelH() float32
- func (self *IO) MouseWheelRequestAxisSwap() bool
- func (self *IO) NavActive() bool
- func (self *IO) NavVisible() bool
- func (self *IO) PenPressure() float32
- func (self *IO) SetAppAcceptingEvents(accepting_events bool)
- func (self IO) SetAppFocusLost(v bool)
- func (self IO) SetBackendFlags(v BackendFlags)
- func (self IO) SetBackendLanguageUserData(v uintptr)
- func (self IO) SetBackendPlatformName(v string)
- func (self IO) SetBackendPlatformUserData(v uintptr)
- func (self IO) SetBackendRendererName(v string)
- func (self IO) SetBackendRendererUserData(v uintptr)
- func (self IO) SetConfigDebugBeginReturnValueLoop(v bool)
- func (self IO) SetConfigDebugBeginReturnValueOnce(v bool)
- func (self IO) SetConfigDebugHighlightIdConflicts(v bool)
- func (self IO) SetConfigDebugHighlightIdConflictsShowItemPicker(v bool)
- func (self IO) SetConfigDebugIgnoreFocusLoss(v bool)
- func (self IO) SetConfigDebugIniSettings(v bool)
- func (self IO) SetConfigDebugIsDebuggerPresent(v bool)
- func (self IO) SetConfigDockingAlwaysTabBar(v bool)
- func (self IO) SetConfigDockingNoDockingOver(v bool)
- func (self IO) SetConfigDockingNoSplit(v bool)
- func (self IO) SetConfigDockingTransparentPayload(v bool)
- func (self IO) SetConfigDockingWithShift(v bool)
- func (self IO) SetConfigDpiScaleFonts(v bool)
- func (self IO) SetConfigDpiScaleViewports(v bool)
- func (self IO) SetConfigDragClickToInputText(v bool)
- func (self IO) SetConfigErrorRecovery(v bool)
- func (self IO) SetConfigErrorRecoveryEnableAssert(v bool)
- func (self IO) SetConfigErrorRecoveryEnableDebugLog(v bool)
- func (self IO) SetConfigErrorRecoveryEnableTooltip(v bool)
- func (self IO) SetConfigFlags(v ConfigFlags)
- func (self IO) SetConfigInputTextCursorBlink(v bool)
- func (self IO) SetConfigInputTextEnterKeepActive(v bool)
- func (self IO) SetConfigInputTrickleEventQueue(v bool)
- func (self IO) SetConfigMacOSXBehaviors(v bool)
- func (self IO) SetConfigMemoryCompactTimer(v float32)
- func (self IO) SetConfigNavCaptureKeyboard(v bool)
- func (self IO) SetConfigNavCursorVisibleAlways(v bool)
- func (self IO) SetConfigNavCursorVisibleAuto(v bool)
- func (self IO) SetConfigNavEscapeClearFocusItem(v bool)
- func (self IO) SetConfigNavEscapeClearFocusWindow(v bool)
- func (self IO) SetConfigNavMoveSetMousePos(v bool)
- func (self IO) SetConfigNavSwapGamepadButtons(v bool)
- func (self IO) SetConfigScrollbarScrollByPage(v bool)
- func (self IO) SetConfigViewportsNoAutoMerge(v bool)
- func (self IO) SetConfigViewportsNoDecoration(v bool)
- func (self IO) SetConfigViewportsNoDefaultParent(v bool)
- func (self IO) SetConfigViewportsNoTaskBarIcon(v bool)
- func (self IO) SetConfigViewportsPlatformFocusSetsImGuiFocus(v bool)
- func (self IO) SetConfigWindowsCopyContentsWithCtrlC(v bool)
- func (self IO) SetConfigWindowsMoveFromTitleBarOnly(v bool)
- func (self IO) SetConfigWindowsResizeFromEdges(v bool)
- func (self IO) SetCtx(v *Context)
- func (self IO) SetDeltaTime(v float32)
- func (self IO) SetDisplayFramebufferScale(v Vec2)
- func (self IO) SetDisplaySize(v Vec2)
- func (self IO) SetFontAllowUserScaling(v bool)
- func (self IO) SetFontDefault(v *Font)
- func (self IO) SetFonts(v *FontAtlas)
- func (self IO) SetFramerate(v float32)
- func (self IO) SetIniFilename(v string)
- func (self IO) SetIniSavingRate(v float32)
- func (self IO) SetInputQueueCharacters(v vectors.Vector[Wchar])
- func (self IO) SetInputQueueSurrogate(v uint16)
- func (self IO) SetKeyAlt(v bool)
- func (self IO) SetKeyCtrl(v bool)
- func (self *IO) SetKeyEventNativeData(key Key, native_keycode, native_scancode int32)
- func (self *IO) SetKeyEventNativeDataV(key Key, native_keycode, native_scancode, native_legacy_index int32)
- func (self IO) SetKeyMods(v KeyChord)
- func (self IO) SetKeyRepeatDelay(v float32)
- func (self IO) SetKeyRepeatRate(v float32)
- func (self IO) SetKeyShift(v bool)
- func (self IO) SetKeySuper(v bool)
- func (self IO) SetKeysData(v *[155]KeyData)
- func (self IO) SetLogFilename(v string)
- func (self IO) SetMetricsActiveWindows(v int32)
- func (self IO) SetMetricsRenderIndices(v int32)
- func (self IO) SetMetricsRenderVertices(v int32)
- func (self IO) SetMetricsRenderWindows(v int32)
- func (io IO) SetMouseButtonDown(i int, down bool)
- func (self IO) SetMouseClicked(v *[5]bool)
- func (self IO) SetMouseClickedCount(v *[5]uint16)
- func (self IO) SetMouseClickedLastCount(v *[5]uint16)
- func (self IO) SetMouseClickedPos(v *[5]Vec2)
- func (self IO) SetMouseClickedTime(v *[5]float64)
- func (self IO) SetMouseCtrlLeftAsRightClick(v bool)
- func (self IO) SetMouseDelta(v Vec2)
- func (self IO) SetMouseDoubleClickMaxDist(v float32)
- func (self IO) SetMouseDoubleClickTime(v float32)
- func (self IO) SetMouseDoubleClicked(v *[5]bool)
- func (self IO) SetMouseDown(v *[5]bool)
- func (self IO) SetMouseDownDuration(v *[5]float32)
- func (self IO) SetMouseDownDurationPrev(v *[5]float32)
- func (self IO) SetMouseDownOwned(v *[5]bool)
- func (self IO) SetMouseDownOwnedUnlessPopupClose(v *[5]bool)
- func (self IO) SetMouseDragMaxDistanceAbs(v *[5]Vec2)
- func (self IO) SetMouseDragMaxDistanceSqr(v *[5]float32)
- func (self IO) SetMouseDragThreshold(v float32)
- func (self IO) SetMouseDrawCursor(v bool)
- func (self IO) SetMouseHoveredViewport(v ID)
- func (self IO) SetMousePos(v Vec2)
- func (self IO) SetMousePosPrev(v Vec2)
- func (self IO) SetMouseReleased(v *[5]bool)
- func (self IO) SetMouseReleasedTime(v *[5]float64)
- func (self IO) SetMouseSource(v MouseSource)
- func (self IO) SetMouseWheel(v float32)
- func (self IO) SetMouseWheelH(v float32)
- func (self IO) SetMouseWheelRequestAxisSwap(v bool)
- func (self IO) SetNavActive(v bool)
- func (self IO) SetNavVisible(v bool)
- func (self IO) SetPenPressure(v float32)
- func (self IO) SetUserData(v uintptr)
- func (self IO) SetWantCaptureKeyboard(v bool)
- func (self IO) SetWantCaptureMouse(v bool)
- func (self IO) SetWantCaptureMouseUnlessPopupClose(v bool)
- func (self IO) SetWantSaveIniSettings(v bool)
- func (self IO) SetWantSetMousePos(v bool)
- func (self IO) SetWantTextInput(v bool)
- func (self *IO) UserData() uintptr
- func (self *IO) WantCaptureKeyboard() bool
- func (self *IO) WantCaptureMouse() bool
- func (self *IO) WantCaptureMouseUnlessPopupClose() bool
- func (self *IO) WantSaveIniSettings() bool
- func (self *IO) WantSetMousePos() bool
- func (self *IO) WantTextInput() bool
- type InputEvent
- func (self *InputEvent) AddedByTestEngine() bool
- func (self InputEvent) C() (C.ImGuiInputEvent, func())
- func (self *InputEvent) EventId() uint32
- func (self *InputEvent) Handle() (result *C.ImGuiInputEvent, fin func())
- func (self *InputEvent) InternalDestroy()
- func (self InputEvent) SetAddedByTestEngine(v bool)
- func (self InputEvent) SetEventId(v uint32)
- func (self InputEvent) SetSource(v InputSource)
- func (self InputEvent) SetType(v InputEventType)
- func (self *InputEvent) Source() InputSource
- func (self *InputEvent) Type() InputEventType
- type InputEventAppFocused
- type InputEventKey
- func (self *InputEventKey) AnalogValue() float32
- func (self InputEventKey) C() (C.ImGuiInputEventKey, func())
- func (self *InputEventKey) Down() bool
- func (self *InputEventKey) Handle() (result *C.ImGuiInputEventKey, fin func())
- func (self *InputEventKey) Key() Key
- func (self InputEventKey) SetAnalogValue(v float32)
- func (self InputEventKey) SetDown(v bool)
- func (self InputEventKey) SetKey(v Key)
- type InputEventMouseButton
- func (self *InputEventMouseButton) Button() int32
- func (self InputEventMouseButton) C() (C.ImGuiInputEventMouseButton, func())
- func (self *InputEventMouseButton) Down() bool
- func (self *InputEventMouseButton) Handle() (result *C.ImGuiInputEventMouseButton, fin func())
- func (self *InputEventMouseButton) MouseSource() MouseSource
- func (self InputEventMouseButton) SetButton(v int32)
- func (self InputEventMouseButton) SetDown(v bool)
- func (self InputEventMouseButton) SetMouseSource(v MouseSource)
- type InputEventMousePos
- func (self InputEventMousePos) C() (C.ImGuiInputEventMousePos, func())
- func (self *InputEventMousePos) Handle() (result *C.ImGuiInputEventMousePos, fin func())
- func (self *InputEventMousePos) MouseSource() MouseSource
- func (self *InputEventMousePos) PosX() float32
- func (self *InputEventMousePos) PosY() float32
- func (self InputEventMousePos) SetMouseSource(v MouseSource)
- func (self InputEventMousePos) SetPosX(v float32)
- func (self InputEventMousePos) SetPosY(v float32)
- type InputEventMouseViewport
- func (self InputEventMouseViewport) C() (C.ImGuiInputEventMouseViewport, func())
- func (self *InputEventMouseViewport) Handle() (result *C.ImGuiInputEventMouseViewport, fin func())
- func (self *InputEventMouseViewport) HoveredViewportID() ID
- func (self InputEventMouseViewport) SetHoveredViewportID(v ID)
- type InputEventMouseWheel
- func (self InputEventMouseWheel) C() (C.ImGuiInputEventMouseWheel, func())
- func (self *InputEventMouseWheel) Handle() (result *C.ImGuiInputEventMouseWheel, fin func())
- func (self *InputEventMouseWheel) MouseSource() MouseSource
- func (self InputEventMouseWheel) SetMouseSource(v MouseSource)
- func (self InputEventMouseWheel) SetWheelX(v float32)
- func (self InputEventMouseWheel) SetWheelY(v float32)
- func (self *InputEventMouseWheel) WheelX() float32
- func (self *InputEventMouseWheel) WheelY() float32
- type InputEventText
- type InputEventType
- type InputFlags
- type InputFlagsPrivate
- type InputSource
- type InputTextCallback
- type InputTextCallbackData
- func (self *InputTextCallbackData) Buf() string
- func (self *InputTextCallbackData) BufDirty() bool
- func (self *InputTextCallbackData) BufSize() int32
- func (self *InputTextCallbackData) BufTextLen() int32
- func (self InputTextCallbackData) C() (C.ImGuiInputTextCallbackData, func())
- func (self *InputTextCallbackData) ClearSelection()
- func (self *InputTextCallbackData) Ctx() *Context
- func (self *InputTextCallbackData) CursorPos() int32
- func (self *InputTextCallbackData) DeleteChars(pos, bytes_count int32)
- func (self *InputTextCallbackData) Destroy()
- func (self *InputTextCallbackData) EventActivated() bool
- func (self *InputTextCallbackData) EventChar() Wchar
- func (self *InputTextCallbackData) EventFlag() InputTextFlags
- func (self *InputTextCallbackData) EventKey() Key
- func (self *InputTextCallbackData) Flags() InputTextFlags
- func (self *InputTextCallbackData) Handle() (result *C.ImGuiInputTextCallbackData, fin func())
- func (self *InputTextCallbackData) HasSelection() bool
- func (self *InputTextCallbackData) ID() ID
- func (self *InputTextCallbackData) InsertChars(pos int32, text string)
- func (self *InputTextCallbackData) InsertCharsV(pos int32, text string)
- func (self *InputTextCallbackData) SelectAll()
- func (self *InputTextCallbackData) SelectionEnd() int32
- func (self *InputTextCallbackData) SelectionStart() int32
- func (self InputTextCallbackData) SetBuf(v string)
- func (self InputTextCallbackData) SetBufDirty(v bool)
- func (self InputTextCallbackData) SetBufSize(v int32)
- func (self InputTextCallbackData) SetBufTextLen(v int32)
- func (self InputTextCallbackData) SetCtx(v *Context)
- func (self InputTextCallbackData) SetCursorPos(v int32)
- func (self InputTextCallbackData) SetEventActivated(v bool)
- func (self InputTextCallbackData) SetEventChar(v Wchar)
- func (self InputTextCallbackData) SetEventFlag(v InputTextFlags)
- func (self InputTextCallbackData) SetEventKey(v Key)
- func (self InputTextCallbackData) SetFlags(v InputTextFlags)
- func (self InputTextCallbackData) SetID(v ID)
- func (self *InputTextCallbackData) SetSelection(s, e int32)
- func (self InputTextCallbackData) SetSelectionEnd(v int32)
- func (self InputTextCallbackData) SetSelectionStart(v int32)
- func (self InputTextCallbackData) SetUserData(v uintptr)
- func (self *InputTextCallbackData) UserData() uintptr
- type InputTextDeactivateData
- type InputTextDeactivatedState
- func (self InputTextDeactivatedState) C() (C.ImGuiInputTextDeactivatedState, func())
- func (self *InputTextDeactivatedState) Handle() (result *C.ImGuiInputTextDeactivatedState, fin func())
- func (self *InputTextDeactivatedState) ID() ID
- func (self *InputTextDeactivatedState) InternalClearFreeMemory()
- func (self *InputTextDeactivatedState) InternalDestroy()
- func (self InputTextDeactivatedState) SetID(v ID)
- func (self InputTextDeactivatedState) SetTextA(v vectors.Vector[int8])
- func (self *InputTextDeactivatedState) TextA() vectors.Vector[int8]
- type InputTextFlags
- type InputTextFlagsPrivate
- type InputTextState
- func (self *InputTextState) BufCapacity() int32
- func (self InputTextState) C() (C.ImGuiInputTextState, func())
- func (self *InputTextState) CallbackTextBackup() vectors.Vector[int8]
- func (self *InputTextState) Ctx() *Context
- func (self *InputTextState) CursorAnim() float32
- func (self *InputTextState) CursorCenterY() bool
- func (self *InputTextState) CursorFollow() bool
- func (self *InputTextState) EditedBefore() bool
- func (self *InputTextState) EditedThisFrame() bool
- func (self *InputTextState) Flags() InputTextFlags
- func (self *InputTextState) Handle() (result *C.ImGuiInputTextState, fin func())
- func (self *InputTextState) ID() ID
- func (self *InputTextState) InternalClearFreeMemory()
- func (self *InputTextState) InternalClearSelection()
- func (self *InputTextState) InternalClearText()
- func (self *InputTextState) InternalCursorAnimReset()
- func (self *InputTextState) InternalCursorClamp()
- func (self *InputTextState) InternalCursorPos() int32
- func (self *InputTextState) InternalDestroy()
- func (self *InputTextState) InternalHasSelection() bool
- func (self *InputTextState) InternalOnCharPressed(c uint32)
- func (self *InputTextState) InternalOnKeyPressed(key int32)
- func (self *InputTextState) InternalPreferredOffsetX() float32
- func (self *InputTextState) InternalReloadUserBufAndKeepSelection()
- func (self *InputTextState) InternalReloadUserBufAndMoveToEnd()
- func (self *InputTextState) InternalReloadUserBufAndSelectAll()
- func (self *InputTextState) InternalSelectAll()
- func (self *InputTextState) InternalSelectionEnd() int32
- func (self *InputTextState) InternalSelectionStart() int32
- func (self *InputTextState) InternalSetSelection(start, end int32)
- func (self *InputTextState) InternalText() string
- func (self *InputTextState) LastMoveDirectionLR() int
- func (self *InputTextState) LineCount() int32
- func (self *InputTextState) ReloadSelectionEnd() int32
- func (self *InputTextState) ReloadSelectionStart() int32
- func (self *InputTextState) Scroll() Vec2
- func (self *InputTextState) SelectedAllMouseLock() bool
- func (self InputTextState) SetBufCapacity(v int32)
- func (self InputTextState) SetCallbackTextBackup(v vectors.Vector[int8])
- func (self InputTextState) SetCtx(v *Context)
- func (self InputTextState) SetCursorAnim(v float32)
- func (self InputTextState) SetCursorCenterY(v bool)
- func (self InputTextState) SetCursorFollow(v bool)
- func (self InputTextState) SetEditedBefore(v bool)
- func (self InputTextState) SetEditedThisFrame(v bool)
- func (self InputTextState) SetFlags(v InputTextFlags)
- func (self InputTextState) SetID(v ID)
- func (self InputTextState) SetLastMoveDirectionLR(v int)
- func (self InputTextState) SetLineCount(v int32)
- func (self InputTextState) SetReloadSelectionEnd(v int32)
- func (self InputTextState) SetReloadSelectionStart(v int32)
- func (self InputTextState) SetScroll(v Vec2)
- func (self InputTextState) SetSelectedAllMouseLock(v bool)
- func (self InputTextState) SetTextA(v vectors.Vector[int8])
- func (self InputTextState) SetTextLen(v int32)
- func (self InputTextState) SetTextSrc(v string)
- func (self InputTextState) SetTextToRevertTo(v vectors.Vector[int8])
- func (self InputTextState) SetWantReloadUserBuf(v bool)
- func (self InputTextState) SetWrapWidth(v float32)
- func (self *InputTextState) TextA() vectors.Vector[int8]
- func (self *InputTextState) TextLen() int32
- func (self *InputTextState) TextSrc() string
- func (self *InputTextState) TextToRevertTo() vectors.Vector[int8]
- func (self *InputTextState) WantReloadUserBuf() bool
- func (self *InputTextState) WrapWidth() float32
- type ItemFlags
- type ItemFlagsPrivate
- type ItemStatusFlags
- type Key
- type KeyChord
- type KeyData
- func (self *KeyData) AnalogValue() float32
- func (self KeyData) C() (C.ImGuiKeyData, func())
- func (self *KeyData) Down() bool
- func (self *KeyData) DownDuration() float32
- func (self *KeyData) DownDurationPrev() float32
- func (self *KeyData) Handle() (result *C.ImGuiKeyData, fin func())
- func (self KeyData) SetAnalogValue(v float32)
- func (self KeyData) SetDown(v bool)
- func (self KeyData) SetDownDuration(v float32)
- func (self KeyData) SetDownDurationPrev(v float32)
- type KeyOwnerData
- func (self KeyOwnerData) C() (C.ImGuiKeyOwnerData, func())
- func (self *KeyOwnerData) Handle() (result *C.ImGuiKeyOwnerData, fin func())
- func (self *KeyOwnerData) InternalDestroy()
- func (self *KeyOwnerData) LockThisFrame() bool
- func (self *KeyOwnerData) LockUntilRelease() bool
- func (self *KeyOwnerData) OwnerCurr() ID
- func (self *KeyOwnerData) OwnerNext() ID
- func (self KeyOwnerData) SetLockThisFrame(v bool)
- func (self KeyOwnerData) SetLockUntilRelease(v bool)
- func (self KeyOwnerData) SetOwnerCurr(v ID)
- func (self KeyOwnerData) SetOwnerNext(v ID)
- type KeyRoutingData
- func (self KeyRoutingData) C() (C.ImGuiKeyRoutingData, func())
- func (self *KeyRoutingData) Handle() (result *C.ImGuiKeyRoutingData, fin func())
- func (self *KeyRoutingData) InternalDestroy()
- func (self *KeyRoutingData) Mods() uint16
- func (self *KeyRoutingData) NextEntryIndex() KeyRoutingIndex
- func (self *KeyRoutingData) RoutingCurr() ID
- func (self *KeyRoutingData) RoutingCurrScore() uint16
- func (self *KeyRoutingData) RoutingNext() ID
- func (self *KeyRoutingData) RoutingNextScore() uint16
- func (self KeyRoutingData) SetMods(v uint16)
- func (self KeyRoutingData) SetNextEntryIndex(v KeyRoutingIndex)
- func (self KeyRoutingData) SetRoutingCurr(v ID)
- func (self KeyRoutingData) SetRoutingCurrScore(v uint16)
- func (self KeyRoutingData) SetRoutingNext(v ID)
- func (self KeyRoutingData) SetRoutingNextScore(v uint16)
- type KeyRoutingIndex
- type KeyRoutingTable
- func (self KeyRoutingTable) C() (C.ImGuiKeyRoutingTable, func())
- func (self *KeyRoutingTable) Entries() vectors.Vector[KeyRoutingData]
- func (self *KeyRoutingTable) EntriesNext() vectors.Vector[KeyRoutingData]
- func (self *KeyRoutingTable) Handle() (result *C.ImGuiKeyRoutingTable, fin func())
- func (self *KeyRoutingTable) Index() [155]KeyRoutingIndex
- func (self *KeyRoutingTable) InternalClear()
- func (self *KeyRoutingTable) InternalDestroy()
- func (self KeyRoutingTable) SetEntries(v vectors.Vector[KeyRoutingData])
- func (self KeyRoutingTable) SetEntriesNext(v vectors.Vector[KeyRoutingData])
- func (self KeyRoutingTable) SetIndex(v *[155]KeyRoutingIndex)
- type LastItemData
- func (self LastItemData) C() (C.ImGuiLastItemData, func())
- func (self *LastItemData) ClipRect() Rect
- func (self *LastItemData) DisplayRect() Rect
- func (self *LastItemData) Handle() (result *C.ImGuiLastItemData, fin func())
- func (self *LastItemData) ID() ID
- func (self *LastItemData) InternalDestroy()
- func (self *LastItemData) ItemFlags() ItemFlags
- func (self *LastItemData) NavRect() Rect
- func (self *LastItemData) Rect() Rect
- func (self LastItemData) SetClipRect(v Rect)
- func (self LastItemData) SetDisplayRect(v Rect)
- func (self LastItemData) SetID(v ID)
- func (self LastItemData) SetItemFlags(v ItemFlags)
- func (self LastItemData) SetNavRect(v Rect)
- func (self LastItemData) SetRect(v Rect)
- func (self LastItemData) SetShortcut(v KeyChord)
- func (self LastItemData) SetStatusFlags(v ItemStatusFlags)
- func (self *LastItemData) Shortcut() KeyChord
- func (self *LastItemData) StatusFlags() ItemStatusFlags
- type LayoutType
- type ListClipper
- func (self *ListClipper) Begin(items_count int32)
- func (self *ListClipper) BeginV(items_count int32, items_height float32)
- func (self ListClipper) C() (C.ImGuiListClipper, func())
- func (self *ListClipper) Ctx() *Context
- func (self *ListClipper) Destroy()
- func (self *ListClipper) DisplayEnd() int32
- func (self *ListClipper) DisplayStart() int32
- func (self *ListClipper) End()
- func (self *ListClipper) Flags() ListClipperFlags
- func (self *ListClipper) Handle() (result *C.ImGuiListClipper, fin func())
- func (self *ListClipper) IncludeItemByIndex(item_index int32)
- func (self *ListClipper) IncludeItemsByIndex(item_begin, item_end int32)
- func (self *ListClipper) ItemsCount() int32
- func (self *ListClipper) ItemsHeight() float32
- func (self *ListClipper) SeekCursorForItem(item_index int32)
- func (self ListClipper) SetCtx(v *Context)
- func (self ListClipper) SetDisplayEnd(v int32)
- func (self ListClipper) SetDisplayStart(v int32)
- func (self ListClipper) SetFlags(v ListClipperFlags)
- func (self ListClipper) SetItemsCount(v int32)
- func (self ListClipper) SetItemsHeight(v float32)
- func (self ListClipper) SetStartPosY(v float64)
- func (self ListClipper) SetStartSeekOffsetY(v float64)
- func (self ListClipper) SetTempData(v uintptr)
- func (self ListClipper) SetUserIndex(v int32)
- func (self *ListClipper) StartPosY() float64
- func (self *ListClipper) StartSeekOffsetY() float64
- func (self *ListClipper) Step() bool
- func (self *ListClipper) TempData() uintptr
- func (self *ListClipper) UserIndex() int32
- type ListClipperData
- func (self ListClipperData) C() (C.ImGuiListClipperData, func())
- func (self *ListClipperData) Handle() (result *C.ImGuiListClipperData, fin func())
- func (self *ListClipperData) InternalDestroy()
- func (self *ListClipperData) InternalReset(clipper *ListClipper)
- func (self *ListClipperData) ItemsFrozen() int32
- func (self *ListClipperData) ListClipper() *ListClipper
- func (self *ListClipperData) LossynessOffset() float32
- func (self *ListClipperData) Ranges() vectors.Vector[ListClipperRange]
- func (self ListClipperData) SetItemsFrozen(v int32)
- func (self ListClipperData) SetListClipper(v *ListClipper)
- func (self ListClipperData) SetLossynessOffset(v float32)
- func (self ListClipperData) SetRanges(v vectors.Vector[ListClipperRange])
- func (self ListClipperData) SetStepNo(v int32)
- func (self *ListClipperData) StepNo() int32
- type ListClipperFlags
- type ListClipperRange
- func (self ListClipperRange) C() (C.ImGuiListClipperRange, func())
- func (self *ListClipperRange) Handle() (result *C.ImGuiListClipperRange, fin func())
- func (self *ListClipperRange) Max() int32
- func (self *ListClipperRange) Min() int32
- func (self *ListClipperRange) PosToIndexConvert() bool
- func (self *ListClipperRange) PosToIndexOffsetMax() int
- func (self *ListClipperRange) PosToIndexOffsetMin() int
- func (self ListClipperRange) SetMax(v int32)
- func (self ListClipperRange) SetMin(v int32)
- func (self ListClipperRange) SetPosToIndexConvert(v bool)
- func (self ListClipperRange) SetPosToIndexOffsetMax(v int)
- func (self ListClipperRange) SetPosToIndexOffsetMin(v int)
- type LocEntry
- type LocKey
- type LogFlags
- type MemAllocFunc
- type MemFreeFunc
- type MenuColumns
- func (self MenuColumns) C() (C.ImGuiMenuColumns, func())
- func (self *MenuColumns) Handle() (result *C.ImGuiMenuColumns, fin func())
- func (self *MenuColumns) InternalCalcNextTotalWidth(update_offsets bool)
- func (self *MenuColumns) InternalDeclColumns(w_icon, w_label, w_shortcut, w_mark float32) float32
- func (self *MenuColumns) InternalDestroy()
- func (self *MenuColumns) InternalUpdate(spacing float32, window_reappearing bool)
- func (self *MenuColumns) NextTotalWidth() uint32
- func (self *MenuColumns) OffsetIcon() uint16
- func (self *MenuColumns) OffsetLabel() uint16
- func (self *MenuColumns) OffsetMark() uint16
- func (self *MenuColumns) OffsetShortcut() uint16
- func (self MenuColumns) SetNextTotalWidth(v uint32)
- func (self MenuColumns) SetOffsetIcon(v uint16)
- func (self MenuColumns) SetOffsetLabel(v uint16)
- func (self MenuColumns) SetOffsetMark(v uint16)
- func (self MenuColumns) SetOffsetShortcut(v uint16)
- func (self MenuColumns) SetSpacing(v uint16)
- func (self MenuColumns) SetTotalWidth(v uint32)
- func (self MenuColumns) SetWidths(v *[4]uint16)
- func (self *MenuColumns) Spacing() uint16
- func (self *MenuColumns) TotalWidth() uint32
- func (self *MenuColumns) Widths() [4]uint16
- type MetricsConfig
- func (self MetricsConfig) C() (C.ImGuiMetricsConfig, func())
- func (self *MetricsConfig) Handle() (result *C.ImGuiMetricsConfig, fin func())
- func (self *MetricsConfig) HighlightMonitorIdx() int32
- func (self *MetricsConfig) HighlightViewportID() ID
- func (self MetricsConfig) SetHighlightMonitorIdx(v int32)
- func (self MetricsConfig) SetHighlightViewportID(v ID)
- func (self MetricsConfig) SetShowDebugLog(v bool)
- func (self MetricsConfig) SetShowDockingNodes(v bool)
- func (self MetricsConfig) SetShowDrawCmdBoundingBoxes(v bool)
- func (self MetricsConfig) SetShowDrawCmdMesh(v bool)
- func (self MetricsConfig) SetShowFontPreview(v bool)
- func (self MetricsConfig) SetShowIDStackTool(v bool)
- func (self MetricsConfig) SetShowTablesRects(v bool)
- func (self MetricsConfig) SetShowTablesRectsType(v int32)
- func (self MetricsConfig) SetShowTextEncodingViewer(v bool)
- func (self MetricsConfig) SetShowTextureUsedRect(v bool)
- func (self MetricsConfig) SetShowWindowsBeginOrder(v bool)
- func (self MetricsConfig) SetShowWindowsRects(v bool)
- func (self MetricsConfig) SetShowWindowsRectsType(v int32)
- func (self *MetricsConfig) ShowDebugLog() bool
- func (self *MetricsConfig) ShowDockingNodes() bool
- func (self *MetricsConfig) ShowDrawCmdBoundingBoxes() bool
- func (self *MetricsConfig) ShowDrawCmdMesh() bool
- func (self *MetricsConfig) ShowFontPreview() bool
- func (self *MetricsConfig) ShowIDStackTool() bool
- func (self *MetricsConfig) ShowTablesRects() bool
- func (self *MetricsConfig) ShowTablesRectsType() int32
- func (self *MetricsConfig) ShowTextEncodingViewer() bool
- func (self *MetricsConfig) ShowTextureUsedRect() bool
- func (self *MetricsConfig) ShowWindowsBeginOrder() bool
- func (self *MetricsConfig) ShowWindowsRects() bool
- func (self *MetricsConfig) ShowWindowsRectsType() int32
- type MouseButton
- type MouseCursor
- type MouseSource
- type MultiSelectFlags
- type MultiSelectIO
- func BeginMultiSelect(flags MultiSelectFlags) *MultiSelectIO
- func BeginMultiSelectV(flags MultiSelectFlags, selection_size, items_count int32) *MultiSelectIO
- func EndMultiSelect() *MultiSelectIO
- func NewEmptyMultiSelectIO() *MultiSelectIO
- func NewMultiSelectIOFromC[SRC any](cvalue SRC) *MultiSelectIO
- func (self MultiSelectIO) C() (C.ImGuiMultiSelectIO, func())
- func (self *MultiSelectIO) Handle() (result *C.ImGuiMultiSelectIO, fin func())
- func (self *MultiSelectIO) ItemsCount() int32
- func (self *MultiSelectIO) NavIdItem() SelectionUserData
- func (self *MultiSelectIO) NavIdSelected() bool
- func (self *MultiSelectIO) RangeSrcItem() SelectionUserData
- func (self *MultiSelectIO) RangeSrcReset() bool
- func (self *MultiSelectIO) Requests() vectors.Vector[SelectionRequest]
- func (self MultiSelectIO) SetItemsCount(v int32)
- func (self MultiSelectIO) SetNavIdItem(v SelectionUserData)
- func (self MultiSelectIO) SetNavIdSelected(v bool)
- func (self MultiSelectIO) SetRangeSrcItem(v SelectionUserData)
- func (self MultiSelectIO) SetRangeSrcReset(v bool)
- func (self MultiSelectIO) SetRequests(v vectors.Vector[SelectionRequest])
- type MultiSelectState
- func (self MultiSelectState) C() (C.ImGuiMultiSelectState, func())
- func (self *MultiSelectState) Handle() (result *C.ImGuiMultiSelectState, fin func())
- func (self *MultiSelectState) ID() ID
- func (self *MultiSelectState) InternalDestroy()
- func (self *MultiSelectState) LastFrameActive() int32
- func (self *MultiSelectState) LastSelectionSize() int32
- func (self *MultiSelectState) NavIdItem() SelectionUserData
- func (self *MultiSelectState) NavIdSelected() int
- func (self *MultiSelectState) RangeSelected() int
- func (self *MultiSelectState) RangeSrcItem() SelectionUserData
- func (self MultiSelectState) SetID(v ID)
- func (self MultiSelectState) SetLastFrameActive(v int32)
- func (self MultiSelectState) SetLastSelectionSize(v int32)
- func (self MultiSelectState) SetNavIdItem(v SelectionUserData)
- func (self MultiSelectState) SetNavIdSelected(v int)
- func (self MultiSelectState) SetRangeSelected(v int)
- func (self MultiSelectState) SetRangeSrcItem(v SelectionUserData)
- func (self MultiSelectState) SetWindow(v *Window)
- func (self *MultiSelectState) Window() *Window
- type MultiSelectTempData
- func (self *MultiSelectTempData) BackupCursorMaxPos() Vec2
- func (self *MultiSelectTempData) BoxSelectId() ID
- func (self MultiSelectTempData) C() (C.ImGuiMultiSelectTempData, func())
- func (self *MultiSelectTempData) Flags() MultiSelectFlags
- func (self *MultiSelectTempData) FocusScopeId() ID
- func (self *MultiSelectTempData) Handle() (result *C.ImGuiMultiSelectTempData, fin func())
- func (self *MultiSelectTempData) IO() MultiSelectIO
- func (self *MultiSelectTempData) InternalClear()
- func (self *MultiSelectTempData) InternalClearIO()
- func (self *MultiSelectTempData) InternalDestroy()
- func (self *MultiSelectTempData) IsEndIO() bool
- func (self *MultiSelectTempData) IsFocused() bool
- func (self *MultiSelectTempData) IsKeyboardSetRange() bool
- func (self *MultiSelectTempData) KeyMods() KeyChord
- func (self *MultiSelectTempData) LastSubmittedItem() SelectionUserData
- func (self *MultiSelectTempData) LoopRequestSetAll() int
- func (self *MultiSelectTempData) NavIdPassedBy() bool
- func (self *MultiSelectTempData) RangeDstPassedBy() bool
- func (self *MultiSelectTempData) RangeSrcPassedBy() bool
- func (self *MultiSelectTempData) ScopeRectMin() Vec2
- func (self MultiSelectTempData) SetBackupCursorMaxPos(v Vec2)
- func (self MultiSelectTempData) SetBoxSelectId(v ID)
- func (self MultiSelectTempData) SetFlags(v MultiSelectFlags)
- func (self MultiSelectTempData) SetFocusScopeId(v ID)
- func (self MultiSelectTempData) SetIO(v MultiSelectIO)
- func (self MultiSelectTempData) SetIsEndIO(v bool)
- func (self MultiSelectTempData) SetIsFocused(v bool)
- func (self MultiSelectTempData) SetIsKeyboardSetRange(v bool)
- func (self MultiSelectTempData) SetKeyMods(v KeyChord)
- func (self MultiSelectTempData) SetLastSubmittedItem(v SelectionUserData)
- func (self MultiSelectTempData) SetLoopRequestSetAll(v int)
- func (self MultiSelectTempData) SetNavIdPassedBy(v bool)
- func (self MultiSelectTempData) SetRangeDstPassedBy(v bool)
- func (self MultiSelectTempData) SetRangeSrcPassedBy(v bool)
- func (self MultiSelectTempData) SetScopeRectMin(v Vec2)
- func (self MultiSelectTempData) SetStorage(v *MultiSelectState)
- func (self *MultiSelectTempData) Storage() *MultiSelectState
- type NavItemData
- func (self NavItemData) C() (C.ImGuiNavItemData, func())
- func (self *NavItemData) DistAxial() float32
- func (self *NavItemData) DistBox() float32
- func (self *NavItemData) DistCenter() float32
- func (self *NavItemData) FocusScopeId() ID
- func (self *NavItemData) Handle() (result *C.ImGuiNavItemData, fin func())
- func (self *NavItemData) ID() ID
- func (self *NavItemData) InternalClear()
- func (self *NavItemData) InternalDestroy()
- func (self *NavItemData) ItemFlags() ItemFlags
- func (self *NavItemData) RectRel() Rect
- func (self *NavItemData) SelectionUserData() SelectionUserData
- func (self NavItemData) SetDistAxial(v float32)
- func (self NavItemData) SetDistBox(v float32)
- func (self NavItemData) SetDistCenter(v float32)
- func (self NavItemData) SetFocusScopeId(v ID)
- func (self NavItemData) SetID(v ID)
- func (self NavItemData) SetItemFlags(v ItemFlags)
- func (self NavItemData) SetRectRel(v Rect)
- func (self NavItemData) SetSelectionUserData(v SelectionUserData)
- func (self NavItemData) SetWindow(v *Window)
- func (self *NavItemData) Window() *Window
- type NavLayer
- type NavMoveFlags
- type NavRenderCursorFlags
- type NextItemData
- func (self NextItemData) C() (C.ImGuiNextItemData, func())
- func (self *NextItemData) ColorMarker() uint32
- func (self *NextItemData) FocusScopeId() ID
- func (self *NextItemData) Handle() (result *C.ImGuiNextItemData, fin func())
- func (self *NextItemData) HasFlags() NextItemDataFlags
- func (self *NextItemData) InternalClearFlags()
- func (self *NextItemData) InternalDestroy()
- func (self *NextItemData) ItemFlags() ItemFlags
- func (self *NextItemData) OpenCond() byte
- func (self *NextItemData) OpenVal() bool
- func (self *NextItemData) RefVal() DataTypeStorage
- func (self *NextItemData) SelectionUserData() SelectionUserData
- func (self NextItemData) SetColorMarker(v uint32)
- func (self NextItemData) SetFocusScopeId(v ID)
- func (self NextItemData) SetHasFlags(v NextItemDataFlags)
- func (self NextItemData) SetItemFlags(v ItemFlags)
- func (self NextItemData) SetOpenCond(v byte)
- func (self NextItemData) SetOpenVal(v bool)
- func (self NextItemData) SetRefVal(v DataTypeStorage)
- func (self NextItemData) SetSelectionUserData(v SelectionUserData)
- func (self NextItemData) SetShortcut(v KeyChord)
- func (self NextItemData) SetShortcutFlags(v InputFlags)
- func (self NextItemData) SetStorageId(v ID)
- func (self NextItemData) SetWidth(v float32)
- func (self *NextItemData) Shortcut() KeyChord
- func (self *NextItemData) ShortcutFlags() InputFlags
- func (self *NextItemData) StorageId() ID
- func (self *NextItemData) Width() float32
- type NextItemDataFlags
- type NextWindowData
- func (self *NextWindowData) BgAlphaVal() float32
- func (self NextWindowData) C() (C.ImGuiNextWindowData, func())
- func (self *NextWindowData) ChildFlags() ChildFlags
- func (self *NextWindowData) CollapsedCond() Cond
- func (self *NextWindowData) CollapsedVal() bool
- func (self *NextWindowData) ContentSizeVal() Vec2
- func (self *NextWindowData) DockCond() Cond
- func (self *NextWindowData) DockId() ID
- func (self *NextWindowData) Handle() (result *C.ImGuiNextWindowData, fin func())
- func (self *NextWindowData) HasFlags() NextWindowDataFlags
- func (self *NextWindowData) InternalClearFlags()
- func (self *NextWindowData) InternalDestroy()
- func (self *NextWindowData) MenuBarOffsetMinVal() Vec2
- func (self *NextWindowData) PosCond() Cond
- func (self *NextWindowData) PosPivotVal() Vec2
- func (self *NextWindowData) PosUndock() bool
- func (self *NextWindowData) PosVal() Vec2
- func (self *NextWindowData) RefreshFlagsVal() WindowRefreshFlags
- func (self *NextWindowData) ScrollVal() Vec2
- func (self NextWindowData) SetBgAlphaVal(v float32)
- func (self NextWindowData) SetChildFlags(v ChildFlags)
- func (self NextWindowData) SetCollapsedCond(v Cond)
- func (self NextWindowData) SetCollapsedVal(v bool)
- func (self NextWindowData) SetContentSizeVal(v Vec2)
- func (self NextWindowData) SetDockCond(v Cond)
- func (self NextWindowData) SetDockId(v ID)
- func (self NextWindowData) SetHasFlags(v NextWindowDataFlags)
- func (self NextWindowData) SetMenuBarOffsetMinVal(v Vec2)
- func (self NextWindowData) SetPosCond(v Cond)
- func (self NextWindowData) SetPosPivotVal(v Vec2)
- func (self NextWindowData) SetPosUndock(v bool)
- func (self NextWindowData) SetPosVal(v Vec2)
- func (self NextWindowData) SetRefreshFlagsVal(v WindowRefreshFlags)
- func (self NextWindowData) SetScrollVal(v Vec2)
- func (self NextWindowData) SetSizeCallback(v SizeCallback)
- func (self NextWindowData) SetSizeCallbackUserData(v uintptr)
- func (self NextWindowData) SetSizeCond(v Cond)
- func (self NextWindowData) SetSizeConstraintRect(v Rect)
- func (self NextWindowData) SetSizeVal(v Vec2)
- func (self NextWindowData) SetViewportId(v ID)
- func (self NextWindowData) SetWindowClass(v WindowClass)
- func (self NextWindowData) SetWindowFlags(v WindowFlags)
- func (self *NextWindowData) SizeCallback() SizeCallback
- func (self *NextWindowData) SizeCallbackUserData() uintptr
- func (self *NextWindowData) SizeCond() Cond
- func (self *NextWindowData) SizeConstraintRect() Rect
- func (self *NextWindowData) SizeVal() Vec2
- func (self *NextWindowData) ViewportId() ID
- func (self *NextWindowData) WindowClass() WindowClass
- func (self *NextWindowData) WindowFlags() WindowFlags
- type NextWindowDataFlags
- type OldColumnData
- func (self OldColumnData) C() (C.ImGuiOldColumnData, func())
- func (self *OldColumnData) ClipRect() Rect
- func (self *OldColumnData) Flags() OldColumnFlags
- func (self *OldColumnData) Handle() (result *C.ImGuiOldColumnData, fin func())
- func (self *OldColumnData) InternalDestroy()
- func (self *OldColumnData) OffsetNorm() float32
- func (self *OldColumnData) OffsetNormBeforeResize() float32
- func (self OldColumnData) SetClipRect(v Rect)
- func (self OldColumnData) SetFlags(v OldColumnFlags)
- func (self OldColumnData) SetOffsetNorm(v float32)
- func (self OldColumnData) SetOffsetNormBeforeResize(v float32)
- type OldColumnFlags
- type OldColumns
- func (self OldColumns) C() (C.ImGuiOldColumns, func())
- func (self *OldColumns) Columns() vectors.Vector[OldColumnData]
- func (self *OldColumns) Count() int32
- func (self *OldColumns) Current() int32
- func (self *OldColumns) Flags() OldColumnFlags
- func (self *OldColumns) Handle() (result *C.ImGuiOldColumns, fin func())
- func (self *OldColumns) HostBackupClipRect() Rect
- func (self *OldColumns) HostBackupParentWorkRect() Rect
- func (self *OldColumns) HostCursorMaxPosX() float32
- func (self *OldColumns) HostCursorPosY() float32
- func (self *OldColumns) HostInitialClipRect() Rect
- func (self *OldColumns) ID() ID
- func (self *OldColumns) InternalDestroy()
- func (self *OldColumns) IsBeingResized() bool
- func (self *OldColumns) IsFirstFrame() bool
- func (self *OldColumns) LineMaxY() float32
- func (self *OldColumns) LineMinY() float32
- func (self *OldColumns) OffMaxX() float32
- func (self *OldColumns) OffMinX() float32
- func (self OldColumns) SetColumns(v vectors.Vector[OldColumnData])
- func (self OldColumns) SetCount(v int32)
- func (self OldColumns) SetCurrent(v int32)
- func (self OldColumns) SetFlags(v OldColumnFlags)
- func (self OldColumns) SetHostBackupClipRect(v Rect)
- func (self OldColumns) SetHostBackupParentWorkRect(v Rect)
- func (self OldColumns) SetHostCursorMaxPosX(v float32)
- func (self OldColumns) SetHostCursorPosY(v float32)
- func (self OldColumns) SetHostInitialClipRect(v Rect)
- func (self OldColumns) SetID(v ID)
- func (self OldColumns) SetIsBeingResized(v bool)
- func (self OldColumns) SetIsFirstFrame(v bool)
- func (self OldColumns) SetLineMaxY(v float32)
- func (self OldColumns) SetLineMinY(v float32)
- func (self OldColumns) SetOffMaxX(v float32)
- func (self OldColumns) SetOffMinX(v float32)
- func (self OldColumns) SetSplitter(v DrawListSplitter)
- func (self *OldColumns) Splitter() DrawListSplitter
- type OnceUponAFrame
- type Payload
- func (self Payload) C() (C.ImGuiPayload, func())
- func (self *Payload) Clear()
- func (self *Payload) Data() uintptr
- func (self *Payload) DataFrameCount() int32
- func (self *Payload) DataSize() int32
- func (self *Payload) DataType() [33]rune
- func (self *Payload) Delivery() bool
- func (self *Payload) Destroy()
- func (self *Payload) Handle() (result *C.ImGuiPayload, fin func())
- func (self *Payload) IsDataType(typeArg string) bool
- func (self *Payload) IsDelivery() bool
- func (self *Payload) IsPreview() bool
- func (self *Payload) Preview() bool
- func (self Payload) SetData(v uintptr)
- func (self Payload) SetDataFrameCount(v int32)
- func (self Payload) SetDataSize(v int32)
- func (self Payload) SetDataType(v *[33]rune)
- func (self Payload) SetDelivery(v bool)
- func (self Payload) SetPreview(v bool)
- func (self Payload) SetSourceId(v ID)
- func (self Payload) SetSourceParentId(v ID)
- func (self *Payload) SourceId() ID
- func (self *Payload) SourceParentId() ID
- type PlatformIO
- func (self PlatformIO) C() (C.ImGuiPlatformIO, func())
- func (self *PlatformIO) ClearPlatformHandlers()
- func (self *PlatformIO) ClearRendererHandlers()
- func (self *PlatformIO) Destroy()
- func (self *PlatformIO) Handle() (result *C.ImGuiPlatformIO, fin func())
- func (self *PlatformIO) Monitors() vectors.Vector[PlatformMonitor]
- func (self *PlatformIO) PlatformClipboardUserData() uintptr
- func (self *PlatformIO) PlatformImeUserData() uintptr
- func (self *PlatformIO) PlatformLocaleDecimalPoint() Wchar
- func (self *PlatformIO) PlatformOpenInShellUserData() uintptr
- func (self *PlatformIO) RendererRenderState() uintptr
- func (self *PlatformIO) RendererTextureMaxHeight() int32
- func (self *PlatformIO) RendererTextureMaxWidth() int32
- func (io PlatformIO) SetClipboardHandler(handler ClipboardHandler)
- func (self PlatformIO) SetMonitors(v vectors.Vector[PlatformMonitor])
- func (self PlatformIO) SetPlatformClipboardUserData(v uintptr)
- func (self PlatformIO) SetPlatformImeUserData(v uintptr)
- func (self PlatformIO) SetPlatformLocaleDecimalPoint(v Wchar)
- func (self PlatformIO) SetPlatformOpenInShellUserData(v uintptr)
- func (self PlatformIO) SetRendererRenderState(v uintptr)
- func (self PlatformIO) SetRendererTextureMaxHeight(v int32)
- func (self PlatformIO) SetRendererTextureMaxWidth(v int32)
- func (self *PlatformIO) Textures() vectors.Vector[TextureData]
- func (self *PlatformIO) Viewports() vectors.Vector[Viewport]
- type PlatformImeData
- func (self PlatformImeData) C() (C.ImGuiPlatformImeData, func())
- func (self *PlatformImeData) Destroy()
- func (self *PlatformImeData) Handle() (result *C.ImGuiPlatformImeData, fin func())
- func (self *PlatformImeData) InputLineHeight() float32
- func (self *PlatformImeData) InputPos() Vec2
- func (self PlatformImeData) SetInputLineHeight(v float32)
- func (self PlatformImeData) SetInputPos(v Vec2)
- func (self PlatformImeData) SetViewportId(v ID)
- func (self PlatformImeData) SetWantTextInput(v bool)
- func (self PlatformImeData) SetWantVisible(v bool)
- func (self *PlatformImeData) ViewportId() ID
- func (self *PlatformImeData) WantTextInput() bool
- func (self *PlatformImeData) WantVisible() bool
- type PlatformMonitor
- func (self PlatformMonitor) C() (C.ImGuiPlatformMonitor, func())
- func (self *PlatformMonitor) Destroy()
- func (self *PlatformMonitor) DpiScale() float32
- func (self *PlatformMonitor) Handle() (result *C.ImGuiPlatformMonitor, fin func())
- func (self *PlatformMonitor) MainPos() Vec2
- func (self *PlatformMonitor) MainSize() Vec2
- func (self *PlatformMonitor) PlatformHandle() uintptr
- func (self PlatformMonitor) SetDpiScale(v float32)
- func (self PlatformMonitor) SetMainPos(v Vec2)
- func (self PlatformMonitor) SetMainSize(v Vec2)
- func (self PlatformMonitor) SetPlatformHandle(v uintptr)
- func (self PlatformMonitor) SetWorkPos(v Vec2)
- func (self PlatformMonitor) SetWorkSize(v Vec2)
- func (self *PlatformMonitor) WorkPos() Vec2
- func (self *PlatformMonitor) WorkSize() Vec2
- type PlotType
- type PoolIdx
- type PopupData
- func (self PopupData) C() (C.ImGuiPopupData, func())
- func (self *PopupData) Handle() (result *C.ImGuiPopupData, fin func())
- func (self *PopupData) InternalDestroy()
- func (self *PopupData) OpenFrameCount() int32
- func (self *PopupData) OpenMousePos() Vec2
- func (self *PopupData) OpenParentId() ID
- func (self *PopupData) OpenPopupPos() Vec2
- func (self *PopupData) ParentNavLayer() int32
- func (self *PopupData) PopupId() ID
- func (self *PopupData) RestoreNavWindow() *Window
- func (self PopupData) SetOpenFrameCount(v int32)
- func (self PopupData) SetOpenMousePos(v Vec2)
- func (self PopupData) SetOpenParentId(v ID)
- func (self PopupData) SetOpenPopupPos(v Vec2)
- func (self PopupData) SetParentNavLayer(v int32)
- func (self PopupData) SetPopupId(v ID)
- func (self PopupData) SetRestoreNavWindow(v *Window)
- func (self PopupData) SetWindow(v *Window)
- func (self *PopupData) Window() *Window
- type PopupFlags
- type PopupPositionPolicy
- type PtrOrIndex
- func (self PtrOrIndex) C() (C.ImGuiPtrOrIndex, func())
- func (self *PtrOrIndex) Handle() (result *C.ImGuiPtrOrIndex, fin func())
- func (self *PtrOrIndex) Index() int32
- func (self *PtrOrIndex) InternalDestroy()
- func (self *PtrOrIndex) Ptr() uintptr
- func (self PtrOrIndex) SetIndex(v int32)
- func (self PtrOrIndex) SetPtr(v uintptr)
- type Rect
- func InternalPopupAllowedExtentRect(window *Window) Rect
- func InternalTableGetCellBgRect(table *Table, column_n int32) Rect
- func InternalWindowRectAbsToRel(window *Window, r Rect) Rect
- func InternalWindowRectRelToAbs(window *Window, r Rect) Rect
- func InternalWindowScrollbarRect(window *Window, axis Axis) Rect
- func (i *Rect) FromC(rectAny unsafe.Pointer) *Rect
- func (self *Rect) InternalAddRect(r Rect)
- func (self *Rect) InternalAddVec2(p Vec2)
- func (self *Rect) InternalArea() float32
- func (self *Rect) InternalAsVec4() *Vec4
- func (self *Rect) InternalBL() Vec2
- func (self *Rect) InternalBR() Vec2
- func (self *Rect) InternalCenter() Vec2
- func (self *Rect) InternalClipWith(r Rect)
- func (self *Rect) InternalClipWithFull(r Rect)
- func (self *Rect) InternalContainsRect(r Rect) bool
- func (self *Rect) InternalContainsVec2(p Vec2) bool
- func (self *Rect) InternalContainsWithPad(p, pad Vec2) bool
- func (self *Rect) InternalDestroy()
- func (self *Rect) InternalExpandFloat(amount float32)
- func (self *Rect) InternalExpandVec2(amount Vec2)
- func (self *Rect) InternalHeight() float32
- func (self *Rect) InternalIsInverted() bool
- func (self *Rect) InternalOverlaps(r Rect) bool
- func (self *Rect) InternalSize() Vec2
- func (self *Rect) InternalTL() Vec2
- func (self *Rect) InternalTR() Vec2
- func (self *Rect) InternalToVec4() Vec4
- func (self *Rect) InternalTranslate(d Vec2)
- func (self *Rect) InternalTranslateX(dx float32)
- func (self *Rect) InternalTranslateY(dy float32)
- func (self *Rect) InternalWidth() float32
- func (r *Rect) ToC() C.ImRect
- type STBTexteditState
- type ScrollFlags
- type SelectableFlags
- type SelectableFlagsPrivate
- type SelectionBasicStorage
- func (self *SelectionBasicStorage) ApplyRequests(ms_io *MultiSelectIO)
- func (self SelectionBasicStorage) C() (C.ImGuiSelectionBasicStorage, func())
- func (self *SelectionBasicStorage) Clear()
- func (self *SelectionBasicStorage) Contains(id ID) bool
- func (self *SelectionBasicStorage) Destroy()
- func (self *SelectionBasicStorage) Handle() (result *C.ImGuiSelectionBasicStorage, fin func())
- func (self *SelectionBasicStorage) PreserveOrder() bool
- func (self *SelectionBasicStorage) SelectionOrder() int32
- func (self *SelectionBasicStorage) SetItemSelected(id ID, selected bool)
- func (self SelectionBasicStorage) SetPreserveOrder(v bool)
- func (self SelectionBasicStorage) SetSelectionOrder(v int32)
- func (self SelectionBasicStorage) SetSize(v int32)
- func (self SelectionBasicStorage) SetStorage(v Storage)
- func (self SelectionBasicStorage) SetUserData(v uintptr)
- func (self *SelectionBasicStorage) Size() int32
- func (self *SelectionBasicStorage) Storage() Storage
- func (self *SelectionBasicStorage) StorageIdFromIndex(idx int32) ID
- func (self *SelectionBasicStorage) Swap(r *SelectionBasicStorage)
- func (self *SelectionBasicStorage) UserData() uintptr
- type SelectionExternalStorage
- func (self *SelectionExternalStorage) ApplyRequests(ms_io *MultiSelectIO)
- func (self SelectionExternalStorage) C() (C.ImGuiSelectionExternalStorage, func())
- func (self *SelectionExternalStorage) Destroy()
- func (self *SelectionExternalStorage) Handle() (result *C.ImGuiSelectionExternalStorage, fin func())
- func (self SelectionExternalStorage) SetUserData(v uintptr)
- func (self *SelectionExternalStorage) UserData() uintptr
- type SelectionRequest
- func (self SelectionRequest) C() (C.ImGuiSelectionRequest, func())
- func (self *SelectionRequest) Handle() (result *C.ImGuiSelectionRequest, fin func())
- func (self *SelectionRequest) RangeDirection() int
- func (self *SelectionRequest) RangeFirstItem() SelectionUserData
- func (self *SelectionRequest) RangeLastItem() SelectionUserData
- func (self *SelectionRequest) Selected() bool
- func (self SelectionRequest) SetRangeDirection(v int)
- func (self SelectionRequest) SetRangeFirstItem(v SelectionUserData)
- func (self SelectionRequest) SetRangeLastItem(v SelectionUserData)
- func (self SelectionRequest) SetSelected(v bool)
- func (self SelectionRequest) SetType(v SelectionRequestType)
- func (self *SelectionRequest) Type() SelectionRequestType
- type SelectionRequestType
- type SelectionUserData
- type SeparatorFlags
- type SettingsHandler
- func (self SettingsHandler) C() (C.ImGuiSettingsHandler, func())
- func (self *SettingsHandler) Handle() (result *C.ImGuiSettingsHandler, fin func())
- func (self *SettingsHandler) InternalDestroy()
- func (self SettingsHandler) SetTypeHash(v ID)
- func (self SettingsHandler) SetTypeName(v string)
- func (self SettingsHandler) SetUserData(v uintptr)
- func (self *SettingsHandler) TypeHash() ID
- func (self *SettingsHandler) TypeName() string
- func (self *SettingsHandler) UserData() uintptr
- type ShrinkWidthItem
- func (self ShrinkWidthItem) C() (C.ImGuiShrinkWidthItem, func())
- func (self *ShrinkWidthItem) Handle() (result *C.ImGuiShrinkWidthItem, fin func())
- func (self *ShrinkWidthItem) Index() int32
- func (self *ShrinkWidthItem) InitialWidth() float32
- func (self ShrinkWidthItem) SetIndex(v int32)
- func (self ShrinkWidthItem) SetInitialWidth(v float32)
- func (self ShrinkWidthItem) SetWidth(v float32)
- func (self *ShrinkWidthItem) Width() float32
- type SizeCallback
- type SizeCallbackData
- func (self SizeCallbackData) C() (C.ImGuiSizeCallbackData, func())
- func (self *SizeCallbackData) CurrentSize() Vec2
- func (self *SizeCallbackData) DesiredSize() Vec2
- func (self *SizeCallbackData) Handle() (result *C.ImGuiSizeCallbackData, fin func())
- func (self *SizeCallbackData) Pos() Vec2
- func (self SizeCallbackData) SetCurrentSize(v Vec2)
- func (self SizeCallbackData) SetDesiredSize(v Vec2)
- func (self SizeCallbackData) SetPos(v Vec2)
- func (self SizeCallbackData) SetUserData(v uintptr)
- func (self *SizeCallbackData) UserData() uintptr
- type SliderFlags
- type SliderFlagsPrivate
- type SortDirection
- type StackLevelInfo
- func (self StackLevelInfo) C() (C.ImGuiStackLevelInfo, func())
- func (self *StackLevelInfo) DataType() int
- func (self *StackLevelInfo) DescOffset() int32
- func (self *StackLevelInfo) Handle() (result *C.ImGuiStackLevelInfo, fin func())
- func (self *StackLevelInfo) ID() ID
- func (self *StackLevelInfo) InternalDestroy()
- func (self *StackLevelInfo) QueryFrameCount() int
- func (self *StackLevelInfo) QuerySuccess() bool
- func (self StackLevelInfo) SetDataType(v int)
- func (self StackLevelInfo) SetDescOffset(v int32)
- func (self StackLevelInfo) SetID(v ID)
- func (self StackLevelInfo) SetQueryFrameCount(v int)
- func (self StackLevelInfo) SetQuerySuccess(v bool)
- type Storage
- func (self *Storage) Bool(key ID) bool
- func (self *Storage) BoolRef(key ID) *bool
- func (self *Storage) BoolRefV(key ID, default_val bool) *bool
- func (self *Storage) BoolV(key ID, default_val bool) bool
- func (self *Storage) BuildSortByKey()
- func (self Storage) C() (C.ImGuiStorage, func())
- func (self *Storage) Clear()
- func (self *Storage) Data() vectors.Vector[StoragePair]
- func (self *Storage) Float(key ID) float32
- func (self *Storage) FloatRef(key ID) *float32
- func (self *Storage) FloatRefV(key ID, default_val float32) *float32
- func (self *Storage) FloatV(key ID, default_val float32) float32
- func (self *Storage) Handle() (result *C.ImGuiStorage, fin func())
- func (self *Storage) Int(key ID) int32
- func (self *Storage) IntRef(key ID) *int32
- func (self *Storage) IntRefV(key ID, default_val int32) *int32
- func (self *Storage) IntV(key ID, default_val int32) int32
- func (self *Storage) SetAllInt(val int32)
- func (self *Storage) SetBool(key ID, val bool)
- func (self Storage) SetData(v vectors.Vector[StoragePair])
- func (self *Storage) SetFloat(key ID, val float32)
- func (self *Storage) SetInt(key ID, val int32)
- func (self *Storage) SetVoidPtr(key ID, val uintptr)
- func (self *Storage) VoidPtr(key ID) uintptr
- type StoragePair
- func InternalImLowerBound(in_begin, in_end *StoragePair, key ID) *StoragePair
- func NewEmptyStoragePair() *StoragePair
- func NewStoragePairFloat(_key ID, _val float32) *StoragePair
- func NewStoragePairFromC[SRC any](cvalue SRC) *StoragePair
- func NewStoragePairInt(_key ID, _val int32) *StoragePair
- func NewStoragePairPtr(_key ID, _val uintptr) *StoragePair
- type Style
- func (self *Style) Alpha() float32
- func (self *Style) AntiAliasedFill() bool
- func (self *Style) AntiAliasedLines() bool
- func (self *Style) AntiAliasedLinesUseTex() bool
- func (self *Style) ButtonTextAlign() Vec2
- func (self Style) C() (C.ImGuiStyle, func())
- func (self *Style) CellPadding() Vec2
- func (self *Style) ChildBorderSize() float32
- func (self *Style) ChildRounding() float32
- func (self *Style) CircleTessellationMaxError() float32
- func (self *Style) ColorButtonPosition() Dir
- func (self *Style) ColorMarkerSize() float32
- func (self *Style) Colors() [62]Vec4
- func (self *Style) ColumnsMinSpacing() float32
- func (self *Style) CurveTessellationTol() float32
- func (self *Style) Destroy()
- func (self *Style) DisabledAlpha() float32
- func (self *Style) DisplaySafeAreaPadding() Vec2
- func (self *Style) DisplayWindowPadding() Vec2
- func (self *Style) DockingNodeHasCloseButton() bool
- func (self *Style) DockingSeparatorSize() float32
- func (self *Style) DragDropTargetBorderSize() float32
- func (self *Style) DragDropTargetPadding() float32
- func (self *Style) DragDropTargetRounding() float32
- func (self *Style) FontScaleDpi() float32
- func (self *Style) FontScaleMain() float32
- func (self *Style) FontSizeBase() float32
- func (self *Style) FrameBorderSize() float32
- func (self *Style) FramePadding() Vec2
- func (self *Style) FrameRounding() float32
- func (self *Style) GrabMinSize() float32
- func (self *Style) GrabRounding() float32
- func (self *Style) Handle() (result *C.ImGuiStyle, fin func())
- func (self *Style) HoverDelayNormal() float32
- func (self *Style) HoverDelayShort() float32
- func (self *Style) HoverFlagsForTooltipMouse() HoveredFlags
- func (self *Style) HoverFlagsForTooltipNav() HoveredFlags
- func (self *Style) HoverStationaryDelay() float32
- func (self *Style) ImageBorderSize() float32
- func (self *Style) ImageRounding() float32
- func (self *Style) IndentSpacing() float32
- func (self *Style) ItemInnerSpacing() Vec2
- func (self *Style) ItemSpacing() Vec2
- func (self *Style) LogSliderDeadzone() float32
- func (self *Style) MainScale() float32
- func (self *Style) MouseCursorScale() float32
- func (self *Style) NextFrameFontSizeBase() float32
- func (self *Style) PopupBorderSize() float32
- func (self *Style) PopupRounding() float32
- func (self *Style) ScaleAllSizes(scale_factor float32)
- func (self *Style) ScrollbarPadding() float32
- func (self *Style) ScrollbarRounding() float32
- func (self *Style) ScrollbarSize() float32
- func (self *Style) SelectableTextAlign() Vec2
- func (self *Style) SeparatorSize() float32
- func (self *Style) SeparatorTextAlign() Vec2
- func (self *Style) SeparatorTextBorderSize() float32
- func (self *Style) SeparatorTextPadding() Vec2
- func (self Style) SetAlpha(v float32)
- func (self Style) SetAntiAliasedFill(v bool)
- func (self Style) SetAntiAliasedLines(v bool)
- func (self Style) SetAntiAliasedLinesUseTex(v bool)
- func (self Style) SetButtonTextAlign(v Vec2)
- func (self Style) SetCellPadding(v Vec2)
- func (self Style) SetChildBorderSize(v float32)
- func (self Style) SetChildRounding(v float32)
- func (self Style) SetCircleTessellationMaxError(v float32)
- func (self Style) SetColorButtonPosition(v Dir)
- func (self Style) SetColorMarkerSize(v float32)
- func (self Style) SetColors(v *[62]Vec4)
- func (self Style) SetColumnsMinSpacing(v float32)
- func (self Style) SetCurveTessellationTol(v float32)
- func (self Style) SetDisabledAlpha(v float32)
- func (self Style) SetDisplaySafeAreaPadding(v Vec2)
- func (self Style) SetDisplayWindowPadding(v Vec2)
- func (self Style) SetDockingNodeHasCloseButton(v bool)
- func (self Style) SetDockingSeparatorSize(v float32)
- func (self Style) SetDragDropTargetBorderSize(v float32)
- func (self Style) SetDragDropTargetPadding(v float32)
- func (self Style) SetDragDropTargetRounding(v float32)
- func (self Style) SetFontScaleDpi(v float32)
- func (self Style) SetFontScaleMain(v float32)
- func (self Style) SetFontSizeBase(v float32)
- func (self Style) SetFrameBorderSize(v float32)
- func (self Style) SetFramePadding(v Vec2)
- func (self Style) SetFrameRounding(v float32)
- func (self Style) SetGrabMinSize(v float32)
- func (self Style) SetGrabRounding(v float32)
- func (self Style) SetHoverDelayNormal(v float32)
- func (self Style) SetHoverDelayShort(v float32)
- func (self Style) SetHoverFlagsForTooltipMouse(v HoveredFlags)
- func (self Style) SetHoverFlagsForTooltipNav(v HoveredFlags)
- func (self Style) SetHoverStationaryDelay(v float32)
- func (self Style) SetImageBorderSize(v float32)
- func (self Style) SetImageRounding(v float32)
- func (self Style) SetIndentSpacing(v float32)
- func (self Style) SetItemInnerSpacing(v Vec2)
- func (self Style) SetItemSpacing(v Vec2)
- func (self Style) SetLogSliderDeadzone(v float32)
- func (self Style) SetMainScale(v float32)
- func (self Style) SetMouseCursorScale(v float32)
- func (self Style) SetNextFrameFontSizeBase(v float32)
- func (self Style) SetPopupBorderSize(v float32)
- func (self Style) SetPopupRounding(v float32)
- func (self Style) SetScrollbarPadding(v float32)
- func (self Style) SetScrollbarRounding(v float32)
- func (self Style) SetScrollbarSize(v float32)
- func (self Style) SetSelectableTextAlign(v Vec2)
- func (self Style) SetSeparatorSize(v float32)
- func (self Style) SetSeparatorTextAlign(v Vec2)
- func (self Style) SetSeparatorTextBorderSize(v float32)
- func (self Style) SetSeparatorTextPadding(v Vec2)
- func (self Style) SetTabBarBorderSize(v float32)
- func (self Style) SetTabBarOverlineSize(v float32)
- func (self Style) SetTabBorderSize(v float32)
- func (self Style) SetTabCloseButtonMinWidthSelected(v float32)
- func (self Style) SetTabCloseButtonMinWidthUnselected(v float32)
- func (self Style) SetTabMinWidthBase(v float32)
- func (self Style) SetTabMinWidthShrink(v float32)
- func (self Style) SetTabRounding(v float32)
- func (self Style) SetTableAngledHeadersAngle(v float32)
- func (self Style) SetTableAngledHeadersTextAlign(v Vec2)
- func (self Style) SetTouchExtraPadding(v Vec2)
- func (self Style) SetTreeLinesFlags(v TreeNodeFlags)
- func (self Style) SetTreeLinesRounding(v float32)
- func (self Style) SetTreeLinesSize(v float32)
- func (self Style) SetWindowBorderHoverPadding(v float32)
- func (self Style) SetWindowBorderSize(v float32)
- func (self Style) SetWindowMenuButtonPosition(v Dir)
- func (self Style) SetWindowMinSize(v Vec2)
- func (self Style) SetWindowPadding(v Vec2)
- func (self Style) SetWindowRounding(v float32)
- func (self Style) SetWindowTitleAlign(v Vec2)
- func (self *Style) TabBarBorderSize() float32
- func (self *Style) TabBarOverlineSize() float32
- func (self *Style) TabBorderSize() float32
- func (self *Style) TabCloseButtonMinWidthSelected() float32
- func (self *Style) TabCloseButtonMinWidthUnselected() float32
- func (self *Style) TabMinWidthBase() float32
- func (self *Style) TabMinWidthShrink() float32
- func (self *Style) TabRounding() float32
- func (self *Style) TableAngledHeadersAngle() float32
- func (self *Style) TableAngledHeadersTextAlign() Vec2
- func (self *Style) TouchExtraPadding() Vec2
- func (self *Style) TreeLinesFlags() TreeNodeFlags
- func (self *Style) TreeLinesRounding() float32
- func (self *Style) TreeLinesSize() float32
- func (self *Style) WindowBorderHoverPadding() float32
- func (self *Style) WindowBorderSize() float32
- func (self *Style) WindowMenuButtonPosition() Dir
- func (self *Style) WindowMinSize() Vec2
- func (self *Style) WindowPadding() Vec2
- func (self *Style) WindowRounding() float32
- func (self *Style) WindowTitleAlign() Vec2
- type StyleMod
- type StyleVar
- type StyleVarInfo
- func (self StyleVarInfo) C() (C.ImGuiStyleVarInfo, func())
- func (self *StyleVarInfo) Count() uint32
- func (self *StyleVarInfo) DataType() DataType
- func (self *StyleVarInfo) Handle() (result *C.ImGuiStyleVarInfo, fin func())
- func (self *StyleVarInfo) InternalVarPtr(parent uintptr) uintptr
- func (self *StyleVarInfo) Offset() uint32
- func (self StyleVarInfo) SetCount(v uint32)
- func (self StyleVarInfo) SetDataType(v DataType)
- func (self StyleVarInfo) SetOffset(v uint32)
- type TabBar
- func (self *TabBar) BackupCursorPos() Vec2
- func (self *TabBar) BarRect() Rect
- func (self *TabBar) BarRectPrevWidth() float32
- func (self *TabBar) BeginCount() int
- func (self TabBar) C() (C.ImGuiTabBar, func())
- func (self *TabBar) CurrFrameVisible() int32
- func (self *TabBar) CurrTabsContentsHeight() float32
- func (self *TabBar) Flags() TabBarFlags
- func (self *TabBar) FramePadding() Vec2
- func (self *TabBar) Handle() (result *C.ImGuiTabBar, fin func())
- func (self *TabBar) ID() ID
- func (self *TabBar) InternalDestroy()
- func (self *TabBar) ItemSpacingY() float32
- func (self *TabBar) LastTabItemIdx() int16
- func (self *TabBar) NextScrollToTabId() ID
- func (self *TabBar) NextSelectedTabId() ID
- func (self *TabBar) PrevFrameVisible() int32
- func (self *TabBar) PrevTabsContentsHeight() float32
- func (self *TabBar) ReorderRequestOffset() int16
- func (self *TabBar) ReorderRequestTabId() ID
- func (self *TabBar) ScrollButtonEnabled() bool
- func (self *TabBar) ScrollingAnim() float32
- func (self *TabBar) ScrollingRectMaxX() float32
- func (self *TabBar) ScrollingRectMinX() float32
- func (self *TabBar) ScrollingSpeed() float32
- func (self *TabBar) ScrollingTarget() float32
- func (self *TabBar) ScrollingTargetDistToVisibility() float32
- func (self *TabBar) SelectedTabId() ID
- func (self *TabBar) SeparatorMaxX() float32
- func (self *TabBar) SeparatorMinX() float32
- func (self TabBar) SetBackupCursorPos(v Vec2)
- func (self TabBar) SetBarRect(v Rect)
- func (self TabBar) SetBarRectPrevWidth(v float32)
- func (self TabBar) SetBeginCount(v int)
- func (self TabBar) SetCurrFrameVisible(v int32)
- func (self TabBar) SetCurrTabsContentsHeight(v float32)
- func (self TabBar) SetFlags(v TabBarFlags)
- func (self TabBar) SetFramePadding(v Vec2)
- func (self TabBar) SetID(v ID)
- func (self TabBar) SetItemSpacingY(v float32)
- func (self TabBar) SetLastTabItemIdx(v int16)
- func (self TabBar) SetNextScrollToTabId(v ID)
- func (self TabBar) SetNextSelectedTabId(v ID)
- func (self TabBar) SetPrevFrameVisible(v int32)
- func (self TabBar) SetPrevTabsContentsHeight(v float32)
- func (self TabBar) SetReorderRequestOffset(v int16)
- func (self TabBar) SetReorderRequestTabId(v ID)
- func (self TabBar) SetScrollButtonEnabled(v bool)
- func (self TabBar) SetScrollingAnim(v float32)
- func (self TabBar) SetScrollingRectMaxX(v float32)
- func (self TabBar) SetScrollingRectMinX(v float32)
- func (self TabBar) SetScrollingSpeed(v float32)
- func (self TabBar) SetScrollingTarget(v float32)
- func (self TabBar) SetScrollingTargetDistToVisibility(v float32)
- func (self TabBar) SetSelectedTabId(v ID)
- func (self TabBar) SetSeparatorMaxX(v float32)
- func (self TabBar) SetSeparatorMinX(v float32)
- func (self TabBar) SetTabs(v vectors.Vector[TabItem])
- func (self TabBar) SetTabsActiveCount(v int16)
- func (self TabBar) SetTabsAddedNew(v bool)
- func (self TabBar) SetTabsNames(v TextBuffer)
- func (self TabBar) SetVisibleTabId(v ID)
- func (self TabBar) SetVisibleTabWasSubmitted(v bool)
- func (self TabBar) SetWantLayout(v bool)
- func (self TabBar) SetWidthAllTabs(v float32)
- func (self TabBar) SetWidthAllTabsIdeal(v float32)
- func (self TabBar) SetWindow(v *Window)
- func (self *TabBar) Tabs() vectors.Vector[TabItem]
- func (self *TabBar) TabsActiveCount() int16
- func (self *TabBar) TabsAddedNew() bool
- func (self *TabBar) TabsNames() TextBuffer
- func (self *TabBar) VisibleTabId() ID
- func (self *TabBar) VisibleTabWasSubmitted() bool
- func (self *TabBar) WantLayout() bool
- func (self *TabBar) WidthAllTabs() float32
- func (self *TabBar) WidthAllTabsIdeal() float32
- func (self *TabBar) Window() *Window
- type TabBarFlags
- type TabBarFlagsPrivate
- type TabItem
- func InternalNewTabItem() *TabItem
- func InternalTabBarFindMostRecentlySelectedTabForActiveWindow(tab_bar *TabBar) *TabItem
- func InternalTabBarFindTabByID(tab_bar *TabBar, tab_id ID) *TabItem
- func InternalTabBarFindTabByOrder(tab_bar *TabBar, order int32) *TabItem
- func InternalTabBarGetCurrentTab(tab_bar *TabBar) *TabItem
- func NewEmptyTabItem() *TabItem
- func NewTabItemFromC[SRC any](cvalue SRC) *TabItem
- func (self *TabItem) BeginOrder() int16
- func (self TabItem) C() (C.ImGuiTabItem, func())
- func (self *TabItem) ContentWidth() float32
- func (self *TabItem) Flags() TabItemFlags
- func (self *TabItem) Handle() (result *C.ImGuiTabItem, fin func())
- func (self *TabItem) ID() ID
- func (self *TabItem) IndexDuringLayout() int16
- func (self *TabItem) InternalDestroy()
- func (self *TabItem) LastFrameSelected() int32
- func (self *TabItem) LastFrameVisible() int32
- func (self *TabItem) NameOffset() int
- func (self *TabItem) Offset() float32
- func (self *TabItem) RequestedWidth() float32
- func (self TabItem) SetBeginOrder(v int16)
- func (self TabItem) SetContentWidth(v float32)
- func (self TabItem) SetFlags(v TabItemFlags)
- func (self TabItem) SetID(v ID)
- func (self TabItem) SetIndexDuringLayout(v int16)
- func (self TabItem) SetLastFrameSelected(v int32)
- func (self TabItem) SetLastFrameVisible(v int32)
- func (self TabItem) SetNameOffset(v int)
- func (self TabItem) SetOffset(v float32)
- func (self TabItem) SetRequestedWidth(v float32)
- func (self TabItem) SetWantClose(v bool)
- func (self TabItem) SetWidth(v float32)
- func (self TabItem) SetWindow(v *Window)
- func (self *TabItem) WantClose() bool
- func (self *TabItem) Width() float32
- func (self *TabItem) Window() *Window
- type TabItemFlags
- type TabItemFlagsPrivate
- type Table
- func (self *Table) AngledHeadersCount() TableColumnIdx
- func (self *Table) AngledHeadersHeight() float32
- func (self *Table) AngledHeadersSlope() float32
- func (self *Table) AutoFitSingleColumn() TableColumnIdx
- func (self *Table) Bg0ClipRectForDrawCmd() Rect
- func (self *Table) Bg2ClipRectForDrawCmd() Rect
- func (self *Table) Bg2DrawChannelCurrent() TableDrawChannelIdx
- func (self *Table) Bg2DrawChannelUnfrozen() TableDrawChannelIdx
- func (self *Table) BgClipRect() Rect
- func (self *Table) BorderColorLight() uint32
- func (self *Table) BorderColorStrong() uint32
- func (self *Table) BorderX1() float32
- func (self *Table) BorderX2() float32
- func (self Table) C() (C.ImGuiTable, func())
- func (self *Table) CellPaddingX() float32
- func (self *Table) CellSpacingX1() float32
- func (self *Table) CellSpacingX2() float32
- func (self *Table) ColumnsAutoFitWidth() float32
- func (self *Table) ColumnsCount() int32
- func (self *Table) ColumnsEnabledCount() TableColumnIdx
- func (self *Table) ColumnsEnabledFixedCount() TableColumnIdx
- func (self *Table) ColumnsGivenWidth() float32
- func (self *Table) ColumnsNames() TextBuffer
- func (self *Table) ColumnsStretchSumWeights() float32
- func (self *Table) ContextPopupColumn() TableColumnIdx
- func (self *Table) CurrentColumn() int32
- func (self *Table) CurrentRow() int32
- func (self *Table) DeclColumnsCount() TableColumnIdx
- func (self *Table) DisableDefaultContextMenu() bool
- func (self *Table) DrawSplitter() *DrawListSplitter
- func (self *Table) DummyDrawChannel() TableDrawChannelIdx
- func (self *Table) EnabledMaskByDisplayOrder() BitArrayPtr
- func (self *Table) EnabledMaskByIndex() BitArrayPtr
- func (self *Table) Flags() TableFlags
- func (self *Table) FreezeColumnsCount() TableColumnIdx
- func (self *Table) FreezeColumnsRequest() TableColumnIdx
- func (self *Table) FreezeRowsCount() TableColumnIdx
- func (self *Table) FreezeRowsRequest() TableColumnIdx
- func (self *Table) Handle() (result *C.ImGuiTable, fin func())
- func (self *Table) HasScrollbarYCurr() bool
- func (self *Table) HasScrollbarYPrev() bool
- func (self *Table) HeldHeaderColumn() TableColumnIdx
- func (self *Table) HighlightColumnHeader() TableColumnIdx
- func (self *Table) HostBackupInnerClipRect() Rect
- func (self *Table) HostClipRect() Rect
- func (self *Table) HostIndentX() float32
- func (self *Table) HostSkipItems() bool
- func (self *Table) HoveredColumnBody() TableColumnIdx
- func (self *Table) HoveredColumnBorder() TableColumnIdx
- func (self *Table) ID() ID
- func (self *Table) InnerClipRect() Rect
- func (self *Table) InnerRect() Rect
- func (self *Table) InnerWidth() float32
- func (self *Table) InnerWindow() *Window
- func (self *Table) InstanceCurrent() int16
- func (self *Table) InstanceDataExtra() vectors.Vector[TableInstanceData]
- func (self *Table) InstanceDataFirst() TableInstanceData
- func (self *Table) InstanceInteracted() int16
- func (self *Table) InternalDestroy()
- func (self *Table) IsActiveIdAliveBeforeTable() bool
- func (self *Table) IsActiveIdInTable() bool
- func (self *Table) IsContextPopupOpen() bool
- func (self *Table) IsDefaultDisplayOrder() bool
- func (self *Table) IsDefaultSizingPolicy() bool
- func (self *Table) IsInitializing() bool
- func (self *Table) IsInsideRow() bool
- func (self *Table) IsLayoutLocked() bool
- func (self *Table) IsResetAllRequest() bool
- func (self *Table) IsResetDisplayOrderRequest() bool
- func (self *Table) IsSettingsDirty() bool
- func (self *Table) IsSettingsRequestLoad() bool
- func (self *Table) IsSortSpecsDirty() bool
- func (self *Table) IsUnfrozenRows() bool
- func (self *Table) IsUsingHeaders() bool
- func (self *Table) LastFrameActive() int32
- func (self *Table) LastHeldHeaderColumn() TableColumnIdx
- func (self *Table) LastResizedColumn() TableColumnIdx
- func (self *Table) LastRowFlags() TableRowFlags
- func (self *Table) LeftMostEnabledColumn() TableColumnIdx
- func (self *Table) LeftMostStretchedColumn() TableColumnIdx
- func (self *Table) MemoryCompacted() bool
- func (self *Table) MinColumnWidth() float32
- func (self *Table) NavLayer() int
- func (self *Table) OuterPaddingX() float32
- func (self *Table) OuterRect() Rect
- func (self *Table) OuterWindow() *Window
- func (self *Table) RawData() uintptr
- func (self *Table) RefScale() float32
- func (self *Table) ReorderColumn() TableColumnIdx
- func (self *Table) ReorderColumnDstOrder() TableColumnIdx
- func (self *Table) ResizeLockMinContentsX2() float32
- func (self *Table) ResizedColumn() TableColumnIdx
- func (self *Table) ResizedColumnNextWidth() float32
- func (self *Table) RightMostEnabledColumn() TableColumnIdx
- func (self *Table) RightMostStretchedColumn() TableColumnIdx
- func (self *Table) RowBgColor() [2]uint32
- func (self *Table) RowBgColorCounter() int32
- func (self *Table) RowCellDataCurrent() TableColumnIdx
- func (self *Table) RowCellPaddingY() float32
- func (self *Table) RowFlags() TableRowFlags
- func (self *Table) RowIndentOffsetX() float32
- func (self *Table) RowMinHeight() float32
- func (self *Table) RowPosY1() float32
- func (self *Table) RowPosY2() float32
- func (self *Table) RowTextBaseline() float32
- func (self Table) SetAngledHeadersCount(v TableColumnIdx)
- func (self Table) SetAngledHeadersHeight(v float32)
- func (self Table) SetAngledHeadersSlope(v float32)
- func (self Table) SetAutoFitSingleColumn(v TableColumnIdx)
- func (self Table) SetBg0ClipRectForDrawCmd(v Rect)
- func (self Table) SetBg2ClipRectForDrawCmd(v Rect)
- func (self Table) SetBg2DrawChannelCurrent(v TableDrawChannelIdx)
- func (self Table) SetBg2DrawChannelUnfrozen(v TableDrawChannelIdx)
- func (self Table) SetBgClipRect(v Rect)
- func (self Table) SetBorderColorLight(v uint32)
- func (self Table) SetBorderColorStrong(v uint32)
- func (self Table) SetBorderX1(v float32)
- func (self Table) SetBorderX2(v float32)
- func (self Table) SetCellPaddingX(v float32)
- func (self Table) SetCellSpacingX1(v float32)
- func (self Table) SetCellSpacingX2(v float32)
- func (self Table) SetColumnsAutoFitWidth(v float32)
- func (self Table) SetColumnsCount(v int32)
- func (self Table) SetColumnsEnabledCount(v TableColumnIdx)
- func (self Table) SetColumnsEnabledFixedCount(v TableColumnIdx)
- func (self Table) SetColumnsGivenWidth(v float32)
- func (self Table) SetColumnsNames(v TextBuffer)
- func (self Table) SetColumnsStretchSumWeights(v float32)
- func (self Table) SetContextPopupColumn(v TableColumnIdx)
- func (self Table) SetCurrentColumn(v int32)
- func (self Table) SetCurrentRow(v int32)
- func (self Table) SetDeclColumnsCount(v TableColumnIdx)
- func (self Table) SetDisableDefaultContextMenu(v bool)
- func (self Table) SetDrawSplitter(v *DrawListSplitter)
- func (self Table) SetDummyDrawChannel(v TableDrawChannelIdx)
- func (self Table) SetEnabledMaskByDisplayOrder(v BitArrayPtr)
- func (self Table) SetEnabledMaskByIndex(v BitArrayPtr)
- func (self Table) SetFlags(v TableFlags)
- func (self Table) SetFreezeColumnsCount(v TableColumnIdx)
- func (self Table) SetFreezeColumnsRequest(v TableColumnIdx)
- func (self Table) SetFreezeRowsCount(v TableColumnIdx)
- func (self Table) SetFreezeRowsRequest(v TableColumnIdx)
- func (self Table) SetHasScrollbarYCurr(v bool)
- func (self Table) SetHasScrollbarYPrev(v bool)
- func (self Table) SetHeldHeaderColumn(v TableColumnIdx)
- func (self Table) SetHighlightColumnHeader(v TableColumnIdx)
- func (self Table) SetHostBackupInnerClipRect(v Rect)
- func (self Table) SetHostClipRect(v Rect)
- func (self Table) SetHostIndentX(v float32)
- func (self Table) SetHostSkipItems(v bool)
- func (self Table) SetHoveredColumnBody(v TableColumnIdx)
- func (self Table) SetHoveredColumnBorder(v TableColumnIdx)
- func (self Table) SetID(v ID)
- func (self Table) SetInnerClipRect(v Rect)
- func (self Table) SetInnerRect(v Rect)
- func (self Table) SetInnerWidth(v float32)
- func (self Table) SetInnerWindow(v *Window)
- func (self Table) SetInstanceCurrent(v int16)
- func (self Table) SetInstanceDataExtra(v vectors.Vector[TableInstanceData])
- func (self Table) SetInstanceDataFirst(v TableInstanceData)
- func (self Table) SetInstanceInteracted(v int16)
- func (self Table) SetIsActiveIdAliveBeforeTable(v bool)
- func (self Table) SetIsActiveIdInTable(v bool)
- func (self Table) SetIsContextPopupOpen(v bool)
- func (self Table) SetIsDefaultDisplayOrder(v bool)
- func (self Table) SetIsDefaultSizingPolicy(v bool)
- func (self Table) SetIsInitializing(v bool)
- func (self Table) SetIsInsideRow(v bool)
- func (self Table) SetIsLayoutLocked(v bool)
- func (self Table) SetIsResetAllRequest(v bool)
- func (self Table) SetIsResetDisplayOrderRequest(v bool)
- func (self Table) SetIsSettingsDirty(v bool)
- func (self Table) SetIsSettingsRequestLoad(v bool)
- func (self Table) SetIsSortSpecsDirty(v bool)
- func (self Table) SetIsUnfrozenRows(v bool)
- func (self Table) SetIsUsingHeaders(v bool)
- func (self Table) SetLastFrameActive(v int32)
- func (self Table) SetLastHeldHeaderColumn(v TableColumnIdx)
- func (self Table) SetLastResizedColumn(v TableColumnIdx)
- func (self Table) SetLastRowFlags(v TableRowFlags)
- func (self Table) SetLeftMostEnabledColumn(v TableColumnIdx)
- func (self Table) SetLeftMostStretchedColumn(v TableColumnIdx)
- func (self Table) SetMemoryCompacted(v bool)
- func (self Table) SetMinColumnWidth(v float32)
- func (self Table) SetNavLayer(v int)
- func (self Table) SetOuterPaddingX(v float32)
- func (self Table) SetOuterRect(v Rect)
- func (self Table) SetOuterWindow(v *Window)
- func (self Table) SetRawData(v uintptr)
- func (self Table) SetRefScale(v float32)
- func (self Table) SetReorderColumn(v TableColumnIdx)
- func (self Table) SetReorderColumnDstOrder(v TableColumnIdx)
- func (self Table) SetResizeLockMinContentsX2(v float32)
- func (self Table) SetResizedColumn(v TableColumnIdx)
- func (self Table) SetResizedColumnNextWidth(v float32)
- func (self Table) SetRightMostEnabledColumn(v TableColumnIdx)
- func (self Table) SetRightMostStretchedColumn(v TableColumnIdx)
- func (self Table) SetRowBgColor(v *[2]uint32)
- func (self Table) SetRowBgColorCounter(v int32)
- func (self Table) SetRowCellDataCurrent(v TableColumnIdx)
- func (self Table) SetRowCellPaddingY(v float32)
- func (self Table) SetRowFlags(v TableRowFlags)
- func (self Table) SetRowIndentOffsetX(v float32)
- func (self Table) SetRowMinHeight(v float32)
- func (self Table) SetRowPosY1(v float32)
- func (self Table) SetRowPosY2(v float32)
- func (self Table) SetRowTextBaseline(v float32)
- func (self Table) SetSettingsLoadedFlags(v TableFlags)
- func (self Table) SetSettingsOffset(v int32)
- func (self Table) SetSortSpecs(v TableSortSpecs)
- func (self Table) SetSortSpecsCount(v TableColumnIdx)
- func (self Table) SetSortSpecsMulti(v vectors.Vector[TableColumnSortSpecs])
- func (self Table) SetSortSpecsSingle(v TableColumnSortSpecs)
- func (self Table) SetTempData(v *TableTempData)
- func (self Table) SetVisibleMaskByIndex(v BitArrayPtr)
- func (self Table) SetWorkRect(v Rect)
- func (self *Table) SettingsLoadedFlags() TableFlags
- func (self *Table) SettingsOffset() int32
- func (self *Table) SortSpecs() TableSortSpecs
- func (self *Table) SortSpecsCount() TableColumnIdx
- func (self *Table) SortSpecsMulti() vectors.Vector[TableColumnSortSpecs]
- func (self *Table) SortSpecsSingle() TableColumnSortSpecs
- func (self *Table) TempData() *TableTempData
- func (self *Table) VisibleMaskByIndex() BitArrayPtr
- func (self *Table) WorkRect() Rect
- type TableBgTarget
- type TableCellData
- func (self *TableCellData) BgColor() uint32
- func (self TableCellData) C() (C.ImGuiTableCellData, func())
- func (self *TableCellData) Column() TableColumnIdx
- func (self *TableCellData) Handle() (result *C.ImGuiTableCellData, fin func())
- func (self TableCellData) SetBgColor(v uint32)
- func (self TableCellData) SetColumn(v TableColumnIdx)
- type TableColumn
- func (self *TableColumn) AutoFitQueue() byte
- func (self TableColumn) C() (C.ImGuiTableColumn, func())
- func (self *TableColumn) CannotSkipItemsQueue() byte
- func (self *TableColumn) ClipRect() Rect
- func (self *TableColumn) ContentMaxXFrozen() float32
- func (self *TableColumn) ContentMaxXHeadersIdeal() float32
- func (self *TableColumn) ContentMaxXHeadersUsed() float32
- func (self *TableColumn) ContentMaxXUnfrozen() float32
- func (self *TableColumn) DisplayOrder() TableColumnIdx
- func (self *TableColumn) DrawChannelCurrent() TableDrawChannelIdx
- func (self *TableColumn) DrawChannelFrozen() TableDrawChannelIdx
- func (self *TableColumn) DrawChannelUnfrozen() TableDrawChannelIdx
- func (self *TableColumn) Flags() TableColumnFlags
- func (self *TableColumn) Handle() (result *C.ImGuiTableColumn, fin func())
- func (self *TableColumn) IndexWithinEnabledSet() TableColumnIdx
- func (self *TableColumn) InitStretchWeightOrWidth() float32
- func (self *TableColumn) InternalDestroy()
- func (self *TableColumn) IsEnabled() bool
- func (self *TableColumn) IsPreserveWidthAuto() bool
- func (self *TableColumn) IsRequestOutput() bool
- func (self *TableColumn) IsSkipItems() bool
- func (self *TableColumn) IsUserEnabled() bool
- func (self *TableColumn) IsUserEnabledNextFrame() bool
- func (self *TableColumn) IsVisibleX() bool
- func (self *TableColumn) IsVisibleY() bool
- func (self *TableColumn) ItemWidth() float32
- func (self *TableColumn) MaxX() float32
- func (self *TableColumn) MinX() float32
- func (self *TableColumn) NameOffset() int16
- func (self *TableColumn) NavLayerCurrent() int
- func (self *TableColumn) NextEnabledColumn() TableColumnIdx
- func (self *TableColumn) PrevEnabledColumn() TableColumnIdx
- func (self TableColumn) SetAutoFitQueue(v byte)
- func (self TableColumn) SetCannotSkipItemsQueue(v byte)
- func (self TableColumn) SetClipRect(v Rect)
- func (self TableColumn) SetContentMaxXFrozen(v float32)
- func (self TableColumn) SetContentMaxXHeadersIdeal(v float32)
- func (self TableColumn) SetContentMaxXHeadersUsed(v float32)
- func (self TableColumn) SetContentMaxXUnfrozen(v float32)
- func (self TableColumn) SetDisplayOrder(v TableColumnIdx)
- func (self TableColumn) SetDrawChannelCurrent(v TableDrawChannelIdx)
- func (self TableColumn) SetDrawChannelFrozen(v TableDrawChannelIdx)
- func (self TableColumn) SetDrawChannelUnfrozen(v TableDrawChannelIdx)
- func (self TableColumn) SetFlags(v TableColumnFlags)
- func (self TableColumn) SetIndexWithinEnabledSet(v TableColumnIdx)
- func (self TableColumn) SetInitStretchWeightOrWidth(v float32)
- func (self TableColumn) SetIsEnabled(v bool)
- func (self TableColumn) SetIsPreserveWidthAuto(v bool)
- func (self TableColumn) SetIsRequestOutput(v bool)
- func (self TableColumn) SetIsSkipItems(v bool)
- func (self TableColumn) SetIsUserEnabled(v bool)
- func (self TableColumn) SetIsUserEnabledNextFrame(v bool)
- func (self TableColumn) SetIsVisibleX(v bool)
- func (self TableColumn) SetIsVisibleY(v bool)
- func (self TableColumn) SetItemWidth(v float32)
- func (self TableColumn) SetMaxX(v float32)
- func (self TableColumn) SetMinX(v float32)
- func (self TableColumn) SetNameOffset(v int16)
- func (self TableColumn) SetNavLayerCurrent(v int)
- func (self TableColumn) SetNextEnabledColumn(v TableColumnIdx)
- func (self TableColumn) SetPrevEnabledColumn(v TableColumnIdx)
- func (self TableColumn) SetSortDirection(v byte)
- func (self TableColumn) SetSortDirectionsAvailCount(v byte)
- func (self TableColumn) SetSortDirectionsAvailList(v byte)
- func (self TableColumn) SetSortDirectionsAvailMask(v byte)
- func (self TableColumn) SetSortOrder(v TableColumnIdx)
- func (self TableColumn) SetStretchWeight(v float32)
- func (self TableColumn) SetUserID(v ID)
- func (self TableColumn) SetWidthAuto(v float32)
- func (self TableColumn) SetWidthGiven(v float32)
- func (self TableColumn) SetWidthMax(v float32)
- func (self TableColumn) SetWidthRequest(v float32)
- func (self TableColumn) SetWorkMaxX(v float32)
- func (self TableColumn) SetWorkMinX(v float32)
- func (self *TableColumn) SortDirection() byte
- func (self *TableColumn) SortDirectionsAvailCount() byte
- func (self *TableColumn) SortDirectionsAvailList() byte
- func (self *TableColumn) SortDirectionsAvailMask() byte
- func (self *TableColumn) SortOrder() TableColumnIdx
- func (self *TableColumn) StretchWeight() float32
- func (self *TableColumn) UserID() ID
- func (self *TableColumn) WidthAuto() float32
- func (self *TableColumn) WidthGiven() float32
- func (self *TableColumn) WidthMax() float32
- func (self *TableColumn) WidthRequest() float32
- func (self *TableColumn) WorkMaxX() float32
- func (self *TableColumn) WorkMinX() float32
- type TableColumnFlags
- type TableColumnIdx
- type TableColumnSettings
- func (self TableColumnSettings) C() (C.ImGuiTableColumnSettings, func())
- func (self *TableColumnSettings) DisplayOrder() TableColumnIdx
- func (self *TableColumnSettings) Handle() (result *C.ImGuiTableColumnSettings, fin func())
- func (self *TableColumnSettings) Index() TableColumnIdx
- func (self *TableColumnSettings) InternalDestroy()
- func (self *TableColumnSettings) IsEnabled() int
- func (self *TableColumnSettings) IsStretch() byte
- func (self TableColumnSettings) SetDisplayOrder(v TableColumnIdx)
- func (self TableColumnSettings) SetIndex(v TableColumnIdx)
- func (self TableColumnSettings) SetIsEnabled(v int)
- func (self TableColumnSettings) SetIsStretch(v byte)
- func (self TableColumnSettings) SetSortDirection(v byte)
- func (self TableColumnSettings) SetSortOrder(v TableColumnIdx)
- func (self TableColumnSettings) SetUserID(v ID)
- func (self TableColumnSettings) SetWidthOrWeight(v float32)
- func (self *TableColumnSettings) SortDirection() byte
- func (self *TableColumnSettings) SortOrder() TableColumnIdx
- func (self *TableColumnSettings) UserID() ID
- func (self *TableColumnSettings) WidthOrWeight() float32
- type TableColumnSortSpecs
- func (self TableColumnSortSpecs) C() (C.ImGuiTableColumnSortSpecs, func())
- func (self *TableColumnSortSpecs) ColumnIndex() int16
- func (self *TableColumnSortSpecs) ColumnUserID() ID
- func (self *TableColumnSortSpecs) Destroy()
- func (self *TableColumnSortSpecs) Handle() (result *C.ImGuiTableColumnSortSpecs, fin func())
- func (self TableColumnSortSpecs) SetColumnIndex(v int16)
- func (self TableColumnSortSpecs) SetColumnUserID(v ID)
- func (self TableColumnSortSpecs) SetSortDirection(v SortDirection)
- func (self TableColumnSortSpecs) SetSortOrder(v int16)
- func (self *TableColumnSortSpecs) SortDirection() SortDirection
- func (self *TableColumnSortSpecs) SortOrder() int16
- type TableColumnsSettings
- type TableDrawChannelIdx
- type TableFlags
- type TableHeaderData
- func (self *TableHeaderData) BgColor0() uint32
- func (self *TableHeaderData) BgColor1() uint32
- func (self TableHeaderData) C() (C.ImGuiTableHeaderData, func())
- func (self *TableHeaderData) Handle() (result *C.ImGuiTableHeaderData, fin func())
- func (self *TableHeaderData) Index() TableColumnIdx
- func (self TableHeaderData) SetBgColor0(v uint32)
- func (self TableHeaderData) SetBgColor1(v uint32)
- func (self TableHeaderData) SetIndex(v TableColumnIdx)
- func (self TableHeaderData) SetTextColor(v uint32)
- func (self *TableHeaderData) TextColor() uint32
- type TableInstanceData
- func (self TableInstanceData) C() (C.ImGuiTableInstanceData, func())
- func (self *TableInstanceData) Handle() (result *C.ImGuiTableInstanceData, fin func())
- func (self *TableInstanceData) HoveredRowLast() int32
- func (self *TableInstanceData) HoveredRowNext() int32
- func (self *TableInstanceData) InternalDestroy()
- func (self *TableInstanceData) LastFrozenHeight() float32
- func (self *TableInstanceData) LastOuterHeight() float32
- func (self *TableInstanceData) LastTopHeadersRowHeight() float32
- func (self TableInstanceData) SetHoveredRowLast(v int32)
- func (self TableInstanceData) SetHoveredRowNext(v int32)
- func (self TableInstanceData) SetLastFrozenHeight(v float32)
- func (self TableInstanceData) SetLastOuterHeight(v float32)
- func (self TableInstanceData) SetLastTopHeadersRowHeight(v float32)
- func (self TableInstanceData) SetTableInstanceID(v ID)
- func (self *TableInstanceData) TableInstanceID() ID
- type TableRowFlags
- type TableSettings
- func InternalNewTableSettings() *TableSettings
- func InternalTableGetBoundSettings(table *Table) *TableSettings
- func InternalTableSettingsCreate(id ID, columns_count int32) *TableSettings
- func InternalTableSettingsFindByID(id ID) *TableSettings
- func NewEmptyTableSettings() *TableSettings
- func NewTableSettingsFromC[SRC any](cvalue SRC) *TableSettings
- func (self TableSettings) C() (C.ImGuiTableSettings, func())
- func (self *TableSettings) ColumnsCount() TableColumnIdx
- func (self *TableSettings) ColumnsCountMax() TableColumnIdx
- func (self *TableSettings) Handle() (result *C.ImGuiTableSettings, fin func())
- func (self *TableSettings) ID() ID
- func (self *TableSettings) InternalColumnSettings() *TableColumnSettings
- func (self *TableSettings) InternalDestroy()
- func (self *TableSettings) RefScale() float32
- func (self *TableSettings) SaveFlags() TableFlags
- func (self TableSettings) SetColumnsCount(v TableColumnIdx)
- func (self TableSettings) SetColumnsCountMax(v TableColumnIdx)
- func (self TableSettings) SetID(v ID)
- func (self TableSettings) SetRefScale(v float32)
- func (self TableSettings) SetSaveFlags(v TableFlags)
- func (self TableSettings) SetWantApply(v bool)
- func (self *TableSettings) WantApply() bool
- type TableSortSpecs
- func (self TableSortSpecs) C() (C.ImGuiTableSortSpecs, func())
- func (self *TableSortSpecs) Destroy()
- func (self *TableSortSpecs) Handle() (result *C.ImGuiTableSortSpecs, fin func())
- func (self TableSortSpecs) SetSpecs(v *TableColumnSortSpecs)
- func (self TableSortSpecs) SetSpecsCount(v int32)
- func (self TableSortSpecs) SetSpecsDirty(v bool)
- func (self *TableSortSpecs) Specs() *TableColumnSortSpecs
- func (self *TableSortSpecs) SpecsCount() int32
- func (self *TableSortSpecs) SpecsDirty() bool
- type TableTempData
- func (self *TableTempData) AngledHeadersExtraWidth() float32
- func (self *TableTempData) AngledHeadersRequests() vectors.Vector[TableHeaderData]
- func (self TableTempData) C() (C.ImGuiTableTempData, func())
- func (self *TableTempData) DrawSplitter() DrawListSplitter
- func (self *TableTempData) Handle() (result *C.ImGuiTableTempData, fin func())
- func (self *TableTempData) HostBackupColumnsOffset() Vec1
- func (self *TableTempData) HostBackupCurrLineSize() Vec2
- func (self *TableTempData) HostBackupCursorMaxPos() Vec2
- func (self *TableTempData) HostBackupItemWidth() float32
- func (self *TableTempData) HostBackupItemWidthStackSize() int32
- func (self *TableTempData) HostBackupParentWorkRect() Rect
- func (self *TableTempData) HostBackupPrevLineSize() Vec2
- func (self *TableTempData) HostBackupWorkRect() Rect
- func (self *TableTempData) InternalDestroy()
- func (self *TableTempData) LastTimeActive() float32
- func (self TableTempData) SetAngledHeadersExtraWidth(v float32)
- func (self TableTempData) SetAngledHeadersRequests(v vectors.Vector[TableHeaderData])
- func (self TableTempData) SetDrawSplitter(v DrawListSplitter)
- func (self TableTempData) SetHostBackupColumnsOffset(v Vec1)
- func (self TableTempData) SetHostBackupCurrLineSize(v Vec2)
- func (self TableTempData) SetHostBackupCursorMaxPos(v Vec2)
- func (self TableTempData) SetHostBackupItemWidth(v float32)
- func (self TableTempData) SetHostBackupItemWidthStackSize(v int32)
- func (self TableTempData) SetHostBackupParentWorkRect(v Rect)
- func (self TableTempData) SetHostBackupPrevLineSize(v Vec2)
- func (self TableTempData) SetHostBackupWorkRect(v Rect)
- func (self TableTempData) SetLastTimeActive(v float32)
- func (self TableTempData) SetTableIndex(v int32)
- func (self TableTempData) SetUserOuterSize(v Vec2)
- func (self TableTempData) SetWindowID(v ID)
- func (self *TableTempData) TableIndex() int32
- func (self *TableTempData) UserOuterSize() Vec2
- func (self *TableTempData) WindowID() ID
- type TextBuffer
- func (self *TextBuffer) Append(str string)
- func (self *TextBuffer) AppendV(str, str_end string)
- func (self *TextBuffer) Begin() string
- func (self *TextBuffer) Buf() vectors.Vector[int8]
- func (self TextBuffer) C() (C.ImGuiTextBuffer, func())
- func (self *TextBuffer) Clear()
- func (self *TextBuffer) Cstr() string
- func (self *TextBuffer) Destroy()
- func (self *TextBuffer) Empty() bool
- func (self *TextBuffer) End() string
- func (self *TextBuffer) Handle() (result *C.ImGuiTextBuffer, fin func())
- func (self *TextBuffer) Reserve(capacity int32)
- func (self *TextBuffer) Resize(size int32)
- func (self TextBuffer) SetBuf(v vectors.Vector[int8])
- func (self *TextBuffer) Size() int32
- type TextFilter
- func (self *TextFilter) Build()
- func (self TextFilter) C() (C.ImGuiTextFilter, func())
- func (self *TextFilter) Clear()
- func (self *TextFilter) CountGrep() int32
- func (self *TextFilter) Destroy()
- func (self *TextFilter) Draw() bool
- func (self *TextFilter) DrawV(label string, width float32) bool
- func (self *TextFilter) Filters() vectors.Vector[TextRange]
- func (self *TextFilter) Handle() (result *C.ImGuiTextFilter, fin func())
- func (self *TextFilter) InputBuf() [256]rune
- func (self *TextFilter) IsActive() bool
- func (self *TextFilter) PassFilter(text string) bool
- func (self *TextFilter) PassFilterV(text string) bool
- func (self TextFilter) SetCountGrep(v int32)
- func (self TextFilter) SetFilters(v vectors.Vector[TextRange])
- func (self TextFilter) SetInputBuf(v *[256]rune)
- type TextFlags
- type TextIndex
- func (self TextIndex) C() (C.ImGuiTextIndex, func())
- func (self *TextIndex) EndOffset() int32
- func (self *TextIndex) Handle() (result *C.ImGuiTextIndex, fin func())
- func (self *TextIndex) InternalAppend(base string, old_size, new_size int32)
- func (self *TextIndex) InternalClear()
- func (self *TextIndex) InternalGetlinebegin(base string, n int32) string
- func (self *TextIndex) InternalGetlineend(base string, n int32) string
- func (self *TextIndex) InternalSize() int32
- func (self *TextIndex) Offsets() vectors.Vector[int32]
- func (self TextIndex) SetEndOffset(v int32)
- func (self TextIndex) SetOffsets(v vectors.Vector[int32])
- type TextRange
- func (self *TextRange) B() string
- func (self TextRange) C() (C.ImGuiTextRange, func())
- func (self *TextRange) Destroy()
- func (self *TextRange) E() string
- func (self *TextRange) Empty() bool
- func (self *TextRange) Handle() (result *C.ImGuiTextRange, fin func())
- func (self TextRange) SetB(v string)
- func (self TextRange) SetE(v string)
- type TextureData
- func (self *TextureData) BackendUserData() uintptr
- func (self *TextureData) BytesPerPixel() int32
- func (self TextureData) C() (C.ImTextureData, func())
- func (self *TextureData) Create(format TextureFormat, w, h int32)
- func (self *TextureData) Destroy()
- func (self *TextureData) DestroyPixels()
- func (self *TextureData) Format() TextureFormat
- func (self *TextureData) Handle() (result *C.ImTextureData, fin func())
- func (self *TextureData) Height() int32
- func (self *TextureData) Pitch() int32
- func (self *TextureData) Pixels() uintptr
- func (self *TextureData) PixelsAt(x, y int32) uintptr
- func (self *TextureData) RefCount() uint16
- func (self TextureData) SetBackendUserData(v uintptr)
- func (self TextureData) SetBytesPerPixel(v int32)
- func (self TextureData) SetFormat(v TextureFormat)
- func (self TextureData) SetHeight(v int32)
- func (self TextureData) SetPixels(v *uint)
- func (self TextureData) SetRefCount(v uint16)
- func (self *TextureData) SetStatus(status TextureStatus)
- func (self *TextureData) SetTexID(tex_id TextureID)
- func (self TextureData) SetUniqueID(v int32)
- func (self TextureData) SetUnusedFrames(v int32)
- func (self TextureData) SetUpdateRect(v TextureRect)
- func (self TextureData) SetUpdates(v vectors.Vector[TextureRect])
- func (self TextureData) SetUseColors(v bool)
- func (self TextureData) SetUsedRect(v TextureRect)
- func (self TextureData) SetWantDestroyNextFrame(v bool)
- func (self TextureData) SetWidth(v int32)
- func (self *TextureData) SizeInBytes() int32
- func (self *TextureData) Status() TextureStatus
- func (self *TextureData) TexID() TextureID
- func (self *TextureData) TexRef() TextureRef
- func (self *TextureData) UniqueID() int32
- func (self *TextureData) UnusedFrames() int32
- func (self *TextureData) UpdateRect() TextureRect
- func (self *TextureData) Updates() vectors.Vector[TextureRect]
- func (self *TextureData) UseColors() bool
- func (self *TextureData) UsedRect() TextureRect
- func (self *TextureData) WantDestroyNextFrame() bool
- func (self *TextureData) Width() int32
- type TextureFormat
- type TextureID
- type TextureRect
- func (self TextureRect) C() (C.ImTextureRect, func())
- func (self *TextureRect) H() uint16
- func (self *TextureRect) Handle() (result *C.ImTextureRect, fin func())
- func (self TextureRect) SetH(v uint16)
- func (self TextureRect) SetW(v uint16)
- func (self TextureRect) SetX(v uint16)
- func (self TextureRect) SetY(v uint16)
- func (self *TextureRect) W() uint16
- func (self *TextureRect) X() uint16
- func (self *TextureRect) Y() uint16
- type TextureRef
- func (self TextureRef) C() (C.ImTextureRef, func())
- func (self *TextureRef) Destroy()
- func (self *TextureRef) GetTexID() TextureID
- func (self *TextureRef) Handle() (result *C.ImTextureRef, fin func())
- func (self TextureRef) SetTexData(v *TextureData)
- func (self TextureRef) SetTexID(v TextureID)
- func (self *TextureRef) TexData() *TextureData
- func (self *TextureRef) TexID() TextureID
- type TextureStatus
- type TooltipFlags
- type TreeNodeFlags
- type TreeNodeFlagsPrivate
- type TreeNodeStackData
- func (self TreeNodeStackData) C() (C.ImGuiTreeNodeStackData, func())
- func (self *TreeNodeStackData) DrawLinesTableColumn() TableColumnIdx
- func (self *TreeNodeStackData) DrawLinesToNodesY2() float32
- func (self *TreeNodeStackData) DrawLinesX1() float32
- func (self *TreeNodeStackData) Handle() (result *C.ImGuiTreeNodeStackData, fin func())
- func (self *TreeNodeStackData) ID() ID
- func (self *TreeNodeStackData) ItemFlags() ItemFlags
- func (self *TreeNodeStackData) NavRect() Rect
- func (self TreeNodeStackData) SetDrawLinesTableColumn(v TableColumnIdx)
- func (self TreeNodeStackData) SetDrawLinesToNodesY2(v float32)
- func (self TreeNodeStackData) SetDrawLinesX1(v float32)
- func (self TreeNodeStackData) SetID(v ID)
- func (self TreeNodeStackData) SetItemFlags(v ItemFlags)
- func (self TreeNodeStackData) SetNavRect(v Rect)
- func (self TreeNodeStackData) SetTreeFlags(v TreeNodeFlags)
- func (self *TreeNodeStackData) TreeFlags() TreeNodeFlags
- type TypingSelectFlags
- type TypingSelectRequest
- func (self TypingSelectRequest) C() (C.ImGuiTypingSelectRequest, func())
- func (self *TypingSelectRequest) Flags() TypingSelectFlags
- func (self *TypingSelectRequest) Handle() (result *C.ImGuiTypingSelectRequest, fin func())
- func (self *TypingSelectRequest) SearchBuffer() string
- func (self *TypingSelectRequest) SearchBufferLen() int32
- func (self *TypingSelectRequest) SelectRequest() bool
- func (self TypingSelectRequest) SetFlags(v TypingSelectFlags)
- func (self TypingSelectRequest) SetSearchBuffer(v string)
- func (self TypingSelectRequest) SetSearchBufferLen(v int32)
- func (self TypingSelectRequest) SetSelectRequest(v bool)
- func (self TypingSelectRequest) SetSingleCharMode(v bool)
- func (self TypingSelectRequest) SetSingleCharSize(v int)
- func (self *TypingSelectRequest) SingleCharMode() bool
- func (self *TypingSelectRequest) SingleCharSize() int
- type TypingSelectState
- func (self TypingSelectState) C() (C.ImGuiTypingSelectState, func())
- func (self *TypingSelectState) FocusScope() ID
- func (self *TypingSelectState) Handle() (result *C.ImGuiTypingSelectState, fin func())
- func (self *TypingSelectState) InternalClear()
- func (self *TypingSelectState) InternalDestroy()
- func (self *TypingSelectState) LastRequestFrame() int32
- func (self *TypingSelectState) LastRequestTime() float32
- func (self *TypingSelectState) Request() TypingSelectRequest
- func (self *TypingSelectState) SearchBuffer() [64]rune
- func (self TypingSelectState) SetFocusScope(v ID)
- func (self TypingSelectState) SetLastRequestFrame(v int32)
- func (self TypingSelectState) SetLastRequestTime(v float32)
- func (self TypingSelectState) SetRequest(v TypingSelectRequest)
- func (self TypingSelectState) SetSearchBuffer(v *[64]rune)
- func (self TypingSelectState) SetSingleCharModeLock(v bool)
- func (self *TypingSelectState) SingleCharModeLock() bool
- type Vec1
- type Vec2
- func CalcTextSize(text string) Vec2
- func CalcTextSizeV(text string, hide_text_after_double_hash bool, wrap_width float32) Vec2
- func ContentRegionAvail() Vec2
- func CursorPos() Vec2
- func CursorScreenPos() Vec2
- func CursorStartPos() Vec2
- func FontTexUvWhitePixel() Vec2
- func InternalCalcItemSize(size Vec2, default_w, default_h float32) Vec2
- func InternalCalcWindowNextAutoFitSize(window *Window) Vec2
- func InternalFindBestWindowPosForPopup(window *Window) Vec2
- func InternalFindBestWindowPosForPopupEx(ref_pos, size Vec2, last_dir *Dir, r_outer, r_avoid Rect, ...) Vec2
- func InternalImBezierCubicCalc(p1, p2, p3, p4 Vec2, t float32) Vec2
- func InternalImBezierCubicClosestPoint(p1, p2, p3, p4, p Vec2, num_segments int32) Vec2
- func InternalImBezierCubicClosestPointCasteljau(p1, p2, p3, p4, p Vec2, tess_tol float32) Vec2
- func InternalImBezierQuadraticCalc(p1, p2, p3 Vec2, t float32) Vec2
- func InternalImClamp(v, mn, mx Vec2) Vec2
- func InternalImFloorVec2(v Vec2) Vec2
- func InternalImFontCalcTextSizeEx(font *Font, size, max_width, wrap_width float32, ...) Vec2
- func InternalImLerpVec2Float(a, b Vec2, t float32) Vec2
- func InternalImLerpVec2Vec2(a, b, t Vec2) Vec2
- func InternalImLineClosestPoint(a, b, p Vec2) Vec2
- func InternalImMax(lhs, rhs Vec2) Vec2
- func InternalImMin(lhs, rhs Vec2) Vec2
- func InternalImMul(lhs, rhs Vec2) Vec2
- func InternalImRotate(v Vec2, cos_a, sin_a float32) Vec2
- func InternalImTriangleClosestPoint(a, b, c, p Vec2) Vec2
- func InternalImTruncVec2(v Vec2) Vec2
- func InternalKeyMagnitude2d(key_left, key_right, key_up, key_down Key) Vec2
- func InternalScrollToRectEx(window *Window, rect Rect) Vec2
- func InternalScrollToRectExV(window *Window, rect Rect, flags ScrollFlags) Vec2
- func InternalTabItemCalcSizeStr(label string, has_close_button_or_unsaved_marker bool) Vec2
- func InternalTabItemCalcSizeWindowPtr(window *Window) Vec2
- func InternalWindowPosAbsToRel(window *Window, p Vec2) Vec2
- func InternalWindowPosRelToAbs(window *Window, p Vec2) Vec2
- func ItemRectMax() Vec2
- func ItemRectMin() Vec2
- func ItemRectSize() Vec2
- func MouseDragDelta() Vec2
- func MouseDragDeltaV(button MouseButton, lock_threshold float32) Vec2
- func MousePos() Vec2
- func MousePosOnOpeningCurrentPopup() Vec2
- func NewVec2(x, y float32) Vec2
- func WindowPos() Vec2
- func WindowSize() Vec2
- type Vec2i
- type Vec4
- type Viewport
- func (self Viewport) C() (C.ImGuiViewport, func())
- func (self *Viewport) Center() Vec2
- func (self *Viewport) DebugName() string
- func (self *Viewport) Destroy()
- func (self *Viewport) DpiScale() float32
- func (self *Viewport) DrawData() *DrawData
- func (self *Viewport) Flags() ViewportFlags
- func (self *Viewport) FramebufferScale() Vec2
- func (self *Viewport) Handle() (result *C.ImGuiViewport, fin func())
- func (self *Viewport) ID() ID
- func (self *Viewport) ParentViewport() *Viewport
- func (self *Viewport) ParentViewportId() ID
- func (self *Viewport) PlatformHandle() uintptr
- func (self *Viewport) PlatformHandleRaw() uintptr
- func (self *Viewport) PlatformIconData() uintptr
- func (self *Viewport) PlatformRequestClose() bool
- func (self *Viewport) PlatformRequestMove() bool
- func (self *Viewport) PlatformRequestResize() bool
- func (self *Viewport) PlatformUserData() uintptr
- func (self *Viewport) PlatformWindowCreated() bool
- func (self *Viewport) Pos() Vec2
- func (self *Viewport) RendererUserData() uintptr
- func (self Viewport) SetDpiScale(v float32)
- func (self Viewport) SetDrawData(v *DrawData)
- func (self Viewport) SetFlags(v ViewportFlags)
- func (self Viewport) SetFramebufferScale(v Vec2)
- func (self Viewport) SetID(v ID)
- func (self Viewport) SetParentViewport(v *Viewport)
- func (self Viewport) SetParentViewportId(v ID)
- func (self Viewport) SetPlatformHandle(v uintptr)
- func (self Viewport) SetPlatformHandleRaw(v uintptr)
- func (self Viewport) SetPlatformIconData(v uintptr)
- func (self Viewport) SetPlatformRequestClose(v bool)
- func (self Viewport) SetPlatformRequestMove(v bool)
- func (self Viewport) SetPlatformRequestResize(v bool)
- func (self Viewport) SetPlatformUserData(v uintptr)
- func (self Viewport) SetPlatformWindowCreated(v bool)
- func (self Viewport) SetPos(v Vec2)
- func (self Viewport) SetRendererUserData(v uintptr)
- func (self Viewport) SetSize(v Vec2)
- func (self Viewport) SetWorkPos(v Vec2)
- func (self Viewport) SetWorkSize(v Vec2)
- func (self *Viewport) Size() Vec2
- func (self *Viewport) WorkCenter() Vec2
- func (self *Viewport) WorkPos() Vec2
- func (self *Viewport) WorkSize() Vec2
- type ViewportFlags
- type ViewportP
- func (self *ViewportP) Alpha() float32
- func (self *ViewportP) BgFgDrawLists() [2]*DrawList
- func (self *ViewportP) BgFgDrawListsLastTimeActive() [2]float32
- func (self *ViewportP) BuildWorkInsetMax() Vec2
- func (self *ViewportP) BuildWorkInsetMin() Vec2
- func (self ViewportP) C() (C.ImGuiViewportP, func())
- func (self *ViewportP) DrawDataBuilder() DrawDataBuilder
- func (self *ViewportP) DrawDataP() DrawData
- func (self *ViewportP) Handle() (result *C.ImGuiViewportP, fin func())
- func (self *ViewportP) Idx() int32
- func (self *ViewportP) ImGuiViewport() Viewport
- func (self *ViewportP) InternalBuildWorkRect() Rect
- func (self *ViewportP) InternalCalcWorkRectPos(inset_min Vec2) Vec2
- func (self *ViewportP) InternalCalcWorkRectSize(inset_min, inset_max Vec2) Vec2
- func (self *ViewportP) InternalClearRequestFlags()
- func (self *ViewportP) InternalDestroy()
- func (self *ViewportP) InternalMainRect() Rect
- func (self *ViewportP) InternalUpdateWorkRect()
- func (self *ViewportP) InternalWorkRect() Rect
- func (self *ViewportP) LastAlpha() float32
- func (self *ViewportP) LastFocusedHadNavWindow() bool
- func (self *ViewportP) LastFocusedStampCount() int32
- func (self *ViewportP) LastFrameActive() int32
- func (self *ViewportP) LastNameHash() ID
- func (self *ViewportP) LastPlatformPos() Vec2
- func (self *ViewportP) LastPlatformSize() Vec2
- func (self *ViewportP) LastPos() Vec2
- func (self *ViewportP) LastRendererSize() Vec2
- func (self *ViewportP) LastSize() Vec2
- func (self *ViewportP) PlatformMonitor() int16
- func (self ViewportP) SetAlpha(v float32)
- func (self ViewportP) SetBgFgDrawLists(v *[2]*DrawList)
- func (self ViewportP) SetBgFgDrawListsLastTimeActive(v *[2]float32)
- func (self ViewportP) SetBuildWorkInsetMax(v Vec2)
- func (self ViewportP) SetBuildWorkInsetMin(v Vec2)
- func (self ViewportP) SetDrawDataBuilder(v DrawDataBuilder)
- func (self ViewportP) SetDrawDataP(v DrawData)
- func (self ViewportP) SetIdx(v int32)
- func (self ViewportP) SetImGuiViewport(v Viewport)
- func (self ViewportP) SetLastAlpha(v float32)
- func (self ViewportP) SetLastFocusedHadNavWindow(v bool)
- func (self ViewportP) SetLastFocusedStampCount(v int32)
- func (self ViewportP) SetLastFrameActive(v int32)
- func (self ViewportP) SetLastNameHash(v ID)
- func (self ViewportP) SetLastPlatformPos(v Vec2)
- func (self ViewportP) SetLastPlatformSize(v Vec2)
- func (self ViewportP) SetLastPos(v Vec2)
- func (self ViewportP) SetLastRendererSize(v Vec2)
- func (self ViewportP) SetLastSize(v Vec2)
- func (self ViewportP) SetPlatformMonitor(v int16)
- func (self ViewportP) SetWindow(v *Window)
- func (self ViewportP) SetWorkInsetMax(v Vec2)
- func (self ViewportP) SetWorkInsetMin(v Vec2)
- func (self *ViewportP) Window() *Window
- func (self *ViewportP) WorkInsetMax() Vec2
- func (self *ViewportP) WorkInsetMin() Vec2
- type Wchar
- type Wchar16
- type Wchar32
- type WcharClass
- type Window
- func InternalCurrentWindow() *Window
- func InternalCurrentWindowRead() *Window
- func InternalFindBlockingModal(window *Window) *Window
- func InternalFindBottomMostVisibleWindowWithinBeginStack(window *Window) *Window
- func InternalFindWindowByID(id ID) *Window
- func InternalFindWindowByName(name string) *Window
- func InternalNewWindow(context *Context, name string) *Window
- func InternalTopMostAndVisiblePopupModal() *Window
- func InternalTopMostPopupModal() *Window
- func NewEmptyWindow() *Window
- func NewWindowFromC[SRC any](cvalue SRC) *Window
- func (self *Window) Active() bool
- func (self *Window) Appearing() bool
- func (self *Window) AutoFitFramesX() int
- func (self *Window) AutoFitFramesY() int
- func (self *Window) AutoFitOnlyGrows() bool
- func (self *Window) AutoPosLastDirection() Dir
- func (self *Window) BeginCount() int16
- func (self *Window) BeginCountPreviousFrame() int16
- func (self *Window) BeginOrderWithinContext() int16
- func (self *Window) BeginOrderWithinParent() int16
- func (self *Window) BgClickFlags() WindowBgClickFlags
- func (self Window) C() (C.ImGuiWindow, func())
- func (self *Window) ChildFlags() ChildFlags
- func (self *Window) ChildId() ID
- func (self *Window) ClipRect() Rect
- func (self *Window) Collapsed() bool
- func (self *Window) ColumnsStorage() vectors.Vector[OldColumns]
- func (self *Window) ContentRegionRect() Rect
- func (self *Window) ContentSize() Vec2
- func (self *Window) ContentSizeExplicit() Vec2
- func (self *Window) ContentSizeIdeal() Vec2
- func (self *Window) Ctx() *Context
- func (self *Window) DC() WindowTempData
- func (self *Window) DecoInnerSizeX1() float32
- func (self *Window) DecoInnerSizeY1() float32
- func (self *Window) DecoOuterSizeX1() float32
- func (self *Window) DecoOuterSizeX2() float32
- func (self *Window) DecoOuterSizeY1() float32
- func (self *Window) DecoOuterSizeY2() float32
- func (self *Window) DisableInputsFrames() int
- func (self *Window) DockId() ID
- func (self *Window) DockIsActive() bool
- func (self *Window) DockNode() *DockNode
- func (self *Window) DockNodeAsHost() *DockNode
- func (self *Window) DockNodeIsVisible() bool
- func (self *Window) DockOrder() int16
- func (self *Window) DockStyle() WindowDockStyle
- func (self *Window) DockTabIsVisible() bool
- func (self *Window) DockTabWantClose() bool
- func (self *Window) DrawList() *DrawList
- func (self *Window) DrawListInst() DrawList
- func (self *Window) Flags() WindowFlags
- func (self *Window) FlagsPreviousFrame() WindowFlags
- func (self *Window) FocusOrder() int16
- func (self *Window) FontRefSize() float32
- func (self *Window) FontWindowScale() float32
- func (self *Window) FontWindowScaleParents() float32
- func (self *Window) Handle() (result *C.ImGuiWindow, fin func())
- func (self *Window) HasCloseButton() bool
- func (self *Window) Hidden() bool
- func (self *Window) HiddenFramesCanSkipItems() int
- func (self *Window) HiddenFramesCannotSkipItems() int
- func (self *Window) HiddenFramesForRenderOnly() int
- func (self *Window) ID() ID
- func (self *Window) IDStack() vectors.Vector[ID]
- func (self *Window) InnerClipRect() Rect
- func (self *Window) InnerRect() Rect
- func (self *Window) InternalDestroy()
- func (self *Window) InternalIDFromPos(p_abs Vec2) ID
- func (self *Window) InternalIDFromRectangle(r_abs Rect) ID
- func (self *Window) InternalIDInt(n int32) ID
- func (self *Window) InternalIDPtr(ptr uintptr) ID
- func (self *Window) InternalIDStr(str string) ID
- func (self *Window) InternalIDStrV(str, str_end string) ID
- func (self *Window) InternalMenuBarRect() Rect
- func (self *Window) InternalRect() Rect
- func (self *Window) InternalTitleBarRect() Rect
- func (self *Window) IsExplicitChild() bool
- func (self *Window) IsFallbackWindow() bool
- func (self *Window) LastFrameActive() int32
- func (self *Window) LastFrameJustFocused() int32
- func (self *Window) LastTimeActive() float32
- func (self *Window) MemoryCompacted() bool
- func (self *Window) MemoryDrawListIdxCapacity() int32
- func (self *Window) MemoryDrawListVtxCapacity() int32
- func (self *Window) MenuBarHeight() float32
- func (self *Window) MoveId() ID
- func (self *Window) Name() string
- func (self *Window) NameBufLen() int32
- func (self *Window) NavLastChildNavWindow() *Window
- func (self *Window) NavLastIds() [2]ID
- func (self *Window) NavPreferredScoringPosRel() [2]Vec2
- func (self *Window) NavRectRel() [2]Rect
- func (self *Window) NavRootFocusScopeId() ID
- func (self *Window) OuterRectClipped() Rect
- func (self *Window) ParentWindow() *Window
- func (self *Window) ParentWindowForFocusRoute() *Window
- func (self *Window) ParentWindowInBeginStack() *Window
- func (self *Window) ParentWorkRect() Rect
- func (self *Window) PopupId() ID
- func (self *Window) Pos() Vec2
- func (self *Window) RootWindow() *Window
- func (self *Window) RootWindowDockTree() *Window
- func (self *Window) RootWindowForNav() *Window
- func (self *Window) RootWindowForTitleBarHighlight() *Window
- func (self *Window) RootWindowPopupTree() *Window
- func (self *Window) Scroll() Vec2
- func (self *Window) ScrollMax() Vec2
- func (self *Window) ScrollTarget() Vec2
- func (self *Window) ScrollTargetCenterRatio() Vec2
- func (self *Window) ScrollTargetEdgeSnapDist() Vec2
- func (self *Window) ScrollbarSizes() Vec2
- func (self *Window) ScrollbarX() bool
- func (self *Window) ScrollbarXStabilizeEnabled() bool
- func (self *Window) ScrollbarXStabilizeToggledHistory() byte
- func (self *Window) ScrollbarY() bool
- func (self Window) SetActive(v bool)
- func (self Window) SetAppearing(v bool)
- func (self Window) SetAutoFitFramesX(v int)
- func (self Window) SetAutoFitFramesY(v int)
- func (self Window) SetAutoFitOnlyGrows(v bool)
- func (self Window) SetAutoPosLastDirection(v Dir)
- func (self Window) SetBeginCount(v int16)
- func (self Window) SetBeginCountPreviousFrame(v int16)
- func (self Window) SetBeginOrderWithinContext(v int16)
- func (self Window) SetBeginOrderWithinParent(v int16)
- func (self Window) SetBgClickFlags(v WindowBgClickFlags)
- func (self Window) SetChildFlags(v ChildFlags)
- func (self Window) SetChildId(v ID)
- func (self Window) SetClipRect(v Rect)
- func (self Window) SetCollapsed(v bool)
- func (self Window) SetColumnsStorage(v vectors.Vector[OldColumns])
- func (self Window) SetContentRegionRect(v Rect)
- func (self Window) SetContentSize(v Vec2)
- func (self Window) SetContentSizeExplicit(v Vec2)
- func (self Window) SetContentSizeIdeal(v Vec2)
- func (self Window) SetCtx(v *Context)
- func (self Window) SetDC(v WindowTempData)
- func (self Window) SetDecoInnerSizeX1(v float32)
- func (self Window) SetDecoInnerSizeY1(v float32)
- func (self Window) SetDecoOuterSizeX1(v float32)
- func (self Window) SetDecoOuterSizeX2(v float32)
- func (self Window) SetDecoOuterSizeY1(v float32)
- func (self Window) SetDecoOuterSizeY2(v float32)
- func (self Window) SetDisableInputsFrames(v int)
- func (self Window) SetDockId(v ID)
- func (self Window) SetDockIsActive(v bool)
- func (self Window) SetDockNode(v *DockNode)
- func (self Window) SetDockNodeAsHost(v *DockNode)
- func (self Window) SetDockNodeIsVisible(v bool)
- func (self Window) SetDockOrder(v int16)
- func (self Window) SetDockStyle(v WindowDockStyle)
- func (self Window) SetDockTabIsVisible(v bool)
- func (self Window) SetDockTabWantClose(v bool)
- func (self Window) SetDrawList(v *DrawList)
- func (self Window) SetDrawListInst(v DrawList)
- func (self Window) SetFlags(v WindowFlags)
- func (self Window) SetFlagsPreviousFrame(v WindowFlags)
- func (self Window) SetFocusOrder(v int16)
- func (self Window) SetFontRefSize(v float32)
- func (self Window) SetFontWindowScale(v float32)
- func (self Window) SetFontWindowScaleParents(v float32)
- func (self Window) SetHasCloseButton(v bool)
- func (self Window) SetHidden(v bool)
- func (self Window) SetHiddenFramesCanSkipItems(v int)
- func (self Window) SetHiddenFramesCannotSkipItems(v int)
- func (self Window) SetHiddenFramesForRenderOnly(v int)
- func (self Window) SetID(v ID)
- func (self Window) SetIDStack(v vectors.Vector[ID])
- func (self Window) SetInnerClipRect(v Rect)
- func (self Window) SetInnerRect(v Rect)
- func (self Window) SetIsExplicitChild(v bool)
- func (self Window) SetIsFallbackWindow(v bool)
- func (self Window) SetLastFrameActive(v int32)
- func (self Window) SetLastFrameJustFocused(v int32)
- func (self Window) SetLastTimeActive(v float32)
- func (self Window) SetMemoryCompacted(v bool)
- func (self Window) SetMemoryDrawListIdxCapacity(v int32)
- func (self Window) SetMemoryDrawListVtxCapacity(v int32)
- func (self Window) SetMenuBarHeight(v float32)
- func (self Window) SetMoveId(v ID)
- func (self Window) SetName(v string)
- func (self Window) SetNameBufLen(v int32)
- func (self Window) SetNavLastChildNavWindow(v *Window)
- func (self Window) SetNavLastIds(v *[2]ID)
- func (self Window) SetNavPreferredScoringPosRel(v [2]*Vec2)
- func (self Window) SetNavRectRel(v *[2]Rect)
- func (self Window) SetNavRootFocusScopeId(v ID)
- func (self Window) SetOuterRectClipped(v Rect)
- func (self Window) SetParentWindow(v *Window)
- func (self Window) SetParentWindowForFocusRoute(v *Window)
- func (self Window) SetParentWindowInBeginStack(v *Window)
- func (self Window) SetParentWorkRect(v Rect)
- func (self Window) SetPopupId(v ID)
- func (self Window) SetPos(v Vec2)
- func (self Window) SetRootWindow(v *Window)
- func (self Window) SetRootWindowDockTree(v *Window)
- func (self Window) SetRootWindowForNav(v *Window)
- func (self Window) SetRootWindowForTitleBarHighlight(v *Window)
- func (self Window) SetRootWindowPopupTree(v *Window)
- func (self Window) SetScroll(v Vec2)
- func (self Window) SetScrollMax(v Vec2)
- func (self Window) SetScrollTarget(v Vec2)
- func (self Window) SetScrollTargetCenterRatio(v Vec2)
- func (self Window) SetScrollTargetEdgeSnapDist(v Vec2)
- func (self Window) SetScrollbarSizes(v Vec2)
- func (self Window) SetScrollbarX(v bool)
- func (self Window) SetScrollbarXStabilizeEnabled(v bool)
- func (self Window) SetScrollbarXStabilizeToggledHistory(v byte)
- func (self Window) SetScrollbarY(v bool)
- func (self Window) SetSetWindowCollapsedAllowFlags(v Cond)
- func (self Window) SetSetWindowDockAllowFlags(v Cond)
- func (self Window) SetSetWindowPosAllowFlags(v Cond)
- func (self Window) SetSetWindowPosPivot(v Vec2)
- func (self Window) SetSetWindowPosVal(v Vec2)
- func (self Window) SetSetWindowSizeAllowFlags(v Cond)
- func (self Window) SetSettingsOffset(v int32)
- func (self Window) SetSize(v Vec2)
- func (self Window) SetSizeFull(v Vec2)
- func (self Window) SetSkipItems(v bool)
- func (self Window) SetSkipRefresh(v bool)
- func (self Window) SetStateStorage(v Storage)
- func (self Window) SetTabId(v ID)
- func (self Window) SetTitleBarHeight(v float32)
- func (self Window) SetViewport(v *ViewportP)
- func (self Window) SetViewportAllowPlatformMonitorExtend(v int32)
- func (self Window) SetViewportId(v ID)
- func (self Window) SetViewportOwned(v bool)
- func (self Window) SetViewportPos(v Vec2)
- func (self Window) SetWantCollapseToggle(v bool)
- func (self Window) SetWasActive(v bool)
- func (self Window) SetWindowBorderSize(v float32)
- func (self Window) SetWindowClass(v WindowClass)
- func (self *Window) SetWindowCollapsedAllowFlags() Cond
- func (self *Window) SetWindowDockAllowFlags() Cond
- func (self Window) SetWindowPadding(v Vec2)
- func (self *Window) SetWindowPosAllowFlags() Cond
- func (self *Window) SetWindowPosPivot() Vec2
- func (self *Window) SetWindowPosVal() Vec2
- func (self Window) SetWindowRounding(v float32)
- func (self *Window) SetWindowSizeAllowFlags() Cond
- func (self Window) SetWorkRect(v Rect)
- func (self Window) SetWriteAccessed(v bool)
- func (self *Window) SettingsOffset() int32
- func (self *Window) Size() Vec2
- func (self *Window) SizeFull() Vec2
- func (self *Window) SkipItems() bool
- func (self *Window) SkipRefresh() bool
- func (self *Window) StateStorage() Storage
- func (self *Window) TabId() ID
- func (self *Window) TitleBarHeight() float32
- func (self *Window) Viewport() *ViewportP
- func (self *Window) ViewportAllowPlatformMonitorExtend() int32
- func (self *Window) ViewportId() ID
- func (self *Window) ViewportOwned() bool
- func (self *Window) ViewportPos() Vec2
- func (self *Window) WantCollapseToggle() bool
- func (self *Window) WasActive() bool
- func (self *Window) WindowBorderSize() float32
- func (self *Window) WindowClass() WindowClass
- func (self *Window) WindowPadding() Vec2
- func (self *Window) WindowRounding() float32
- func (self *Window) WorkRect() Rect
- func (self *Window) WriteAccessed() bool
- type WindowBgClickFlags
- type WindowClass
- func (self WindowClass) C() (C.ImGuiWindowClass, func())
- func (self *WindowClass) ClassId() ID
- func (self *WindowClass) Destroy()
- func (self *WindowClass) DockNodeFlagsOverrideSet() DockNodeFlags
- func (self *WindowClass) DockingAllowUnclassed() bool
- func (self *WindowClass) DockingAlwaysTabBar() bool
- func (self *WindowClass) FocusRouteParentWindowId() ID
- func (self *WindowClass) Handle() (result *C.ImGuiWindowClass, fin func())
- func (self *WindowClass) ParentViewportId() ID
- func (self *WindowClass) PlatformIconData() uintptr
- func (self WindowClass) SetClassId(v ID)
- func (self WindowClass) SetDockNodeFlagsOverrideSet(v DockNodeFlags)
- func (self WindowClass) SetDockingAllowUnclassed(v bool)
- func (self WindowClass) SetDockingAlwaysTabBar(v bool)
- func (self WindowClass) SetFocusRouteParentWindowId(v ID)
- func (self WindowClass) SetParentViewportId(v ID)
- func (self WindowClass) SetPlatformIconData(v uintptr)
- func (self WindowClass) SetTabItemFlagsOverrideSet(v TabItemFlags)
- func (self WindowClass) SetViewportFlagsOverrideClear(v ViewportFlags)
- func (self WindowClass) SetViewportFlagsOverrideSet(v ViewportFlags)
- func (self *WindowClass) TabItemFlagsOverrideSet() TabItemFlags
- func (self *WindowClass) ViewportFlagsOverrideClear() ViewportFlags
- func (self *WindowClass) ViewportFlagsOverrideSet() ViewportFlags
- type WindowDockStyle
- type WindowDockStyleCol
- type WindowFlags
- type WindowRefreshFlags
- type WindowSettings
- func InternalCreateNewWindowSettings(name string) *WindowSettings
- func InternalFindWindowSettingsByID(id ID) *WindowSettings
- func InternalFindWindowSettingsByWindow(window *Window) *WindowSettings
- func InternalNewWindowSettings() *WindowSettings
- func NewEmptyWindowSettings() *WindowSettings
- func NewWindowSettingsFromC[SRC any](cvalue SRC) *WindowSettings
- func (self WindowSettings) C() (C.ImGuiWindowSettings, func())
- func (self *WindowSettings) ClassId() ID
- func (self *WindowSettings) Collapsed() bool
- func (self *WindowSettings) DockId() ID
- func (self *WindowSettings) DockOrder() int16
- func (self *WindowSettings) Handle() (result *C.ImGuiWindowSettings, fin func())
- func (self *WindowSettings) ID() ID
- func (self *WindowSettings) InternalDestroy()
- func (self *WindowSettings) InternalName() string
- func (self *WindowSettings) IsChild() bool
- func (self WindowSettings) SetClassId(v ID)
- func (self WindowSettings) SetCollapsed(v bool)
- func (self WindowSettings) SetDockId(v ID)
- func (self WindowSettings) SetDockOrder(v int16)
- func (self WindowSettings) SetID(v ID)
- func (self WindowSettings) SetIsChild(v bool)
- func (self WindowSettings) SetViewportId(v ID)
- func (self WindowSettings) SetWantApply(v bool)
- func (self WindowSettings) SetWantDelete(v bool)
- func (self *WindowSettings) ViewportId() ID
- func (self *WindowSettings) WantApply() bool
- func (self *WindowSettings) WantDelete() bool
- type WindowStackData
- func (self WindowStackData) C() (C.ImGuiWindowStackData, func())
- func (self *WindowStackData) DisabledOverrideReenable() bool
- func (self *WindowStackData) DisabledOverrideReenableAlphaBackup() float32
- func (self *WindowStackData) Handle() (result *C.ImGuiWindowStackData, fin func())
- func (self *WindowStackData) ParentLastItemDataBackup() LastItemData
- func (self WindowStackData) SetDisabledOverrideReenable(v bool)
- func (self WindowStackData) SetDisabledOverrideReenableAlphaBackup(v float32)
- func (self WindowStackData) SetParentLastItemDataBackup(v LastItemData)
- func (self WindowStackData) SetStackSizesInBegin(v ErrorRecoveryState)
- func (self WindowStackData) SetWindow(v *Window)
- func (self *WindowStackData) StackSizesInBegin() ErrorRecoveryState
- func (self *WindowStackData) Window() *Window
- type WindowTempData
- func (self WindowTempData) C() (C.ImGuiWindowTempData, func())
- func (self *WindowTempData) ChildItemStatusFlags() ItemStatusFlags
- func (self *WindowTempData) ChildWindows() vectors.Vector[Window]
- func (self *WindowTempData) ColumnsOffset() Vec1
- func (self *WindowTempData) CurrLineSize() Vec2
- func (self *WindowTempData) CurrLineTextBaseOffset() float32
- func (self *WindowTempData) CurrentColumns() *OldColumns
- func (self *WindowTempData) CurrentTableIdx() int32
- func (self *WindowTempData) CursorMaxPos() Vec2
- func (self *WindowTempData) CursorPos() Vec2
- func (self *WindowTempData) CursorPosPrevLine() Vec2
- func (self *WindowTempData) CursorStartPos() Vec2
- func (self *WindowTempData) CursorStartPosLossyness() Vec2
- func (self *WindowTempData) DockTabItemRect() Rect
- func (self *WindowTempData) DockTabItemStatusFlags() ItemStatusFlags
- func (self *WindowTempData) GroupOffset() Vec1
- func (self *WindowTempData) Handle() (result *C.ImGuiWindowTempData, fin func())
- func (self *WindowTempData) IdealMaxPos() Vec2
- func (self *WindowTempData) Indent() Vec1
- func (self *WindowTempData) IsSameLine() bool
- func (self *WindowTempData) IsSetPos() bool
- func (self *WindowTempData) ItemWidth() float32
- func (self *WindowTempData) ItemWidthDefault() float32
- func (self *WindowTempData) ItemWidthStack() vectors.Vector[float32]
- func (self *WindowTempData) LayoutType() LayoutType
- func (self *WindowTempData) MenuBarAppending() bool
- func (self *WindowTempData) MenuBarOffset() Vec2
- func (self *WindowTempData) MenuColumns() MenuColumns
- func (self *WindowTempData) ModalDimBgColor() uint32
- func (self *WindowTempData) NavHideHighlightOneFrame() bool
- func (self *WindowTempData) NavIsScrollPushableX() bool
- func (self *WindowTempData) NavLayerCurrent() NavLayer
- func (self *WindowTempData) NavLayersActiveMask() int16
- func (self *WindowTempData) NavLayersActiveMaskNext() int16
- func (self *WindowTempData) NavWindowHasScrollY() bool
- func (self *WindowTempData) ParentLayoutType() LayoutType
- func (self *WindowTempData) PrevLineSize() Vec2
- func (self *WindowTempData) PrevLineTextBaseOffset() float32
- func (self WindowTempData) SetChildItemStatusFlags(v ItemStatusFlags)
- func (self WindowTempData) SetColumnsOffset(v Vec1)
- func (self WindowTempData) SetCurrLineSize(v Vec2)
- func (self WindowTempData) SetCurrLineTextBaseOffset(v float32)
- func (self WindowTempData) SetCurrentColumns(v *OldColumns)
- func (self WindowTempData) SetCurrentTableIdx(v int32)
- func (self WindowTempData) SetCursorMaxPos(v Vec2)
- func (self WindowTempData) SetCursorPos(v Vec2)
- func (self WindowTempData) SetCursorPosPrevLine(v Vec2)
- func (self WindowTempData) SetCursorStartPos(v Vec2)
- func (self WindowTempData) SetCursorStartPosLossyness(v Vec2)
- func (self WindowTempData) SetDockTabItemRect(v Rect)
- func (self WindowTempData) SetDockTabItemStatusFlags(v ItemStatusFlags)
- func (self WindowTempData) SetGroupOffset(v Vec1)
- func (self WindowTempData) SetIdealMaxPos(v Vec2)
- func (self WindowTempData) SetIndent(v Vec1)
- func (self WindowTempData) SetIsSameLine(v bool)
- func (self WindowTempData) SetIsSetPos(v bool)
- func (self WindowTempData) SetItemWidth(v float32)
- func (self WindowTempData) SetItemWidthDefault(v float32)
- func (self WindowTempData) SetItemWidthStack(v vectors.Vector[float32])
- func (self WindowTempData) SetLayoutType(v LayoutType)
- func (self WindowTempData) SetMenuBarAppending(v bool)
- func (self WindowTempData) SetMenuBarOffset(v Vec2)
- func (self WindowTempData) SetMenuColumns(v MenuColumns)
- func (self WindowTempData) SetModalDimBgColor(v uint32)
- func (self WindowTempData) SetNavHideHighlightOneFrame(v bool)
- func (self WindowTempData) SetNavIsScrollPushableX(v bool)
- func (self WindowTempData) SetNavLayerCurrent(v NavLayer)
- func (self WindowTempData) SetNavLayersActiveMask(v int16)
- func (self WindowTempData) SetNavLayersActiveMaskNext(v int16)
- func (self WindowTempData) SetNavWindowHasScrollY(v bool)
- func (self WindowTempData) SetParentLayoutType(v LayoutType)
- func (self WindowTempData) SetPrevLineSize(v Vec2)
- func (self WindowTempData) SetPrevLineTextBaseOffset(v float32)
- func (self WindowTempData) SetStateStorage(v *Storage)
- func (self WindowTempData) SetTextWrapPos(v float32)
- func (self WindowTempData) SetTextWrapPosStack(v vectors.Vector[float32])
- func (self WindowTempData) SetTreeDepth(v int32)
- func (self WindowTempData) SetTreeHasStackDataDepthMask(v uint32)
- func (self WindowTempData) SetTreeRecordsClippedNodesY2Mask(v uint32)
- func (self WindowTempData) SetWindowItemStatusFlags(v ItemStatusFlags)
- func (self *WindowTempData) StateStorage() *Storage
- func (self *WindowTempData) TextWrapPos() float32
- func (self *WindowTempData) TextWrapPosStack() vectors.Vector[float32]
- func (self *WindowTempData) TreeDepth() int32
- func (self *WindowTempData) TreeHasStackDataDepthMask() uint32
- func (self *WindowTempData) TreeRecordsClippedNodesY2Mask() uint32
- func (self *WindowTempData) WindowItemStatusFlags() ItemStatusFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlignTextToFramePadding ¶
func AlignTextToFramePadding()
vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item)
func BeginChildID ¶
func BeginChildIDV ¶
func BeginChildIDV(id ID, size Vec2, child_flags ChildFlags, window_flags WindowFlags) bool
BeginChildIDV parameter default value hint: size: ImVec2(0,0) child_flags: 0 window_flags: 0
func BeginChildStr ¶
func BeginChildStrV ¶
func BeginChildStrV(str_id string, size Vec2, child_flags ChildFlags, window_flags WindowFlags) bool
BeginChildStrV parameter default value hint: size: ImVec2(0,0) child_flags: 0 window_flags: 0
func BeginCombo ¶
func BeginComboV ¶
func BeginComboV(label, preview_value string, flags ComboFlags) bool
BeginComboV parameter default value hint: flags: 0
func BeginDisabled ¶
func BeginDisabled()
func BeginDisabledV ¶
func BeginDisabledV(disabled bool)
BeginDisabledV parameter default value hint: disabled: true
func BeginDragDropSource ¶
func BeginDragDropSource() bool
func BeginDragDropSourceV ¶
func BeginDragDropSourceV(flags DragDropFlags) bool
call after submitting an item which may be dragged. when this return true, you can call SetDragDropPayload() + EndDragDropSource() BeginDragDropSourceV parameter default value hint: flags: 0
func BeginDragDropTarget ¶
func BeginDragDropTarget() bool
call after submitting an item that may receive a payload. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget()
func BeginItemTooltip ¶
func BeginItemTooltip() bool
begin/append a tooltip window if preceding item was hovered.
func BeginListBox ¶
func BeginListBoxV ¶
open a framed scrolling region BeginListBoxV parameter default value hint: size: ImVec2(0,0)
func BeginMenuBar ¶
func BeginMenuBar() bool
append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window).
func BeginMenuV ¶
create a sub-menu entry. only call EndMenu() if this returns true! BeginMenuV parameter default value hint: enabled: true
func BeginPopup ¶
func BeginPopupContextItem ¶
func BeginPopupContextItem() bool
func BeginPopupContextItemV ¶
func BeginPopupContextItemV(str_id string, popup_flags PopupFlags) bool
open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! BeginPopupContextItemV parameter default value hint: str_id: NULL popup_flags: 0
func BeginPopupContextVoid ¶
func BeginPopupContextVoid() bool
func BeginPopupContextVoidV ¶
func BeginPopupContextVoidV(str_id string, popup_flags PopupFlags) bool
open+begin popup when clicked in void (where there are no windows). BeginPopupContextVoidV parameter default value hint: str_id: NULL popup_flags: 0
func BeginPopupContextWindow ¶
func BeginPopupContextWindow() bool
func BeginPopupContextWindowV ¶
func BeginPopupContextWindowV(str_id string, popup_flags PopupFlags) bool
open+begin popup when clicked on current window. BeginPopupContextWindowV parameter default value hint: str_id: NULL popup_flags: 0
func BeginPopupModal ¶
func BeginPopupModalV ¶
func BeginPopupModalV(name string, p_open *bool, flags WindowFlags) bool
return true if the modal is open, and you can start outputting to it. BeginPopupModalV parameter default value hint: p_open: NULL flags: 0
func BeginPopupV ¶
func BeginPopupV(str_id string, flags WindowFlags) bool
return true if the popup is open, and you can start outputting to it. BeginPopupV parameter default value hint: flags: 0
func BeginTabBar ¶
func BeginTabBarV ¶
func BeginTabBarV(str_id string, flags TabBarFlags) bool
create and append into a TabBar BeginTabBarV parameter default value hint: flags: 0
func BeginTabItem ¶
func BeginTabItemV ¶
func BeginTabItemV(label string, p_open *bool, flags TabItemFlags) bool
create a Tab. Returns true if the Tab is selected. BeginTabItemV parameter default value hint: p_open: NULL flags: 0
func BeginTable ¶
func BeginTableV ¶
func BeginTableV(str_id string, columns int32, flags TableFlags, outer_size Vec2, inner_width float32) bool
BeginTableV parameter default value hint: flags: 0 outer_size: ImVec2(0.0f,0.0f) inner_width: 0.0f
func BeginV ¶
func BeginV(name string, p_open *bool, flags WindowFlags) bool
BeginV parameter default value hint: p_open: NULL flags: 0
func Bullet ¶
func Bullet()
draw a small circle + keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses
func CalcItemWidth ¶
func CalcItemWidth() float32
width of item given pushed settings and current cursor position. NOT necessarily the width of last item unlike most 'Item' functions.
func CheckboxFlagsIntPtr ¶
func CheckboxFlagsUintPtr ¶
func ClearContextHookCallbackPool ¶ added in v1.2.0
func ClearContextHookCallbackPool()
func ClearDemoMarkerCallbackPool ¶ added in v1.5.0
func ClearDemoMarkerCallbackPool()
func ClearDrawCallbackPool ¶ added in v1.2.0
func ClearDrawCallbackPool()
func ClearErrorCallbackPool ¶ added in v1.2.0
func ClearErrorCallbackPool()
func ClearMemAllocFuncPool ¶ added in v1.2.0
func ClearMemAllocFuncPool()
func ClearMemFreeFuncPool ¶ added in v1.2.0
func ClearMemFreeFuncPool()
func ClearSizeCallbackPool ¶ added in v1.2.0
func ClearSizeCallbackPool()
func ClipboardText ¶
func ClipboardText() string
func CollapsingHeaderBoolPtr ¶
func CollapsingHeaderBoolPtrV ¶
func CollapsingHeaderBoolPtrV(label string, p_visible *bool, flags TreeNodeFlags) bool
when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header. CollapsingHeaderBoolPtrV parameter default value hint: flags: 0
func CollapsingHeaderTreeNodeFlagsV ¶
func CollapsingHeaderTreeNodeFlagsV(label string, flags TreeNodeFlags) bool
if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). CollapsingHeaderTreeNodeFlagsV parameter default value hint: flags: 0
func ColorButton ¶
func ColorButtonV ¶
func ColorButtonV(desc_id string, col Vec4, flags ColorEditFlags, size Vec2) bool
display a color square/button, hover for details, return true when pressed. ColorButtonV parameter default value hint: flags: 0 size: ImVec2(0,0)
func ColorConvertFloat4ToU32 ¶
func ColorConvertHSVtoRGB ¶
func ColorConvertRGBtoHSV ¶
func ColorEdit3 ¶
func ColorEdit3V ¶
func ColorEdit3V(label string, col *[3]float32, flags ColorEditFlags) bool
ColorEdit3V parameter default value hint: flags: 0
func ColorEdit4 ¶
func ColorEdit4V ¶
func ColorEdit4V(label string, col *[4]float32, flags ColorEditFlags) bool
ColorEdit4V parameter default value hint: flags: 0
func ColorPicker3 ¶
func ColorPicker3V ¶
func ColorPicker3V(label string, col *[3]float32, flags ColorEditFlags) bool
ColorPicker3V parameter default value hint: flags: 0
func ColorPicker4 ¶
func ColorPicker4V ¶
func ColorPicker4V(label string, col *[4]float32, flags ColorEditFlags, ref_col *float32) bool
ColorPicker4V parameter default value hint: flags: 0 ref_col: NULL
func ColorU32Col ¶
func ColorU32ColV ¶
retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList ColorU32ColV parameter default value hint: alpha_mul: 1.0f
func ColorU32U32 ¶
func ColorU32U32V ¶
retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList ColorU32U32V parameter default value hint: alpha_mul: 1.0f
func ColorU32Vec4 ¶
retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList
func ColumnOffset ¶
func ColumnOffset() float32
func ColumnOffsetV ¶
get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f ColumnOffsetV parameter default value hint: column_index: -1
func ColumnWidth ¶
func ColumnWidth() float32
func ColumnWidthV ¶
get column width (in pixels). pass -1 to use current column ColumnWidthV parameter default value hint: column_index: -1
func ColumnsCount ¶
func ColumnsCount() int32
func ComboStrV ¶
func ComboStrV(label string, current_item *int32, items_separated_by_zeros string, popup_max_height_in_items int32) bool
Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" ComboStrV parameter default value hint: popup_max_height_in_items: -1
func ComboStrarr ¶
func ComboStrarrV ¶
func ComboStrarrV(label string, current_item *int32, items []string, items_count, popup_max_height_in_items int32) bool
ComboStrarrV parameter default value hint: popup_max_height_in_items: -1
func DebugCheckVersionAndDataLayout ¶
func DebugCheckVersionAndDataLayout(version_str string, sz_io, sz_style, sz_vec2, sz_vec4, sz_drawvert, sz_drawidx uint64) bool
This is called by IMGUI_CHECKVERSION() macro.
func DebugFlashStyleColor ¶
func DebugFlashStyleColor(idx Col)
func DebugLog ¶
func DebugLog(fmt string)
Call via IMGUI_DEBUG_LOG() for maximum stripping in caller code!
func DebugStartItemPicker ¶
func DebugStartItemPicker()
func DebugTextEncoding ¶
func DebugTextEncoding(text string)
func DestroyContext ¶
func DestroyContext()
func DestroyContextV ¶
func DestroyContextV(ctx *Context)
NULL = destroy current context DestroyContextV parameter default value hint: ctx: NULL
func DestroyPlatformWindows ¶
func DestroyPlatformWindows()
call DestroyWindow platform functions for all viewports. call from backend Shutdown() if you need to close platform windows before imgui shutdown. otherwise will be called by DestroyContext().
func DragFloat2 ¶
func DragFloat2V ¶
func DragFloat2V(label string, v *[2]float32, v_speed, v_min, v_max float32, format string, flags SliderFlags) bool
DragFloat2V parameter default value hint: v_speed: 1.0f v_min: 0.0f v_max: 0.0f format: "%.3f" flags: 0
func DragFloat3 ¶
func DragFloat3V ¶
func DragFloat3V(label string, v *[3]float32, v_speed, v_min, v_max float32, format string, flags SliderFlags) bool
DragFloat3V parameter default value hint: v_speed: 1.0f v_min: 0.0f v_max: 0.0f format: "%.3f" flags: 0
func DragFloat4 ¶
func DragFloat4V ¶
func DragFloat4V(label string, v *[4]float32, v_speed, v_min, v_max float32, format string, flags SliderFlags) bool
DragFloat4V parameter default value hint: v_speed: 1.0f v_min: 0.0f v_max: 0.0f format: "%.3f" flags: 0
func DragFloatRange2 ¶
func DragFloatRange2V ¶
func DragFloatRange2V(label string, v_current_min, v_current_max *float32, v_speed, v_min, v_max float32, format, format_max string, flags SliderFlags) bool
DragFloatRange2V parameter default value hint: v_speed: 1.0f v_min: 0.0f v_max: 0.0f format: "%.3f" format_max: NULL flags: 0
func DragFloatV ¶
func DragFloatV(label string, v *float32, v_speed, v_min, v_max float32, format string, flags SliderFlags) bool
If v_min >= v_max we have no bound DragFloatV parameter default value hint: v_speed: 1.0f v_min: 0.0f v_max: 0.0f format: "%.3f" flags: 0
func DragInt2V ¶
func DragInt2V(label string, v *[2]int32, v_speed float32, v_min, v_max int32, format string, flags SliderFlags) bool
DragInt2V parameter default value hint: v_speed: 1.0f v_min: 0 v_max: 0 format: "%d" flags: 0
func DragInt3V ¶
func DragInt3V(label string, v *[3]int32, v_speed float32, v_min, v_max int32, format string, flags SliderFlags) bool
DragInt3V parameter default value hint: v_speed: 1.0f v_min: 0 v_max: 0 format: "%d" flags: 0
func DragInt4V ¶
func DragInt4V(label string, v *[4]int32, v_speed float32, v_min, v_max int32, format string, flags SliderFlags) bool
DragInt4V parameter default value hint: v_speed: 1.0f v_min: 0 v_max: 0 format: "%d" flags: 0
func DragIntRange2 ¶
func DragIntRange2V ¶
func DragIntRange2V(label string, v_current_min, v_current_max *int32, v_speed float32, v_min, v_max int32, format, format_max string, flags SliderFlags) bool
DragIntRange2V parameter default value hint: v_speed: 1.0f v_min: 0 v_max: 0 format: "%d" format_max: NULL flags: 0
func DragIntV ¶
func DragIntV(label string, v *int32, v_speed float32, v_min, v_max int32, format string, flags SliderFlags) bool
If v_min >= v_max we have no bound DragIntV parameter default value hint: v_speed: 1.0f v_min: 0 v_max: 0 format: "%d" flags: 0
func DragScalarN ¶
func DragScalarNV ¶
func DragScalarNV(label string, data_type DataType, p_data uintptr, components int32, v_speed float32, p_min, p_max uintptr, format string, flags SliderFlags) bool
DragScalarNV parameter default value hint: v_speed: 1.0f p_min: NULL p_max: NULL format: NULL flags: 0
func DragScalarV ¶
func DragScalarV(label string, data_type DataType, p_data uintptr, v_speed float32, p_min, p_max uintptr, format string, flags SliderFlags) bool
DragScalarV parameter default value hint: v_speed: 1.0f p_min: NULL p_max: NULL format: NULL flags: 0
func Dummy ¶
func Dummy(size Vec2)
add a dummy item of given size. unlike InvisibleButton(), Dummy() won't take the mouse click or be navigable into.
func EndDisabled ¶
func EndDisabled()
func EndDragDropSource ¶
func EndDragDropSource()
only call EndDragDropSource() if BeginDragDropSource() returns true!
func EndDragDropTarget ¶
func EndDragDropTarget()
only call EndDragDropTarget() if BeginDragDropTarget() returns true!
func EndFrame ¶
func EndFrame()
ends the Dear ImGui frame. automatically called by Render(). If you don't need to render data (skipping rendering) you may call EndFrame() without Render()... but you'll have wasted CPU already! If you don't need to render, better to not create any windows and not call NewFrame() at all!
func EndGroup ¶
func EndGroup()
unlock horizontal starting position + capture the whole group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.)
func EndMainMenuBar ¶
func EndMainMenuBar()
only call EndMainMenuBar() if BeginMainMenuBar() returns true!
func EndTooltip ¶
func EndTooltip()
only call EndTooltip() if BeginTooltip()/BeginItemTooltip() returns true!
func FontSize ¶
func FontSize() float32
get current scaled font size (= height in pixels). AFTER global scale factors applied. *IMPORTANT* DO NOT PASS THIS VALUE TO PushFont()! Use ImGui::GetStyle().FontSizeBase to get value before global scale factors.
func FrameCount ¶
func FrameCount() int32
get global imgui frame count. incremented by 1 every frame.
func FrameHeightWithSpacing ¶
func FrameHeightWithSpacing() float32
~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets)
func Image ¶
func Image(tex_ref TextureRef, image_size Vec2)
func ImageButton ¶
func ImageButton(str_id string, tex_ref TextureRef, image_size Vec2) bool
func ImageButtonV ¶
func ImageButtonV(str_id string, tex_ref TextureRef, image_size, uv0, uv1 Vec2, bg_col, tint_col Vec4) bool
ImageButtonV parameter default value hint: uv0: ImVec2(0,0) uv1: ImVec2(1,1) bg_col: ImVec4(0,0,0,0) tint_col: ImVec4(1,1,1,1)
func ImageV ¶
func ImageV(tex_ref TextureRef, image_size, uv0, uv1 Vec2)
ImageV parameter default value hint: uv0: ImVec2(0,0) uv1: ImVec2(1,1)
func ImageWithBg ¶ added in v1.3.1
func ImageWithBg(tex_ref TextureRef, image_size Vec2)
func ImageWithBgV ¶ added in v1.3.1
func ImageWithBgV(tex_ref TextureRef, image_size, uv0, uv1 Vec2, bg_col, tint_col Vec4)
ImageWithBgV parameter default value hint: uv0: ImVec2(0,0) uv1: ImVec2(1,1) bg_col: ImVec4(0,0,0,0) tint_col: ImVec4(1,1,1,1)
func IndentV ¶
func IndentV(indent_w float32)
move content position toward the right, by indent_w, or style.IndentSpacing if indent_w <= 0 IndentV parameter default value hint: indent_w: 0.0f
func IndexBufferLayout ¶
func IndexBufferLayout() (entrySize int)
IndexBufferLayout returns the byte size necessary to select fields in an index buffer of DrawList.
func InputDouble ¶
func InputDoubleV ¶
func InputDoubleV(label string, v *float64, step, step_fast float64, format string, flags InputTextFlags) bool
InputDoubleV parameter default value hint: step: 0.0 step_fast: 0.0 format: "%.6f" flags: 0
func InputFloat ¶
func InputFloat2 ¶
func InputFloat2V ¶
func InputFloat2V(label string, v *[2]float32, format string, flags InputTextFlags) bool
InputFloat2V parameter default value hint: format: "%.3f" flags: 0
func InputFloat3 ¶
func InputFloat3V ¶
func InputFloat3V(label string, v *[3]float32, format string, flags InputTextFlags) bool
InputFloat3V parameter default value hint: format: "%.3f" flags: 0
func InputFloat4 ¶
func InputFloat4V ¶
func InputFloat4V(label string, v *[4]float32, format string, flags InputTextFlags) bool
InputFloat4V parameter default value hint: format: "%.3f" flags: 0
func InputFloatV ¶
func InputFloatV(label string, v *float32, step, step_fast float32, format string, flags InputTextFlags) bool
InputFloatV parameter default value hint: step: 0.0f step_fast: 0.0f format: "%.3f" flags: 0
func InputInt2V ¶
func InputInt2V(label string, v *[2]int32, flags InputTextFlags) bool
InputInt2V parameter default value hint: flags: 0
func InputInt3V ¶
func InputInt3V(label string, v *[3]int32, flags InputTextFlags) bool
InputInt3V parameter default value hint: flags: 0
func InputInt4V ¶
func InputInt4V(label string, v *[4]int32, flags InputTextFlags) bool
InputInt4V parameter default value hint: flags: 0
func InputIntV ¶
func InputIntV(label string, v *int32, step, step_fast int32, flags InputTextFlags) bool
InputIntV parameter default value hint: step: 1 step_fast: 100 flags: 0
func InputScalarN ¶
func InputScalarNV ¶
func InputScalarNV(label string, data_type DataType, p_data uintptr, components int32, p_step, p_step_fast uintptr, format string, flags InputTextFlags) bool
InputScalarNV parameter default value hint: p_step: NULL p_step_fast: NULL format: NULL flags: 0
func InputScalarV ¶
func InputScalarV(label string, data_type DataType, p_data, p_step, p_step_fast uintptr, format string, flags InputTextFlags) bool
InputScalarV parameter default value hint: p_step: NULL p_step_fast: NULL format: NULL flags: 0
func InputTextMultiline ¶
func InputTextMultiline(label string, buf *string, size Vec2, flags InputTextFlags, callback InputTextCallback) bool
func InputTextWithHint ¶
func InputTextWithHint(label, hint string, buf *string, flags InputTextFlags, callback InputTextCallback) bool
func InternalActivateItemByID ¶
func InternalActivateItemByID(id ID)
Activate an item by ID (button, checkbox, tree node etc.). Activation is queued and processed on the next frame when the item is encountered again. Was called 'ActivateItem()' before 1.89.7.
func InternalAddSettingsHandler ¶
func InternalAddSettingsHandler(handler *SettingsHandler)
func InternalArrowButtonExV ¶
func InternalArrowButtonExV(str_id string, dir Dir, size_arg Vec2, flags ButtonFlags) bool
InternalArrowButtonExV parameter default value hint: flags: 0
func InternalBeginBoxSelect ¶
func InternalBeginBoxSelect(scope_rect Rect, window *Window, box_select_id ID, ms_flags MultiSelectFlags) bool
func InternalBeginChildEx ¶
func InternalBeginChildEx(name string, id ID, size_arg Vec2, child_flags ChildFlags, window_flags WindowFlags) bool
func InternalBeginColumns ¶
func InternalBeginColumnsV ¶
func InternalBeginColumnsV(str_id string, count int32, flags OldColumnFlags)
setup number of columns. use an identifier to distinguish multiple column sets. close with EndColumns(). InternalBeginColumnsV parameter default value hint: flags: 0
func InternalBeginComboPopup ¶
func InternalBeginComboPopup(popup_id ID, bb Rect, flags ComboFlags) bool
func InternalBeginComboPreview ¶
func InternalBeginComboPreview() bool
func InternalBeginDisabledOverrideReenable ¶
func InternalBeginDisabledOverrideReenable()
func InternalBeginDockableDragDropSource ¶
func InternalBeginDockableDragDropSource(window *Window)
func InternalBeginDockableDragDropTarget ¶
func InternalBeginDockableDragDropTarget(window *Window)
func InternalBeginDocked ¶
func InternalBeginDragDropTargetViewport ¶ added in v1.5.0
func InternalBeginDragDropTargetViewportV ¶ added in v1.5.0
InternalBeginDragDropTargetViewportV parameter default value hint: p_bb: NULL
func InternalBeginErrorTooltip ¶ added in v1.1.0
func InternalBeginErrorTooltip() bool
func InternalBeginMenuEx ¶
func InternalBeginMenuExV ¶
InternalBeginMenuExV parameter default value hint: enabled: true
func InternalBeginPopupEx ¶
func InternalBeginPopupEx(id ID, extra_window_flags WindowFlags) bool
func InternalBeginPopupMenuEx ¶ added in v1.3.1
func InternalBeginPopupMenuEx(id ID, label string, extra_window_flags WindowFlags) bool
func InternalBeginTabBarEx ¶
func InternalBeginTabBarEx(tab_bar *TabBar, bb Rect, flags TabBarFlags) bool
func InternalBeginTableExV ¶
func InternalBeginTableExV(name string, id ID, columns_count int32, flags TableFlags, outer_size Vec2, inner_width float32) bool
InternalBeginTableExV parameter default value hint: flags: 0 outer_size: ImVec2(0,0) inner_width: 0.0f
func InternalBeginTooltipEx ¶
func InternalBeginTooltipEx(tooltip_flags TooltipFlags, extra_window_flags WindowFlags) bool
func InternalBeginTooltipHidden ¶
func InternalBeginTooltipHidden() bool
func InternalBringWindowToDisplayBack ¶
func InternalBringWindowToDisplayBack(window *Window)
func InternalBringWindowToDisplayBehind ¶
func InternalBringWindowToDisplayBehind(window, above_window *Window)
func InternalBringWindowToDisplayFront ¶
func InternalBringWindowToDisplayFront(window *Window)
func InternalBringWindowToFocusFront ¶
func InternalBringWindowToFocusFront(window *Window)
func InternalButtonBehavior ¶
func InternalButtonBehaviorV ¶
func InternalButtonBehaviorV(bb Rect, id ID, out_hovered, out_held *bool, flags ButtonFlags) bool
InternalButtonBehaviorV parameter default value hint: flags: 0
func InternalButtonEx ¶
func InternalButtonExV ¶
func InternalButtonExV(label string, size_arg Vec2, flags ButtonFlags) bool
InternalButtonExV parameter default value hint: size_arg: ImVec2(0,0) flags: 0
func InternalCalcClipRectVisibleItemsY ¶ added in v1.4.0
func InternalCallContextHooks ¶
func InternalCallContextHooks(ctx *Context, typeArg ContextHookType)
func InternalClearActiveID ¶
func InternalClearActiveID()
func InternalClearDragDrop ¶
func InternalClearDragDrop()
func InternalClearIniSettings ¶
func InternalClearIniSettings()
func InternalClearWindowSettings ¶
func InternalClearWindowSettings(name string)
func InternalCloseButton ¶
func InternalClosePopupsExceptModals ¶
func InternalClosePopupsExceptModals()
func InternalCollapseButton ¶
func InternalColorEditOptionsPopup ¶
func InternalColorEditOptionsPopup(col *float32, flags ColorEditFlags)
func InternalColorPickerOptionsPopup ¶
func InternalColorPickerOptionsPopup(ref_col *float32, flags ColorEditFlags)
func InternalColorTooltip ¶
func InternalColorTooltip(text string, col *float32, flags ColorEditFlags)
func InternalColumnNormFromOffset ¶
func InternalColumnNormFromOffset(columns *OldColumns, offset float32) float32
func InternalColumnOffsetFromNorm ¶
func InternalColumnOffsetFromNorm(columns *OldColumns, offset_norm float32) float32
func InternalDataTypeApplyFromTextV ¶
func InternalDataTypeApplyFromTextV(buf string, data_type DataType, p_data uintptr, format string, p_data_when_empty uintptr) bool
InternalDataTypeApplyFromTextV parameter default value hint: p_data_when_empty: NULL
func InternalDataTypeApplyOp ¶
func InternalDataTypeClamp ¶
func InternalDataTypeCompare ¶
func InternalDataTypeIsZero ¶ added in v1.1.0
func InternalDebugAllocHook ¶
func InternalDebugAllocHook(info *DebugAllocInfo, frame_count int32, ptr uintptr, size uint64)
size >= 0 : alloc, size = -1 : free
func InternalDebugBreakClearData ¶
func InternalDebugBreakClearData()
func InternalDebugDrawCursorPos ¶
func InternalDebugDrawCursorPos()
func InternalDebugDrawCursorPosV ¶
func InternalDebugDrawCursorPosV(col uint32)
InternalDebugDrawCursorPosV parameter default value hint: col: 4278190335
func InternalDebugDrawItemRect ¶
func InternalDebugDrawItemRect()
func InternalDebugDrawItemRectV ¶
func InternalDebugDrawItemRectV(col uint32)
InternalDebugDrawItemRectV parameter default value hint: col: 4278190335
func InternalDebugDrawLineExtents ¶
func InternalDebugDrawLineExtents()
func InternalDebugDrawLineExtentsV ¶
func InternalDebugDrawLineExtentsV(col uint32)
InternalDebugDrawLineExtentsV parameter default value hint: col: 4278190335
func InternalDebugHookIdInfo ¶
func InternalDebugLocateItem ¶
func InternalDebugLocateItem(target_id ID)
Call sparingly: only 1 at the same time!
func InternalDebugLocateItemOnHover ¶
func InternalDebugLocateItemOnHover(target_id ID)
Only call on reaction to a mouse Hover: because only 1 at the same time!
func InternalDebugLocateItemResolveWithLastItem ¶
func InternalDebugLocateItemResolveWithLastItem()
func InternalDebugNodeColumns ¶
func InternalDebugNodeColumns(columns *OldColumns)
func InternalDebugNodeFont ¶
func InternalDebugNodeFont(font *Font)
func InternalDebugNodeFontGlyphsForSrcMask ¶ added in v1.5.0
func InternalDebugNodeInputTextState ¶
func InternalDebugNodeInputTextState(state *InputTextState)
func InternalDebugNodeMultiSelectState ¶
func InternalDebugNodeMultiSelectState(state *MultiSelectState)
func InternalDebugNodePlatformMonitor ¶
func InternalDebugNodePlatformMonitor(monitor *PlatformMonitor, label string, idx int32)
func InternalDebugNodeTabBar ¶
func InternalDebugNodeTable ¶
func InternalDebugNodeTable(table *Table)
func InternalDebugNodeTableSettings ¶
func InternalDebugNodeTableSettings(settings *TableSettings)
func InternalDebugNodeTexture ¶ added in v1.4.0
func InternalDebugNodeTexture(tex *TextureData, int_id int32)
func InternalDebugNodeTextureV ¶ added in v1.4.0
func InternalDebugNodeTextureV(tex *TextureData, int_id int32, highlight_rect *FontAtlasRect)
ID used to facilitate persisting the "current" texture. InternalDebugNodeTextureV parameter default value hint: highlight_rect: NULL
func InternalDebugNodeTypingSelectState ¶
func InternalDebugNodeTypingSelectState(state *TypingSelectState)
func InternalDebugNodeViewport ¶
func InternalDebugNodeViewport(viewport *ViewportP)
func InternalDebugNodeWindow ¶
func InternalDebugNodeWindowSettings ¶
func InternalDebugNodeWindowSettings(settings *WindowSettings)
func InternalDebugRenderKeyboardPreview ¶
func InternalDebugRenderKeyboardPreview(draw_list *DrawList)
func InternalDebugTextUnformattedWithLocateItem ¶
func InternalDebugTextUnformattedWithLocateItem(line_begin, line_end string)
func InternalDebugTextureIDToU64 ¶ added in v1.5.0
func InternalDemoMarker ¶ added in v1.5.0
func InternalDestroyPlatformWindow ¶
func InternalDestroyPlatformWindow(viewport *ViewportP)
func InternalDockBuilderCopyWindowSettings ¶
func InternalDockBuilderCopyWindowSettings(src_name, dst_name string)
func InternalDockBuilderFinish ¶
func InternalDockBuilderFinish(node_id ID)
func InternalDockBuilderRemoveNode ¶
func InternalDockBuilderRemoveNode(node_id ID)
Remove node and all its child, undock all windows
func InternalDockBuilderRemoveNodeChildNodes ¶
func InternalDockBuilderRemoveNodeChildNodes(node_id ID)
Remove all split/hierarchy. All remaining docked windows will be re-docked to the remaining root node (node_id).
func InternalDockBuilderRemoveNodeDockedWindows ¶
func InternalDockBuilderRemoveNodeDockedWindows(node_id ID)
func InternalDockBuilderRemoveNodeDockedWindowsV ¶
InternalDockBuilderRemoveNodeDockedWindowsV parameter default value hint: clear_settings_refs: true
func InternalDockContextClearNodes ¶
Use root_id==0 to clear all
func InternalDockContextEndFrame ¶
func InternalDockContextEndFrame(ctx *Context)
func InternalDockContextInitialize ¶
func InternalDockContextInitialize(ctx *Context)
func InternalDockContextNewFrameUpdateDocking ¶
func InternalDockContextNewFrameUpdateDocking(ctx *Context)
func InternalDockContextNewFrameUpdateUndocking ¶
func InternalDockContextNewFrameUpdateUndocking(ctx *Context)
func InternalDockContextProcessUndockWindowV ¶
func InternalDockContextProcessUndockWindowV(ctx *Context, window *Window, clear_persistent_docking_ref bool)
InternalDockContextProcessUndockWindowV parameter default value hint: clear_persistent_docking_ref: true
func InternalDockContextRebuildNodes ¶
func InternalDockContextRebuildNodes(ctx *Context)
func InternalDockContextShutdown ¶
func InternalDockContextShutdown(ctx *Context)
func InternalDockNodeEndAmendTabBar ¶
func InternalDockNodeEndAmendTabBar()
func InternalDragBehavior ¶
func InternalEndBoxSelect ¶
func InternalEndBoxSelect(scope_rect Rect, ms_flags MultiSelectFlags)
func InternalEndComboPreview ¶
func InternalEndComboPreview()
func InternalEndDisabledOverrideReenable ¶
func InternalEndDisabledOverrideReenable()
func InternalEndErrorTooltip ¶ added in v1.1.0
func InternalEndErrorTooltip()
func InternalErrorCheckEndFrameFinalizeErrorTooltip ¶ added in v1.1.0
func InternalErrorCheckEndFrameFinalizeErrorTooltip()
func InternalErrorCheckUsingSetCursorPosToExtendParentBoundaries ¶
func InternalErrorCheckUsingSetCursorPosToExtendParentBoundaries()
func InternalErrorLog ¶ added in v1.1.0
func InternalErrorRecoveryStoreState ¶ added in v1.1.0
func InternalErrorRecoveryStoreState(state_out *ErrorRecoveryState)
func InternalErrorRecoveryTryToRecoverState ¶ added in v1.1.0
func InternalErrorRecoveryTryToRecoverState(state_in *ErrorRecoveryState)
func InternalErrorRecoveryTryToRecoverWindowState ¶ added in v1.1.0
func InternalErrorRecoveryTryToRecoverWindowState(state_in *ErrorRecoveryState)
func InternalExtendHitBoxWhenNearViewportEdge ¶ added in v1.5.0
func InternalFindRenderedTextEndV ¶
Find the optional ## from which we stop displaying text. InternalFindRenderedTextEndV parameter default value hint:
func InternalFocusTopMostWindowUnderOne ¶
func InternalFocusTopMostWindowUnderOne(under_this_window, ignore_window *Window, filter_viewport *Viewport, flags FocusRequestFlags)
func InternalFocusWindow ¶
func InternalFocusWindow(window *Window)
func InternalFocusWindowV ¶
func InternalFocusWindowV(window *Window, flags FocusRequestFlags)
InternalFocusWindowV parameter default value hint: flags: 0
func InternalFontRasterizerDensity ¶ added in v1.4.0
func InternalFontRasterizerDensity() float32
func InternalGcAwakeTransientWindowBuffers ¶
func InternalGcAwakeTransientWindowBuffers(window *Window)
func InternalGcCompactTransientMiscBuffers ¶
func InternalGcCompactTransientMiscBuffers()
func InternalGcCompactTransientWindowBuffers ¶
func InternalGcCompactTransientWindowBuffers(window *Window)
func InternalImAbsDouble ¶
func InternalImAbsFloat ¶
func InternalImAbsInt ¶
func InternalImCharIsBlankA ¶
func InternalImCharIsBlankW ¶
func InternalImCharIsXdigitA ¶
func InternalImCountSetBits ¶ added in v1.3.1
func InternalImDot ¶
func InternalImFileLoadToMemoryV ¶
func InternalImFileLoadToMemoryV(filename, mode string, out_file_size *uint64, padding_bytes int32) uintptr
InternalImFileLoadToMemoryV parameter default value hint: out_file_size: NULL padding_bytes: 0
func InternalImFloorFloat ¶
Decent replacement for floorf()
func InternalImFontAtlasAddDrawListSharedData ¶ added in v1.4.0
func InternalImFontAtlasAddDrawListSharedData(atlas *FontAtlas, data *DrawListSharedData)
func InternalImFontAtlasBakedAddFontGlyphAdvancedX ¶ added in v1.4.0
func InternalImFontAtlasBakedAddFontGlyphAdvancedX(atlas *FontAtlas, baked *FontBaked, src *FontConfig, codepoint Wchar, advance_x float32)
func InternalImFontAtlasBakedDiscard ¶ added in v1.4.0
func InternalImFontAtlasBakedDiscardFontGlyph ¶ added in v1.4.0
func InternalImFontAtlasBakedSetFontGlyphBitmap ¶ added in v1.4.0
func InternalImFontAtlasBakedSetFontGlyphBitmap(atlas *FontAtlas, baked *FontBaked, src *FontConfig, glyph *FontGlyph, r *TextureRect, src_pixels *uint, src_fmt TextureFormat, src_pitch int32)
func InternalImFontAtlasBuildClear ¶ added in v1.4.0
func InternalImFontAtlasBuildClear(atlas *FontAtlas)
Clear output and custom rects
func InternalImFontAtlasBuildDestroy ¶ added in v1.4.0
func InternalImFontAtlasBuildDestroy(atlas *FontAtlas)
func InternalImFontAtlasBuildDiscardBakes ¶ added in v1.4.0
func InternalImFontAtlasBuildGetOversampleFactors ¶ added in v1.3.1
func InternalImFontAtlasBuildGetOversampleFactors(src *FontConfig, baked *FontBaked, out_oversample_h, out_oversample_v *int32)
func InternalImFontAtlasBuildInit ¶
func InternalImFontAtlasBuildInit(atlas *FontAtlas)
func InternalImFontAtlasBuildLegacyPreloadAllGlyphRanges ¶ added in v1.4.0
func InternalImFontAtlasBuildLegacyPreloadAllGlyphRanges(atlas *FontAtlas)
Legacy
func InternalImFontAtlasBuildMain ¶ added in v1.4.0
func InternalImFontAtlasBuildMain(atlas *FontAtlas)
func InternalImFontAtlasBuildNotifySetFont ¶ added in v1.5.0
func InternalImFontAtlasBuildRenderBitmapFromString ¶ added in v1.4.0
func InternalImFontAtlasBuildSetupFontLoader ¶ added in v1.4.0
func InternalImFontAtlasBuildSetupFontLoader(atlas *FontAtlas, font_loader *FontLoader)
func InternalImFontAtlasBuildSetupFontSpecialGlyphs ¶ added in v1.4.0
func InternalImFontAtlasBuildSetupFontSpecialGlyphs(atlas *FontAtlas, font *Font, src *FontConfig)
func InternalImFontAtlasBuildUpdatePointers ¶ added in v1.4.0
func InternalImFontAtlasBuildUpdatePointers(atlas *FontAtlas)
func InternalImFontAtlasDebugLogTextureRequests ¶ added in v1.4.0
func InternalImFontAtlasDebugLogTextureRequests(atlas *FontAtlas)
func InternalImFontAtlasFontDestroyOutput ¶ added in v1.4.0
func InternalImFontAtlasFontDestroySourceData ¶ added in v1.4.0
func InternalImFontAtlasFontDestroySourceData(atlas *FontAtlas, src *FontConfig)
func InternalImFontAtlasFontDiscardBakes ¶ added in v1.4.0
func InternalImFontAtlasFontInitOutput ¶ added in v1.4.0
Using FontDestroyOutput/FontInitOutput sequence useful notably if font loader params have changed
func InternalImFontAtlasFontRebuildOutput ¶ added in v1.5.0
func InternalImFontAtlasFontSourceAddToFont ¶ added in v1.4.0
func InternalImFontAtlasFontSourceAddToFont(atlas *FontAtlas, font *Font, src *FontConfig)
func InternalImFontAtlasFontSourceInit ¶ added in v1.4.0
func InternalImFontAtlasFontSourceInit(atlas *FontAtlas, src *FontConfig) bool
func InternalImFontAtlasGetMouseCursorTexData ¶ added in v1.3.1
func InternalImFontAtlasGetMouseCursorTexData(atlas *FontAtlas, cursor_type MouseCursor, out_offset, out_size *Vec2, out_uv_border, out_uv_fill [2]*Vec2) bool
func InternalImFontAtlasPackDiscardRect ¶ added in v1.4.0
func InternalImFontAtlasPackDiscardRect(atlas *FontAtlas, id FontAtlasRectId)
func InternalImFontAtlasPackInit ¶ added in v1.4.0
func InternalImFontAtlasPackInit(atlas *FontAtlas)
func InternalImFontAtlasRectIdGetGeneration ¶ added in v1.4.0
func InternalImFontAtlasRectIdGetGeneration(id FontAtlasRectId) uint32
func InternalImFontAtlasRectIdGetIndex ¶ added in v1.4.0
func InternalImFontAtlasRectIdGetIndex(id FontAtlasRectId) int32
func InternalImFontAtlasRemoveDrawListSharedData ¶ added in v1.4.0
func InternalImFontAtlasRemoveDrawListSharedData(atlas *FontAtlas, data *DrawListSharedData)
func InternalImFontAtlasTextureBlockConvert ¶ added in v1.4.0
func InternalImFontAtlasTextureBlockConvert(src_pixels *uint, src_fmt TextureFormat, src_pitch int32, dst_pixels *uint, dst_fmt TextureFormat, dst_pitch, w, h int32)
func InternalImFontAtlasTextureBlockCopy ¶ added in v1.4.0
func InternalImFontAtlasTextureBlockCopy(src_tex *TextureData, src_x, src_y int32, dst_tex *TextureData, dst_x, dst_y, w, h int32)
func InternalImFontAtlasTextureBlockFill ¶ added in v1.4.0
func InternalImFontAtlasTextureBlockFill(dst_tex *TextureData, dst_x, dst_y, w, h int32, col uint32)
func InternalImFontAtlasTextureBlockPostProcess ¶ added in v1.4.0
func InternalImFontAtlasTextureBlockPostProcess(data *FontAtlasPostProcessData)
func InternalImFontAtlasTextureBlockPostProcessMultiply ¶ added in v1.4.0
func InternalImFontAtlasTextureBlockPostProcessMultiply(data *FontAtlasPostProcessData, multiply_factor float32)
func InternalImFontAtlasTextureBlockQueueUpload ¶ added in v1.4.0
func InternalImFontAtlasTextureBlockQueueUpload(atlas *FontAtlas, tex *TextureData, x, y, w, h int32)
func InternalImFontAtlasTextureCompact ¶ added in v1.4.0
func InternalImFontAtlasTextureCompact(atlas *FontAtlas)
func InternalImFontAtlasTextureGrow ¶ added in v1.4.0
func InternalImFontAtlasTextureGrow(atlas *FontAtlas)
func InternalImFontAtlasTextureGrowV ¶ added in v1.4.0
InternalImFontAtlasTextureGrowV parameter default value hint: old_w: -1 old_h: -1
func InternalImFontAtlasTextureMakeSpace ¶ added in v1.4.0
func InternalImFontAtlasTextureMakeSpace(atlas *FontAtlas)
func InternalImFontAtlasTextureRepack ¶ added in v1.4.0
func InternalImFontAtlasUpdateDrawListsSharedData ¶ added in v1.4.0
func InternalImFontAtlasUpdateDrawListsSharedData(atlas *FontAtlas)
func InternalImFontAtlasUpdateDrawListsTextures ¶ added in v1.4.0
func InternalImFontAtlasUpdateDrawListsTextures(atlas *FontAtlas, old_tex, new_tex TextureRef)
func InternalImFontAtlasUpdateNewFrame ¶ added in v1.4.0
func InternalImFontCalcWordWrapPositionEx ¶ added in v1.4.0
func InternalImFontCalcWordWrapPositionExV ¶ added in v1.4.0
func InternalImFontCalcWordWrapPositionExV(font *Font, size float32, text string, wrap_width float32, flags DrawTextFlags) string
InternalImFontCalcWordWrapPositionExV parameter default value hint: flags: 0
func InternalImFormatString ¶
func InternalImHashSkipUncontributingPrefix ¶ added in v1.4.0
func InternalImInvLength ¶
func InternalImLengthSqrVec2 ¶
func InternalImLengthSqrVec4 ¶
func InternalImLinearSweep ¶
func InternalImLogDouble ¶
func InternalImLogFloat ¶
DragBehaviorT/SliderBehaviorT uses ImLog with either float/double and need the precision
func InternalImMemdup ¶ added in v1.4.0
Duplicate a chunk of memory.
func InternalImModPositive ¶
func InternalImPowDouble ¶
func InternalImPowFloat ¶
DragBehaviorT/SliderBehaviorT uses ImPow with either float/double and need the precision
func InternalImRound64 ¶ added in v1.4.0
FIXME: Positive values only.
func InternalImRsqrtDouble ¶
func InternalImRsqrtFloat ¶
func InternalImSaturate ¶
func InternalImSignDouble ¶
func InternalImSignFloat ¶
Sign operator - returns -1, 0 or 1 based on sign of argument
func InternalImStrSkipBlank ¶
Find first non-blank character.
func InternalImStrTrimBlanks ¶
func InternalImStrTrimBlanks(str string)
Remove leading and trailing blanks from a buffer.
func InternalImStrbol ¶
Find beginning-of-line
func InternalImStrchrRange ¶
Find first occurrence of 'c' in string range.
func InternalImStrdupcpy ¶
Copy in provided buffer, recreate buffer if needed.
func InternalImStristr ¶
Find a substring in a string range.
func InternalImStrlenW ¶
Computer string length (ImWchar string)
func InternalImStrncpy ¶
Copy to a certain count and always zero terminate (strncpy doesn't).
func InternalImStrnicmp ¶
Case insensitive compare to a certain count.
func InternalImTextCalcWordWrapNextLineStart ¶ added in v1.4.0
func InternalImTextCalcWordWrapNextLineStartV ¶ added in v1.4.0
func InternalImTextCalcWordWrapNextLineStartV(text string, flags DrawTextFlags) string
trim trailing space and find beginning of next line InternalImTextCalcWordWrapNextLineStartV parameter default value hint: flags: 0
func InternalImTextCharFromUtf8 ¶
read one character. return input UTF-8 bytes count
func InternalImTextCharToUtf8 ¶
return output UTF-8 bytes count
func InternalImTextClassifierClear ¶ added in v1.5.0
func InternalImTextClassifierClear(bits *uint32, codepoint_min, codepoint_end uint32, char_class WcharClass)
func InternalImTextClassifierSetCharClass ¶ added in v1.5.0
func InternalImTextClassifierSetCharClass(bits *uint32, codepoint_min, codepoint_end uint32, char_class WcharClass, c uint32)
func InternalImTextClassifierSetCharClassFromStr ¶ added in v1.5.0
func InternalImTextClassifierSetCharClassFromStr(bits *uint32, codepoint_min, codepoint_end uint32, char_class WcharClass, s string)
func InternalImTextCountCharsFromUtf8 ¶
return number of UTF-8 code-points (NOT bytes count)
func InternalImTextCountLines ¶
return number of lines taken by text. trailing carriage return doesn't count as an extra line.
func InternalImTextCountUtf8BytesFromChar ¶
return number of bytes to express one char in UTF-8
func InternalImTextCountUtf8BytesFromStr ¶
return number of bytes to express string in UTF-8
func InternalImTextFindPreviousUtf8Codepoint ¶
return previous UTF-8 code-point.
func InternalImTextFindValidUtf8CodepointEnd ¶ added in v1.5.0
return previous UTF-8 code-point if 'in_p' is not the end of a valid one.
func InternalImTextInitClassifiers ¶ added in v1.5.0
func InternalImTextInitClassifiers()
func InternalImTextStrFromUtf8V ¶
func InternalImTextStrFromUtf8V(out_buf *Wchar, out_buf_size int32, in_text, in_text_end string, in_remaining []string) int32
return input UTF-8 bytes count InternalImTextStrFromUtf8V parameter default value hint: in_remaining: NULL
func InternalImTextStrToUtf8 ¶
return output UTF-8 bytes count
func InternalImTextureDataGetFormatBytesPerPixel ¶ added in v1.4.0
func InternalImTextureDataGetFormatBytesPerPixel(format TextureFormat) int32
func InternalImTextureDataGetFormatName ¶ added in v1.4.0
func InternalImTextureDataGetFormatName(format TextureFormat) string
func InternalImTextureDataGetStatusName ¶ added in v1.4.0
func InternalImTextureDataGetStatusName(status TextureStatus) string
func InternalImToUpper ¶
func InternalImTriangleArea ¶
func InternalImTrunc64 ¶ added in v1.4.0
func InternalImTruncFloat ¶
func InternalImageButtonEx ¶
func InternalImageButtonEx(id ID, tex_ref TextureRef, image_size, uv0, uv1 Vec2, bg_col, tint_col Vec4) bool
func InternalImageButtonExV ¶
func InternalImageButtonExV(id ID, tex_ref TextureRef, image_size, uv0, uv1 Vec2, bg_col, tint_col Vec4, flags ButtonFlags) bool
InternalImageButtonExV parameter default value hint: flags: 0
func InternalInitialize ¶
func InternalInitialize()
func InternalInputTextDeactivateHook ¶
func InternalInputTextDeactivateHook(id ID)
func InternalInputTextEx ¶
func InternalInputTextEx(label, hint, buf string, buf_size int32, size_arg Vec2, flags InputTextFlags) bool
func InternalIsAliasKey ¶
func InternalIsClippedEx ¶
func InternalIsDragDropActive ¶
func InternalIsDragDropActive() bool
func InternalIsDragDropPayloadBeingAccepted ¶
func InternalIsDragDropPayloadBeingAccepted() bool
func InternalIsGamepadKey ¶
func InternalIsItemActiveAsInputText ¶ added in v1.3.1
func InternalIsItemActiveAsInputText() bool
This may be useful to apply workaround that a based on distinguish whenever an item is active as a text input field.
func InternalIsKeyChordPressedInputFlags ¶
func InternalIsKeyChordPressedInputFlags(key_chord KeyChord, flags InputFlags) bool
func InternalIsKeyChordPressedInputFlagsV ¶
func InternalIsKeyChordPressedInputFlagsV(key_chord KeyChord, flags InputFlags, owner_id ID) bool
InternalIsKeyChordPressedInputFlagsV parameter default value hint: owner_id: 0
func InternalIsKeyDownID ¶
func InternalIsKeyPressedInputFlags ¶
func InternalIsKeyPressedInputFlags(key Key, flags InputFlags) bool
func InternalIsKeyPressedInputFlagsV ¶
func InternalIsKeyPressedInputFlagsV(key Key, flags InputFlags, owner_id ID) bool
Important: when transitioning from old to new IsKeyPressed(): old API has "bool repeat = true", so would default to repeat. New API requires explicit ImGuiInputFlags_Repeat. InternalIsKeyPressedInputFlagsV parameter default value hint: owner_id: 0
func InternalIsKeyReleasedID ¶
func InternalIsKeyboardKey ¶
func InternalIsLRModKey ¶
func InternalIsLegacyKey ¶
func InternalIsMouseClickedInputFlags ¶
func InternalIsMouseClickedInputFlags(button MouseButton, flags InputFlags) bool
func InternalIsMouseClickedInputFlagsV ¶
func InternalIsMouseClickedInputFlagsV(button MouseButton, flags InputFlags, owner_id ID) bool
InternalIsMouseClickedInputFlagsV parameter default value hint: owner_id: 0
func InternalIsMouseDoubleClickedID ¶
func InternalIsMouseDoubleClickedID(button MouseButton, owner_id ID) bool
func InternalIsMouseDownID ¶
func InternalIsMouseDownID(button MouseButton, owner_id ID) bool
func InternalIsMouseDragPastThreshold ¶
func InternalIsMouseDragPastThreshold(button MouseButton) bool
func InternalIsMouseDragPastThresholdV ¶
func InternalIsMouseDragPastThresholdV(button MouseButton, lock_threshold float32) bool
InternalIsMouseDragPastThresholdV parameter default value hint: lock_threshold: -1.0f
func InternalIsMouseKey ¶
func InternalIsMouseReleasedID ¶
func InternalIsMouseReleasedID(button MouseButton, owner_id ID) bool
func InternalIsNamedKey ¶
func InternalIsNamedKeyOrMod ¶
func InternalIsPopupOpenID ¶
func InternalIsPopupOpenID(id ID, popup_flags PopupFlags) bool
func InternalIsPopupOpenRequestForItem ¶ added in v1.5.0
func InternalIsPopupOpenRequestForItem(flags PopupFlags, id ID) bool
func InternalIsPopupOpenRequestForWindow ¶ added in v1.5.0
func InternalIsPopupOpenRequestForWindow(flags PopupFlags) bool
func InternalIsWindowAbove ¶
func InternalIsWindowChildOf ¶
func InternalIsWindowContentHoverableV ¶
func InternalIsWindowContentHoverableV(window *Window, flags HoveredFlags) bool
InternalIsWindowContentHoverableV parameter default value hint: flags: 0
func InternalIsWindowInBeginStack ¶ added in v1.5.0
func InternalItemAdd ¶
func InternalItemAddV ¶
InternalItemAddV parameter default value hint: nav_bb: NULL extra_flags: 0
func InternalItemSizeRect ¶
func InternalItemSizeRect(bb Rect)
func InternalItemSizeRectV ¶
FIXME: This is a misleading API since we expect CursorPos to be bb.Min. InternalItemSizeRectV parameter default value hint: text_baseline_y: -1.0f
func InternalItemSizeVec2 ¶
func InternalItemSizeVec2(size Vec2)
func InternalItemSizeVec2V ¶
InternalItemSizeVec2V parameter default value hint: text_baseline_y: -1.0f
func InternalKeepAliveID ¶
func InternalKeepAliveID(id ID)
func InternalKeyChordName ¶
func InternalLocalizeGetMsg ¶
func InternalLogBegin ¶
-> BeginCapture() when we design v2 api, for now stay under the radar by using the old name.
func InternalLogRenderedText ¶
func InternalLogRenderedTextV ¶
InternalLogRenderedTextV parameter default value hint:
func InternalLogSetNextTextDecoration ¶
func InternalLogSetNextTextDecoration(prefix, suffix string)
func InternalLogToBuffer ¶
func InternalLogToBuffer()
func InternalLogToBufferV ¶
func InternalLogToBufferV(auto_open_depth int32)
Start logging/capturing to internal buffer InternalLogToBufferV parameter default value hint: auto_open_depth: -1
func InternalMarkIniSettingsDirty ¶
func InternalMarkIniSettingsDirty()
func InternalMarkIniSettingsDirtyWindowPtr ¶
func InternalMarkIniSettingsDirtyWindowPtr(window *Window)
func InternalMarkItemEdited ¶
func InternalMarkItemEdited(id ID)
Mark data associated to given item as "edited", used by IsItemDeactivatedAfterEdit() function.
func InternalMenuItemEx ¶
func InternalMenuItemExV ¶
InternalMenuItemExV parameter default value hint: shortcut: NULL selected: false enabled: true
func InternalMultiSelectAddSetAll ¶
func InternalMultiSelectAddSetAll(ms *MultiSelectTempData, selected bool)
func InternalMultiSelectAddSetRange ¶
func InternalMultiSelectAddSetRange(ms *MultiSelectTempData, selected bool, range_dir int32, first_item, last_item SelectionUserData)
func InternalMultiSelectItemHeader ¶ added in v1.2.0
func InternalMultiSelectItemHeader(id ID, p_selected *bool, p_button_flags *ButtonFlags)
func InternalNavClearPreferredPosForAxis ¶
func InternalNavClearPreferredPosForAxis(axis Axis)
func InternalNavHighlightActivated ¶
func InternalNavHighlightActivated(id ID)
func InternalNavInitRequestApplyResult ¶
func InternalNavInitRequestApplyResult()
func InternalNavInitWindow ¶
func InternalNavMoveRequestApplyResult ¶
func InternalNavMoveRequestApplyResult()
func InternalNavMoveRequestButNoResultYet ¶
func InternalNavMoveRequestButNoResultYet() bool
func InternalNavMoveRequestCancel ¶
func InternalNavMoveRequestCancel()
func InternalNavMoveRequestForward ¶
func InternalNavMoveRequestForward(move_dir, clip_dir Dir, move_flags NavMoveFlags, scroll_flags ScrollFlags)
func InternalNavMoveRequestResolveWithLastItem ¶
func InternalNavMoveRequestResolveWithLastItem(result *NavItemData)
func InternalNavMoveRequestResolveWithPastTreeNode ¶
func InternalNavMoveRequestResolveWithPastTreeNode(result *NavItemData, tree_node_data *TreeNodeStackData)
func InternalNavMoveRequestSubmit ¶
func InternalNavMoveRequestSubmit(move_dir, clip_dir Dir, move_flags NavMoveFlags, scroll_flags ScrollFlags)
func InternalNavMoveRequestTryWrapping ¶
func InternalNavMoveRequestTryWrapping(window *Window, move_flags NavMoveFlags)
func InternalNavUpdateCurrentWindowIsScrollPushableX ¶
func InternalNavUpdateCurrentWindowIsScrollPushableX()
func InternalOpenPopupEx ¶
func InternalOpenPopupEx(id ID)
func InternalOpenPopupExV ¶
func InternalOpenPopupExV(id ID, popup_flags PopupFlags)
InternalOpenPopupExV parameter default value hint: popup_flags: ImGuiPopupFlags_None
func InternalPopColumnsBackground ¶
func InternalPopColumnsBackground()
func InternalPopFocusScope ¶
func InternalPopFocusScope()
func InternalPopPasswordFont ¶ added in v1.4.0
func InternalPopPasswordFont()
func InternalPushColumnClipRect ¶
func InternalPushColumnClipRect(column_index int32)
func InternalPushColumnsBackground ¶
func InternalPushColumnsBackground()
func InternalPushFocusScope ¶
func InternalPushFocusScope(id ID)
func InternalPushOverrideID ¶
func InternalPushOverrideID(id ID)
Push given value as-is at the top of the ID stack (whereas PushID combines old and new hashes)
func InternalPushPasswordFont ¶ added in v1.3.1
func InternalPushPasswordFont()
func InternalRegisterFontAtlas ¶ added in v1.4.0
func InternalRegisterFontAtlas(atlas *FontAtlas)
func InternalRegisterUserTexture ¶ added in v1.4.0
func InternalRegisterUserTexture(tex *TextureData)
Register external texture. EXPERIMENTAL: DO NOT USE YET.
func InternalRemoveSettingsHandler ¶
func InternalRemoveSettingsHandler(type_name string)
func InternalRenderArrow ¶
func InternalRenderArrowV ¶
InternalRenderArrowV parameter default value hint: scale: 1.0f
func InternalRenderBullet ¶
func InternalRenderCheckMark ¶
func InternalRenderColorComponentMarker ¶ added in v1.5.0
func InternalRenderColorRectWithAlphaCheckerboardV ¶
func InternalRenderColorRectWithAlphaCheckerboardV(draw_list *DrawList, p_min, p_max Vec2, fill_col uint32, grid_step float32, grid_off Vec2, rounding float32, flags DrawFlags)
InternalRenderColorRectWithAlphaCheckerboardV parameter default value hint: rounding: 0.0f flags: 0
func InternalRenderDragDropTargetRectEx ¶ added in v1.5.0
func InternalRenderDragDropTargetRectForItem ¶ added in v1.5.0
func InternalRenderDragDropTargetRectForItem(bb Rect)
func InternalRenderFrame ¶
func InternalRenderFrameBorder ¶
func InternalRenderFrameBorder(p_min, p_max Vec2)
func InternalRenderFrameBorderV ¶
InternalRenderFrameBorderV parameter default value hint: rounding: 0.0f
func InternalRenderFrameV ¶
InternalRenderFrameV parameter default value hint: borders: true rounding: 0.0f
func InternalRenderMouseCursor ¶
func InternalRenderMouseCursor(pos Vec2, scale float32, mouse_cursor MouseCursor, col_fill, col_border, col_shadow uint32)
func InternalRenderNavCursor ¶ added in v1.1.0
func InternalRenderNavCursorV ¶ added in v1.1.0
func InternalRenderNavCursorV(bb Rect, id ID, flags NavRenderCursorFlags)
Navigation highlight InternalRenderNavCursorV parameter default value hint: flags: ImGuiNavRenderCursorFlags_None
func InternalRenderRectFilledInRangeH ¶ added in v1.5.0
func InternalRenderText ¶
func InternalRenderTextClippedExV ¶
func InternalRenderTextClippedExV(draw_list *DrawList, pos_min, pos_max Vec2, text string, text_size_if_known *Vec2, align Vec2, clip_rect *Rect)
InternalRenderTextClippedExV parameter default value hint: align: ImVec2(0,0) clip_rect: NULL
func InternalRenderTextClippedV ¶
func InternalRenderTextClippedV(pos_min, pos_max Vec2, text string, text_size_if_known *Vec2, align Vec2, clip_rect *Rect)
InternalRenderTextClippedV parameter default value hint: align: ImVec2(0,0) clip_rect: NULL
func InternalRenderTextV ¶
InternalRenderTextV parameter default value hint: hide_text_after_hash: true
func InternalRoundedFontSize ¶ added in v1.4.0
func InternalScale ¶ added in v1.5.0
func InternalScale() float32
FIXME-DPI: I don't want to formalize this just yet. Because reasons. Please don't use.
func InternalScrollToItem ¶
func InternalScrollToItem()
func InternalScrollToItemV ¶
func InternalScrollToItemV(flags ScrollFlags)
InternalScrollToItemV parameter default value hint: flags: 0
func InternalScrollToRect ¶
func InternalScrollToRectV ¶
func InternalScrollToRectV(window *Window, rect Rect, flags ScrollFlags)
InternalScrollToRectV parameter default value hint: flags: 0
func InternalScrollbar ¶
func InternalScrollbar(axis Axis)
func InternalScrollbarEx ¶
func InternalScrollbarExV ¶ added in v1.3.1
func InternalScrollbarExV(bb Rect, id ID, axis Axis, p_scroll_v *int64, avail_v, contents_v int64, draw_rounding_flags DrawFlags) bool
InternalScrollbarExV parameter default value hint: draw_rounding_flags: 0
func InternalSeparatorEx ¶
func InternalSeparatorEx(flags SeparatorFlags)
func InternalSeparatorExV ¶
func InternalSeparatorExV(flags SeparatorFlags, thickness float32)
InternalSeparatorExV parameter default value hint: thickness: 1.0f
func InternalSeparatorTextEx ¶
func InternalSetActiveID ¶
func InternalSetActiveIdUsingAllKeyboardKeys ¶
func InternalSetActiveIdUsingAllKeyboardKeys()
func InternalSetContextName ¶ added in v1.5.0
func InternalSetCurrentFont ¶
func InternalSetFocusID ¶
func InternalSetFontRasterizerDensity ¶ added in v1.4.0
func InternalSetFontRasterizerDensity(rasterizer_density float32)
func InternalSetHoveredID ¶
func InternalSetHoveredID(id ID)
func InternalSetItemKeyOwnerInputFlags ¶
func InternalSetItemKeyOwnerInputFlags(key Key, flags InputFlags)
Set key owner to last item if it is hovered or active. Equivalent to 'if (IsItemHovered() || IsItemActive()) SetKeyOwner(key, GetItemID());'.
func InternalSetKeyOwner ¶
func InternalSetKeyOwnerV ¶
func InternalSetKeyOwnerV(key Key, owner_id ID, flags InputFlags)
InternalSetKeyOwnerV parameter default value hint: flags: 0
func InternalSetKeyOwnersForKeyChordV ¶
func InternalSetKeyOwnersForKeyChordV(key KeyChord, owner_id ID, flags InputFlags)
InternalSetKeyOwnersForKeyChordV parameter default value hint: flags: 0
func InternalSetLastItemData ¶
func InternalSetLastItemData(item_id ID, item_flags ItemFlags, status_flags ItemStatusFlags, item_rect Rect)
func InternalSetNavCursorVisibleAfterMove ¶ added in v1.1.0
func InternalSetNavCursorVisibleAfterMove()
func InternalSetNavFocusScope ¶
func InternalSetNavFocusScope(focus_scope_id ID)
func InternalSetNavID ¶
func InternalSetNavWindow ¶
func InternalSetNavWindow(window *Window)
func InternalSetNextItemColorMarker ¶ added in v1.5.0
func InternalSetNextItemColorMarker(col uint32)
func InternalSetNextWindowRefreshPolicy ¶
func InternalSetNextWindowRefreshPolicy(flags WindowRefreshFlags)
func InternalSetShortcutRouting ¶
func InternalSetShortcutRouting(key_chord KeyChord, flags InputFlags, owner_id ID) bool
owner_id needs to be explicit and cannot be 0
func InternalSetWindowCollapsedWindowPtrV ¶
InternalSetWindowCollapsedWindowPtrV parameter default value hint: cond: 0
func InternalSetWindowDock ¶
func InternalSetWindowHiddenAndSkipItemsForCurrentFrame ¶
func InternalSetWindowHiddenAndSkipItemsForCurrentFrame(window *Window)
func InternalSetWindowParentWindowForFocusRoute ¶
func InternalSetWindowParentWindowForFocusRoute(window, parent_window *Window)
You may also use SetNextWindowClass()'s FocusRouteParentWindowId field.
func InternalSetWindowPosWindowPtrV ¶
InternalSetWindowPosWindowPtrV parameter default value hint: cond: 0
func InternalSetWindowSizeWindowPtrV ¶
InternalSetWindowSizeWindowPtrV parameter default value hint: cond: 0
func InternalShortcutID ¶
func InternalShortcutID(key_chord KeyChord, flags InputFlags, owner_id ID) bool
func InternalShowFontAtlas ¶
func InternalShowFontAtlas(atlas *FontAtlas)
func InternalShrinkWidths ¶
func InternalShrinkWidths(items *ShrinkWidthItem, count int32, width_excess, width_min float32)
func InternalShutdown ¶
func InternalShutdown()
Since 1.60 this is a _private_ function. You can call DestroyContext() to destroy the context created by CreateContext().
func InternalSliderBehavior ¶
func InternalSplitterBehaviorV ¶
func InternalSplitterBehaviorV(bb Rect, id ID, axis Axis, size1, size2 *float32, min_size1, min_size2, hover_extend, hover_visibility_delay float32, bg_col uint32) bool
InternalSplitterBehaviorV parameter default value hint: hover_extend: 0.0f hover_visibility_delay: 0.0f bg_col: 0
func InternalStartMouseMovingWindow ¶
func InternalStartMouseMovingWindow(window *Window)
func InternalStopMouseMovingWindow ¶ added in v1.4.0
func InternalStopMouseMovingWindow()
func InternalTabBarAddTab ¶
func InternalTabBarAddTab(tab_bar *TabBar, tab_flags TabItemFlags, window *Window)
func InternalTabBarCloseTab ¶
func InternalTabBarQueueFocusStr ¶ added in v1.1.0
func InternalTabBarQueueFocusTabItemPtr ¶ added in v1.1.0
func InternalTabBarRemove ¶ added in v1.4.0
func InternalTabBarRemove(tab_bar *TabBar)
func InternalTabBarRemoveTab ¶
func InternalTabItemBackground ¶
func InternalTabItemBackground(draw_list *DrawList, bb Rect, flags TabItemFlags, col uint32)
func InternalTabItemEx ¶
func InternalTabItemSpacing ¶ added in v1.3.1
func InternalTabItemSpacing(str_id string, flags TabItemFlags, width float32)
func InternalTableAngledHeadersRowEx ¶
func InternalTableAngledHeadersRowEx(row_id ID, angle, max_label_width float32, data *TableHeaderData, data_count int32)
func InternalTableBeginApplyRequests ¶
func InternalTableBeginApplyRequests(table *Table)
func InternalTableBeginCell ¶
func InternalTableBeginRow ¶
func InternalTableBeginRow(table *Table)
func InternalTableDrawBorders ¶
func InternalTableDrawBorders(table *Table)
func InternalTableDrawDefaultContextMenu ¶
func InternalTableDrawDefaultContextMenu(table *Table, flags_for_section_to_display TableFlags)
func InternalTableEndCell ¶
func InternalTableEndCell(table *Table)
func InternalTableEndRow ¶
func InternalTableEndRow(table *Table)
func InternalTableFixColumnSortDirection ¶
func InternalTableFixColumnSortDirection(table *Table, column *TableColumn)
func InternalTableFixDisplayOrder ¶ added in v1.5.0
func InternalTableFixDisplayOrder(table *Table)
func InternalTableGcCompactSettings ¶
func InternalTableGcCompactSettings()
func InternalTableGcCompactTransientBuffersTablePtr ¶
func InternalTableGcCompactTransientBuffersTablePtr(table *Table)
func InternalTableGcCompactTransientBuffersTableTempDataPtr ¶
func InternalTableGcCompactTransientBuffersTableTempDataPtr(table *TableTempData)
func InternalTableGetColumnWidthAuto ¶
func InternalTableGetColumnWidthAuto(table *Table, column *TableColumn) float32
func InternalTableGetHeaderAngledMaxLabelWidth ¶
func InternalTableGetHeaderAngledMaxLabelWidth() float32
func InternalTableGetHeaderRowHeight ¶
func InternalTableGetHeaderRowHeight() float32
func InternalTableGetHoveredRow ¶
func InternalTableGetHoveredRow() int32
Retrieve *PREVIOUS FRAME* hovered row. This difference with TableGetHoveredColumn() is the reason why this is not public yet.
func InternalTableLoadSettings ¶
func InternalTableLoadSettings(table *Table)
func InternalTableMergeDrawChannels ¶
func InternalTableMergeDrawChannels(table *Table)
func InternalTableOpenContextMenu ¶
func InternalTableOpenContextMenu()
func InternalTableOpenContextMenuV ¶
func InternalTableOpenContextMenuV(column_n int32)
InternalTableOpenContextMenuV parameter default value hint: column_n: -1
func InternalTablePopBackgroundChannel ¶
func InternalTablePopBackgroundChannel()
func InternalTablePopColumnChannel ¶ added in v1.4.0
func InternalTablePopColumnChannel()
func InternalTablePushBackgroundChannel ¶
func InternalTablePushBackgroundChannel()
func InternalTablePushColumnChannel ¶ added in v1.4.0
func InternalTablePushColumnChannel(column_n int32)
func InternalTableQueueSetColumnDisplayOrder ¶ added in v1.5.0
func InternalTableRemove ¶
func InternalTableRemove(table *Table)
func InternalTableResetSettings ¶
func InternalTableResetSettings(table *Table)
func InternalTableSaveSettings ¶
func InternalTableSaveSettings(table *Table)
func InternalTableSetColumnDisplayOrder ¶ added in v1.5.0
func InternalTableSetColumnSortDirection ¶
func InternalTableSetColumnSortDirection(column_n int32, sort_direction SortDirection, append_to_sort_specs bool)
func InternalTableSetColumnWidthAutoAll ¶
func InternalTableSetColumnWidthAutoAll(table *Table)
func InternalTableSettingsAddSettingsHandler ¶
func InternalTableSettingsAddSettingsHandler()
func InternalTableSetupDrawChannels ¶
func InternalTableSetupDrawChannels(table *Table)
func InternalTableSortSpecsBuild ¶
func InternalTableSortSpecsBuild(table *Table)
func InternalTableSortSpecsSanitize ¶
func InternalTableSortSpecsSanitize(table *Table)
func InternalTableUpdateBorders ¶
func InternalTableUpdateBorders(table *Table)
func InternalTableUpdateColumnsWeightFromWidth ¶
func InternalTableUpdateColumnsWeightFromWidth(table *Table)
func InternalTableUpdateLayout ¶
func InternalTableUpdateLayout(table *Table)
func InternalTeleportMousePos ¶
func InternalTeleportMousePos(pos Vec2)
func InternalTempInputScalar ¶
func InternalTempInputScalarV ¶
func InternalTempInputScalarV(bb Rect, id ID, label string, data_type DataType, p_data uintptr, format string, p_clamp_min, p_clamp_max uintptr) bool
InternalTempInputScalarV parameter default value hint: p_clamp_min: NULL p_clamp_max: NULL
func InternalTempInputText ¶
func InternalTestKeyOwner ¶
Test that key is either not owned, either owned by 'owner_id'
func InternalTextAligned ¶ added in v1.4.0
FIXME-WIP: Works but API is likely to be reworked. This is designed for 1 item on the line. (#7024)
func InternalTextEx ¶
func InternalTextEx(text string)
func InternalTextExV ¶
InternalTextExV parameter default value hint: flags: 0
func InternalTreeNodeBehavior ¶
func InternalTreeNodeBehavior(id ID, flags TreeNodeFlags, label string) bool
func InternalTreeNodeBehaviorV ¶
func InternalTreeNodeBehaviorV(id ID, flags TreeNodeFlags, label, label_end string) bool
InternalTreeNodeBehaviorV parameter default value hint: label_end: NULL
func InternalTreeNodeDrawLineToChildNode ¶ added in v1.4.0
func InternalTreeNodeDrawLineToChildNode(target_pos Vec2)
func InternalTreeNodeDrawLineToTreePop ¶ added in v1.4.0
func InternalTreeNodeDrawLineToTreePop(data *TreeNodeStackData)
func InternalTreeNodeSetOpen ¶
func InternalTreeNodeUpdateNextOpen ¶
func InternalTreeNodeUpdateNextOpen(storage_id ID, flags TreeNodeFlags) bool
Return open state. Consume previous SetNextItemOpen() data, if any. May return true when logging.
func InternalTreePushOverrideID ¶
func InternalTreePushOverrideID(id ID)
func InternalTypematicRepeatRate ¶
func InternalTypematicRepeatRate(flags InputFlags, repeat_delay, repeat_rate *float32)
func InternalUnregisterFontAtlas ¶ added in v1.4.0
func InternalUnregisterFontAtlas(atlas *FontAtlas)
func InternalUnregisterUserTexture ¶ added in v1.4.0
func InternalUnregisterUserTexture(tex *TextureData)
func InternalUpdateCurrentFontSize ¶ added in v1.4.0
func InternalUpdateCurrentFontSize(restore_font_size_after_scaling float32)
func InternalUpdateHoveredWindowAndCaptureFlags ¶
func InternalUpdateHoveredWindowAndCaptureFlags(mouse_pos Vec2)
func InternalUpdateInputEvents ¶
func InternalUpdateInputEvents(trickle_fast_inputs bool)
func InternalUpdateMouseMovingWindowEndFrame ¶
func InternalUpdateMouseMovingWindowEndFrame()
func InternalUpdateMouseMovingWindowNewFrame ¶
func InternalUpdateMouseMovingWindowNewFrame()
func InternalUpdateWindowParentAndRootLinks ¶
func InternalUpdateWindowParentAndRootLinks(window *Window, flags WindowFlags, parent_window *Window)
func InternalUpdateWindowSkipRefresh ¶
func InternalUpdateWindowSkipRefresh(window *Window)
func InvisibleButton ¶
func InvisibleButtonV ¶
func InvisibleButtonV(str_id string, size Vec2, flags ButtonFlags) bool
flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) InvisibleButtonV parameter default value hint: flags: 0
func IsAnyMouseDown ¶
func IsAnyMouseDown() bool
[WILL OBSOLETE] is any mouse button held? This was designed for backends, but prefer having backend maintain a mask of held mouse buttons, because upcoming input queue system will make this invalid.
func IsItemActivated ¶
func IsItemActivated() bool
was the last item just made active (item was previously inactive).
func IsItemActive ¶
func IsItemActive() bool
is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false)
func IsItemClicked ¶
func IsItemClicked() bool
func IsItemClickedV ¶
func IsItemClickedV(mouse_button MouseButton) bool
is the last item hovered and mouse clicked on? (**) == IsMouseClicked(mouse_button) && IsItemHovered()Important. (**) this is NOT equivalent to the behavior of e.g. Button(). Read comments in function definition. IsItemClickedV parameter default value hint: mouse_button: 0
func IsItemDeactivated ¶
func IsItemDeactivated() bool
was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that require continuous editing.
func IsItemDeactivatedAfterEdit ¶
func IsItemDeactivatedAfterEdit() bool
was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that require continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item).
func IsItemEdited ¶
func IsItemEdited() bool
did the last item modify its underlying value this frame? or was pressed? This is generally the same as the "bool" return value of many widgets.
func IsItemFocused ¶
func IsItemFocused() bool
is the last item focused for keyboard/gamepad navigation?
func IsItemHovered ¶
func IsItemHovered() bool
func IsItemHoveredV ¶
func IsItemHoveredV(flags HoveredFlags) bool
is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. IsItemHoveredV parameter default value hint: flags: 0
func IsItemToggledOpen ¶
func IsItemToggledOpen() bool
was the last item open state toggled? set by TreeNode().
func IsItemToggledSelection ¶
func IsItemToggledSelection() bool
Was the last item selection state toggled? Useful if you need the per-item information _before_ reaching EndMultiSelect(). We only returns toggle _event_ in order to handle clipping correctly.
func IsItemVisible ¶
func IsItemVisible() bool
is the last item visible? (items may be out of sight because of clipping/scrolling)
func IsKeyChordPressed ¶
was key chord (mods + key) pressed, e.g. you can pass 'ImGuiMod_Ctrl | ImGuiKey_S' as a key-chord. This doesn't do any routing or focus check, please consider using Shortcut() function instead.
func IsKeyPressedBool ¶
func IsKeyPressedBoolV ¶
was key pressed (went from !Down to Down)? Repeat rate uses io.KeyRepeatDelay / KeyRepeatRate. IsKeyPressedBoolV parameter default value hint: repeat: true
func IsMouseClickedBool ¶
func IsMouseClickedBool(button MouseButton) bool
func IsMouseClickedBoolV ¶
func IsMouseClickedBoolV(button MouseButton, repeat bool) bool
did mouse button clicked? (went from !Down to Down). Same as GetMouseClickedCount() == 1. IsMouseClickedBoolV parameter default value hint: repeat: false
func IsMouseDoubleClicked ¶
func IsMouseDoubleClicked(button MouseButton) bool
did mouse button double-clicked? Same as GetMouseClickedCount() == 2. (note that a double-click will also report IsMouseClicked() == true)
func IsMouseDragging ¶
func IsMouseDragging(button MouseButton) bool
func IsMouseDraggingV ¶
func IsMouseDraggingV(button MouseButton, lock_threshold float32) bool
is mouse dragging? (uses io.MouseDraggingThreshold if lock_threshold < 0.0f) IsMouseDraggingV parameter default value hint: lock_threshold: -1.0f
func IsMouseHoveringRect ¶
func IsMouseHoveringRectV ¶
is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block. IsMouseHoveringRectV parameter default value hint: clip: true
func IsMousePosValid ¶
func IsMousePosValid() bool
func IsMousePosValidV ¶
by convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse available IsMousePosValidV parameter default value hint: mouse_pos: NULL
func IsMouseReleased ¶
func IsMouseReleased(button MouseButton) bool
did mouse button released? (went from Down to !Down)
func IsMouseReleasedWithDelay ¶ added in v1.3.1
func IsMouseReleasedWithDelay(button MouseButton, delay float32) bool
delayed mouse release (use very sparingly!). Generally used with 'delay >= io.MouseDoubleClickTime' + combined with a 'io.MouseClickedLastCount==1' test. This is a very rarely used UI idiom, but some apps use this: e.g. MS Explorer single click on an icon to rename.
func IsPopupOpenStr ¶
func IsPopupOpenStrV ¶
func IsPopupOpenStrV(str_id string, flags PopupFlags) bool
return true if the popup is open. IsPopupOpenStrV parameter default value hint: flags: 0
func IsRectVisible ¶
test if rectangle (of given size, starting from cursor position) is visible / not clipped.
func IsRectVisibleVec2 ¶
test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side.
func IsWindowAppearing ¶
func IsWindowAppearing() bool
func IsWindowCollapsed ¶
func IsWindowCollapsed() bool
func IsWindowFocused ¶
func IsWindowFocused() bool
func IsWindowFocusedV ¶
func IsWindowFocusedV(flags FocusedFlags) bool
is current window focused? or its root/child, depending on flags. see flags for options. IsWindowFocusedV parameter default value hint: flags: 0
func IsWindowHovered ¶
func IsWindowHovered() bool
func IsWindowHoveredV ¶
func IsWindowHoveredV(flags HoveredFlags) bool
is current window hovered and hoverable (e.g. not blocked by a popup/modal)? See ImGuiHoveredFlags_ for options. IMPORTANT: If you are trying to check whether your mouse should be dispatched to Dear ImGui or to your underlying app, you should not use this function! Use the 'io.WantCaptureMouse' boolean for that! Refer to FAQ entry "How can I tell whether to dispatch mouse/keyboard to Dear ImGui or my application?" for details. IsWindowHoveredV parameter default value hint: flags: 0
func KeyName ¶
[DEBUG] returns English name of the key. Those names are provided for debugging purpose and are not meant to be saved persistently nor compared.
func KeyPressedAmount ¶
uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate
func LabelText ¶
func LabelText(label, fmt string)
display text+label aligned the same way as value+label widgets
func ListBoxStrarr ¶
func ListBoxStrarrV ¶
func ListBoxStrarrV(label string, current_item *int32, items []string, items_count, height_in_items int32) bool
ListBoxStrarrV parameter default value hint: height_in_items: -1
func LoadIniSettingsFromDisk ¶
func LoadIniSettingsFromDisk(ini_filename string)
call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename).
func LoadIniSettingsFromMemory ¶
func LoadIniSettingsFromMemory(ini_data string)
func LoadIniSettingsFromMemoryV ¶
call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. LoadIniSettingsFromMemoryV parameter default value hint: ini_size: 0
func LogToClipboard ¶
func LogToClipboard()
func LogToClipboardV ¶
func LogToClipboardV(auto_open_depth int32)
start logging to OS clipboard LogToClipboardV parameter default value hint: auto_open_depth: -1
func LogToFileV ¶
start logging to file LogToFileV parameter default value hint: auto_open_depth: -1 filename: NULL
func LogToTTYV ¶
func LogToTTYV(auto_open_depth int32)
start logging to tty (stdout) LogToTTYV parameter default value hint: auto_open_depth: -1
func MenuItemBool ¶
func MenuItemBoolPtr ¶
func MenuItemBoolPtrV ¶
return true when activated + toggle (*p_selected) if p_selected != NULL MenuItemBoolPtrV parameter default value hint: enabled: true
func MenuItemBoolV ¶
return true when activated. MenuItemBoolV parameter default value hint: shortcut: NULL selected: false enabled: true
func MouseClickedCount ¶
func MouseClickedCount(button MouseButton) int32
return the number of successive mouse-clicks at the time where a click happen (otherwise 0).
func NewEmptystbrpcontextopaque ¶ added in v1.4.0
func NewEmptystbrpcontextopaque() *stbrpcontextopaque
NewEmptystbrpcontextopaque creates stbrpcontextopaque with its 0 value.
func NewFrame ¶
func NewFrame()
start a new Dear ImGui frame, you can submit any command from this point until Render()/EndFrame().
func NewLine ¶
func NewLine()
undo a SameLine() or force a new line when in a horizontal-layout context.
func NewstbrpcontextopaqueFromC ¶ added in v1.4.0
func NewstbrpcontextopaqueFromC[SRC any](cvalue SRC) *stbrpcontextopaque
NewstbrpcontextopaqueFromC creates stbrpcontextopaque from its C pointer. SRC ~= *C.stbrp_context_opaque
func NewstbrpnodeFromC ¶ added in v1.4.0
func NewstbrpnodeFromC[SRC any](cvalue SRC) *stbrpnode
NewstbrpnodeFromC creates stbrpnode from its C pointer. SRC ~= *C.stbrp_node
func NextColumn ¶
func NextColumn()
next column, defaults to current row or next row if the current row is finished
func OpenPopupID ¶
func OpenPopupID(id ID)
func OpenPopupIDV ¶
func OpenPopupIDV(id ID, popup_flags PopupFlags)
id overload to facilitate calling from nested stacks OpenPopupIDV parameter default value hint: popup_flags: 0
func OpenPopupOnItemClick ¶
func OpenPopupOnItemClick()
func OpenPopupOnItemClickV ¶
func OpenPopupOnItemClickV(str_id string, popup_flags PopupFlags)
helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors) OpenPopupOnItemClickV parameter default value hint: str_id: NULL popup_flags: 0
func OpenPopupStr ¶
func OpenPopupStr(str_id string)
func OpenPopupStrV ¶
func OpenPopupStrV(str_id string, popup_flags PopupFlags)
call to mark popup as open (don't call every frame!). OpenPopupStrV parameter default value hint: popup_flags: 0
func PlotHistogramFloatPtr ¶
func PlotHistogramFloatPtrV ¶
func PlotHistogramFloatPtrV(label string, values *float32, values_count, values_offset int32, overlay_text string, scale_min, scale_max float32, graph_size Vec2, stride int32)
PlotHistogramFloatPtrV parameter default value hint: values_offset: 0 overlay_text: NULL scale_min: FLT_MAX scale_max: FLT_MAX graph_size: ImVec2(0,0) stride: sizeof(float)
func PlotLinesFloatPtr ¶
func PlotLinesFloatPtrV ¶
func PlotLinesFloatPtrV(label string, values *float32, values_count, values_offset int32, overlay_text string, scale_min, scale_max float32, graph_size Vec2, stride int32)
PlotLinesFloatPtrV parameter default value hint: values_offset: 0 overlay_text: NULL scale_min: FLT_MAX scale_max: FLT_MAX graph_size: ImVec2(0,0) stride: sizeof(float)
func PopClipRect ¶
func PopClipRect()
func PopItemFlag ¶
func PopItemFlag()
func PopItemWidth ¶
func PopItemWidth()
func PopStyleColor ¶
func PopStyleColor()
func PopStyleColorV ¶
func PopStyleColorV(count int32)
PopStyleColorV parameter default value hint: count: 1
func PopStyleVar ¶
func PopStyleVar()
func PopStyleVarV ¶
func PopStyleVarV(count int32)
PopStyleVarV parameter default value hint: count: 1
func PopTextWrapPos ¶
func PopTextWrapPos()
func ProgressBar ¶
func ProgressBar(fraction float32)
func ProgressBarV ¶
ProgressBarV parameter default value hint: size_arg: ImVec2(-FLT_MIN,0) overlay: NULL
func PushClipRect ¶
func PushIDStrStr ¶
func PushIDStrStr(str_id_begin, str_id_end string)
push string into the ID stack (will hash string).
func PushItemFlag ¶
modify specified shared item flag, e.g. PushItemFlag(ImGuiItemFlags_NoTabStop, true)
func PushItemWidth ¶
func PushItemWidth(item_width float32)
push width of items for common large "item+label" widgets. >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -FLT_MIN always align width to the right side).
func PushStyleColorU32 ¶
modify a style color. always use this if you modify the style after NewFrame().
func PushStyleColorVec4 ¶
func PushStyleVarFloat ¶
modify a style float variable. always use this if you modify the style after NewFrame()!
func PushStyleVarVec2 ¶
modify a style ImVec2 variable. "
func PushStyleVarX ¶
modify X component of a style ImVec2 variable. "
func PushStyleVarY ¶
modify Y component of a style ImVec2 variable. "
func PushTextWrapPos ¶
func PushTextWrapPos()
func PushTextWrapPosV ¶
func PushTextWrapPosV(wrap_local_pos_x float32)
push word-wrapping position for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space PushTextWrapPosV parameter default value hint: wrap_local_pos_x: 0.0f
func RadioButtonBool ¶
use with e.g. if (RadioButton("one", my_value==1)) my_value = 1;
func RadioButtonIntPtr ¶
shortcut to handle the above pattern when value is an integer
func Render ¶
func Render()
ends the Dear ImGui frame, finalize the draw data. You can then get call GetDrawData().
func RenderPlatformWindowsDefault ¶
func RenderPlatformWindowsDefault()
func RenderPlatformWindowsDefaultV ¶
func RenderPlatformWindowsDefaultV(platform_render_arg, renderer_render_arg uintptr)
call in main loop. will call RenderWindow/SwapBuffers platform functions for each secondary viewport which doesn't have the ImGuiViewportFlags_Minimized flag set. May be reimplemented by user for custom rendering needs. RenderPlatformWindowsDefaultV parameter default value hint: platform_render_arg: NULL renderer_render_arg: NULL
func ResetMouseDragDelta ¶
func ResetMouseDragDelta()
func ResetMouseDragDeltaV ¶
func ResetMouseDragDeltaV(button MouseButton)
ResetMouseDragDeltaV parameter default value hint: button: 0
func SameLineV ¶
func SameLineV(offset_from_start_x, spacing float32)
call between widgets or groups to layout them horizontally. X position given in window coordinates. SameLineV parameter default value hint: offset_from_start_x: 0.0f spacing: -1.0f
func SaveIniSettingsToDisk ¶
func SaveIniSettingsToDisk(ini_filename string)
this is automatically called (if io.IniFilename is not empty) a few seconds after any modification that should be reflected in the .ini file (and also by DestroyContext).
func SaveIniSettingsToMemory ¶
func SaveIniSettingsToMemory() string
func SaveIniSettingsToMemoryV ¶
return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. SaveIniSettingsToMemoryV parameter default value hint: out_ini_size: NULL
func ScrollMaxX ¶
func ScrollMaxX() float32
get maximum scrolling amount ~~ ContentSize.x - WindowSize.x - DecorationsSize.x
func ScrollMaxY ¶
func ScrollMaxY() float32
get maximum scrolling amount ~~ ContentSize.y - WindowSize.y - DecorationsSize.y
func SelectableBool ¶
func SelectableBoolPtr ¶
func SelectableBoolPtrV ¶
func SelectableBoolPtrV(label string, p_selected *bool, flags SelectableFlags, size Vec2) bool
"bool* p_selected" point to the selection state (read-write), as a convenient helper. SelectableBoolPtrV parameter default value hint: flags: 0 size: ImVec2(0,0)
func SelectableBoolV ¶
func SelectableBoolV(label string, selected bool, flags SelectableFlags, size Vec2) bool
"bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height SelectableBoolV parameter default value hint: selected: false flags: 0 size: ImVec2(0,0)
func Separator ¶
func Separator()
separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator.
func SeparatorText ¶
func SeparatorText(label string)
currently: formatted text with a horizontal line
func SetAllocatorFunctions ¶ added in v1.2.0
func SetAllocatorFunctions(alloc_func MemAllocFunc, free_func MemFreeFunc)
func SetAllocatorFunctionsV ¶ added in v1.2.0
func SetAllocatorFunctionsV(alloc_func MemAllocFunc, free_func MemFreeFunc, user_data uintptr)
SetAllocatorFunctionsV parameter default value hint: user_data: NULL
func SetAssertHandler ¶
func SetAssertHandler(handler AssertHandler)
SetAssertHandler registers a handler function for all future assertions. Setting nil will disable special handling. The default handler panics.
func SetClipboardText ¶
func SetClipboardText(text string)
func SetColorEditOptions ¶
func SetColorEditOptions(flags ColorEditFlags)
initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls.
func SetColumnOffset ¶
set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column
func SetColumnWidth ¶
set column width (in pixels). pass -1 to use current column
func SetCurrentContext ¶
func SetCurrentContext(ctx *Context)
func SetCursorScreenPos ¶
func SetCursorScreenPos(pos Vec2)
cursor position, absolute coordinates. THIS IS YOUR BEST FRIEND.
func SetDragDropPayloadV ¶
type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted. SetDragDropPayloadV parameter default value hint: cond: 0
func SetItemDefaultFocus ¶
func SetItemDefaultFocus()
make last item the default focused item of a newly appearing window.
func SetItemKeyOwner ¶
func SetItemKeyOwner(key Key)
Set key owner to last item ID if it is hovered or active. Equivalent to 'if (IsItemHovered() || IsItemActive()) SetKeyOwner(key, GetItemID());'.
func SetItemTooltip ¶
func SetItemTooltip(fmt string)
set a text-only tooltip if preceding item was hovered. override any previous call to SetTooltip().
func SetKeyboardFocusHere ¶
func SetKeyboardFocusHere()
func SetKeyboardFocusHereV ¶
func SetKeyboardFocusHereV(offset int32)
focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. SetKeyboardFocusHereV parameter default value hint: offset: 0
func SetNavCursorVisible ¶ added in v1.1.0
func SetNavCursorVisible(visible bool)
alter visibility of keyboard/gamepad cursor. by default: show when using an arrow key, hide when clicking with mouse.
func SetNextFrameWantCaptureKeyboard ¶
func SetNextFrameWantCaptureKeyboard(want_capture_keyboard bool)
Override io.WantCaptureKeyboard flag next frame (said flag is left for your application to handle, typically when true it instructs your app to ignore inputs). e.g. force capture keyboard when your widget is being hovered. This is equivalent to setting "io.WantCaptureKeyboard = want_capture_keyboard"; after the next NewFrame() call.
func SetNextFrameWantCaptureMouse ¶
func SetNextFrameWantCaptureMouse(want_capture_mouse bool)
Override io.WantCaptureMouse flag next frame (said flag is left for your application to handle, typical when true it instructs your app to ignore inputs). This is equivalent to setting "io.WantCaptureMouse = want_capture_mouse;" after the next NewFrame() call.
func SetNextItemAllowOverlap ¶
func SetNextItemAllowOverlap()
allow next item to be overlapped by a subsequent item. Typically useful with InvisibleButton(), Selectable(), TreeNode() covering an area where subsequent items may need to be added. Note that both Selectable() and TreeNode() have dedicated flags doing this.
func SetNextItemOpen ¶
func SetNextItemOpen(is_open bool)
func SetNextItemOpenV ¶
set next TreeNode/CollapsingHeader open state. SetNextItemOpenV parameter default value hint: cond: 0
func SetNextItemSelectionUserData ¶
func SetNextItemSelectionUserData(selection_user_data SelectionUserData)
func SetNextItemShortcut ¶
func SetNextItemShortcut(key_chord KeyChord)
func SetNextItemShortcutV ¶
func SetNextItemShortcutV(key_chord KeyChord, flags InputFlags)
SetNextItemShortcutV parameter default value hint: flags: 0
func SetNextItemStorageID ¶
func SetNextItemStorageID(storage_id ID)
set id to use for open/close storage (default to same as item id).
func SetNextItemWidth ¶
func SetNextItemWidth(item_width float32)
set width of the _next_ common large "item+label" widget. >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -FLT_MIN always align width to the right side)
func SetNextWindowBgAlpha ¶
func SetNextWindowBgAlpha(alpha float32)
set next window background color alpha. helper to easily override the Alpha component of ImGuiCol_WindowBg/ChildBg/PopupBg. you may also use ImGuiWindowFlags_NoBackground.
func SetNextWindowClass ¶
func SetNextWindowClass(window_class *WindowClass)
set next window class (control docking compatibility + provide hints to platform backend via custom viewport flags and platform parent/child relationship)
func SetNextWindowCollapsed ¶
func SetNextWindowCollapsed(collapsed bool)
func SetNextWindowCollapsedV ¶
set next window collapsed state. call before Begin() SetNextWindowCollapsedV parameter default value hint: cond: 0
func SetNextWindowContentSize ¶
func SetNextWindowContentSize(size Vec2)
set next window content size (~ scrollable client area, which enforce the range of scrollbars). Not including window decorations (title bar, menu bar, etc.) nor WindowPadding. set an axis to 0.0f to leave it automatic. call before Begin()
func SetNextWindowDockID ¶
func SetNextWindowDockID(dock_id ID)
func SetNextWindowDockIDV ¶
set next window dock id SetNextWindowDockIDV parameter default value hint: cond: 0
func SetNextWindowFocus ¶
func SetNextWindowFocus()
set next window to be focused / top-most. call before Begin()
func SetNextWindowPos ¶
func SetNextWindowPos(pos Vec2)
func SetNextWindowPosV ¶
set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. SetNextWindowPosV parameter default value hint: cond: 0 pivot: ImVec2(0,0)
func SetNextWindowScroll ¶
func SetNextWindowScroll(scroll Vec2)
set next window scrolling value (use < 0.0f to not affect a given axis).
func SetNextWindowSize ¶
func SetNextWindowSize(size Vec2)
func SetNextWindowSizeConstraints ¶
func SetNextWindowSizeConstraints(size_min, size_max Vec2)
func SetNextWindowSizeConstraintsV ¶ added in v1.2.0
func SetNextWindowSizeConstraintsV(size_min, size_max Vec2, custom_callback SizeCallback, custom_callback_data uintptr)
set next window size limits. use 0.0f or FLT_MAX if you don't want limits. Use -1 for both min and max of same axis to preserve current size (which itself is a constraint). Use callback to apply non-trivial programmatic constraints. SetNextWindowSizeConstraintsV parameter default value hint: custom_callback: NULL custom_callback_data: NULL
func SetNextWindowSizeV ¶
set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() SetNextWindowSizeV parameter default value hint: cond: 0
func SetScrollFromPosXFloat ¶
func SetScrollFromPosXFloat(local_x float32)
func SetScrollFromPosXFloatV ¶
func SetScrollFromPosXFloatV(local_x, center_x_ratio float32)
adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position. SetScrollFromPosXFloatV parameter default value hint: center_x_ratio: 0.5f
func SetScrollFromPosYFloat ¶
func SetScrollFromPosYFloat(local_y float32)
func SetScrollFromPosYFloatV ¶
func SetScrollFromPosYFloatV(local_y, center_y_ratio float32)
adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position. SetScrollFromPosYFloatV parameter default value hint: center_y_ratio: 0.5f
func SetScrollHereX ¶
func SetScrollHereX()
func SetScrollHereXV ¶
func SetScrollHereXV(center_x_ratio float32)
adjust scrolling amount to make current cursor position visible. center_x_ratio=0.0: left, 0.5: center, 1.0: right. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. SetScrollHereXV parameter default value hint: center_x_ratio: 0.5f
func SetScrollHereY ¶
func SetScrollHereY()
func SetScrollHereYV ¶
func SetScrollHereYV(center_y_ratio float32)
adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. SetScrollHereYV parameter default value hint: center_y_ratio: 0.5f
func SetScrollXFloat ¶
func SetScrollXFloat(scroll_x float32)
set scrolling amount [0 .. GetScrollMaxX()]
func SetScrollYFloat ¶
func SetScrollYFloat(scroll_y float32)
set scrolling amount [0 .. GetScrollMaxY()]
func SetStateStorage ¶
func SetStateStorage(storage *Storage)
replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it)
func SetTabItemClosed ¶
func SetTabItemClosed(tab_or_docked_window_label string)
notify TabBar or Docking system of a closed tab/window ahead (useful to reduce visual flicker on reorderable tab bars). For tab-bar: call after BeginTabBar() and before Tab submissions. Otherwise call with a window name.
func SetTooltip ¶
func SetTooltip(fmt string)
set a text-only tooltip. Often used after a ImGui::IsItemHovered() check. Override any previous call to SetTooltip().
func SetWindowCollapsedBool ¶
func SetWindowCollapsedBool(collapsed bool)
func SetWindowCollapsedBoolV ¶
(not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). SetWindowCollapsedBoolV parameter default value hint: cond: 0
func SetWindowCollapsedStr ¶
func SetWindowCollapsedStrV ¶
set named window collapsed state SetWindowCollapsedStrV parameter default value hint: cond: 0
func SetWindowFocus ¶
func SetWindowFocus()
(not recommended) set current window to be focused / top-most. prefer using SetNextWindowFocus().
func SetWindowFocusStr ¶
func SetWindowFocusStr(name string)
set named window to be focused / top-most. use NULL to remove focus.
func SetWindowPosStr ¶
func SetWindowPosStrV ¶
set named window position. SetWindowPosStrV parameter default value hint: cond: 0
func SetWindowPosVec2 ¶
func SetWindowPosVec2(pos Vec2)
func SetWindowPosVec2V ¶
(not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. SetWindowPosVec2V parameter default value hint: cond: 0
func SetWindowSizeStr ¶
func SetWindowSizeStrV ¶
set named window size. set axis to 0.0f to force an auto-fit on this axis. SetWindowSizeStrV parameter default value hint: cond: 0
func SetWindowSizeVec2 ¶
func SetWindowSizeVec2(size Vec2)
func SetWindowSizeVec2V ¶
(not recommended) set current window size - call within Begin()/End(). set to ImVec2(0, 0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. SetWindowSizeVec2V parameter default value hint: cond: 0
func ShortcutNilV ¶
func ShortcutNilV(key_chord KeyChord, flags InputFlags) bool
ShortcutNilV parameter default value hint: flags: 0
func ShowAboutWindow ¶
func ShowAboutWindow()
func ShowAboutWindowV ¶
func ShowAboutWindowV(p_open *bool)
create About window. display Dear ImGui version, credits and build/system information. ShowAboutWindowV parameter default value hint: p_open: NULL
func ShowDebugLogWindow ¶
func ShowDebugLogWindow()
func ShowDebugLogWindowV ¶
func ShowDebugLogWindowV(p_open *bool)
create Debug Log window. display a simplified log of important dear imgui events. ShowDebugLogWindowV parameter default value hint: p_open: NULL
func ShowDemoWindow ¶
func ShowDemoWindow()
func ShowDemoWindowV ¶
func ShowDemoWindowV(p_open *bool)
create Demo window. demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! ShowDemoWindowV parameter default value hint: p_open: NULL
func ShowFontSelector ¶
func ShowFontSelector(label string)
add font selector block (not a window), essentially a combo listing the loaded fonts.
func ShowIDStackToolWindow ¶
func ShowIDStackToolWindow()
func ShowIDStackToolWindowV ¶
func ShowIDStackToolWindowV(p_open *bool)
create Stack Tool window. hover items with mouse to query information about the source of their unique ID. ShowIDStackToolWindowV parameter default value hint: p_open: NULL
func ShowMetricsWindow ¶
func ShowMetricsWindow()
func ShowMetricsWindowV ¶
func ShowMetricsWindowV(p_open *bool)
create Metrics/Debugger window. display Dear ImGui internals: windows, draw commands, various internal state, etc. ShowMetricsWindowV parameter default value hint: p_open: NULL
func ShowStyleEditor ¶
func ShowStyleEditor()
func ShowStyleEditorV ¶
func ShowStyleEditorV(ref *Style)
add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) ShowStyleEditorV parameter default value hint: ref: NULL
func ShowStyleSelector ¶
add style selector block (not a window), essentially a combo listing the default styles.
func ShowUserGuide ¶
func ShowUserGuide()
add basic help/info block (not a window): how to manipulate ImGui as an end-user (mouse/keyboard controls).
func SliderAngle ¶
func SliderAngleV ¶
func SliderAngleV(label string, v_rad *float32, v_degrees_min, v_degrees_max float32, format string, flags SliderFlags) bool
SliderAngleV parameter default value hint: v_degrees_min: -360.0f v_degrees_max: +360.0f format: "%.0f deg" flags: 0
func SliderFloat2V ¶
func SliderFloat2V(label string, v *[2]float32, v_min, v_max float32, format string, flags SliderFlags) bool
SliderFloat2V parameter default value hint: format: "%.3f" flags: 0
func SliderFloat3V ¶
func SliderFloat3V(label string, v *[3]float32, v_min, v_max float32, format string, flags SliderFlags) bool
SliderFloat3V parameter default value hint: format: "%.3f" flags: 0
func SliderFloat4V ¶
func SliderFloat4V(label string, v *[4]float32, v_min, v_max float32, format string, flags SliderFlags) bool
SliderFloat4V parameter default value hint: format: "%.3f" flags: 0
func SliderFloatV ¶
func SliderFloatV(label string, v *float32, v_min, v_max float32, format string, flags SliderFlags) bool
adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. SliderFloatV parameter default value hint: format: "%.3f" flags: 0
func SliderInt2V ¶
func SliderInt2V(label string, v *[2]int32, v_min, v_max int32, format string, flags SliderFlags) bool
SliderInt2V parameter default value hint: format: "%d" flags: 0
func SliderInt3V ¶
func SliderInt3V(label string, v *[3]int32, v_min, v_max int32, format string, flags SliderFlags) bool
SliderInt3V parameter default value hint: format: "%d" flags: 0
func SliderInt4V ¶
func SliderInt4V(label string, v *[4]int32, v_min, v_max int32, format string, flags SliderFlags) bool
SliderInt4V parameter default value hint: format: "%d" flags: 0
func SliderIntV ¶
SliderIntV parameter default value hint: format: "%d" flags: 0
func SliderScalar ¶
func SliderScalarN ¶
func SliderScalarNV ¶
func SliderScalarNV(label string, data_type DataType, p_data uintptr, components int32, p_min, p_max uintptr, format string, flags SliderFlags) bool
SliderScalarNV parameter default value hint: format: NULL flags: 0
func SliderScalarV ¶
func SliderScalarV(label string, data_type DataType, p_data, p_min, p_max uintptr, format string, flags SliderFlags) bool
SliderScalarV parameter default value hint: format: NULL flags: 0
func SmallButton ¶
button with (FramePadding.y == 0) to easily embed within text
func StyleColorName ¶
get a string corresponding to the enum value (for display, saving, etc.).
func StyleColorsClassic ¶
func StyleColorsClassic()
func StyleColorsClassicV ¶
func StyleColorsClassicV(dst *Style)
classic imgui style StyleColorsClassicV parameter default value hint: dst: NULL
func StyleColorsDark ¶
func StyleColorsDark()
func StyleColorsDarkV ¶
func StyleColorsDarkV(dst *Style)
new, recommended style (default) StyleColorsDarkV parameter default value hint: dst: NULL
func StyleColorsLight ¶
func StyleColorsLight()
func StyleColorsLightV ¶
func StyleColorsLightV(dst *Style)
best used with borders and a custom, thicker font StyleColorsLightV parameter default value hint: dst: NULL
func TabItemButton ¶
func TabItemButtonV ¶
func TabItemButtonV(label string, flags TabItemFlags) bool
create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar. TabItemButtonV parameter default value hint: flags: 0
func TableAngledHeadersRow ¶
func TableAngledHeadersRow()
submit a row with angled headers for every column with the ImGuiTableColumnFlags_AngledHeader flag. MUST BE FIRST ROW.
func TableGetColumnCount ¶
func TableGetColumnCount() int32
return number of columns (value passed to BeginTable)
func TableGetColumnNameInt ¶
func TableGetColumnNameInt() string
func TableGetColumnNameIntV ¶
return "" if column didn't have a name declared by TableSetupColumn(). Pass -1 to use current column. TableGetColumnNameIntV parameter default value hint: column_n: -1
func TableGetHoveredColumn ¶
func TableGetHoveredColumn() int32
return hovered column. return -1 when table is not hovered. return columns_count if the unused space at the right of visible columns is hovered. Can also use (TableGetColumnFlags() & ImGuiTableColumnFlags_IsHovered) instead.
func TableGetRowIndex ¶
func TableGetRowIndex() int32
return current row index (header rows are accounted for)
func TableHeadersRow ¶
func TableHeadersRow()
submit a row with headers cells based on data provided to TableSetupColumn() + submit context menu
func TableNextColumn ¶
func TableNextColumn() bool
append into the next column (or first column of next row if currently in last column). Return true when column is visible.
func TableNextRow ¶
func TableNextRow()
func TableNextRowV ¶
func TableNextRowV(row_flags TableRowFlags, min_row_height float32)
append into the first cell of a new row. 'min_row_height' include the minimum top and bottom padding aka CellPadding.y * 2.0f. TableNextRowV parameter default value hint: row_flags: 0 min_row_height: 0.0f
func TableSetBgColor ¶
func TableSetBgColor(target TableBgTarget, color uint32)
func TableSetBgColorV ¶
func TableSetBgColorV(target TableBgTarget, color uint32, column_n int32)
change the color of a cell, row, or column. See ImGuiTableBgTarget_ flags for details. TableSetBgColorV parameter default value hint: column_n: -1
func TableSetColumnEnabled ¶
change user accessible enabled/disabled state of a column. Set to false to hide the column. User can use the context menu to change this themselves (right-click in headers, or right-click in columns body with ImGuiTableFlags_ContextMenuInBody)
func TableSetColumnIndex ¶
append into the specified column. Return true when column is visible.
func TableSetupColumn ¶
func TableSetupColumn(label string)
func TableSetupColumnV ¶
func TableSetupColumnV(label string, flags TableColumnFlags, init_width_or_weight float32, user_id ID)
TableSetupColumnV parameter default value hint: flags: 0 init_width_or_weight: 0.0f user_id: 0
func TableSetupScrollFreeze ¶
func TableSetupScrollFreeze(cols, rows int32)
lock columns/rows so they stay visible when scrolled.
func TextColored ¶
shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();
func TextDisabled ¶
func TextDisabled(fmt string)
shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor();
func TextLineHeightWithSpacing ¶
func TextLineHeightWithSpacing() float32
~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text)
func TextLinkOpenURL ¶
func TextLinkOpenURLV ¶
hyperlink text button, automatically open file/url when clicked TextLinkOpenURLV parameter default value hint: url: NULL
func TextUnformatted ¶
func TextUnformatted(text string)
func TextUnformattedV ¶
func TextUnformattedV(text string)
raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. TextUnformattedV parameter default value hint:
func TextWrapped ¶
func TextWrapped(fmt string)
shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize().
func TreeNodeExPtr ¶
func TreeNodeExPtr(ptr_id uintptr, flags TreeNodeFlags, fmt string) bool
func TreeNodeExStr ¶
func TreeNodeExStrStr ¶
func TreeNodeExStrStr(str_id string, flags TreeNodeFlags, fmt string) bool
func TreeNodeExStrV ¶
func TreeNodeExStrV(label string, flags TreeNodeFlags) bool
TreeNodeExStrV parameter default value hint: flags: 0
func TreeNodeGetOpen ¶ added in v1.5.0
retrieve tree node open/close state.
func TreeNodeStr ¶
func TreeNodeStrStr ¶
helper variation to easily decorrelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
func TreeNodeToLabelSpacing ¶
func TreeNodeToLabelSpacing() float32
horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode
func TreePushStr ¶
func TreePushStr(str_id string)
~ Indent()+PushID(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired.
func UnindentV ¶
func UnindentV(indent_w float32)
move content position back to the left, by indent_w, or style.IndentSpacing if indent_w <= 0 UnindentV parameter default value hint: indent_w: 0.0f
func UpdatePlatformWindows ¶
func UpdatePlatformWindows()
call in main loop. will call CreateWindow/ResizeWindow/etc. platform functions for each secondary viewport, and DestroyWindow for each inactive viewport.
func VSliderFloat ¶
func VSliderFloatV ¶
func VSliderFloatV(label string, size Vec2, v *float32, v_min, v_max float32, format string, flags SliderFlags) bool
VSliderFloatV parameter default value hint: format: "%.3f" flags: 0
func VSliderIntV ¶
func VSliderIntV(label string, size Vec2, v *int32, v_min, v_max int32, format string, flags SliderFlags) bool
VSliderIntV parameter default value hint: format: "%d" flags: 0
func VSliderScalar ¶
func VSliderScalarV ¶
func VSliderScalarV(label string, size Vec2, data_type DataType, p_data, p_min, p_max uintptr, format string, flags SliderFlags) bool
VSliderScalarV parameter default value hint: format: NULL flags: 0
func ValueFloat ¶
func ValueFloatV ¶
ValueFloatV parameter default value hint: float_format: NULL
func Version ¶
func Version() string
get the compiled version string e.g. "1.80 WIP" (essentially the value for IMGUI_VERSION from the compiled version of imgui.cpp)
func VertexBufferLayout ¶
VertexBufferLayout returns the byte sizes necessary to select fields in a vertex buffer of a DrawList.
func WindowDpiScale ¶
func WindowDpiScale() float32
get DPI scale currently associated to the current window's viewport.
func WindowHeight ¶
func WindowHeight() float32
get current window height (IT IS UNLIKELY YOU EVER NEED TO USE THIS). Shortcut for GetWindowSize().y.
func WindowWidth ¶
func WindowWidth() float32
get current window width (IT IS UNLIKELY YOU EVER NEED TO USE THIS). Shortcut for GetWindowSize().x.
Types ¶
type ActivateFlags ¶
type ActivateFlags int32
original name: ImGuiActivateFlags_
const ( ActivateFlagsNone ActivateFlags = 0 // Favor activation that requires keyboard text input (e.g. for Slider/Drag). Default for Enter key. ActivateFlagsPreferInput ActivateFlags = 1 // Favor activation for tweaking with arrows or gamepad (e.g. for Slider/Drag). Default for Space key and if keyboard is not used. ActivateFlagsPreferTweak ActivateFlags = 2 // Request widget to preserve state if it can (e.g. InputText will try to preserve cursor/selection) ActivateFlagsTryToPreserveState ActivateFlags = 4 // Activation requested by a tabbing request (ImGuiNavMoveFlags_IsTabbing) ActivateFlagsFromTabbing ActivateFlags = 8 // Activation requested by an item shortcut via SetNextItemShortcut() function. ActivateFlagsFromShortcut ActivateFlags = 16 // Activation requested by an api request (ImGuiNavMoveFlags_FocusApi) ActivateFlagsFromFocusApi ActivateFlags = 32 )
type AssertHandler ¶
AssertHandler is a handler for an assertion that happened in the native part of ImGui.
type AssertionError ¶
AssertionError is the standard error being thrown by the default handler.
func (AssertionError) Error ¶
func (err AssertionError) Error() string
Error returns the string representation.
type Axis ¶
type Axis int32
X/Y enums are fixed to 0/1 so they may be used to index ImVec2 original name: ImGuiAxis
type BackendFlags ¶
type BackendFlags int32
Backend capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom backend. original name: ImGuiBackendFlags_
const ( BackendFlagsNone BackendFlags = 0 // Backend Platform supports gamepad and currently has one connected. BackendFlagsHasGamepad BackendFlags = 1 // Backend Platform supports honoring GetMouseCursor() value to change the OS cursor shape. BackendFlagsHasMouseCursors BackendFlags = 2 // Backend Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if io.ConfigNavMoveSetMousePos is set). BackendFlagsHasSetMousePos BackendFlags = 4 // Backend Renderer supports ImDrawCmd::VtxOffset. This enables output of large meshes (64K+ vertices) while still using 16-bit indices. BackendFlagsRendererHasVtxOffset BackendFlags = 8 // Backend Renderer supports ImTextureData requests to create/update/destroy textures. This enables incremental texture updates and texture reloads. See https://github.com/ocornut/imgui/blob/master/docs/BACKENDS.md for instructions on how to upgrade your custom backend. BackendFlagsRendererHasTextures BackendFlags = 16 // Backend Renderer supports multiple viewports. BackendFlagsRendererHasViewports BackendFlags = 1024 // Backend Platform supports multiple viewports. BackendFlagsPlatformHasViewports BackendFlags = 2048 // Backend Platform supports calling io.AddMouseViewportEvent() with the viewport under the mouse. IF POSSIBLE, ignore viewports with the ImGuiViewportFlags_NoInputs flag (Win32 backend, GLFW 3.30+ backend can do this, SDL backend cannot). If this cannot be done, Dear ImGui needs to use a flawed heuristic to find the viewport under. BackendFlagsHasMouseHoveredViewport BackendFlags = 4096 // Backend Platform supports honoring viewport->ParentViewport/ParentViewportId value, by applying the corresponding parent/child relation at the Platform level. BackendFlagsHasParentViewport BackendFlags = 8192 )
type BitArrayForNamedKeys ¶ added in v1.5.0
type BitArrayForNamedKeys struct {
CData *C.ImBitArrayForNamedKeys
}
func NewBitArrayForNamedKeysFromC ¶ added in v1.5.0
func NewBitArrayForNamedKeysFromC[SRC any](cvalue SRC) *BitArrayForNamedKeys
NewBitArrayForNamedKeysFromC creates BitArrayForNamedKeys from its C pointer. SRC ~= *C.ImBitArrayForNamedKeys
func NewEmptyBitArrayForNamedKeys ¶ added in v1.5.0
func NewEmptyBitArrayForNamedKeys() *BitArrayForNamedKeys
NewEmptyBitArrayForNamedKeys creates BitArrayForNamedKeys with its 0 value.
func (BitArrayForNamedKeys) C ¶ added in v1.5.0
func (self BitArrayForNamedKeys) C() (C.ImBitArrayForNamedKeys, func())
C is like Handle but returns plain type instead of pointer.
func (*BitArrayForNamedKeys) Handle ¶ added in v1.5.0
func (self *BitArrayForNamedKeys) Handle() (result *C.ImBitArrayForNamedKeys, fin func())
Handle returns C version of BitArrayForNamedKeys and its finalizer func.
type BitArrayPtr ¶
type BitArrayPtr struct {
Data *uint32
}
func NewBitArrayPtrFromC ¶
func NewBitArrayPtrFromC[SRC any](cvalue SRC) *BitArrayPtr
NewBitArrayPtrFromC creates BitArrayPtr from its C pointer. SRC ~= *C.ImBitArrayPtr
func (*BitArrayPtr) C ¶
func (selfStruct *BitArrayPtr) C() (result C.ImBitArrayPtr, fin func())
C is like Handle but returns plain type instead of pointer.
func (*BitArrayPtr) Handle ¶
func (self *BitArrayPtr) Handle() (*C.ImBitArrayPtr, func())
Handle returns C version of BitArrayPtr and its finalizer func.
type BitVector ¶
type BitVector struct {
CData *C.ImBitVector
}
func NewBitVectorFromC ¶
NewBitVectorFromC creates BitVector from its C pointer. SRC ~= *C.ImBitVector
func NewEmptyBitVector ¶ added in v1.2.0
func NewEmptyBitVector() *BitVector
NewEmptyBitVector creates BitVector with its 0 value.
func (BitVector) C ¶
func (self BitVector) C() (C.ImBitVector, func())
C is like Handle but returns plain type instead of pointer.
func (*BitVector) Handle ¶
func (self *BitVector) Handle() (result *C.ImBitVector, fin func())
Handle returns C version of BitVector and its finalizer func.
func (*BitVector) InternalClear ¶
func (self *BitVector) InternalClear()
func (*BitVector) InternalClearBit ¶
func (*BitVector) InternalCreate ¶
func (*BitVector) InternalSetBit ¶
func (*BitVector) InternalTestBit ¶
type BoxSelectState ¶
type BoxSelectState struct {
CData *C.ImGuiBoxSelectState
}
func InternalBoxSelectState ¶
func InternalBoxSelectState(id ID) *BoxSelectState
func InternalNewBoxSelectState ¶
func InternalNewBoxSelectState() *BoxSelectState
func NewBoxSelectStateFromC ¶
func NewBoxSelectStateFromC[SRC any](cvalue SRC) *BoxSelectState
NewBoxSelectStateFromC creates BoxSelectState from its C pointer. SRC ~= *C.ImGuiBoxSelectState
func NewEmptyBoxSelectState ¶ added in v1.2.0
func NewEmptyBoxSelectState() *BoxSelectState
NewEmptyBoxSelectState creates BoxSelectState with its 0 value.
func (*BoxSelectState) BoxSelectRectCurr ¶
func (self *BoxSelectState) BoxSelectRectCurr() Rect
func (*BoxSelectState) BoxSelectRectPrev ¶
func (self *BoxSelectState) BoxSelectRectPrev() Rect
func (BoxSelectState) C ¶
func (self BoxSelectState) C() (C.ImGuiBoxSelectState, func())
C is like Handle but returns plain type instead of pointer.
func (*BoxSelectState) EndPosRel ¶
func (self *BoxSelectState) EndPosRel() Vec2
func (*BoxSelectState) Handle ¶
func (self *BoxSelectState) Handle() (result *C.ImGuiBoxSelectState, fin func())
Handle returns C version of BoxSelectState and its finalizer func.
func (*BoxSelectState) ID ¶
func (self *BoxSelectState) ID() ID
func (*BoxSelectState) InternalDestroy ¶ added in v1.3.1
func (self *BoxSelectState) InternalDestroy()
func (*BoxSelectState) IsActive ¶
func (self *BoxSelectState) IsActive() bool
func (*BoxSelectState) IsStartedFromVoid ¶
func (self *BoxSelectState) IsStartedFromVoid() bool
func (*BoxSelectState) IsStartedSetNavIdOnce ¶
func (self *BoxSelectState) IsStartedSetNavIdOnce() bool
func (*BoxSelectState) IsStarting ¶
func (self *BoxSelectState) IsStarting() bool
func (*BoxSelectState) KeyMods ¶
func (self *BoxSelectState) KeyMods() KeyChord
func (*BoxSelectState) RequestClear ¶
func (self *BoxSelectState) RequestClear() bool
func (*BoxSelectState) ScrollAccum ¶
func (self *BoxSelectState) ScrollAccum() Vec2
func (BoxSelectState) SetBoxSelectRectCurr ¶
func (self BoxSelectState) SetBoxSelectRectCurr(v Rect)
func (BoxSelectState) SetBoxSelectRectPrev ¶
func (self BoxSelectState) SetBoxSelectRectPrev(v Rect)
func (BoxSelectState) SetEndPosRel ¶
func (self BoxSelectState) SetEndPosRel(v Vec2)
func (BoxSelectState) SetID ¶
func (self BoxSelectState) SetID(v ID)
func (BoxSelectState) SetIsActive ¶
func (self BoxSelectState) SetIsActive(v bool)
func (BoxSelectState) SetIsStartedFromVoid ¶
func (self BoxSelectState) SetIsStartedFromVoid(v bool)
func (BoxSelectState) SetIsStartedSetNavIdOnce ¶
func (self BoxSelectState) SetIsStartedSetNavIdOnce(v bool)
func (BoxSelectState) SetIsStarting ¶
func (self BoxSelectState) SetIsStarting(v bool)
func (BoxSelectState) SetKeyMods ¶
func (self BoxSelectState) SetKeyMods(v KeyChord)
func (BoxSelectState) SetRequestClear ¶
func (self BoxSelectState) SetRequestClear(v bool)
func (BoxSelectState) SetScrollAccum ¶
func (self BoxSelectState) SetScrollAccum(v Vec2)
func (BoxSelectState) SetStartPosRel ¶
func (self BoxSelectState) SetStartPosRel(v Vec2)
func (BoxSelectState) SetUnclipMode ¶
func (self BoxSelectState) SetUnclipMode(v bool)
func (BoxSelectState) SetUnclipRect ¶
func (self BoxSelectState) SetUnclipRect(v Rect)
func (BoxSelectState) SetWindow ¶
func (self BoxSelectState) SetWindow(v *Window)
func (*BoxSelectState) StartPosRel ¶
func (self *BoxSelectState) StartPosRel() Vec2
func (*BoxSelectState) UnclipMode ¶
func (self *BoxSelectState) UnclipMode() bool
func (*BoxSelectState) UnclipRect ¶
func (self *BoxSelectState) UnclipRect() Rect
func (*BoxSelectState) Window ¶
func (self *BoxSelectState) Window() *Window
type ButtonFlags ¶
type ButtonFlags int32
Flags for InvisibleButton() [extended in imgui_internal.h] original name: ImGuiButtonFlags_
const ( ButtonFlagsNone ButtonFlags = 0 // React on left mouse button (default) ButtonFlagsMouseButtonLeft ButtonFlags = 1 // React on right mouse button ButtonFlagsMouseButtonRight ButtonFlags = 2 // React on center mouse button ButtonFlagsMouseButtonMiddle ButtonFlags = 4 // [Internal] ButtonFlagsMouseButtonMask ButtonFlags = 7 ButtonFlagsEnableNav ButtonFlags = 8 // Hit testing will allow subsequent widgets to overlap this one. Require previous frame HoveredId to match before being usable. Shortcut to calling SetNextItemAllowOverlap(). ButtonFlagsAllowOverlap ButtonFlags = 4096 )
type ButtonFlagsPrivate ¶
type ButtonFlagsPrivate int32
Extend ImGuiButtonFlags_ original name: ImGuiButtonFlagsPrivate_
const ( // return true on click (mouse down event) ButtonFlagsPressedOnClick ButtonFlagsPrivate = 16 // [Default] return true on click + release on same item <-- this is what the majority of Button are using ButtonFlagsPressedOnClickRelease ButtonFlagsPrivate = 32 // return true on click + release even if the release event is not done while hovering the item ButtonFlagsPressedOnClickReleaseAnywhere ButtonFlagsPrivate = 64 // return true on release (default requires click+release). Prior to 2026/03/20 this implied ImGuiButtonFlags_NoHoldingActiveId but they are separate now. ButtonFlagsPressedOnRelease ButtonFlagsPrivate = 128 // return true on double-click (default requires click+release) ButtonFlagsPressedOnDoubleClick ButtonFlagsPrivate = 256 // return true when held into while we are drag and dropping another item (used by e.g. tree nodes, collapsing headers) ButtonFlagsPressedOnDragDropHold ButtonFlagsPrivate = 512 // allow interactions even if a child window is overlapping ButtonFlagsFlattenChildren ButtonFlagsPrivate = 2048 // vertically align button to match text baseline - ButtonEx() only // FIXME: Should be removed and handled by SmallButton(), not possible currently because of DC.CursorPosPrevLine ButtonFlagsAlignTextBaseLine ButtonFlagsPrivate = 32768 // disable mouse interaction if a key modifier is held ButtonFlagsNoKeyModsAllowed ButtonFlagsPrivate = 65536 // don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only) ButtonFlagsNoHoldingActiveId ButtonFlagsPrivate = 131072 ButtonFlagsNoNavFocus ButtonFlagsPrivate = 262144 // don't report as hovered when nav focus is on this item ButtonFlagsNoHoveredOnFocus ButtonFlagsPrivate = 524288 // don't set key/input owner on the initial click (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!) ButtonFlagsNoSetKeyOwner ButtonFlagsPrivate = 1048576 // don't test key/input owner when polling the key (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!) ButtonFlagsNoTestKeyOwner ButtonFlagsPrivate = 2097152 // [EXPERIMENTAL: Not very well specced]. Don't focus parent window when clicking. ButtonFlagsNoFocus ButtonFlagsPrivate = 4194304 ButtonFlagsPressedOnMask ButtonFlagsPrivate = 1008 ButtonFlagsPressedOnDefault ButtonFlagsPrivate = 32 )
type ChildFlags ¶
type ChildFlags int32
Flags for ImGui::BeginChild() (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'.) About using AutoResizeX/AutoResizeY flags: - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints"). - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing.
- This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped. While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch.
- You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view. HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping.
original name: ImGuiChildFlags_
const ( ChildFlagsNone ChildFlags = 0 // Show an outer border and enable WindowPadding. (IMPORTANT: this is always == 1 == true for legacy reason) ChildFlagsBorders ChildFlags = 1 // Pad with style.WindowPadding even if no border are drawn (no padding by default for non-bordered child windows because it makes more sense) ChildFlagsAlwaysUseWindowPadding ChildFlags = 2 // Allow resize from right border (layout direction). Enable .ini saving (unless ImGuiWindowFlags_NoSavedSettings passed to window flags) ChildFlagsResizeX ChildFlags = 4 // Allow resize from bottom border (layout direction). " ChildFlagsResizeY ChildFlags = 8 // Enable auto-resizing width. Read "IMPORTANT: Size measurement" details above. ChildFlagsAutoResizeX ChildFlags = 16 // Enable auto-resizing height. Read "IMPORTANT: Size measurement" details above. ChildFlagsAutoResizeY ChildFlags = 32 // Combined with AutoResizeX/AutoResizeY. Always measure size even when child is hidden, always return true, always disable clipping optimization! NOT RECOMMENDED. ChildFlagsAlwaysAutoResize ChildFlags = 64 // Style the child window like a framed item: use FrameBg, FrameRounding, FrameBorderSize, FramePadding instead of ChildBg, ChildRounding, ChildBorderSize, WindowPadding. ChildFlagsFrameStyle ChildFlags = 128 ChildFlagsNavFlattened ChildFlags = 256 )
type ClipboardHandler ¶
type ClipboardHandler interface {
// GetClipboard should return the current contents of the platform clipboard
GetClipboard() string
// SetClipboard should replace the contents of the platform clipboard
SetClipboard(s string)
}
ClipboardHandler interfaces between imgui and the platforms clipboard
type Col ¶
type Col int32
Enumeration for PushStyleColor() / PopStyleColor() original name: ImGuiCol_
const ( ColText Col = 0 ColTextDisabled Col = 1 // Background of normal windows ColWindowBg Col = 2 // Background of child windows ColChildBg Col = 3 // Background of popups, menus, tooltips windows ColPopupBg Col = 4 ColBorder Col = 5 ColBorderShadow Col = 6 // Background of checkbox, radio button, plot, slider, text input ColFrameBg Col = 7 ColFrameBgHovered Col = 8 ColFrameBgActive Col = 9 // Title bar ColTitleBg Col = 10 // Title bar when focused ColTitleBgActive Col = 11 // Title bar when collapsed ColTitleBgCollapsed Col = 12 ColMenuBarBg Col = 13 ColScrollbarBg Col = 14 ColScrollbarGrab Col = 15 ColScrollbarGrabHovered Col = 16 ColScrollbarGrabActive Col = 17 // Checkbox tick and RadioButton circle ColCheckMark Col = 18 ColSliderGrab Col = 19 ColSliderGrabActive Col = 20 ColButton Col = 21 ColButtonHovered Col = 22 ColButtonActive Col = 23 // Header* colors are used for CollapsingHeader, TreeNode, Selectable, MenuItem ColHeader Col = 24 ColHeaderHovered Col = 25 ColHeaderActive Col = 26 ColSeparator Col = 27 ColSeparatorHovered Col = 28 ColSeparatorActive Col = 29 // Resize grip in lower-right and lower-left corners of windows. ColResizeGrip Col = 30 ColResizeGripHovered Col = 31 ColResizeGripActive Col = 32 // InputText cursor/caret ColInputTextCursor Col = 33 // Tab background, when hovered ColTabHovered Col = 34 // Tab background, when tab-bar is focused & tab is unselected ColTab Col = 35 // Tab background, when tab-bar is focused & tab is selected ColTabSelected Col = 36 // Tab horizontal overline, when tab-bar is focused & tab is selected ColTabSelectedOverline Col = 37 // Tab background, when tab-bar is unfocused & tab is unselected ColTabDimmed Col = 38 // Tab background, when tab-bar is unfocused & tab is selected ColTabDimmedSelected Col = 39 //..horizontal overline, when tab-bar is unfocused & tab is selected ColTabDimmedSelectedOverline Col = 40 // Preview overlay color when about to docking something ColDockingPreview Col = 41 // Background color for empty node (e.g. CentralNode with no window docked into it) ColDockingEmptyBg Col = 42 ColPlotLines Col = 43 ColPlotLinesHovered Col = 44 ColPlotHistogram Col = 45 ColPlotHistogramHovered Col = 46 // Table header background ColTableHeaderBg Col = 47 // Table outer and header borders (prefer using Alpha=1.0 here) ColTableBorderStrong Col = 48 // Table inner borders (prefer using Alpha=1.0 here) ColTableBorderLight Col = 49 // Table row background (even rows) ColTableRowBg Col = 50 // Table row background (odd rows) ColTableRowBgAlt Col = 51 // Hyperlink color ColTextLink Col = 52 // Selected text inside an InputText ColTextSelectedBg Col = 53 // Tree node hierarchy outlines when using ImGuiTreeNodeFlags_DrawLines ColTreeLines Col = 54 // Rectangle border highlighting a drop target ColDragDropTarget Col = 55 // Rectangle background highlighting a drop target ColDragDropTargetBg Col = 56 // Unsaved Document marker (in window title and tabs) ColUnsavedMarker Col = 57 ColNavCursor Col = 58 ColNavWindowingHighlight Col = 59 ColNavWindowingDimBg Col = 60 // Darken/colorize entire screen behind a modal window, when one is active ColModalWindowDimBg Col = 61 ColCOUNT Col = 62 )
type Color ¶
type Color struct {
FieldValue Vec4
}
func NewColorFromColor ¶
func NewColorFromPacked ¶
type ColorEditFlags ¶
type ColorEditFlags int32
Flags for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() original name: ImGuiColorEditFlags_
const ( ColorEditFlagsNone ColorEditFlags = 0 // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (will only read 3 components from the input pointer). ColorEditFlagsNoAlpha ColorEditFlags = 2 // // ColorEdit: disable picker when clicking on color square. ColorEditFlagsNoPicker ColorEditFlags = 4 // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. ColorEditFlagsNoOptions ColorEditFlags = 8 // // ColorEdit, ColorPicker: disable color square preview next to the inputs. (e.g. to show only the inputs) ColorEditFlagsNoSmallPreview ColorEditFlags = 16 // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview color square). ColorEditFlagsNoInputs ColorEditFlags = 32 // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. ColorEditFlagsNoTooltip ColorEditFlags = 64 // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). ColorEditFlagsNoLabel ColorEditFlags = 128 // // ColorPicker: disable bigger color preview on right side of the picker, use small color square preview instead. ColorEditFlagsNoSidePreview ColorEditFlags = 256 // // ColorEdit: disable drag and drop target/source. ColorButton: disable drag and drop source. ColorEditFlagsNoDragDrop ColorEditFlags = 512 // // ColorButton: disable border (which is enforced by default) ColorEditFlagsNoBorder ColorEditFlags = 1024 // // ColorEdit: disable rendering R/G/B/A color marker. May also be disabled globally by setting style.ColorMarkerSize = 0. ColorEditFlagsNoColorMarkers ColorEditFlags = 2048 // // ColorEdit, ColorPicker, ColorButton: disable alpha in the preview,. Contrary to _NoAlpha it may still be edited when calling ColorEdit4()/ColorPicker4(). For ColorButton() this does the same as _NoAlpha. ColorEditFlagsAlphaOpaque ColorEditFlags = 4096 // // ColorEdit, ColorPicker, ColorButton: disable rendering a checkerboard background behind transparent color. ColorEditFlagsAlphaNoBg ColorEditFlags = 8192 // // ColorEdit, ColorPicker, ColorButton: display half opaque / half transparent preview. ColorEditFlagsAlphaPreviewHalf ColorEditFlags = 16384 // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. ColorEditFlagsAlphaBar ColorEditFlags = 262144 // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). ColorEditFlagsHDR ColorEditFlags = 524288 // [Display] // ColorEdit: override _display_ type among RGB/HSV/Hex. ColorPicker: select any combination using one or more of RGB/HSV/Hex. ColorEditFlagsDisplayRGB ColorEditFlags = 1048576 // [Display] // " ColorEditFlagsDisplayHSV ColorEditFlags = 2097152 // [Display] // " ColorEditFlagsDisplayHex ColorEditFlags = 4194304 // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. ColorEditFlagsUint8 ColorEditFlags = 8388608 // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. ColorEditFlagsFloat ColorEditFlags = 16777216 // [Picker] // ColorPicker: bar for Hue, rectangle for Sat/Value. ColorEditFlagsPickerHueBar ColorEditFlags = 33554432 // [Picker] // ColorPicker: wheel for Hue, triangle for Sat/Value. ColorEditFlagsPickerHueWheel ColorEditFlags = 67108864 // [Input] // ColorEdit, ColorPicker: input and output data in RGB format. ColorEditFlagsInputRGB ColorEditFlags = 134217728 // [Input] // ColorEdit, ColorPicker: input and output data in HSV format. ColorEditFlagsInputHSV ColorEditFlags = 268435456 ColorEditFlagsDefaultOptions ColorEditFlags = 177209344 ColorEditFlagsAlphaMask ColorEditFlags = 28674 ColorEditFlagsDisplayMask ColorEditFlags = 7340032 ColorEditFlagsDataTypeMask ColorEditFlags = 25165824 ColorEditFlagsPickerMask ColorEditFlags = 100663296 ColorEditFlagsInputMask ColorEditFlags = 402653184 )
type ColorMod ¶
type ColorMod struct {
CData *C.ImGuiColorMod
}
func NewColorModFromC ¶
NewColorModFromC creates ColorMod from its C pointer. SRC ~= *C.ImGuiColorMod
func NewEmptyColorMod ¶ added in v1.2.0
func NewEmptyColorMod() *ColorMod
NewEmptyColorMod creates ColorMod with its 0 value.
func (*ColorMod) BackupValue ¶
func (ColorMod) C ¶
func (self ColorMod) C() (C.ImGuiColorMod, func())
C is like Handle but returns plain type instead of pointer.
func (*ColorMod) Handle ¶
func (self *ColorMod) Handle() (result *C.ImGuiColorMod, fin func())
Handle returns C version of ColorMod and its finalizer func.
func (ColorMod) SetBackupValue ¶
type ComboFlags ¶
type ComboFlags int32
Flags for ImGui::BeginCombo() original name: ImGuiComboFlags_
const ( ComboFlagsNone ComboFlags = 0 // Align the popup toward the left by default ComboFlagsPopupAlignLeft ComboFlags = 1 // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() ComboFlagsHeightSmall ComboFlags = 2 // Max ~8 items visible (default) ComboFlagsHeightRegular ComboFlags = 4 // Max ~20 items visible ComboFlagsHeightLarge ComboFlags = 8 // As many fitting items as possible ComboFlagsHeightLargest ComboFlags = 16 // Display on the preview box without the square arrow button ComboFlagsNoArrowButton ComboFlags = 32 // Display only a square arrow button ComboFlagsNoPreview ComboFlags = 64 // Width dynamically calculated from preview contents ComboFlagsWidthFitPreview ComboFlags = 128 ComboFlagsHeightMask ComboFlags = 30 )
type ComboFlagsPrivate ¶
type ComboFlagsPrivate int32
Extend ImGuiComboFlags_ original name: ImGuiComboFlagsPrivate_
const ( // enable BeginComboPreview() ComboFlagsCustomPreview ComboFlagsPrivate = 1048576 )
type ComboPreviewData ¶
type ComboPreviewData struct {
CData *C.ImGuiComboPreviewData
}
func InternalNewComboPreviewData ¶
func InternalNewComboPreviewData() *ComboPreviewData
func NewComboPreviewDataFromC ¶
func NewComboPreviewDataFromC[SRC any](cvalue SRC) *ComboPreviewData
NewComboPreviewDataFromC creates ComboPreviewData from its C pointer. SRC ~= *C.ImGuiComboPreviewData
func NewEmptyComboPreviewData ¶ added in v1.2.0
func NewEmptyComboPreviewData() *ComboPreviewData
NewEmptyComboPreviewData creates ComboPreviewData with its 0 value.
func (*ComboPreviewData) BackupCursorMaxPos ¶
func (self *ComboPreviewData) BackupCursorMaxPos() Vec2
func (*ComboPreviewData) BackupCursorPos ¶
func (self *ComboPreviewData) BackupCursorPos() Vec2
func (*ComboPreviewData) BackupCursorPosPrevLine ¶
func (self *ComboPreviewData) BackupCursorPosPrevLine() Vec2
func (*ComboPreviewData) BackupLayout ¶
func (self *ComboPreviewData) BackupLayout() LayoutType
func (*ComboPreviewData) BackupPrevLineTextBaseOffset ¶
func (self *ComboPreviewData) BackupPrevLineTextBaseOffset() float32
func (ComboPreviewData) C ¶
func (self ComboPreviewData) C() (C.ImGuiComboPreviewData, func())
C is like Handle but returns plain type instead of pointer.
func (*ComboPreviewData) Handle ¶
func (self *ComboPreviewData) Handle() (result *C.ImGuiComboPreviewData, fin func())
Handle returns C version of ComboPreviewData and its finalizer func.
func (*ComboPreviewData) InternalDestroy ¶ added in v1.3.1
func (self *ComboPreviewData) InternalDestroy()
func (*ComboPreviewData) PreviewRect ¶
func (self *ComboPreviewData) PreviewRect() Rect
func (ComboPreviewData) SetBackupCursorMaxPos ¶
func (self ComboPreviewData) SetBackupCursorMaxPos(v Vec2)
func (ComboPreviewData) SetBackupCursorPos ¶
func (self ComboPreviewData) SetBackupCursorPos(v Vec2)
func (ComboPreviewData) SetBackupCursorPosPrevLine ¶
func (self ComboPreviewData) SetBackupCursorPosPrevLine(v Vec2)
func (ComboPreviewData) SetBackupLayout ¶
func (self ComboPreviewData) SetBackupLayout(v LayoutType)
func (ComboPreviewData) SetBackupPrevLineTextBaseOffset ¶
func (self ComboPreviewData) SetBackupPrevLineTextBaseOffset(v float32)
func (ComboPreviewData) SetPreviewRect ¶
func (self ComboPreviewData) SetPreviewRect(v Rect)
type Cond ¶
type Cond int32
Enumeration for ImGui::SetNextWindow***(), SetWindow***(), SetNextItem***() functions Represent a condition. Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. original name: ImGuiCond_
const ( // No condition (always set the variable), same as _Always CondNone Cond = 0 // No condition (always set the variable), same as _None CondAlways Cond = 1 // Set the variable once per runtime session (only the first call will succeed) CondOnce Cond = 2 // Set the variable if the object/window has no persistently saved data (no entry in .ini file) CondFirstUseEver Cond = 4 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) CondAppearing Cond = 8 )
type ConfigFlags ¶
type ConfigFlags int32
Configuration flags stored in io.ConfigFlags. Set by user/application. Note that nowadays most of our configuration options are in other ImGuiIO fields, e.g. io.ConfigWindowsMoveFromTitleBarOnly. original name: ImGuiConfigFlags_
const ( ConfigFlagsNone ConfigFlags = 0 ConfigFlagsNavEnableKeyboard ConfigFlags = 1 ConfigFlagsNavEnableGamepad ConfigFlags = 2 // Instruct dear imgui to disable mouse inputs and interactions. ConfigFlagsNoMouse ConfigFlags = 16 // Instruct backend to not alter mouse cursor shape and visibility. Use if the backend cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead. ConfigFlagsNoMouseCursorChange ConfigFlags = 32 // Instruct dear imgui to disable keyboard inputs and interactions. This is done by ignoring keyboard events and clearing existing states. ConfigFlagsNoKeyboard ConfigFlags = 64 // Docking enable flags. ConfigFlagsDockingEnable ConfigFlags = 128 // Viewport enable flags (require both ImGuiBackendFlags_PlatformHasViewports + ImGuiBackendFlags_RendererHasViewports set by the respective backends) ConfigFlagsViewportsEnable ConfigFlags = 1024 // Application is SRGB-aware. ConfigFlagsIsSRGB ConfigFlags = 1048576 // Application is using a touch screen instead of a mouse. ConfigFlagsIsTouchScreen ConfigFlags = 2097152 )
type Context ¶
type Context struct {
CData *C.ImGuiContext
}
func CreateContext ¶
func CreateContext() *Context
func CreateContextV ¶
CreateContextV parameter default value hint: shared_font_atlas: NULL
func CurrentContext ¶
func CurrentContext() *Context
func InternalNewContext ¶
func NewContextFromC ¶
NewContextFromC creates Context from its C pointer. SRC ~= *C.ImGuiContext
func NewEmptyContext ¶ added in v1.2.0
func NewEmptyContext() *Context
NewEmptyContext creates Context with its 0 value.
func (*Context) ActiveIdAllowOverlap ¶
func (*Context) ActiveIdClickOffset ¶
func (*Context) ActiveIdDisabledId ¶ added in v1.4.0
func (*Context) ActiveIdFromShortcut ¶
func (*Context) ActiveIdHasBeenEditedBefore ¶
func (*Context) ActiveIdHasBeenEditedThisFrame ¶
func (*Context) ActiveIdHasBeenPressedBefore ¶
func (*Context) ActiveIdIsAlive ¶
func (*Context) ActiveIdIsJustActivated ¶
func (*Context) ActiveIdMouseButton ¶
func (*Context) ActiveIdNoClearOnFocusLoss ¶
func (*Context) ActiveIdPreviousFrame ¶
func (*Context) ActiveIdSource ¶
func (self *Context) ActiveIdSource() InputSource
func (*Context) ActiveIdTimer ¶
func (*Context) ActiveIdUsingAllKeyboardKeys ¶
func (*Context) ActiveIdUsingNavDirMask ¶
func (*Context) ActiveIdValueOnActivation ¶ added in v1.3.1
func (self *Context) ActiveIdValueOnActivation() DataTypeStorage
func (*Context) ActiveIdWindow ¶
func (*Context) BeginComboDepth ¶
func (*Context) BeginMenuDepth ¶
func (*Context) BoxSelectState ¶
func (self *Context) BoxSelectState() BoxSelectState
func (Context) C ¶
func (self Context) C() (C.ImGuiContext, func())
C is like Handle but returns plain type instead of pointer.
func (*Context) ClipboardHandlerData ¶
func (*Context) ClipperTempData ¶
func (self *Context) ClipperTempData() vectors.Vector[ListClipperData]
func (*Context) ClipperTempDataStacked ¶
func (*Context) ColorEditCurrentID ¶
func (*Context) ColorEditOptions ¶
func (self *Context) ColorEditOptions() ColorEditFlags
func (*Context) ColorEditSavedColor ¶
func (*Context) ColorEditSavedHue ¶
func (*Context) ColorEditSavedID ¶
func (*Context) ColorEditSavedSat ¶
func (*Context) ColorPickerRef ¶
func (*Context) ComboPreviewData ¶
func (self *Context) ComboPreviewData() ComboPreviewData
func (*Context) ConfigFlagsCurrFrame ¶
func (self *Context) ConfigFlagsCurrFrame() ConfigFlags
func (*Context) ConfigFlagsLastFrame ¶
func (self *Context) ConfigFlagsLastFrame() ConfigFlags
func (*Context) ConfigNavEnableTabbing ¶ added in v1.5.0
func (*Context) ConfigNavWindowingKeyNext ¶
func (*Context) ConfigNavWindowingKeyPrev ¶
func (*Context) ConfigNavWindowingWithGamepad ¶ added in v1.4.0
func (*Context) ContextName ¶
func (*Context) CurrentDpiScale ¶
func (*Context) CurrentFocusScopeId ¶
func (*Context) CurrentItemFlags ¶
func (*Context) CurrentMultiSelect ¶
func (self *Context) CurrentMultiSelect() *MultiSelectTempData
func (*Context) CurrentTabBar ¶
func (*Context) CurrentTabBarStack ¶
func (self *Context) CurrentTabBarStack() vectors.Vector[PtrOrIndex]
func (*Context) CurrentTable ¶
func (*Context) CurrentViewport ¶
func (*Context) CurrentWindow ¶
func (*Context) CurrentWindowStack ¶
func (self *Context) CurrentWindowStack() vectors.Vector[WindowStackData]
func (*Context) DataTypeZeroValue ¶
func (self *Context) DataTypeZeroValue() DataTypeStorage
func (*Context) DeactivatedItemData ¶ added in v1.3.1
func (self *Context) DeactivatedItemData() DeactivatedItemData
func (*Context) DebugAllocInfo ¶
func (self *Context) DebugAllocInfo() DebugAllocInfo
func (*Context) DebugBeginReturnValueCullDepth ¶
func (*Context) DebugBreakInLocateId ¶
func (*Context) DebugBreakInShortcutRouting ¶
func (*Context) DebugBreakInTable ¶
func (*Context) DebugBreakInWindow ¶
func (*Context) DebugBreakKeyChord ¶
func (*Context) DebugDrawIdConflictsCount ¶ added in v1.1.0
func (*Context) DebugDrawIdConflictsId ¶ added in v1.4.0
func (*Context) DebugFlashStyleColorBackup ¶
func (*Context) DebugFlashStyleColorIdx ¶
func (*Context) DebugFlashStyleColorTime ¶
func (*Context) DebugHookIdInfoId ¶ added in v1.4.0
func (*Context) DebugHoveredDockNode ¶
func (*Context) DebugIDStackTool ¶
func (self *Context) DebugIDStackTool() IDStackTool
func (*Context) DebugItemPathQuery ¶ added in v1.5.0
func (self *Context) DebugItemPathQuery() DebugItemPathQuery
func (*Context) DebugItemPickerActive ¶
func (*Context) DebugItemPickerBreakId ¶
func (*Context) DebugItemPickerMouseButton ¶
func (*Context) DebugLocateFrames ¶
func (*Context) DebugLocateId ¶
func (*Context) DebugLogAutoDisableFlags ¶
func (self *Context) DebugLogAutoDisableFlags() DebugLogFlags
func (*Context) DebugLogAutoDisableFrames ¶
func (*Context) DebugLogBuf ¶
func (self *Context) DebugLogBuf() TextBuffer
func (*Context) DebugLogFlags ¶
func (self *Context) DebugLogFlags() DebugLogFlags
func (*Context) DebugLogIndex ¶
func (*Context) DebugLogSkippedErrors ¶ added in v1.1.0
func (*Context) DebugMetricsConfig ¶
func (self *Context) DebugMetricsConfig() MetricsConfig
func (*Context) DebugShowGroupRects ¶
func (*Context) DemoMarkerCallback ¶ added in v1.5.0
func (self *Context) DemoMarkerCallback() DemoMarkerCallback
func (*Context) DimBgRatio ¶
func (*Context) DisabledAlphaBackup ¶
func (*Context) DisabledStackSize ¶
func (*Context) DockContext ¶
func (self *Context) DockContext() DockContext
func (*Context) DragCurrentAccum ¶
func (*Context) DragCurrentAccumDirty ¶
func (*Context) DragDropAcceptFlagsCurr ¶ added in v1.5.0
func (self *Context) DragDropAcceptFlagsCurr() DragDropFlags
func (*Context) DragDropAcceptFlagsPrev ¶ added in v1.5.0
func (self *Context) DragDropAcceptFlagsPrev() DragDropFlags
func (*Context) DragDropAcceptFrameCount ¶
func (*Context) DragDropAcceptIdCurr ¶
func (*Context) DragDropAcceptIdCurrRectSurface ¶
func (*Context) DragDropAcceptIdPrev ¶
func (*Context) DragDropActive ¶
func (*Context) DragDropHoldJustPressedId ¶
func (*Context) DragDropMouseButton ¶
func (*Context) DragDropPayload ¶
func (*Context) DragDropPayloadBufLocal ¶
func (*Context) DragDropSourceFlags ¶
func (self *Context) DragDropSourceFlags() DragDropFlags
func (*Context) DragDropSourceFrameCount ¶
func (*Context) DragDropTargetClipRect ¶
func (*Context) DragDropTargetFullViewport ¶ added in v1.5.0
func (*Context) DragDropTargetId ¶
func (*Context) DragDropTargetRect ¶
func (*Context) DragDropWithinSource ¶
func (*Context) DragDropWithinTarget ¶
func (*Context) DragSpeedDefaultRatio ¶
func (*Context) DrawChannelsTempMergeBuffer ¶
func (self *Context) DrawChannelsTempMergeBuffer() vectors.Vector[DrawChannel]
func (*Context) DrawListSharedData ¶
func (self *Context) DrawListSharedData() DrawListSharedData
func (*Context) ErrorCallback ¶ added in v1.2.0
func (self *Context) ErrorCallback() ErrorCallback
func (*Context) ErrorCallbackUserData ¶ added in v1.1.0
func (*Context) ErrorCountCurrentFrame ¶ added in v1.1.0
func (*Context) ErrorFirst ¶ added in v1.1.0
func (*Context) ErrorTooltipLockedPos ¶ added in v1.1.0
func (*Context) FallbackMonitor ¶
func (self *Context) FallbackMonitor() PlatformMonitor
func (*Context) FocusScopeStack ¶
func (self *Context) FocusScopeStack() vectors.Vector[FocusScopeData]
func (*Context) FontAtlases ¶ added in v1.4.0
func (*Context) FontBakedScale ¶ added in v1.4.0
func (*Context) FontRasterizerDensity ¶ added in v1.4.0
func (*Context) FontSizeBase ¶ added in v1.4.0
func (*Context) FontStack ¶ added in v1.4.0
func (self *Context) FontStack() vectors.Vector[FontStackData]
func (*Context) FrameCount ¶
func (*Context) FrameCountEnded ¶
func (*Context) FrameCountPlatformEnded ¶
func (*Context) FrameCountRendered ¶
func (*Context) FramerateSecPerFrame ¶
func (*Context) FramerateSecPerFrameAccum ¶
func (*Context) FramerateSecPerFrameCount ¶
func (*Context) FramerateSecPerFrameIdx ¶
func (*Context) GcCompactAll ¶
func (*Context) Handle ¶
func (self *Context) Handle() (result *C.ImGuiContext, fin func())
Handle returns C version of Context and its finalizer func.
func (*Context) HookIdNext ¶
func (*Context) HoverItemDelayClearTimer ¶
func (*Context) HoverItemDelayId ¶
func (*Context) HoverItemDelayIdPreviousFrame ¶
func (*Context) HoverItemDelayTimer ¶
func (*Context) HoverItemUnlockedStationaryId ¶
func (*Context) HoverWindowUnlockedStationaryId ¶
func (*Context) HoveredIdAllowOverlap ¶
func (*Context) HoveredIdIsDisabled ¶
func (*Context) HoveredIdNotActiveTimer ¶
func (*Context) HoveredIdPreviousFrame ¶
func (*Context) HoveredIdPreviousFrameItemCount ¶
func (*Context) HoveredIdTimer ¶
func (*Context) HoveredWindow ¶
func (*Context) HoveredWindowBeforeClear ¶
func (*Context) HoveredWindowUnderMovingWindow ¶
func (*Context) Initialized ¶
func (*Context) InputEventsNextEventId ¶
func (*Context) InputEventsNextMouseSource ¶
func (self *Context) InputEventsNextMouseSource() MouseSource
func (*Context) InputEventsQueue ¶
func (self *Context) InputEventsQueue() vectors.Vector[InputEvent]
func (*Context) InputEventsTrail ¶
func (self *Context) InputEventsTrail() vectors.Vector[InputEvent]
func (*Context) InputTextDeactivatedState ¶
func (self *Context) InputTextDeactivatedState() InputTextDeactivatedState
func (*Context) InputTextLineIndex ¶ added in v1.4.0
func (*Context) InputTextPasswordFontBackupBaked ¶ added in v1.4.0
func (*Context) InputTextPasswordFontBackupFlags ¶ added in v1.4.0
func (*Context) InputTextReactivateId ¶ added in v1.5.0
func (*Context) InputTextState ¶
func (self *Context) InputTextState() InputTextState
func (*Context) InternalDestroy ¶ added in v1.3.1
func (self *Context) InternalDestroy()
func (*Context) ItemUnclipByLog ¶
func (*Context) KeysMayBeCharInput ¶ added in v1.5.0
func (self *Context) KeysMayBeCharInput() BitArrayForNamedKeys
func (*Context) KeysOwnerData ¶
func (self *Context) KeysOwnerData() [155]KeyOwnerData
func (*Context) KeysRoutingTable ¶
func (self *Context) KeysRoutingTable() KeyRoutingTable
func (*Context) LastActiveId ¶
func (*Context) LastActiveIdTimer ¶
func (*Context) LastItemData ¶
func (self *Context) LastItemData() LastItemData
func (*Context) LastKeyModsChangeFromNoneTime ¶
func (*Context) LastKeyModsChangeTime ¶
func (*Context) LastKeyboardKeyPressTime ¶
func (*Context) LocalizationTable ¶
func (*Context) LogBuffer ¶
func (self *Context) LogBuffer() TextBuffer
func (*Context) LogDepthRef ¶
func (*Context) LogDepthToExpand ¶
func (*Context) LogDepthToExpandDefault ¶
func (*Context) LogEnabled ¶
func (*Context) LogLineFirstItem ¶
func (*Context) LogLinePosY ¶
func (*Context) LogNextPrefix ¶
func (*Context) LogNextSuffix ¶
func (*Context) MenusIdSubmittedThisFrame ¶
func (*Context) MouseCursor ¶
func (self *Context) MouseCursor() MouseCursor
func (*Context) MouseLastHoveredViewport ¶
func (*Context) MouseLastValidPos ¶
func (*Context) MouseStationaryTimer ¶
func (*Context) MouseViewport ¶
func (*Context) MovingWindow ¶
func (*Context) MultiSelectTempData ¶
func (self *Context) MultiSelectTempData() vectors.Vector[MultiSelectTempData]
func (*Context) MultiSelectTempDataStacked ¶
func (*Context) NavActivateDownId ¶
func (*Context) NavActivateFlags ¶
func (self *Context) NavActivateFlags() ActivateFlags
func (*Context) NavActivateId ¶
func (*Context) NavActivatePressedId ¶
func (*Context) NavAnyRequest ¶
func (*Context) NavCursorHideFrames ¶ added in v1.1.0
func (*Context) NavCursorVisible ¶ added in v1.1.0
func (*Context) NavFocusRoute ¶
func (self *Context) NavFocusRoute() vectors.Vector[FocusScopeData]
func (*Context) NavFocusScopeId ¶
func (*Context) NavHighlightActivatedId ¶
func (*Context) NavHighlightActivatedTimer ¶
func (*Context) NavHighlightItemUnderNav ¶ added in v1.1.0
func (*Context) NavIdIsAlive ¶
func (*Context) NavIdItemFlags ¶ added in v1.5.0
func (*Context) NavInitRequest ¶
func (*Context) NavInitRequestFromMove ¶
func (*Context) NavInitResult ¶
func (self *Context) NavInitResult() NavItemData
func (*Context) NavInputSource ¶
func (self *Context) NavInputSource() InputSource
func (*Context) NavJustMovedFromFocusScopeId ¶
func (*Context) NavJustMovedToFocusScopeId ¶
func (*Context) NavJustMovedToHasSelectionData ¶
func (*Context) NavJustMovedToId ¶
func (*Context) NavJustMovedToIsTabbing ¶
func (*Context) NavJustMovedToKeyMods ¶
func (*Context) NavLastValidSelectionUserData ¶
func (self *Context) NavLastValidSelectionUserData() SelectionUserData
func (*Context) NavMousePosDirty ¶
func (*Context) NavMoveClipDir ¶
func (*Context) NavMoveDir ¶
func (*Context) NavMoveDirForDebug ¶
func (*Context) NavMoveFlags ¶
func (self *Context) NavMoveFlags() NavMoveFlags
func (*Context) NavMoveForwardToNextFrame ¶
func (*Context) NavMoveKeyMods ¶
func (*Context) NavMoveResultLocal ¶
func (self *Context) NavMoveResultLocal() NavItemData
func (*Context) NavMoveResultLocalVisible ¶
func (self *Context) NavMoveResultLocalVisible() NavItemData
func (*Context) NavMoveResultOther ¶
func (self *Context) NavMoveResultOther() NavItemData
func (*Context) NavMoveScoringItems ¶
func (*Context) NavMoveScrollFlags ¶
func (self *Context) NavMoveScrollFlags() ScrollFlags
func (*Context) NavMoveSubmitted ¶
func (*Context) NavNextActivateFlags ¶
func (self *Context) NavNextActivateFlags() ActivateFlags
func (*Context) NavNextActivateId ¶
func (*Context) NavOpenContextMenuItemId ¶ added in v1.5.0
func (*Context) NavOpenContextMenuWindowId ¶ added in v1.5.0
func (*Context) NavScoringDebugCount ¶
func (*Context) NavScoringNoClipRect ¶
func (*Context) NavScoringRect ¶
func (*Context) NavTabbingCounter ¶
func (*Context) NavTabbingDir ¶
func (*Context) NavTabbingResultFirst ¶
func (self *Context) NavTabbingResultFirst() NavItemData
func (*Context) NavWindowingAccumDeltaPos ¶
func (*Context) NavWindowingAccumDeltaSize ¶
func (*Context) NavWindowingHighlightAlpha ¶
func (*Context) NavWindowingInputSource ¶ added in v1.4.0
func (self *Context) NavWindowingInputSource() InputSource
func (*Context) NavWindowingListWindow ¶
func (*Context) NavWindowingTarget ¶
func (*Context) NavWindowingTargetAnim ¶
func (*Context) NavWindowingTimer ¶
func (*Context) NavWindowingToggleKey ¶
func (*Context) NavWindowingToggleLayer ¶
func (*Context) NextItemData ¶
func (self *Context) NextItemData() NextItemData
func (*Context) NextWindowData ¶
func (self *Context) NextWindowData() NextWindowData
func (*Context) PlatformIO ¶
func (self *Context) PlatformIO() PlatformIO
func (*Context) PlatformImeData ¶
func (self *Context) PlatformImeData() PlatformImeData
func (*Context) PlatformImeDataPrev ¶
func (self *Context) PlatformImeDataPrev() PlatformImeData
func (*Context) PlatformLastFocusedViewportId ¶
func (*Context) PlatformMonitorsFullWorkRect ¶
func (*Context) PlatformWindowsCreatedCount ¶
func (*Context) ScrollbarClickDeltaToGrabCenter ¶
func (*Context) ScrollbarSeekMode ¶
func (Context) SetActiveId ¶
func (Context) SetActiveIdAllowOverlap ¶
func (Context) SetActiveIdClickOffset ¶
func (Context) SetActiveIdDisabledId ¶ added in v1.4.0
func (Context) SetActiveIdFromShortcut ¶
func (Context) SetActiveIdHasBeenEditedBefore ¶
func (Context) SetActiveIdHasBeenEditedThisFrame ¶
func (Context) SetActiveIdHasBeenPressedBefore ¶
func (Context) SetActiveIdIsAlive ¶
func (Context) SetActiveIdIsJustActivated ¶
func (Context) SetActiveIdMouseButton ¶
func (Context) SetActiveIdNoClearOnFocusLoss ¶
func (Context) SetActiveIdPreviousFrame ¶
func (Context) SetActiveIdSource ¶
func (self Context) SetActiveIdSource(v InputSource)
func (Context) SetActiveIdTimer ¶
func (Context) SetActiveIdUsingAllKeyboardKeys ¶
func (Context) SetActiveIdUsingNavDirMask ¶
func (Context) SetActiveIdValueOnActivation ¶ added in v1.3.1
func (self Context) SetActiveIdValueOnActivation(v DataTypeStorage)
func (Context) SetActiveIdWindow ¶
func (Context) SetBeginComboDepth ¶
func (Context) SetBeginMenuDepth ¶
func (Context) SetBeginPopupStack ¶
func (Context) SetBoxSelectState ¶
func (self Context) SetBoxSelectState(v BoxSelectState)
func (Context) SetClipboardHandlerData ¶
func (Context) SetClipperTempData ¶
func (self Context) SetClipperTempData(v vectors.Vector[ListClipperData])
func (Context) SetClipperTempDataStacked ¶
func (Context) SetColorEditCurrentID ¶
func (Context) SetColorEditOptions ¶
func (self Context) SetColorEditOptions(v ColorEditFlags)
func (Context) SetColorEditSavedColor ¶
func (Context) SetColorEditSavedHue ¶
func (Context) SetColorEditSavedID ¶
func (Context) SetColorEditSavedSat ¶
func (Context) SetColorPickerRef ¶
func (Context) SetComboPreviewData ¶
func (self Context) SetComboPreviewData(v ComboPreviewData)
func (Context) SetConfigFlagsCurrFrame ¶
func (self Context) SetConfigFlagsCurrFrame(v ConfigFlags)
func (Context) SetConfigFlagsLastFrame ¶
func (self Context) SetConfigFlagsLastFrame(v ConfigFlags)
func (Context) SetConfigNavEnableTabbing ¶ added in v1.5.0
func (Context) SetConfigNavWindowingKeyNext ¶
func (Context) SetConfigNavWindowingKeyPrev ¶
func (Context) SetConfigNavWindowingWithGamepad ¶ added in v1.4.0
func (Context) SetContextName ¶
func (Context) SetCurrentDpiScale ¶
func (Context) SetCurrentFocusScopeId ¶
func (Context) SetCurrentItemFlags ¶
func (Context) SetCurrentMultiSelect ¶
func (self Context) SetCurrentMultiSelect(v *MultiSelectTempData)
func (Context) SetCurrentTabBar ¶
func (Context) SetCurrentTabBarStack ¶
func (self Context) SetCurrentTabBarStack(v vectors.Vector[PtrOrIndex])
func (Context) SetCurrentTable ¶
func (Context) SetCurrentViewport ¶
func (Context) SetCurrentWindow ¶
func (Context) SetCurrentWindowStack ¶
func (self Context) SetCurrentWindowStack(v vectors.Vector[WindowStackData])
func (Context) SetDataTypeZeroValue ¶
func (self Context) SetDataTypeZeroValue(v DataTypeStorage)
func (Context) SetDeactivatedItemData ¶ added in v1.3.1
func (self Context) SetDeactivatedItemData(v DeactivatedItemData)
func (Context) SetDebugAllocInfo ¶
func (self Context) SetDebugAllocInfo(v DebugAllocInfo)
func (Context) SetDebugBeginReturnValueCullDepth ¶
func (Context) SetDebugBreakInLocateId ¶
func (Context) SetDebugBreakInShortcutRouting ¶
func (Context) SetDebugBreakInTable ¶
func (Context) SetDebugBreakInWindow ¶
func (Context) SetDebugBreakKeyChord ¶
func (Context) SetDebugDrawIdConflictsCount ¶ added in v1.1.0
func (Context) SetDebugDrawIdConflictsId ¶ added in v1.4.0
func (Context) SetDebugFlashStyleColorBackup ¶
func (Context) SetDebugFlashStyleColorIdx ¶
func (Context) SetDebugFlashStyleColorTime ¶
func (Context) SetDebugHookIdInfoId ¶ added in v1.4.0
func (Context) SetDebugHoveredDockNode ¶
func (Context) SetDebugIDStackTool ¶
func (self Context) SetDebugIDStackTool(v IDStackTool)
func (Context) SetDebugItemPathQuery ¶ added in v1.5.0
func (self Context) SetDebugItemPathQuery(v DebugItemPathQuery)
func (Context) SetDebugItemPickerActive ¶
func (Context) SetDebugItemPickerBreakId ¶
func (Context) SetDebugItemPickerMouseButton ¶
func (Context) SetDebugLocateFrames ¶
func (Context) SetDebugLocateId ¶
func (Context) SetDebugLogAutoDisableFlags ¶
func (self Context) SetDebugLogAutoDisableFlags(v DebugLogFlags)
func (Context) SetDebugLogAutoDisableFrames ¶
func (Context) SetDebugLogBuf ¶
func (self Context) SetDebugLogBuf(v TextBuffer)
func (Context) SetDebugLogFlags ¶
func (self Context) SetDebugLogFlags(v DebugLogFlags)
func (Context) SetDebugLogIndex ¶
func (Context) SetDebugLogSkippedErrors ¶ added in v1.1.0
func (Context) SetDebugMetricsConfig ¶
func (self Context) SetDebugMetricsConfig(v MetricsConfig)
func (Context) SetDebugShowGroupRects ¶
func (Context) SetDemoMarkerCallback ¶ added in v1.5.0
func (self Context) SetDemoMarkerCallback(v DemoMarkerCallback)
func (Context) SetDimBgRatio ¶
func (Context) SetDisabledAlphaBackup ¶
func (Context) SetDisabledStackSize ¶
func (Context) SetDockContext ¶
func (self Context) SetDockContext(v DockContext)
func (Context) SetDragCurrentAccum ¶
func (Context) SetDragCurrentAccumDirty ¶
func (Context) SetDragDropAcceptFlagsCurr ¶ added in v1.5.0
func (self Context) SetDragDropAcceptFlagsCurr(v DragDropFlags)
func (Context) SetDragDropAcceptFlagsPrev ¶ added in v1.5.0
func (self Context) SetDragDropAcceptFlagsPrev(v DragDropFlags)
func (Context) SetDragDropAcceptFrameCount ¶
func (Context) SetDragDropAcceptIdCurr ¶
func (Context) SetDragDropAcceptIdCurrRectSurface ¶
func (Context) SetDragDropAcceptIdPrev ¶
func (Context) SetDragDropActive ¶
func (Context) SetDragDropHoldJustPressedId ¶
func (Context) SetDragDropMouseButton ¶
func (Context) SetDragDropPayload ¶
func (Context) SetDragDropPayloadBufLocal ¶
func (Context) SetDragDropSourceFlags ¶
func (self Context) SetDragDropSourceFlags(v DragDropFlags)
func (Context) SetDragDropSourceFrameCount ¶
func (Context) SetDragDropTargetClipRect ¶
func (Context) SetDragDropTargetFullViewport ¶ added in v1.5.0
func (Context) SetDragDropTargetId ¶
func (Context) SetDragDropTargetRect ¶
func (Context) SetDragDropWithinSource ¶
func (Context) SetDragDropWithinTarget ¶
func (Context) SetDragSpeedDefaultRatio ¶
func (Context) SetDrawChannelsTempMergeBuffer ¶
func (self Context) SetDrawChannelsTempMergeBuffer(v vectors.Vector[DrawChannel])
func (Context) SetDrawListSharedData ¶
func (self Context) SetDrawListSharedData(v DrawListSharedData)
func (Context) SetErrorCallback ¶ added in v1.2.0
func (self Context) SetErrorCallback(v ErrorCallback)
func (Context) SetErrorCallbackUserData ¶ added in v1.1.0
func (Context) SetErrorCountCurrentFrame ¶ added in v1.1.0
func (Context) SetErrorFirst ¶ added in v1.1.0
func (Context) SetErrorTooltipLockedPos ¶ added in v1.1.0
func (Context) SetFallbackMonitor ¶
func (self Context) SetFallbackMonitor(v PlatformMonitor)
func (Context) SetFocusScopeStack ¶
func (self Context) SetFocusScopeStack(v vectors.Vector[FocusScopeData])
func (Context) SetFontBaked ¶ added in v1.4.0
func (Context) SetFontBakedScale ¶ added in v1.4.0
func (Context) SetFontRasterizerDensity ¶ added in v1.4.0
func (Context) SetFontSize ¶
func (Context) SetFontSizeBase ¶ added in v1.4.0
func (Context) SetFontStack ¶ added in v1.4.0
func (self Context) SetFontStack(v vectors.Vector[FontStackData])
func (Context) SetFrameCount ¶
func (Context) SetFrameCountEnded ¶
func (Context) SetFrameCountPlatformEnded ¶
func (Context) SetFrameCountRendered ¶
func (Context) SetFramerateSecPerFrame ¶
func (Context) SetFramerateSecPerFrameAccum ¶
func (Context) SetFramerateSecPerFrameCount ¶
func (Context) SetFramerateSecPerFrameIdx ¶
func (Context) SetGcCompactAll ¶
func (Context) SetHookIdNext ¶
func (Context) SetHoverItemDelayClearTimer ¶
func (Context) SetHoverItemDelayId ¶
func (Context) SetHoverItemDelayIdPreviousFrame ¶
func (Context) SetHoverItemDelayTimer ¶
func (Context) SetHoverItemUnlockedStationaryId ¶
func (Context) SetHoverWindowUnlockedStationaryId ¶
func (Context) SetHoveredId ¶
func (Context) SetHoveredIdAllowOverlap ¶
func (Context) SetHoveredIdIsDisabled ¶
func (Context) SetHoveredIdNotActiveTimer ¶
func (Context) SetHoveredIdPreviousFrame ¶
func (Context) SetHoveredIdPreviousFrameItemCount ¶
func (Context) SetHoveredIdTimer ¶
func (Context) SetHoveredWindow ¶
func (Context) SetHoveredWindowBeforeClear ¶
func (Context) SetHoveredWindowUnderMovingWindow ¶
func (Context) SetInitialized ¶
func (Context) SetInputEventsNextEventId ¶
func (Context) SetInputEventsNextMouseSource ¶
func (self Context) SetInputEventsNextMouseSource(v MouseSource)
func (Context) SetInputEventsQueue ¶
func (self Context) SetInputEventsQueue(v vectors.Vector[InputEvent])
func (Context) SetInputEventsTrail ¶
func (self Context) SetInputEventsTrail(v vectors.Vector[InputEvent])
func (Context) SetInputTextDeactivatedState ¶
func (self Context) SetInputTextDeactivatedState(v InputTextDeactivatedState)
func (Context) SetInputTextLineIndex ¶ added in v1.4.0
func (Context) SetInputTextPasswordFontBackupBaked ¶ added in v1.4.0
func (Context) SetInputTextPasswordFontBackupFlags ¶ added in v1.4.0
func (Context) SetInputTextReactivateId ¶ added in v1.5.0
func (Context) SetInputTextState ¶
func (self Context) SetInputTextState(v InputTextState)
func (Context) SetItemFlagsStack ¶ added in v1.2.0
func (Context) SetItemUnclipByLog ¶
func (Context) SetKeysMayBeCharInput ¶ added in v1.5.0
func (self Context) SetKeysMayBeCharInput(v BitArrayForNamedKeys)
func (Context) SetKeysOwnerData ¶
func (self Context) SetKeysOwnerData(v *[155]KeyOwnerData)
func (Context) SetKeysRoutingTable ¶
func (self Context) SetKeysRoutingTable(v KeyRoutingTable)
func (Context) SetLastActiveId ¶
func (Context) SetLastActiveIdTimer ¶
func (Context) SetLastItemData ¶
func (self Context) SetLastItemData(v LastItemData)
func (Context) SetLastKeyModsChangeFromNoneTime ¶
func (Context) SetLastKeyModsChangeTime ¶
func (Context) SetLastKeyboardKeyPressTime ¶
func (Context) SetLocalizationTable ¶
func (Context) SetLogBuffer ¶
func (self Context) SetLogBuffer(v TextBuffer)
func (Context) SetLogDepthRef ¶
func (Context) SetLogDepthToExpand ¶
func (Context) SetLogDepthToExpandDefault ¶
func (Context) SetLogEnabled ¶
func (Context) SetLogFlags ¶ added in v1.3.1
func (Context) SetLogLineFirstItem ¶
func (Context) SetLogLinePosY ¶
func (Context) SetLogNextPrefix ¶
func (Context) SetLogNextSuffix ¶
func (Context) SetLogWindow ¶ added in v1.3.1
func (Context) SetMenusIdSubmittedThisFrame ¶
func (Context) SetMouseCursor ¶
func (self Context) SetMouseCursor(v MouseCursor)
func (Context) SetMouseLastHoveredViewport ¶
func (Context) SetMouseLastValidPos ¶
func (Context) SetMouseStationaryTimer ¶
func (Context) SetMouseViewport ¶
func (Context) SetMovingWindow ¶
func (Context) SetMultiSelectTempData ¶
func (self Context) SetMultiSelectTempData(v vectors.Vector[MultiSelectTempData])
func (Context) SetMultiSelectTempDataStacked ¶
func (Context) SetNavActivateDownId ¶
func (Context) SetNavActivateFlags ¶
func (self Context) SetNavActivateFlags(v ActivateFlags)
func (Context) SetNavActivateId ¶
func (Context) SetNavActivatePressedId ¶
func (Context) SetNavAnyRequest ¶
func (Context) SetNavCursorHideFrames ¶ added in v1.1.0
func (Context) SetNavCursorVisible ¶ added in v1.1.0
func (Context) SetNavFocusRoute ¶
func (self Context) SetNavFocusRoute(v vectors.Vector[FocusScopeData])
func (Context) SetNavFocusScopeId ¶
func (Context) SetNavHighlightActivatedId ¶
func (Context) SetNavHighlightActivatedTimer ¶
func (Context) SetNavHighlightItemUnderNav ¶ added in v1.1.0
func (Context) SetNavIdIsAlive ¶
func (Context) SetNavIdItemFlags ¶ added in v1.5.0
func (Context) SetNavInitRequest ¶
func (Context) SetNavInitRequestFromMove ¶
func (Context) SetNavInitResult ¶
func (self Context) SetNavInitResult(v NavItemData)
func (Context) SetNavInputSource ¶
func (self Context) SetNavInputSource(v InputSource)
func (Context) SetNavJustMovedFromFocusScopeId ¶
func (Context) SetNavJustMovedToFocusScopeId ¶
func (Context) SetNavJustMovedToHasSelectionData ¶
func (Context) SetNavJustMovedToId ¶
func (Context) SetNavJustMovedToIsTabbing ¶
func (Context) SetNavJustMovedToKeyMods ¶
func (Context) SetNavLastValidSelectionUserData ¶
func (self Context) SetNavLastValidSelectionUserData(v SelectionUserData)
func (Context) SetNavLayer ¶
func (Context) SetNavMousePosDirty ¶
func (Context) SetNavMoveClipDir ¶
func (Context) SetNavMoveDir ¶
func (Context) SetNavMoveDirForDebug ¶
func (Context) SetNavMoveFlags ¶
func (self Context) SetNavMoveFlags(v NavMoveFlags)
func (Context) SetNavMoveForwardToNextFrame ¶
func (Context) SetNavMoveKeyMods ¶
func (Context) SetNavMoveResultLocal ¶
func (self Context) SetNavMoveResultLocal(v NavItemData)
func (Context) SetNavMoveResultLocalVisible ¶
func (self Context) SetNavMoveResultLocalVisible(v NavItemData)
func (Context) SetNavMoveResultOther ¶
func (self Context) SetNavMoveResultOther(v NavItemData)
func (Context) SetNavMoveScoringItems ¶
func (Context) SetNavMoveScrollFlags ¶
func (self Context) SetNavMoveScrollFlags(v ScrollFlags)
func (Context) SetNavMoveSubmitted ¶
func (Context) SetNavNextActivateFlags ¶
func (self Context) SetNavNextActivateFlags(v ActivateFlags)
func (Context) SetNavNextActivateId ¶
func (Context) SetNavOpenContextMenuItemId ¶ added in v1.5.0
func (Context) SetNavOpenContextMenuWindowId ¶ added in v1.5.0
func (Context) SetNavScoringDebugCount ¶
func (Context) SetNavScoringNoClipRect ¶
func (Context) SetNavScoringRect ¶
func (Context) SetNavTabbingCounter ¶
func (Context) SetNavTabbingDir ¶
func (Context) SetNavTabbingResultFirst ¶
func (self Context) SetNavTabbingResultFirst(v NavItemData)
func (Context) SetNavWindow ¶
func (Context) SetNavWindowingAccumDeltaPos ¶
func (Context) SetNavWindowingAccumDeltaSize ¶
func (Context) SetNavWindowingHighlightAlpha ¶
func (Context) SetNavWindowingInputSource ¶ added in v1.4.0
func (self Context) SetNavWindowingInputSource(v InputSource)
func (Context) SetNavWindowingListWindow ¶
func (Context) SetNavWindowingTarget ¶
func (Context) SetNavWindowingTargetAnim ¶
func (Context) SetNavWindowingTimer ¶
func (Context) SetNavWindowingToggleKey ¶
func (Context) SetNavWindowingToggleLayer ¶
func (Context) SetNextItemData ¶
func (self Context) SetNextItemData(v NextItemData)
func (Context) SetNextWindowData ¶
func (self Context) SetNextWindowData(v NextWindowData)
func (Context) SetOpenPopupStack ¶
func (Context) SetPlatformIO ¶
func (self Context) SetPlatformIO(v PlatformIO)
func (Context) SetPlatformImeData ¶
func (self Context) SetPlatformImeData(v PlatformImeData)
func (Context) SetPlatformImeDataPrev ¶
func (self Context) SetPlatformImeDataPrev(v PlatformImeData)
func (Context) SetPlatformLastFocusedViewportId ¶
func (Context) SetPlatformMonitorsFullWorkRect ¶
func (Context) SetPlatformWindowsCreatedCount ¶
func (Context) SetScrollbarClickDeltaToGrabCenter ¶
func (Context) SetScrollbarSeekMode ¶
func (Context) SetSettingsDirtyTimer ¶
func (Context) SetSettingsHandlers ¶
func (self Context) SetSettingsHandlers(v vectors.Vector[SettingsHandler])
func (Context) SetSettingsIniData ¶
func (self Context) SetSettingsIniData(v TextBuffer)
func (Context) SetSettingsLoaded ¶
func (Context) SetShrinkWidthBuffer ¶
func (self Context) SetShrinkWidthBuffer(v vectors.Vector[ShrinkWidthItem])
func (Context) SetSliderCurrentAccum ¶
func (Context) SetSliderCurrentAccumDirty ¶
func (Context) SetSliderGrabClickOffset ¶
func (Context) SetStackSizesInBeginForCurrentWindow ¶ added in v1.1.0
func (self Context) SetStackSizesInBeginForCurrentWindow(v *ErrorRecoveryState)
func (Context) SetStackSizesInNewFrame ¶ added in v1.1.0
func (self Context) SetStackSizesInNewFrame(v ErrorRecoveryState)
func (Context) SetTablesLastTimeActive ¶
func (Context) SetTablesTempData ¶
func (self Context) SetTablesTempData(v vectors.Vector[TableTempData])
func (Context) SetTablesTempDataStacked ¶
func (Context) SetTempInputId ¶
func (Context) SetTempKeychordName ¶
func (Context) SetTestEngine ¶
func (Context) SetTestEngineHookItems ¶
func (Context) SetTooltipOverrideCount ¶
func (Context) SetTooltipPreviousWindow ¶ added in v1.1.0
func (Context) SetTreeNodeStack ¶
func (self Context) SetTreeNodeStack(v vectors.Vector[TreeNodeStackData])
func (Context) SetTypingSelectState ¶
func (self Context) SetTypingSelectState(v TypingSelectState)
func (Context) SetViewportCreatedCount ¶
func (Context) SetViewportFocusedStampCount ¶
func (Context) SetWantCaptureKeyboardNextFrame ¶
func (Context) SetWantCaptureMouseNextFrame ¶
func (Context) SetWantTextInputNextFrame ¶
func (Context) SetWheelingAxisAvg ¶
func (Context) SetWheelingWindow ¶
func (Context) SetWheelingWindowRefMousePos ¶
func (Context) SetWheelingWindowReleaseTimer ¶
func (Context) SetWheelingWindowScrolledFrame ¶
func (Context) SetWheelingWindowStartFrame ¶
func (Context) SetWheelingWindowWheelRemainder ¶
func (Context) SetWindowResizeBorderExpectedRect ¶
func (Context) SetWindowResizeRelativeMode ¶
func (Context) SetWindowsActiveCount ¶
func (Context) SetWindowsBorderHoverPadding ¶ added in v1.3.1
func (Context) SetWindowsById ¶
func (Context) SetWithinEndChildID ¶ added in v1.3.1
func (Context) SetWithinEndPopupID ¶ added in v1.5.0
func (Context) SetWithinFrameScope ¶
func (Context) SetWithinFrameScopeWithImplicitWindow ¶
func (*Context) SettingsDirtyTimer ¶
func (*Context) SettingsHandlers ¶
func (self *Context) SettingsHandlers() vectors.Vector[SettingsHandler]
func (*Context) SettingsIniData ¶
func (self *Context) SettingsIniData() TextBuffer
func (*Context) SettingsLoaded ¶
func (*Context) ShrinkWidthBuffer ¶
func (self *Context) ShrinkWidthBuffer() vectors.Vector[ShrinkWidthItem]
func (*Context) SliderCurrentAccum ¶
func (*Context) SliderCurrentAccumDirty ¶
func (*Context) SliderGrabClickOffset ¶
func (*Context) StackSizesInBeginForCurrentWindow ¶ added in v1.1.0
func (self *Context) StackSizesInBeginForCurrentWindow() *ErrorRecoveryState
func (*Context) StackSizesInNewFrame ¶ added in v1.1.0
func (self *Context) StackSizesInNewFrame() ErrorRecoveryState
func (*Context) TablesLastTimeActive ¶
func (*Context) TablesTempData ¶
func (self *Context) TablesTempData() vectors.Vector[TableTempData]
func (*Context) TablesTempDataStacked ¶
func (*Context) TempInputId ¶
func (*Context) TempKeychordName ¶
func (*Context) TestEngine ¶
func (*Context) TestEngineHookItems ¶
func (*Context) TooltipOverrideCount ¶
func (*Context) TooltipPreviousWindow ¶ added in v1.1.0
func (*Context) TreeNodeStack ¶
func (self *Context) TreeNodeStack() vectors.Vector[TreeNodeStackData]
func (*Context) TypingSelectState ¶
func (self *Context) TypingSelectState() TypingSelectState
func (*Context) UserTextures ¶ added in v1.4.0
func (self *Context) UserTextures() vectors.Vector[TextureData]
func (*Context) ViewportCreatedCount ¶
func (*Context) ViewportFocusedStampCount ¶
func (*Context) WantCaptureKeyboardNextFrame ¶
func (*Context) WantCaptureMouseNextFrame ¶
func (*Context) WantTextInputNextFrame ¶
func (*Context) WheelingAxisAvg ¶
func (*Context) WheelingWindow ¶
func (*Context) WheelingWindowRefMousePos ¶
func (*Context) WheelingWindowReleaseTimer ¶
func (*Context) WheelingWindowScrolledFrame ¶
func (*Context) WheelingWindowStartFrame ¶
func (*Context) WheelingWindowWheelRemainder ¶
func (*Context) WindowResizeBorderExpectedRect ¶
func (*Context) WindowResizeRelativeMode ¶
func (*Context) WindowsActiveCount ¶
func (*Context) WindowsBorderHoverPadding ¶ added in v1.3.1
func (*Context) WindowsById ¶
func (*Context) WindowsFocusOrder ¶ added in v1.4.0
func (*Context) WindowsTempSortBuffer ¶ added in v1.4.0
func (*Context) WithinEndChildID ¶ added in v1.3.1
func (*Context) WithinEndPopupID ¶ added in v1.5.0
func (*Context) WithinFrameScope ¶
func (*Context) WithinFrameScopeWithImplicitWindow ¶
type ContextHook ¶
type ContextHook struct {
CData *C.ImGuiContextHook
}
func InternalNewContextHook ¶
func InternalNewContextHook() *ContextHook
func NewContextHookFromC ¶
func NewContextHookFromC[SRC any](cvalue SRC) *ContextHook
NewContextHookFromC creates ContextHook from its C pointer. SRC ~= *C.ImGuiContextHook
func NewEmptyContextHook ¶ added in v1.2.0
func NewEmptyContextHook() *ContextHook
NewEmptyContextHook creates ContextHook with its 0 value.
func (ContextHook) C ¶
func (self ContextHook) C() (C.ImGuiContextHook, func())
C is like Handle but returns plain type instead of pointer.
func (*ContextHook) Callback ¶ added in v1.2.0
func (self *ContextHook) Callback() ContextHookCallback
func (*ContextHook) Handle ¶
func (self *ContextHook) Handle() (result *C.ImGuiContextHook, fin func())
Handle returns C version of ContextHook and its finalizer func.
func (*ContextHook) HookId ¶
func (self *ContextHook) HookId() ID
func (*ContextHook) InternalDestroy ¶ added in v1.3.1
func (self *ContextHook) InternalDestroy()
func (*ContextHook) Owner ¶
func (self *ContextHook) Owner() ID
func (ContextHook) SetCallback ¶ added in v1.2.0
func (self ContextHook) SetCallback(v ContextHookCallback)
func (ContextHook) SetHookId ¶
func (self ContextHook) SetHookId(v ID)
func (ContextHook) SetOwner ¶
func (self ContextHook) SetOwner(v ID)
func (ContextHook) SetType ¶
func (self ContextHook) SetType(v ContextHookType)
func (ContextHook) SetUserData ¶
func (self ContextHook) SetUserData(v uintptr)
func (*ContextHook) Type ¶
func (self *ContextHook) Type() ContextHookType
func (*ContextHook) UserData ¶
func (self *ContextHook) UserData() uintptr
type ContextHookCallback ¶ added in v1.2.0
type ContextHookCallback func(ctx *Context, hook *ContextHook)
func NewContextHookCallbackFromC ¶ added in v1.2.0
func NewContextHookCallbackFromC(cvalue *C.ImGuiContextHookCallback) *ContextHookCallback
func (ContextHookCallback) C ¶ added in v1.2.0
func (c ContextHookCallback) C() (C.ImGuiContextHookCallback, func())
type ContextHookType ¶
type ContextHookType int32
original name: ImGuiContextHookType
const ( ContextHookTypeNewFramePre ContextHookType = 0 ContextHookTypeNewFramePost ContextHookType = 1 ContextHookTypeEndFramePre ContextHookType = 2 ContextHookTypeEndFramePost ContextHookType = 3 ContextHookTypeRenderPre ContextHookType = 4 ContextHookTypeRenderPost ContextHookType = 5 ContextHookTypeShutdown ContextHookType = 6 ContextHookTypePendingRemoval ContextHookType = 7 )
type DataAuthority ¶
type DataAuthority int32
Store the source authority (dock node vs window) of a field original name: ImGuiDataAuthority_
const ( DataAuthorityAuto DataAuthority = 0 DataAuthorityDockNode DataAuthority = 1 DataAuthorityWindow DataAuthority = 2 )
type DataType ¶
type DataType int32
A primary data type original name: ImGuiDataType_
const ( // signed char / char (with sensible compilers) DataTypeS8 DataType = 0 // unsigned char DataTypeU8 DataType = 1 // short DataTypeS16 DataType = 2 // unsigned short DataTypeU16 DataType = 3 // int DataTypeS32 DataType = 4 // unsigned int DataTypeU32 DataType = 5 // long long / __int64 DataTypeS64 DataType = 6 // unsigned long long / unsigned __int64 DataTypeU64 DataType = 7 // float DataTypeFloat DataType = 8 // double DataTypeDouble DataType = 9 // bool (provided for user convenience, not supported by scalar widgets) DataTypeBool DataType = 10 // char* (provided for user convenience, not supported by scalar widgets) DataTypeString DataType = 11 DataTypeCOUNT DataType = 12 )
type DataTypeInfo ¶
type DataTypeInfo struct {
CData *C.ImGuiDataTypeInfo
}
func InternalDataTypeGetInfo ¶
func InternalDataTypeGetInfo(data_type DataType) *DataTypeInfo
func NewDataTypeInfoFromC ¶
func NewDataTypeInfoFromC[SRC any](cvalue SRC) *DataTypeInfo
NewDataTypeInfoFromC creates DataTypeInfo from its C pointer. SRC ~= *C.ImGuiDataTypeInfo
func NewEmptyDataTypeInfo ¶ added in v1.2.0
func NewEmptyDataTypeInfo() *DataTypeInfo
NewEmptyDataTypeInfo creates DataTypeInfo with its 0 value.
func (DataTypeInfo) C ¶
func (self DataTypeInfo) C() (C.ImGuiDataTypeInfo, func())
C is like Handle but returns plain type instead of pointer.
func (*DataTypeInfo) Handle ¶
func (self *DataTypeInfo) Handle() (result *C.ImGuiDataTypeInfo, fin func())
Handle returns C version of DataTypeInfo and its finalizer func.
func (*DataTypeInfo) Name ¶
func (self *DataTypeInfo) Name() string
func (*DataTypeInfo) PrintFmt ¶
func (self *DataTypeInfo) PrintFmt() string
func (*DataTypeInfo) ScanFmt ¶
func (self *DataTypeInfo) ScanFmt() string
func (DataTypeInfo) SetName ¶
func (self DataTypeInfo) SetName(v string)
func (DataTypeInfo) SetPrintFmt ¶
func (self DataTypeInfo) SetPrintFmt(v string)
func (DataTypeInfo) SetScanFmt ¶
func (self DataTypeInfo) SetScanFmt(v string)
func (DataTypeInfo) SetSize ¶
func (self DataTypeInfo) SetSize(v uint64)
func (*DataTypeInfo) Size ¶
func (self *DataTypeInfo) Size() uint64
type DataTypePrivate ¶
type DataTypePrivate int32
Extend ImGuiDataType_ original name: ImGuiDataTypePrivate_
const ( DataTypePointer DataTypePrivate = 12 DataTypeID DataTypePrivate = 13 )
type DataTypeStorage ¶
type DataTypeStorage struct {
CData *C.ImGuiDataTypeStorage
}
func NewDataTypeStorageFromC ¶
func NewDataTypeStorageFromC[SRC any](cvalue SRC) *DataTypeStorage
NewDataTypeStorageFromC creates DataTypeStorage from its C pointer. SRC ~= *C.ImGuiDataTypeStorage
func NewEmptyDataTypeStorage ¶ added in v1.2.0
func NewEmptyDataTypeStorage() *DataTypeStorage
NewEmptyDataTypeStorage creates DataTypeStorage with its 0 value.
func (DataTypeStorage) C ¶
func (self DataTypeStorage) C() (C.ImGuiDataTypeStorage, func())
C is like Handle but returns plain type instead of pointer.
func (*DataTypeStorage) Data ¶
func (self *DataTypeStorage) Data() [8]byte
func (*DataTypeStorage) Handle ¶
func (self *DataTypeStorage) Handle() (result *C.ImGuiDataTypeStorage, fin func())
Handle returns C version of DataTypeStorage and its finalizer func.
func (DataTypeStorage) SetData ¶
func (self DataTypeStorage) SetData(v *[8]byte)
type DeactivatedItemData ¶ added in v1.3.1
type DeactivatedItemData struct {
CData *C.ImGuiDeactivatedItemData
}
func NewDeactivatedItemDataFromC ¶ added in v1.3.1
func NewDeactivatedItemDataFromC[SRC any](cvalue SRC) *DeactivatedItemData
NewDeactivatedItemDataFromC creates DeactivatedItemData from its C pointer. SRC ~= *C.ImGuiDeactivatedItemData
func NewEmptyDeactivatedItemData ¶ added in v1.3.1
func NewEmptyDeactivatedItemData() *DeactivatedItemData
NewEmptyDeactivatedItemData creates DeactivatedItemData with its 0 value.
func (DeactivatedItemData) C ¶ added in v1.3.1
func (self DeactivatedItemData) C() (C.ImGuiDeactivatedItemData, func())
C is like Handle but returns plain type instead of pointer.
func (*DeactivatedItemData) ElapseFrame ¶ added in v1.3.1
func (self *DeactivatedItemData) ElapseFrame() int32
func (*DeactivatedItemData) Handle ¶ added in v1.3.1
func (self *DeactivatedItemData) Handle() (result *C.ImGuiDeactivatedItemData, fin func())
Handle returns C version of DeactivatedItemData and its finalizer func.
func (*DeactivatedItemData) HasBeenEditedBefore ¶ added in v1.3.1
func (self *DeactivatedItemData) HasBeenEditedBefore() bool
func (*DeactivatedItemData) ID ¶ added in v1.3.1
func (self *DeactivatedItemData) ID() ID
func (*DeactivatedItemData) IsAlive ¶ added in v1.3.1
func (self *DeactivatedItemData) IsAlive() bool
func (DeactivatedItemData) SetElapseFrame ¶ added in v1.3.1
func (self DeactivatedItemData) SetElapseFrame(v int32)
func (DeactivatedItemData) SetHasBeenEditedBefore ¶ added in v1.3.1
func (self DeactivatedItemData) SetHasBeenEditedBefore(v bool)
func (DeactivatedItemData) SetID ¶ added in v1.3.1
func (self DeactivatedItemData) SetID(v ID)
func (DeactivatedItemData) SetIsAlive ¶ added in v1.3.1
func (self DeactivatedItemData) SetIsAlive(v bool)
type DebugAllocEntry ¶
type DebugAllocEntry struct {
CData *C.ImGuiDebugAllocEntry
}
func NewDebugAllocEntryFromC ¶
func NewDebugAllocEntryFromC[SRC any](cvalue SRC) *DebugAllocEntry
NewDebugAllocEntryFromC creates DebugAllocEntry from its C pointer. SRC ~= *C.ImGuiDebugAllocEntry
func NewEmptyDebugAllocEntry ¶ added in v1.2.0
func NewEmptyDebugAllocEntry() *DebugAllocEntry
NewEmptyDebugAllocEntry creates DebugAllocEntry with its 0 value.
func (*DebugAllocEntry) AllocCount ¶
func (self *DebugAllocEntry) AllocCount() int16
func (DebugAllocEntry) C ¶
func (self DebugAllocEntry) C() (C.ImGuiDebugAllocEntry, func())
C is like Handle but returns plain type instead of pointer.
func (*DebugAllocEntry) FrameCount ¶
func (self *DebugAllocEntry) FrameCount() int32
func (*DebugAllocEntry) FreeCount ¶
func (self *DebugAllocEntry) FreeCount() int16
func (*DebugAllocEntry) Handle ¶
func (self *DebugAllocEntry) Handle() (result *C.ImGuiDebugAllocEntry, fin func())
Handle returns C version of DebugAllocEntry and its finalizer func.
func (DebugAllocEntry) SetAllocCount ¶
func (self DebugAllocEntry) SetAllocCount(v int16)
func (DebugAllocEntry) SetFrameCount ¶
func (self DebugAllocEntry) SetFrameCount(v int32)
func (DebugAllocEntry) SetFreeCount ¶
func (self DebugAllocEntry) SetFreeCount(v int16)
type DebugAllocInfo ¶
type DebugAllocInfo struct {
CData *C.ImGuiDebugAllocInfo
}
func InternalNewDebugAllocInfo ¶
func InternalNewDebugAllocInfo() *DebugAllocInfo
func NewDebugAllocInfoFromC ¶
func NewDebugAllocInfoFromC[SRC any](cvalue SRC) *DebugAllocInfo
NewDebugAllocInfoFromC creates DebugAllocInfo from its C pointer. SRC ~= *C.ImGuiDebugAllocInfo
func NewEmptyDebugAllocInfo ¶ added in v1.2.0
func NewEmptyDebugAllocInfo() *DebugAllocInfo
NewEmptyDebugAllocInfo creates DebugAllocInfo with its 0 value.
func (DebugAllocInfo) C ¶
func (self DebugAllocInfo) C() (C.ImGuiDebugAllocInfo, func())
C is like Handle but returns plain type instead of pointer.
func (*DebugAllocInfo) Handle ¶
func (self *DebugAllocInfo) Handle() (result *C.ImGuiDebugAllocInfo, fin func())
Handle returns C version of DebugAllocInfo and its finalizer func.
func (*DebugAllocInfo) InternalDestroy ¶ added in v1.3.1
func (self *DebugAllocInfo) InternalDestroy()
func (*DebugAllocInfo) LastEntriesBuf ¶
func (self *DebugAllocInfo) LastEntriesBuf() [6]DebugAllocEntry
func (*DebugAllocInfo) LastEntriesIdx ¶
func (self *DebugAllocInfo) LastEntriesIdx() int16
func (DebugAllocInfo) SetLastEntriesBuf ¶
func (self DebugAllocInfo) SetLastEntriesBuf(v *[6]DebugAllocEntry)
func (DebugAllocInfo) SetLastEntriesIdx ¶
func (self DebugAllocInfo) SetLastEntriesIdx(v int16)
func (DebugAllocInfo) SetTotalAllocCount ¶
func (self DebugAllocInfo) SetTotalAllocCount(v int32)
func (DebugAllocInfo) SetTotalFreeCount ¶
func (self DebugAllocInfo) SetTotalFreeCount(v int32)
func (*DebugAllocInfo) TotalAllocCount ¶
func (self *DebugAllocInfo) TotalAllocCount() int32
func (*DebugAllocInfo) TotalFreeCount ¶
func (self *DebugAllocInfo) TotalFreeCount() int32
type DebugItemPathQuery ¶ added in v1.5.0
type DebugItemPathQuery struct {
CData *C.ImGuiDebugItemPathQuery
}
func InternalNewDebugItemPathQuery ¶ added in v1.5.0
func InternalNewDebugItemPathQuery() *DebugItemPathQuery
func NewDebugItemPathQueryFromC ¶ added in v1.5.0
func NewDebugItemPathQueryFromC[SRC any](cvalue SRC) *DebugItemPathQuery
NewDebugItemPathQueryFromC creates DebugItemPathQuery from its C pointer. SRC ~= *C.ImGuiDebugItemPathQuery
func NewEmptyDebugItemPathQuery ¶ added in v1.5.0
func NewEmptyDebugItemPathQuery() *DebugItemPathQuery
NewEmptyDebugItemPathQuery creates DebugItemPathQuery with its 0 value.
func (*DebugItemPathQuery) Active ¶ added in v1.5.0
func (self *DebugItemPathQuery) Active() bool
func (DebugItemPathQuery) C ¶ added in v1.5.0
func (self DebugItemPathQuery) C() (C.ImGuiDebugItemPathQuery, func())
C is like Handle but returns plain type instead of pointer.
func (*DebugItemPathQuery) Complete ¶ added in v1.5.0
func (self *DebugItemPathQuery) Complete() bool
func (*DebugItemPathQuery) Handle ¶ added in v1.5.0
func (self *DebugItemPathQuery) Handle() (result *C.ImGuiDebugItemPathQuery, fin func())
Handle returns C version of DebugItemPathQuery and its finalizer func.
func (*DebugItemPathQuery) InternalDestroy ¶ added in v1.5.0
func (self *DebugItemPathQuery) InternalDestroy()
func (*DebugItemPathQuery) MainID ¶ added in v1.5.0
func (self *DebugItemPathQuery) MainID() ID
func (*DebugItemPathQuery) ResultPathBuf ¶ added in v1.5.0
func (self *DebugItemPathQuery) ResultPathBuf() TextBuffer
func (*DebugItemPathQuery) Results ¶ added in v1.5.0
func (self *DebugItemPathQuery) Results() vectors.Vector[StackLevelInfo]
func (*DebugItemPathQuery) ResultsDescBuf ¶ added in v1.5.0
func (self *DebugItemPathQuery) ResultsDescBuf() TextBuffer
func (DebugItemPathQuery) SetActive ¶ added in v1.5.0
func (self DebugItemPathQuery) SetActive(v bool)
func (DebugItemPathQuery) SetComplete ¶ added in v1.5.0
func (self DebugItemPathQuery) SetComplete(v bool)
func (DebugItemPathQuery) SetMainID ¶ added in v1.5.0
func (self DebugItemPathQuery) SetMainID(v ID)
func (DebugItemPathQuery) SetResultPathBuf ¶ added in v1.5.0
func (self DebugItemPathQuery) SetResultPathBuf(v TextBuffer)
func (DebugItemPathQuery) SetResults ¶ added in v1.5.0
func (self DebugItemPathQuery) SetResults(v vectors.Vector[StackLevelInfo])
func (DebugItemPathQuery) SetResultsDescBuf ¶ added in v1.5.0
func (self DebugItemPathQuery) SetResultsDescBuf(v TextBuffer)
func (DebugItemPathQuery) SetStep ¶ added in v1.5.0
func (self DebugItemPathQuery) SetStep(v int)
func (*DebugItemPathQuery) Step ¶ added in v1.5.0
func (self *DebugItemPathQuery) Step() int
type DebugLogFlags ¶
type DebugLogFlags int32
See IMGUI_DEBUG_LOG() and IMGUI_DEBUG_LOG_XXX() macros. original name: ImGuiDebugLogFlags_
const ( DebugLogFlagsNone DebugLogFlags = 0 // Error submitted by IM_ASSERT_USER_ERROR() DebugLogFlagsEventError DebugLogFlags = 1 DebugLogFlagsEventActiveId DebugLogFlags = 2 DebugLogFlagsEventFocus DebugLogFlags = 4 DebugLogFlagsEventPopup DebugLogFlags = 8 DebugLogFlagsEventClipper DebugLogFlags = 32 DebugLogFlagsEventSelection DebugLogFlags = 64 DebugLogFlagsEventIO DebugLogFlags = 128 DebugLogFlagsEventFont DebugLogFlags = 256 DebugLogFlagsEventInputRouting DebugLogFlags = 512 DebugLogFlagsEventDocking DebugLogFlags = 1024 DebugLogFlagsEventViewport DebugLogFlags = 2048 DebugLogFlagsEventMask DebugLogFlags = 4095 // Also send output to TTY DebugLogFlagsOutputToTTY DebugLogFlags = 1048576 // Also send output to Debugger Console [Windows only] DebugLogFlagsOutputToDebugger DebugLogFlags = 2097152 // Also send output to Dear ImGui Test Engine DebugLogFlagsOutputToTestEngine DebugLogFlags = 4194304 )
type DemoMarkerCallback ¶ added in v1.5.0
func NewDemoMarkerCallbackFromC ¶ added in v1.5.0
func NewDemoMarkerCallbackFromC(cvalue *C.ImGuiDemoMarkerCallback) *DemoMarkerCallback
func (DemoMarkerCallback) C ¶ added in v1.5.0
func (c DemoMarkerCallback) C() (C.ImGuiDemoMarkerCallback, func())
type DockContext ¶
type DockContext struct {
CData *C.ImGuiDockContext
}
func InternalNewDockContext ¶
func InternalNewDockContext() *DockContext
func NewDockContextFromC ¶
func NewDockContextFromC[SRC any](cvalue SRC) *DockContext
NewDockContextFromC creates DockContext from its C pointer. SRC ~= *C.ImGuiDockContext
func NewEmptyDockContext ¶ added in v1.2.0
func NewEmptyDockContext() *DockContext
NewEmptyDockContext creates DockContext with its 0 value.
func (DockContext) C ¶
func (self DockContext) C() (C.ImGuiDockContext, func())
C is like Handle but returns plain type instead of pointer.
func (*DockContext) Handle ¶
func (self *DockContext) Handle() (result *C.ImGuiDockContext, fin func())
Handle returns C version of DockContext and its finalizer func.
func (*DockContext) InternalDestroy ¶ added in v1.3.1
func (self *DockContext) InternalDestroy()
func (*DockContext) Nodes ¶
func (self *DockContext) Nodes() Storage
func (*DockContext) NodesSettings ¶
func (self *DockContext) NodesSettings() vectors.Vector[DockNodeSettings]
func (*DockContext) Requests ¶
func (self *DockContext) Requests() vectors.Vector[DockRequest]
func (DockContext) SetNodes ¶
func (self DockContext) SetNodes(v Storage)
func (DockContext) SetNodesSettings ¶
func (self DockContext) SetNodesSettings(v vectors.Vector[DockNodeSettings])
func (DockContext) SetRequests ¶
func (self DockContext) SetRequests(v vectors.Vector[DockRequest])
func (DockContext) SetWantFullRebuild ¶
func (self DockContext) SetWantFullRebuild(v bool)
func (*DockContext) WantFullRebuild ¶
func (self *DockContext) WantFullRebuild() bool
type DockNode ¶
type DockNode struct {
CData *C.ImGuiDockNode
}
func InternalNewDockNode ¶
func InternalWindowDockNode ¶
func InternalWindowDockNode() *DockNode
func NewDockNodeFromC ¶
NewDockNodeFromC creates DockNode from its C pointer. SRC ~= *C.ImGuiDockNode
func NewEmptyDockNode ¶ added in v1.2.0
func NewEmptyDockNode() *DockNode
NewEmptyDockNode creates DockNode with its 0 value.
func (*DockNode) AuthorityForPos ¶
func (self *DockNode) AuthorityForPos() DataAuthority
func (*DockNode) AuthorityForSize ¶
func (self *DockNode) AuthorityForSize() DataAuthority
func (*DockNode) AuthorityForViewport ¶
func (self *DockNode) AuthorityForViewport() DataAuthority
func (DockNode) C ¶
func (self DockNode) C() (C.ImGuiDockNode, func())
C is like Handle but returns plain type instead of pointer.
func (*DockNode) CentralNode ¶
func (*DockNode) ChildNodes ¶
func (*DockNode) CountNodeWithWindows ¶
func (*DockNode) Handle ¶
func (self *DockNode) Handle() (result *C.ImGuiDockNode, fin func())
Handle returns C version of DockNode and its finalizer func.
func (*DockNode) HasCentralNodeChild ¶
func (*DockNode) HasCloseButton ¶
func (*DockNode) HasWindowMenuButton ¶
func (*DockNode) HostWindow ¶
func (*DockNode) InternalDestroy ¶
func (self *DockNode) InternalDestroy()
func (*DockNode) InternalIsCentralNode ¶
func (*DockNode) InternalIsDockSpace ¶
func (*DockNode) InternalIsEmpty ¶
func (*DockNode) InternalIsFloatingNode ¶
func (*DockNode) InternalIsHiddenTabBar ¶
Hidden tab bar can be shown back by clicking the small triangle
func (*DockNode) InternalIsLeafNode ¶
func (*DockNode) InternalIsNoTabBar ¶
Never show a tab bar
func (*DockNode) InternalIsRootNode ¶
func (*DockNode) InternalIsSplitNode ¶
func (*DockNode) InternalRect ¶
func (*DockNode) InternalSetLocalFlags ¶
func (self *DockNode) InternalSetLocalFlags(flags DockNodeFlags)
func (*DockNode) InternalUpdateMergedFlags ¶
func (self *DockNode) InternalUpdateMergedFlags()
func (*DockNode) IsBgDrawnThisFrame ¶
func (*DockNode) LastBgColor ¶
func (*DockNode) LastFocusedNodeId ¶
func (*DockNode) LastFrameActive ¶
func (*DockNode) LastFrameAlive ¶
func (*DockNode) LastFrameFocused ¶
func (*DockNode) LocalFlags ¶ added in v1.4.0
func (self *DockNode) LocalFlags() DockNodeFlags
func (*DockNode) LocalFlagsInWindows ¶
func (self *DockNode) LocalFlagsInWindows() DockNodeFlags
func (*DockNode) MergedFlags ¶
func (self *DockNode) MergedFlags() DockNodeFlags
func (*DockNode) OnlyNodeWithWindows ¶
func (*DockNode) ParentNode ¶
func (*DockNode) RefViewportId ¶
func (*DockNode) SelectedTabId ¶
func (DockNode) SetAuthorityForPos ¶
func (self DockNode) SetAuthorityForPos(v DataAuthority)
func (DockNode) SetAuthorityForSize ¶
func (self DockNode) SetAuthorityForSize(v DataAuthority)
func (DockNode) SetAuthorityForViewport ¶
func (self DockNode) SetAuthorityForViewport(v DataAuthority)
func (DockNode) SetCentralNode ¶
func (DockNode) SetChildNodes ¶
func (DockNode) SetCountNodeWithWindows ¶
func (DockNode) SetHasCentralNodeChild ¶
func (DockNode) SetHasCloseButton ¶
func (DockNode) SetHasWindowMenuButton ¶
func (DockNode) SetHostWindow ¶
func (DockNode) SetIsBgDrawnThisFrame ¶
func (DockNode) SetIsFocused ¶
func (DockNode) SetIsVisible ¶
func (DockNode) SetLastBgColor ¶
func (DockNode) SetLastFocusedNodeId ¶
func (DockNode) SetLastFrameActive ¶
func (DockNode) SetLastFrameAlive ¶
func (DockNode) SetLastFrameFocused ¶
func (DockNode) SetLocalFlagsInWindows ¶
func (self DockNode) SetLocalFlagsInWindows(v DockNodeFlags)
func (DockNode) SetMergedFlags ¶
func (self DockNode) SetMergedFlags(v DockNodeFlags)
func (DockNode) SetOnlyNodeWithWindows ¶
func (DockNode) SetParentNode ¶
func (DockNode) SetRefViewportId ¶
func (DockNode) SetSelectedTabId ¶
func (DockNode) SetSharedFlags ¶
func (self DockNode) SetSharedFlags(v DockNodeFlags)
func (DockNode) SetSizeRef ¶
func (DockNode) SetSplitAxis ¶
func (DockNode) SetState ¶
func (self DockNode) SetState(v DockNodeState)
func (DockNode) SetVisibleWindow ¶
func (DockNode) SetWantCloseAll ¶
func (DockNode) SetWantCloseTabId ¶
func (DockNode) SetWantHiddenTabBarToggle ¶
func (DockNode) SetWantHiddenTabBarUpdate ¶
func (DockNode) SetWantLockSizeOnce ¶
func (DockNode) SetWantMouseMove ¶
func (DockNode) SetWindowClass ¶
func (self DockNode) SetWindowClass(v WindowClass)
func (*DockNode) SharedFlags ¶
func (self *DockNode) SharedFlags() DockNodeFlags
func (*DockNode) State ¶
func (self *DockNode) State() DockNodeState
func (*DockNode) VisibleWindow ¶
func (*DockNode) WantCloseAll ¶
func (*DockNode) WantCloseTabId ¶
func (*DockNode) WantHiddenTabBarToggle ¶
func (*DockNode) WantHiddenTabBarUpdate ¶
func (*DockNode) WantLockSizeOnce ¶
func (*DockNode) WantMouseMove ¶
func (*DockNode) WindowClass ¶
func (self *DockNode) WindowClass() WindowClass
type DockNodeFlags ¶
type DockNodeFlags int32
Flags for ImGui::DockSpace(), shared/inherited by child nodes. (Some flags can be applied to individual nodes directly) FIXME-DOCK: Also see ImGuiDockNodeFlagsPrivate_ which may involve using the WIP and internal DockBuilder api. original name: ImGuiDockNodeFlags_
const ( DockNodeFlagsNone DockNodeFlags = 0 // // Don't display the dockspace node but keep it alive. Windows docked into this dockspace node won't be undocked. DockNodeFlagsKeepAliveOnly DockNodeFlags = 1 // // Disable docking over the Central Node, which will be always kept empty. DockNodeFlagsNoDockingOverCentralNode DockNodeFlags = 4 // // Enable passthru dockspace: 1) DockSpace() will render a ImGuiCol_WindowBg background covering everything excepted the Central Node when empty. Meaning the host window should probably use SetNextWindowBgAlpha(0.0f) prior to Begin() when using this. 2) When Central Node is empty: let inputs pass-through + won't display a DockingEmptyBg background. See demo for details. DockNodeFlagsPassthruCentralNode DockNodeFlags = 8 // // Disable other windows/nodes from splitting this node. DockNodeFlagsNoDockingSplit DockNodeFlags = 16 // Saved // Disable resizing node using the splitter/separators. Useful with programmatically setup dockspaces. DockNodeFlagsNoResize DockNodeFlags = 32 // // Tab bar will automatically hide when there is a single window in the dock node. DockNodeFlagsAutoHideTabBar DockNodeFlags = 64 // // Disable undocking this node. DockNodeFlagsNoUndocking DockNodeFlags = 128 )
type DockNodeFlagsPrivate ¶
type DockNodeFlagsPrivate int32
Extend ImGuiDockNodeFlags_ original name: ImGuiDockNodeFlagsPrivate_
const ( // Saved // A dockspace is a node that occupy space within an existing user window. Otherwise the node is floating and create its own window. DockNodeFlagsDockSpace DockNodeFlagsPrivate = 1024 // Saved // The central node has 2 main properties: stay visible when empty, only use "remaining" spaces from its neighbor. DockNodeFlagsCentralNode DockNodeFlagsPrivate = 2048 // Saved // Tab bar is completely unavailable. No triangle in the corner to enable it back. DockNodeFlagsNoTabBar DockNodeFlagsPrivate = 4096 // Saved // Tab bar is hidden, with a triangle in the corner to show it again (NB: actual tab-bar instance may be destroyed as this is only used for single-window tab bar) DockNodeFlagsHiddenTabBar DockNodeFlagsPrivate = 8192 // Saved // Disable window/docking menu (that one that appears instead of the collapse button) DockNodeFlagsNoWindowMenuButton DockNodeFlagsPrivate = 16384 // Saved // Disable close button DockNodeFlagsNoCloseButton DockNodeFlagsPrivate = 32768 // // DockNodeFlagsNoResizeX DockNodeFlagsPrivate = 65536 // // DockNodeFlagsNoResizeY DockNodeFlagsPrivate = 131072 // // Any docked window will be automatically be focus-route chained (window->ParentWindowForFocusRoute set to this) so Shortcut() in this window can run when any docked window is focused. DockNodeFlagsDockedWindowsInFocusRoute DockNodeFlagsPrivate = 262144 // // Disable this node from splitting other windows/nodes. DockNodeFlagsNoDockingSplitOther DockNodeFlagsPrivate = 524288 // // Disable other windows/nodes from being docked over this node. DockNodeFlagsNoDockingOverMe DockNodeFlagsPrivate = 1048576 // // Disable this node from being docked over another window or non-empty node. DockNodeFlagsNoDockingOverOther DockNodeFlagsPrivate = 2097152 // // Disable this node from being docked over an empty node (e.g. DockSpace with no other windows) DockNodeFlagsNoDockingOverEmpty DockNodeFlagsPrivate = 4194304 DockNodeFlagsNoDocking DockNodeFlagsPrivate = 7864336 DockNodeFlagsNoResizeFlagsMask DockNodeFlagsPrivate = 196640 DockNodeFlagsLocalFlagsTransferMask DockNodeFlagsPrivate = 260208 DockNodeFlagsSavedFlagsMask DockNodeFlagsPrivate = 261152 )
type DockNodeSettings ¶
type DockNodeSettings struct {
CData *C.ImGuiDockNodeSettings
}
func NewDockNodeSettingsFromC ¶
func NewDockNodeSettingsFromC[SRC any](cvalue SRC) *DockNodeSettings
NewDockNodeSettingsFromC creates DockNodeSettings from its C pointer. SRC ~= *C.ImGuiDockNodeSettings
func (*DockNodeSettings) Handle ¶
func (self *DockNodeSettings) Handle() (result *C.ImGuiDockNodeSettings, fin func())
Handle returns C version of DockNodeSettings and its finalizer func.
type DockNodeState ¶
type DockNodeState int32
original name: ImGuiDockNodeState
const ( DockNodeStateUnknown DockNodeState = 0 DockNodeStateHostWindowHiddenBecauseSingleWindow DockNodeState = 1 DockNodeStateHostWindowHiddenBecauseWindowsAreResizing DockNodeState = 2 DockNodeStateHostWindowVisible DockNodeState = 3 )
type DockRequest ¶
type DockRequest struct {
CData *C.ImGuiDockRequest
}
func NewDockRequestFromC ¶
func NewDockRequestFromC[SRC any](cvalue SRC) *DockRequest
NewDockRequestFromC creates DockRequest from its C pointer. SRC ~= *C.ImGuiDockRequest
func (*DockRequest) Handle ¶
func (self *DockRequest) Handle() (result *C.ImGuiDockRequest, fin func())
Handle returns C version of DockRequest and its finalizer func.
type DragDropFlags ¶
type DragDropFlags int32
Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() original name: ImGuiDragDropFlags_
const ( DragDropFlagsNone DragDropFlags = 0 // Disable preview tooltip. By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disables this behavior. DragDropFlagsSourceNoPreviewTooltip DragDropFlags = 1 // By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disables this behavior so you can still call IsItemHovered() on the source item. DragDropFlagsSourceNoDisableHover DragDropFlags = 2 // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. DragDropFlagsSourceNoHoldToOpenOthers DragDropFlags = 4 // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. DragDropFlagsSourceAllowNullID DragDropFlags = 8 // External source (from outside of dear imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. DragDropFlagsSourceExtern DragDropFlags = 16 // Automatically expire the payload if the source cease to be submitted (otherwise payloads are persisting while being dragged) DragDropFlagsPayloadAutoExpire DragDropFlags = 32 // Hint to specify that the payload may not be copied outside current dear imgui context. DragDropFlagsPayloadNoCrossContext DragDropFlags = 64 // Hint to specify that the payload may not be copied outside current process. DragDropFlagsPayloadNoCrossProcess DragDropFlags = 128 // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. DragDropFlagsAcceptBeforeDelivery DragDropFlags = 1024 // Do not draw the default highlight rectangle when hovering over target. DragDropFlagsAcceptNoDrawDefaultRect DragDropFlags = 2048 // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. DragDropFlagsAcceptNoPreviewTooltip DragDropFlags = 4096 // Accepting item will render as if hovered. Useful for e.g. a Button() used as a drop target. DragDropFlagsAcceptDrawAsHovered DragDropFlags = 8192 // For peeking ahead and inspecting the payload before delivery. DragDropFlagsAcceptPeekOnly DragDropFlags = 3072 )
type DrawCallback ¶ added in v1.2.0
func NewDrawCallbackFromC ¶ added in v1.2.0
func NewDrawCallbackFromC(cvalue *C.ImDrawCallback) *DrawCallback
func (DrawCallback) C ¶ added in v1.2.0
func (c DrawCallback) C() (C.ImDrawCallback, func())
type DrawChannel ¶
type DrawChannel struct {
CData *C.ImDrawChannel
}
func NewDrawChannelFromC ¶
func NewDrawChannelFromC[SRC any](cvalue SRC) *DrawChannel
NewDrawChannelFromC creates DrawChannel from its C pointer. SRC ~= *C.ImDrawChannel
func NewEmptyDrawChannel ¶ added in v1.2.0
func NewEmptyDrawChannel() *DrawChannel
NewEmptyDrawChannel creates DrawChannel with its 0 value.
func (DrawChannel) C ¶
func (self DrawChannel) C() (C.ImDrawChannel, func())
C is like Handle but returns plain type instead of pointer.
func (*DrawChannel) Handle ¶
func (self *DrawChannel) Handle() (result *C.ImDrawChannel, fin func())
Handle returns C version of DrawChannel and its finalizer func.
func (DrawChannel) SetCmdBuffer ¶
func (self DrawChannel) SetCmdBuffer(v vectors.Vector[DrawCmd])
func (DrawChannel) SetIdxBuffer ¶
func (self DrawChannel) SetIdxBuffer(v vectors.Vector[DrawIdx])
type DrawCmd ¶
func NewDrawCmdFromC ¶
NewDrawCmdFromC creates DrawCmd from its C pointer. SRC ~= *C.ImDrawCmd
func NewEmptyDrawCmd ¶ added in v1.2.0
func NewEmptyDrawCmd() *DrawCmd
NewEmptyDrawCmd creates DrawCmd with its 0 value.
func (DrawCmd) CallUserCallback ¶
func (DrawCmd) HasUserCallback ¶
func (DrawCmd) SetClipRect ¶
func (DrawCmd) SetElemCount ¶
func (DrawCmd) SetIdxOffset ¶
func (DrawCmd) SetTexRef ¶ added in v1.4.0
func (self DrawCmd) SetTexRef(v TextureRef)
func (DrawCmd) SetUserCallback ¶ added in v1.2.0
func (self DrawCmd) SetUserCallback(v DrawCallback)
func (DrawCmd) SetUserCallbackData ¶
func (DrawCmd) SetUserCallbackDataOffset ¶ added in v1.1.0
func (DrawCmd) SetUserCallbackDataSize ¶ added in v1.1.0
func (DrawCmd) SetVtxOffset ¶
func (*DrawCmd) TexRef ¶ added in v1.4.0
func (self *DrawCmd) TexRef() TextureRef
func (*DrawCmd) UserCallback ¶ added in v1.2.0
func (self *DrawCmd) UserCallback() DrawCallback
func (*DrawCmd) UserCallbackData ¶
func (*DrawCmd) UserCallbackDataOffset ¶ added in v1.1.0
func (*DrawCmd) UserCallbackDataSize ¶ added in v1.1.0
type DrawCmdHeader ¶
type DrawCmdHeader struct {
CData *C.ImDrawCmdHeader
}
func NewDrawCmdHeaderFromC ¶
func NewDrawCmdHeaderFromC[SRC any](cvalue SRC) *DrawCmdHeader
NewDrawCmdHeaderFromC creates DrawCmdHeader from its C pointer. SRC ~= *C.ImDrawCmdHeader
func NewEmptyDrawCmdHeader ¶ added in v1.2.0
func NewEmptyDrawCmdHeader() *DrawCmdHeader
NewEmptyDrawCmdHeader creates DrawCmdHeader with its 0 value.
func (DrawCmdHeader) C ¶
func (self DrawCmdHeader) C() (C.ImDrawCmdHeader, func())
C is like Handle but returns plain type instead of pointer.
func (*DrawCmdHeader) ClipRect ¶
func (self *DrawCmdHeader) ClipRect() Vec4
func (*DrawCmdHeader) Handle ¶
func (self *DrawCmdHeader) Handle() (result *C.ImDrawCmdHeader, fin func())
Handle returns C version of DrawCmdHeader and its finalizer func.
func (DrawCmdHeader) SetClipRect ¶
func (self DrawCmdHeader) SetClipRect(v Vec4)
func (DrawCmdHeader) SetTexRef ¶ added in v1.4.0
func (self DrawCmdHeader) SetTexRef(v TextureRef)
func (DrawCmdHeader) SetVtxOffset ¶
func (self DrawCmdHeader) SetVtxOffset(v uint32)
func (*DrawCmdHeader) TexRef ¶ added in v1.4.0
func (self *DrawCmdHeader) TexRef() TextureRef
func (*DrawCmdHeader) VtxOffset ¶
func (self *DrawCmdHeader) VtxOffset() uint32
type DrawData ¶
type DrawData struct {
CData *C.ImDrawData
}
func CurrentDrawData ¶
func CurrentDrawData() *DrawData
valid after Render() and until the next call to NewFrame(). Call ImGui_ImplXXXX_RenderDrawData() function in your Renderer Backend to render.
func NewDrawData ¶
func NewDrawData() *DrawData
func NewDrawDataFromC ¶
NewDrawDataFromC creates DrawData from its C pointer. SRC ~= *C.ImDrawData
func NewEmptyDrawData ¶ added in v1.2.0
func NewEmptyDrawData() *DrawData
NewEmptyDrawData creates DrawData with its 0 value.
func (*DrawData) AddDrawList ¶
Helper to add an external draw list into an existing ImDrawData.
func (DrawData) C ¶
func (self DrawData) C() (C.ImDrawData, func())
C is like Handle but returns plain type instead of pointer.
func (*DrawData) CmdListsCount ¶
func (DrawData) CommandLists ¶
Commands returns the list of draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback.
func (*DrawData) DeIndexAllBuffers ¶
func (self *DrawData) DeIndexAllBuffers()
Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!
func (*DrawData) DisplayPos ¶
func (*DrawData) DisplaySize ¶
func (*DrawData) FramebufferScale ¶
func (*DrawData) Handle ¶
func (self *DrawData) Handle() (result *C.ImDrawData, fin func())
Handle returns C version of DrawData and its finalizer func.
func (*DrawData) OwnerViewport ¶
func (*DrawData) ScaleClipRects ¶
Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than Dear ImGui expects, or if there is a difference between your window resolution and framebuffer resolution.
func (DrawData) SetCmdListsCount ¶
func (DrawData) SetDisplayPos ¶
func (DrawData) SetDisplaySize ¶
func (DrawData) SetFramebufferScale ¶
func (DrawData) SetOwnerViewport ¶
func (DrawData) SetTotalIdxCount ¶
func (DrawData) SetTotalVtxCount ¶
func (*DrawData) Textures ¶ added in v1.4.0
func (self *DrawData) Textures() vectors.Vector[TextureData]
func (*DrawData) TotalIdxCount ¶
func (*DrawData) TotalVtxCount ¶
type DrawDataBuilder ¶
type DrawDataBuilder struct {
CData *C.ImDrawDataBuilder
}
func InternalNewDrawDataBuilder ¶
func InternalNewDrawDataBuilder() *DrawDataBuilder
func NewDrawDataBuilderFromC ¶
func NewDrawDataBuilderFromC[SRC any](cvalue SRC) *DrawDataBuilder
NewDrawDataBuilderFromC creates DrawDataBuilder from its C pointer. SRC ~= *C.ImDrawDataBuilder
func NewEmptyDrawDataBuilder ¶ added in v1.2.0
func NewEmptyDrawDataBuilder() *DrawDataBuilder
NewEmptyDrawDataBuilder creates DrawDataBuilder with its 0 value.
func (DrawDataBuilder) C ¶
func (self DrawDataBuilder) C() (C.ImDrawDataBuilder, func())
C is like Handle but returns plain type instead of pointer.
func (*DrawDataBuilder) Handle ¶
func (self *DrawDataBuilder) Handle() (result *C.ImDrawDataBuilder, fin func())
Handle returns C version of DrawDataBuilder and its finalizer func.
func (*DrawDataBuilder) InternalDestroy ¶ added in v1.3.1
func (self *DrawDataBuilder) InternalDestroy()
func (*DrawDataBuilder) LayerData1 ¶ added in v1.4.0
func (self *DrawDataBuilder) LayerData1() vectors.Vector[DrawList]
type DrawFlags ¶
type DrawFlags int32
Flags for ImDrawList functions (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused) original name: ImDrawFlags_
const ( DrawFlagsNone DrawFlags = 0 // PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason) DrawFlagsClosed DrawFlags = 1 // AddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding > 0.0f, we default to all corners). Was 0x01. DrawFlagsRoundCornersTopLeft DrawFlags = 16 // AddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding > 0.0f, we default to all corners). Was 0x02. DrawFlagsRoundCornersTopRight DrawFlags = 32 // AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding > 0.0f, we default to all corners). Was 0x04. DrawFlagsRoundCornersBottomLeft DrawFlags = 64 // AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding > 0.0f, we default to all corners). Wax 0x08. DrawFlagsRoundCornersBottomRight DrawFlags = 128 // AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding > 0.0f). This is NOT zero, NOT an implicit flag! DrawFlagsRoundCornersNone DrawFlags = 256 DrawFlagsRoundCornersTop DrawFlags = 48 DrawFlagsRoundCornersBottom DrawFlags = 192 DrawFlagsRoundCornersLeft DrawFlags = 80 DrawFlagsRoundCornersRight DrawFlags = 160 DrawFlagsRoundCornersAll DrawFlags = 240 // Default to ALL corners if none of the _RoundCornersXX flags are specified. DrawFlagsRoundCornersDefault DrawFlags = 240 DrawFlagsRoundCornersMask DrawFlags = 496 )
type DrawIdx ¶
type DrawIdx uint16
func NewDrawIdxFromC ¶
NewDrawIdxFromC creates DrawIdx from its C pointer. SRC ~= *C.ImDrawIdx
type DrawList ¶
type DrawList struct {
CData *C.ImDrawList
}
func BackgroundDrawList ¶
func BackgroundDrawList() *DrawList
func BackgroundDrawListV ¶
get background draw list for the given viewport or viewport associated to the current window. this draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents. BackgroundDrawListV parameter default value hint: viewport: NULL
func ForegroundDrawListViewportPtr ¶
func ForegroundDrawListViewportPtr() *DrawList
func ForegroundDrawListViewportPtrV ¶
get foreground draw list for the given viewport or viewport associated to the current window. this draw list will be the top-most rendered one. Useful to quickly draw shapes/text over dear imgui contents. ForegroundDrawListViewportPtrV parameter default value hint: viewport: NULL
func NewDrawList ¶
func NewDrawList(shared_data *DrawListSharedData) *DrawList
func NewDrawListFromC ¶
NewDrawListFromC creates DrawList from its C pointer. SRC ~= *C.ImDrawList
func NewEmptyDrawList ¶ added in v1.2.0
func NewEmptyDrawList() *DrawList
NewEmptyDrawList creates DrawList with its 0 value.
func WindowDrawList ¶
func WindowDrawList() *DrawList
get draw list associated to the current window, to append your own drawing primitives
func (*DrawList) AddBezierCubic ¶
func (*DrawList) AddBezierCubicV ¶
func (self *DrawList) AddBezierCubicV(p1, p2, p3, p4 Vec2, col uint32, thickness float32, num_segments int32)
Cubic Bezier (4 control points) AddBezierCubicV parameter default value hint: num_segments: 0
func (*DrawList) AddBezierQuadratic ¶
func (*DrawList) AddBezierQuadraticV ¶
func (self *DrawList) AddBezierQuadraticV(p1, p2, p3 Vec2, col uint32, thickness float32, num_segments int32)
Quadratic Bezier (3 control points) AddBezierQuadraticV parameter default value hint: num_segments: 0
func (*DrawList) AddCallback ¶ added in v1.2.0
func (self *DrawList) AddCallback(callback DrawCallback, userdata uintptr)
func (*DrawList) AddCallbackV ¶ added in v1.2.0
func (self *DrawList) AddCallbackV(callback DrawCallback, userdata uintptr, userdata_size uint64)
AddCallbackV parameter default value hint: userdata_size: 0
func (*DrawList) AddCircleFilled ¶
func (*DrawList) AddCircleFilledV ¶
AddCircleFilledV parameter default value hint: num_segments: 0
func (*DrawList) AddCircleV ¶
func (self *DrawList) AddCircleV(center Vec2, radius float32, col uint32, num_segments int32, thickness float32)
AddCircleV parameter default value hint: num_segments: 0 thickness: 1.0f
func (*DrawList) AddConcavePolyFilled ¶
func (*DrawList) AddConvexPolyFilled ¶
func (*DrawList) AddDrawCmd ¶
func (self *DrawList) AddDrawCmd()
This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible
func (*DrawList) AddEllipse ¶
func (*DrawList) AddEllipseFilled ¶
func (*DrawList) AddEllipseFilledV ¶
func (self *DrawList) AddEllipseFilledV(center, radius Vec2, col uint32, rot float32, num_segments int32)
AddEllipseFilledV parameter default value hint: rot: 0.0f num_segments: 0
func (*DrawList) AddEllipseV ¶
func (self *DrawList) AddEllipseV(center, radius Vec2, col uint32, rot float32, num_segments int32, thickness float32)
AddEllipseV parameter default value hint: rot: 0.0f num_segments: 0 thickness: 1.0f
func (*DrawList) AddImage ¶
func (self *DrawList) AddImage(tex_ref TextureRef, p_min, p_max Vec2)
func (*DrawList) AddImageQuad ¶
func (self *DrawList) AddImageQuad(tex_ref TextureRef, p1, p2, p3, p4 Vec2)
func (*DrawList) AddImageQuadV ¶
func (self *DrawList) AddImageQuadV(tex_ref TextureRef, p1, p2, p3, p4, uv1, uv2, uv3, uv4 Vec2, col uint32)
AddImageQuadV parameter default value hint: uv1: ImVec2(0,0) uv2: ImVec2(1,0) uv3: ImVec2(1,1) uv4: ImVec2(0,1) col: 4294967295
func (*DrawList) AddImageRounded ¶
func (self *DrawList) AddImageRounded(tex_ref TextureRef, p_min, p_max, uv_min, uv_max Vec2, col uint32, rounding float32)
func (*DrawList) AddImageRoundedV ¶
func (self *DrawList) AddImageRoundedV(tex_ref TextureRef, p_min, p_max, uv_min, uv_max Vec2, col uint32, rounding float32, flags DrawFlags)
AddImageRoundedV parameter default value hint: flags: 0
func (*DrawList) AddImageV ¶
func (self *DrawList) AddImageV(tex_ref TextureRef, p_min, p_max, uv_min, uv_max Vec2, col uint32)
AddImageV parameter default value hint: uv_min: ImVec2(0,0) uv_max: ImVec2(1,1) col: 4294967295
func (*DrawList) AddNgonFilled ¶
func (*DrawList) AddNgonV ¶
func (self *DrawList) AddNgonV(center Vec2, radius float32, col uint32, num_segments int32, thickness float32)
AddNgonV parameter default value hint: thickness: 1.0f
func (*DrawList) AddPolyline ¶
func (*DrawList) AddQuadFilled ¶
func (*DrawList) AddRectFilled ¶
func (*DrawList) AddRectFilledMultiColor ¶
func (*DrawList) AddRectFilledV ¶
func (self *DrawList) AddRectFilledV(p_min, p_max Vec2, col uint32, rounding float32, flags DrawFlags)
a: upper-left, b: lower-right (== upper-left + size) AddRectFilledV parameter default value hint: rounding: 0.0f flags: 0
func (*DrawList) AddRectV ¶
func (self *DrawList) AddRectV(p_min, p_max Vec2, col uint32, rounding float32, flags DrawFlags, thickness float32)
a: upper-left, b: lower-right (== upper-left + size) AddRectV parameter default value hint: rounding: 0.0f flags: 0 thickness: 1.0f
func (*DrawList) AddTextFontPtr ¶
func (*DrawList) AddTextFontPtrV ¶
func (self *DrawList) AddTextFontPtrV(font *Font, font_size float32, pos Vec2, col uint32, text_begin string, wrap_width float32, cpu_fine_clip_rect *Vec4)
AddTextFontPtrV parameter default value hint: wrap_width: 0.0f cpu_fine_clip_rect: NULL
func (*DrawList) AddTextVec2 ¶
func (*DrawList) AddTextVec2V ¶
AddTextVec2V parameter default value hint:
func (*DrawList) AddTriangle ¶
func (*DrawList) AddTriangleFilled ¶
func (*DrawList) AddTriangleV ¶
AddTriangleV parameter default value hint: thickness: 1.0f
func (DrawList) C ¶
func (self DrawList) C() (C.ImDrawList, func())
C is like Handle but returns plain type instead of pointer.
func (*DrawList) CalcCircleAutoSegmentCount ¶
func (*DrawList) CallbacksDataBuf ¶ added in v1.1.0
func (*DrawList) ChannelsMerge ¶
func (self *DrawList) ChannelsMerge()
func (*DrawList) ChannelsSetCurrent ¶
func (*DrawList) ChannelsSplit ¶
func (*DrawList) ClearFreeMemory ¶
func (self *DrawList) ClearFreeMemory()
func (*DrawList) ClipRectMax ¶
func (*DrawList) ClipRectMin ¶
func (*DrawList) ClipRectStack ¶ added in v1.3.0
func (*DrawList) CloneOutput ¶
Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. For multi-threaded rendering, consider using `imgui_threaded_rendering` from https://github.com/ocornut/imgui_club instead.
func (*DrawList) CmdHeader ¶
func (self *DrawList) CmdHeader() DrawCmdHeader
func (*DrawList) Data ¶
func (self *DrawList) Data() *DrawListSharedData
func (*DrawList) Flags ¶
func (self *DrawList) Flags() DrawListFlags
func (*DrawList) FringeScale ¶
func (*DrawList) Handle ¶
func (self *DrawList) Handle() (result *C.ImDrawList, fin func())
Handle returns C version of DrawList and its finalizer func.
func (*DrawList) IdxWritePtr ¶
func (*DrawList) OnChangedClipRect ¶
func (self *DrawList) OnChangedClipRect()
func (*DrawList) OnChangedTexture ¶ added in v1.4.0
func (self *DrawList) OnChangedTexture()
func (*DrawList) OnChangedVtxOffset ¶
func (self *DrawList) OnChangedVtxOffset()
func (*DrawList) PathArcToFast ¶
Use precomputed angles for a 12 steps circle
func (*DrawList) PathArcToFastEx ¶
func (*DrawList) PathArcToN ¶
func (*DrawList) PathArcToV ¶
PathArcToV parameter default value hint: num_segments: 0
func (*DrawList) PathBezierCubicCurveTo ¶
func (*DrawList) PathBezierCubicCurveToV ¶
Cubic Bezier (4 control points) PathBezierCubicCurveToV parameter default value hint: num_segments: 0
func (*DrawList) PathBezierQuadraticCurveTo ¶
func (*DrawList) PathBezierQuadraticCurveToV ¶
Quadratic Bezier (3 control points) PathBezierQuadraticCurveToV parameter default value hint: num_segments: 0
func (*DrawList) PathEllipticalArcTo ¶
func (*DrawList) PathEllipticalArcToV ¶
func (self *DrawList) PathEllipticalArcToV(center, radius Vec2, rot, a_min, a_max float32, num_segments int32)
Ellipse PathEllipticalArcToV parameter default value hint: num_segments: 0
func (*DrawList) PathFillConcave ¶
func (*DrawList) PathFillConvex ¶
func (*DrawList) PathLineTo ¶
func (*DrawList) PathLineToMergeDuplicate ¶
func (*DrawList) PathStroke ¶
func (*DrawList) PathStrokeV ¶
PathStrokeV parameter default value hint: flags: 0 thickness: 1.0f
func (*DrawList) PopClipRect ¶
func (self *DrawList) PopClipRect()
func (*DrawList) PopTexture ¶ added in v1.4.0
func (self *DrawList) PopTexture()
func (*DrawList) PopUnusedDrawCmd ¶
func (self *DrawList) PopUnusedDrawCmd()
func (*DrawList) PrimQuadUV ¶
func (*DrawList) PrimRectUV ¶
func (*DrawList) PrimReserve ¶
func (*DrawList) PrimUnreserve ¶
func (*DrawList) PrimWriteIdx ¶
func (*DrawList) PrimWriteVtx ¶
func (*DrawList) PushClipRect ¶
func (*DrawList) PushClipRectFullScreen ¶
func (self *DrawList) PushClipRectFullScreen()
func (*DrawList) PushClipRectV ¶
func (self *DrawList) PushClipRectV(clip_rect_min, clip_rect_max Vec2, intersect_with_current_clip_rect bool)
Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) PushClipRectV parameter default value hint: intersect_with_current_clip_rect: false
func (*DrawList) PushTexture ¶ added in v1.4.0
func (self *DrawList) PushTexture(tex_ref TextureRef)
func (*DrawList) ResetForNewFrame ¶
func (self *DrawList) ResetForNewFrame()
func (DrawList) SetCallbacksDataBuf ¶ added in v1.1.0
func (DrawList) SetCmdHeader ¶
func (self DrawList) SetCmdHeader(v DrawCmdHeader)
func (DrawList) SetData ¶
func (self DrawList) SetData(v *DrawListSharedData)
func (*DrawList) SetDrawListSharedData ¶ added in v1.4.0
func (self *DrawList) SetDrawListSharedData(data *DrawListSharedData)
func (DrawList) SetFlags ¶
func (self DrawList) SetFlags(v DrawListFlags)
func (DrawList) SetFringeScale ¶
func (DrawList) SetIdxWritePtr ¶
func (DrawList) SetOwnerName ¶
func (DrawList) SetSplitter ¶
func (self DrawList) SetSplitter(v DrawListSplitter)
func (*DrawList) SetTexture ¶ added in v1.4.0
func (self *DrawList) SetTexture(tex_ref TextureRef)
func (DrawList) SetTextureStack ¶ added in v1.4.0
func (self DrawList) SetTextureStack(v vectors.Vector[TextureRef])
func (DrawList) SetVtxCurrentIdx ¶
func (DrawList) SetVtxWritePtr ¶
func (*DrawList) Splitter ¶
func (self *DrawList) Splitter() DrawListSplitter
func (*DrawList) TextureStack ¶ added in v1.4.0
func (self *DrawList) TextureStack() vectors.Vector[TextureRef]
func (*DrawList) TryMergeDrawCmds ¶
func (self *DrawList) TryMergeDrawCmds()
func (*DrawList) VtxCurrentIdx ¶
func (*DrawList) VtxWritePtr ¶
type DrawListFlags ¶
type DrawListFlags int32
Flags for ImDrawList instance. Those are set automatically by ImGui:: functions from ImGuiIO settings, and generally not manipulated directly. It is however possible to temporarily alter flags between calls to ImDrawList:: functions. original name: ImDrawListFlags_
const ( DrawListFlagsNone DrawListFlags = 0 // Enable anti-aliased lines/borders (*2 the number of triangles for 1.0f wide line or lines thin enough to be drawn using textures, otherwise *3 the number of triangles) DrawListFlagsAntiAliasedLines DrawListFlags = 1 // Enable anti-aliased lines/borders using textures when possible. Require backend to render with bilinear filtering (NOT point/nearest filtering). DrawListFlagsAntiAliasedLinesUseTex DrawListFlags = 2 // Enable anti-aliased edge around filled shapes (rounded rectangles, circles). DrawListFlagsAntiAliasedFill DrawListFlags = 4 // Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled. DrawListFlagsAllowVtxOffset DrawListFlags = 8 )
type DrawListSharedData ¶
type DrawListSharedData struct {
}
func CurrentDrawListSharedData ¶
func CurrentDrawListSharedData() *DrawListSharedData
you may use this when creating your own ImDrawList instances.
func InternalNewDrawListSharedData ¶
func InternalNewDrawListSharedData() *DrawListSharedData
func NewDrawListSharedDataFromC ¶
func NewDrawListSharedDataFromC[SRC any](cvalue SRC) *DrawListSharedData
NewDrawListSharedDataFromC creates DrawListSharedData from its C pointer. SRC ~= *C.ImDrawListSharedData
func NewEmptyDrawListSharedData ¶ added in v1.2.0
func NewEmptyDrawListSharedData() *DrawListSharedData
NewEmptyDrawListSharedData creates DrawListSharedData with its 0 value.
func (*DrawListSharedData) ArcFastRadiusCutoff ¶
func (self *DrawListSharedData) ArcFastRadiusCutoff() float32
func (*DrawListSharedData) ArcFastVtx ¶
func (self *DrawListSharedData) ArcFastVtx() [48]Vec2
func (DrawListSharedData) C ¶
func (self DrawListSharedData) C() (C.ImDrawListSharedData, func())
C is like Handle but returns plain type instead of pointer.
func (*DrawListSharedData) CircleSegmentCounts ¶
func (self *DrawListSharedData) CircleSegmentCounts() [64]byte
func (*DrawListSharedData) CircleSegmentMaxError ¶
func (self *DrawListSharedData) CircleSegmentMaxError() float32
func (*DrawListSharedData) ClipRectFullscreen ¶
func (self *DrawListSharedData) ClipRectFullscreen() Vec4
func (*DrawListSharedData) Context ¶ added in v1.4.0
func (self *DrawListSharedData) Context() *Context
func (*DrawListSharedData) CurveTessellationTol ¶
func (self *DrawListSharedData) CurveTessellationTol() float32
func (*DrawListSharedData) DrawLists ¶ added in v1.4.0
func (self *DrawListSharedData) DrawLists() vectors.Vector[DrawList]
func (*DrawListSharedData) Font ¶
func (self *DrawListSharedData) Font() *Font
func (*DrawListSharedData) FontAtlas ¶ added in v1.4.0
func (self *DrawListSharedData) FontAtlas() *FontAtlas
func (*DrawListSharedData) FontScale ¶
func (self *DrawListSharedData) FontScale() float32
func (*DrawListSharedData) FontSize ¶
func (self *DrawListSharedData) FontSize() float32
func (*DrawListSharedData) Handle ¶
func (self *DrawListSharedData) Handle() (result *C.ImDrawListSharedData, fin func())
Handle returns C version of DrawListSharedData and its finalizer func.
func (*DrawListSharedData) InitialFlags ¶
func (self *DrawListSharedData) InitialFlags() DrawListFlags
func (*DrawListSharedData) InitialFringeScale ¶ added in v1.3.1
func (self *DrawListSharedData) InitialFringeScale() float32
func (*DrawListSharedData) InternalDestroy ¶ added in v1.3.1
func (self *DrawListSharedData) InternalDestroy()
func (*DrawListSharedData) InternalSetCircleTessellationMaxError ¶
func (self *DrawListSharedData) InternalSetCircleTessellationMaxError(max_error float32)
func (DrawListSharedData) SetArcFastRadiusCutoff ¶
func (self DrawListSharedData) SetArcFastRadiusCutoff(v float32)
func (DrawListSharedData) SetArcFastVtx ¶
func (self DrawListSharedData) SetArcFastVtx(v *[48]Vec2)
func (DrawListSharedData) SetCircleSegmentCounts ¶
func (self DrawListSharedData) SetCircleSegmentCounts(v *[64]byte)
func (DrawListSharedData) SetCircleSegmentMaxError ¶
func (self DrawListSharedData) SetCircleSegmentMaxError(v float32)
func (DrawListSharedData) SetClipRectFullscreen ¶
func (self DrawListSharedData) SetClipRectFullscreen(v Vec4)
func (DrawListSharedData) SetContext ¶ added in v1.4.0
func (self DrawListSharedData) SetContext(v *Context)
func (DrawListSharedData) SetCurveTessellationTol ¶
func (self DrawListSharedData) SetCurveTessellationTol(v float32)
func (DrawListSharedData) SetFont ¶
func (self DrawListSharedData) SetFont(v *Font)
func (DrawListSharedData) SetFontAtlas ¶ added in v1.4.0
func (self DrawListSharedData) SetFontAtlas(v *FontAtlas)
func (DrawListSharedData) SetFontScale ¶
func (self DrawListSharedData) SetFontScale(v float32)
func (DrawListSharedData) SetFontSize ¶
func (self DrawListSharedData) SetFontSize(v float32)
func (DrawListSharedData) SetInitialFlags ¶
func (self DrawListSharedData) SetInitialFlags(v DrawListFlags)
func (DrawListSharedData) SetInitialFringeScale ¶ added in v1.3.1
func (self DrawListSharedData) SetInitialFringeScale(v float32)
func (DrawListSharedData) SetTempBuffer ¶
func (self DrawListSharedData) SetTempBuffer(v vectors.Vector[Vec2])
func (DrawListSharedData) SetTexUvLines ¶
func (self DrawListSharedData) SetTexUvLines(v *Vec4)
func (DrawListSharedData) SetTexUvWhitePixel ¶
func (self DrawListSharedData) SetTexUvWhitePixel(v Vec2)
func (*DrawListSharedData) TexUvLines ¶
func (self *DrawListSharedData) TexUvLines() *Vec4
func (*DrawListSharedData) TexUvWhitePixel ¶
func (self *DrawListSharedData) TexUvWhitePixel() Vec2
type DrawListSplitter ¶
type DrawListSplitter struct {
CData *C.ImDrawListSplitter
}
func NewDrawListSplitter ¶
func NewDrawListSplitter() *DrawListSplitter
func NewDrawListSplitterFromC ¶
func NewDrawListSplitterFromC[SRC any](cvalue SRC) *DrawListSplitter
NewDrawListSplitterFromC creates DrawListSplitter from its C pointer. SRC ~= *C.ImDrawListSplitter
func NewEmptyDrawListSplitter ¶ added in v1.2.0
func NewEmptyDrawListSplitter() *DrawListSplitter
NewEmptyDrawListSplitter creates DrawListSplitter with its 0 value.
func (DrawListSplitter) C ¶
func (self DrawListSplitter) C() (C.ImDrawListSplitter, func())
C is like Handle but returns plain type instead of pointer.
func (*DrawListSplitter) Channels ¶
func (self *DrawListSplitter) Channels() vectors.Vector[DrawChannel]
func (*DrawListSplitter) Clear ¶
func (self *DrawListSplitter) Clear()
Do not clear Channels[] so our allocations are reused next frame
func (*DrawListSplitter) ClearFreeMemory ¶
func (self *DrawListSplitter) ClearFreeMemory()
func (*DrawListSplitter) Count ¶
func (self *DrawListSplitter) Count() int32
func (*DrawListSplitter) Current ¶
func (self *DrawListSplitter) Current() int32
func (*DrawListSplitter) Destroy ¶
func (self *DrawListSplitter) Destroy()
func (*DrawListSplitter) Handle ¶
func (self *DrawListSplitter) Handle() (result *C.ImDrawListSplitter, fin func())
Handle returns C version of DrawListSplitter and its finalizer func.
func (*DrawListSplitter) Merge ¶
func (self *DrawListSplitter) Merge(draw_list *DrawList)
func (DrawListSplitter) SetChannels ¶
func (self DrawListSplitter) SetChannels(v vectors.Vector[DrawChannel])
func (DrawListSplitter) SetCount ¶
func (self DrawListSplitter) SetCount(v int32)
func (DrawListSplitter) SetCurrent ¶
func (self DrawListSplitter) SetCurrent(v int32)
func (*DrawListSplitter) SetCurrentChannel ¶
func (self *DrawListSplitter) SetCurrentChannel(draw_list *DrawList, channel_idx int32)
func (*DrawListSplitter) Split ¶
func (self *DrawListSplitter) Split(draw_list *DrawList, count int32)
type DrawTextFlags ¶ added in v1.4.0
type DrawTextFlags int32
Helpers: High-level text functions (DO NOT USE!!! THIS IS A MINIMAL SUBSET OF LARGER UPCOMING CHANGES) original name: ImDrawTextFlags_
const ( DrawTextFlagsNone DrawTextFlags = 0 // Must be == 1/true for legacy with 'bool cpu_fine_clip' arg to RenderText() DrawTextFlagsCpuFineClip DrawTextFlags = 1 DrawTextFlagsWrapKeepBlanks DrawTextFlags = 2 DrawTextFlagsStopOnNewLine DrawTextFlags = 4 )
type DrawVert ¶
type DrawVert struct {
CData *C.ImDrawVert
}
func NewDrawVertFromC ¶
NewDrawVertFromC creates DrawVert from its C pointer. SRC ~= *C.ImDrawVert
func NewEmptyDrawVert ¶ added in v1.2.0
func NewEmptyDrawVert() *DrawVert
NewEmptyDrawVert creates DrawVert with its 0 value.
func (DrawVert) C ¶
func (self DrawVert) C() (C.ImDrawVert, func())
C is like Handle but returns plain type instead of pointer.
func (*DrawVert) Handle ¶
func (self *DrawVert) Handle() (result *C.ImDrawVert, fin func())
Handle returns C version of DrawVert and its finalizer func.
type ErrorCallback ¶ added in v1.2.0
func NewErrorCallbackFromC ¶ added in v1.2.0
func NewErrorCallbackFromC(cvalue *C.ImGuiErrorCallback) *ErrorCallback
func (ErrorCallback) C ¶ added in v1.2.0
func (c ErrorCallback) C() (C.ImGuiErrorCallback, func())
type ErrorRecoveryState ¶ added in v1.1.0
type ErrorRecoveryState struct {
CData *C.ImGuiErrorRecoveryState
}
func InternalNewErrorRecoveryState ¶ added in v1.1.0
func InternalNewErrorRecoveryState() *ErrorRecoveryState
func NewEmptyErrorRecoveryState ¶ added in v1.2.0
func NewEmptyErrorRecoveryState() *ErrorRecoveryState
NewEmptyErrorRecoveryState creates ErrorRecoveryState with its 0 value.
func NewErrorRecoveryStateFromC ¶ added in v1.1.0
func NewErrorRecoveryStateFromC[SRC any](cvalue SRC) *ErrorRecoveryState
NewErrorRecoveryStateFromC creates ErrorRecoveryState from its C pointer. SRC ~= *C.ImGuiErrorRecoveryState
func (ErrorRecoveryState) C ¶ added in v1.1.0
func (self ErrorRecoveryState) C() (C.ImGuiErrorRecoveryState, func())
C is like Handle but returns plain type instead of pointer.
func (*ErrorRecoveryState) Handle ¶ added in v1.1.0
func (self *ErrorRecoveryState) Handle() (result *C.ImGuiErrorRecoveryState, fin func())
Handle returns C version of ErrorRecoveryState and its finalizer func.
func (*ErrorRecoveryState) InternalDestroy ¶ added in v1.3.1
func (self *ErrorRecoveryState) InternalDestroy()
func (ErrorRecoveryState) SetSizeOfBeginPopupStack ¶ added in v1.1.0
func (self ErrorRecoveryState) SetSizeOfBeginPopupStack(v int16)
func (ErrorRecoveryState) SetSizeOfColorStack ¶ added in v1.1.0
func (self ErrorRecoveryState) SetSizeOfColorStack(v int16)
func (ErrorRecoveryState) SetSizeOfDisabledStack ¶ added in v1.1.0
func (self ErrorRecoveryState) SetSizeOfDisabledStack(v int16)
func (ErrorRecoveryState) SetSizeOfFocusScopeStack ¶ added in v1.1.0
func (self ErrorRecoveryState) SetSizeOfFocusScopeStack(v int16)
func (ErrorRecoveryState) SetSizeOfFontStack ¶ added in v1.1.0
func (self ErrorRecoveryState) SetSizeOfFontStack(v int16)
func (ErrorRecoveryState) SetSizeOfGroupStack ¶ added in v1.1.0
func (self ErrorRecoveryState) SetSizeOfGroupStack(v int16)
func (ErrorRecoveryState) SetSizeOfIDStack ¶ added in v1.1.0
func (self ErrorRecoveryState) SetSizeOfIDStack(v int16)
func (ErrorRecoveryState) SetSizeOfItemFlagsStack ¶ added in v1.1.0
func (self ErrorRecoveryState) SetSizeOfItemFlagsStack(v int16)
func (ErrorRecoveryState) SetSizeOfStyleVarStack ¶ added in v1.1.0
func (self ErrorRecoveryState) SetSizeOfStyleVarStack(v int16)
func (ErrorRecoveryState) SetSizeOfTreeStack ¶ added in v1.1.0
func (self ErrorRecoveryState) SetSizeOfTreeStack(v int16)
func (ErrorRecoveryState) SetSizeOfWindowStack ¶ added in v1.1.0
func (self ErrorRecoveryState) SetSizeOfWindowStack(v int16)
func (*ErrorRecoveryState) SizeOfBeginPopupStack ¶ added in v1.1.0
func (self *ErrorRecoveryState) SizeOfBeginPopupStack() int16
func (*ErrorRecoveryState) SizeOfColorStack ¶ added in v1.1.0
func (self *ErrorRecoveryState) SizeOfColorStack() int16
func (*ErrorRecoveryState) SizeOfDisabledStack ¶ added in v1.1.0
func (self *ErrorRecoveryState) SizeOfDisabledStack() int16
func (*ErrorRecoveryState) SizeOfFocusScopeStack ¶ added in v1.1.0
func (self *ErrorRecoveryState) SizeOfFocusScopeStack() int16
func (*ErrorRecoveryState) SizeOfFontStack ¶ added in v1.1.0
func (self *ErrorRecoveryState) SizeOfFontStack() int16
func (*ErrorRecoveryState) SizeOfGroupStack ¶ added in v1.1.0
func (self *ErrorRecoveryState) SizeOfGroupStack() int16
func (*ErrorRecoveryState) SizeOfIDStack ¶ added in v1.1.0
func (self *ErrorRecoveryState) SizeOfIDStack() int16
func (*ErrorRecoveryState) SizeOfItemFlagsStack ¶ added in v1.1.0
func (self *ErrorRecoveryState) SizeOfItemFlagsStack() int16
func (*ErrorRecoveryState) SizeOfStyleVarStack ¶ added in v1.1.0
func (self *ErrorRecoveryState) SizeOfStyleVarStack() int16
func (*ErrorRecoveryState) SizeOfTreeStack ¶ added in v1.1.0
func (self *ErrorRecoveryState) SizeOfTreeStack() int16
func (*ErrorRecoveryState) SizeOfWindowStack ¶ added in v1.1.0
func (self *ErrorRecoveryState) SizeOfWindowStack() int16
type FocusRequestFlags ¶
type FocusRequestFlags int32
Flags for FocusWindow(). This is not called ImGuiFocusFlags to avoid confusion with public-facing ImGuiFocusedFlags. FIXME: Once we finishing replacing more uses of GetTopMostPopupModal()+IsWindowWithinBeginStackOf() and FindBlockingModal() with this, we may want to change the flag to be opt-out instead of opt-in. original name: ImGuiFocusRequestFlags_
const ( FocusRequestFlagsNone FocusRequestFlags = 0 // Find last focused child (if any) and focus it instead. FocusRequestFlagsRestoreFocusedChild FocusRequestFlags = 1 // Do not set focus if the window is below a modal. FocusRequestFlagsUnlessBelowModal FocusRequestFlags = 2 )
type FocusScopeData ¶
type FocusScopeData struct {
CData *C.ImGuiFocusScopeData
}
func NewEmptyFocusScopeData ¶ added in v1.2.0
func NewEmptyFocusScopeData() *FocusScopeData
NewEmptyFocusScopeData creates FocusScopeData with its 0 value.
func NewFocusScopeDataFromC ¶
func NewFocusScopeDataFromC[SRC any](cvalue SRC) *FocusScopeData
NewFocusScopeDataFromC creates FocusScopeData from its C pointer. SRC ~= *C.ImGuiFocusScopeData
func (FocusScopeData) C ¶
func (self FocusScopeData) C() (C.ImGuiFocusScopeData, func())
C is like Handle but returns plain type instead of pointer.
func (*FocusScopeData) Handle ¶
func (self *FocusScopeData) Handle() (result *C.ImGuiFocusScopeData, fin func())
Handle returns C version of FocusScopeData and its finalizer func.
func (*FocusScopeData) ID ¶
func (self *FocusScopeData) ID() ID
func (FocusScopeData) SetID ¶
func (self FocusScopeData) SetID(v ID)
func (FocusScopeData) SetWindowID ¶
func (self FocusScopeData) SetWindowID(v ID)
func (*FocusScopeData) WindowID ¶
func (self *FocusScopeData) WindowID() ID
type FocusedFlags ¶
type FocusedFlags int32
Flags for ImGui::IsWindowFocused() original name: ImGuiFocusedFlags_
const ( FocusedFlagsNone FocusedFlags = 0 // Return true if any children of the window is focused FocusedFlagsChildWindows FocusedFlags = 1 // Test from root window (top most parent of the current hierarchy) FocusedFlagsRootWindow FocusedFlags = 2 // Return true if any window is focused. Important: If you are trying to tell how to dispatch your low-level inputs, do NOT use this. Use 'io.WantCaptureMouse' instead! Please read the FAQ! FocusedFlagsAnyWindow FocusedFlags = 4 // Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow) FocusedFlagsNoPopupHierarchy FocusedFlags = 8 // Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow) FocusedFlagsDockHierarchy FocusedFlags = 16 FocusedFlagsRootAndChildWindows FocusedFlags = 3 )
type Font ¶
func InternalDefaultFont ¶
func InternalDefaultFont() *Font
func NewEmptyFont ¶ added in v1.2.0
func NewEmptyFont() *Font
NewEmptyFont creates Font with its 0 value.
func NewFontFromC ¶
NewFontFromC creates Font from its C pointer. SRC ~= *C.ImFont
func (*Font) AddRemapChar ¶
Makes 'from_codepoint' character points to 'to_codepoint' glyph.
func (*Font) CalcTextSizeA ¶
func (*Font) CalcTextSizeAV ¶
func (self *Font) CalcTextSizeAV(size, max_width, wrap_width float32, text_begin string, out_remaining []string) Vec2
CalcTextSizeAV parameter default value hint: out_remaining: NULL
func (*Font) CalcWordWrapPosition ¶ added in v1.4.0
func (*Font) ClearOutputData ¶
func (self *Font) ClearOutputData()
func (*Font) CurrentRasterizerDensity ¶ added in v1.4.0
func (*Font) EllipsisAutoBake ¶ added in v1.4.0
func (*Font) EllipsisChar ¶
func (*Font) FallbackChar ¶
func (*Font) FontBakedV ¶ added in v1.4.0
Get or create baked data for given size FontBakedV parameter default value hint: density: -1.0f
func (*Font) IsGlyphInFont ¶ added in v1.4.0
func (*Font) IsGlyphRangeUnused ¶
func (*Font) LegacySize ¶ added in v1.4.0
func (*Font) OwnerAtlas ¶ added in v1.5.0
func (*Font) RemapPairs ¶ added in v1.4.0
func (*Font) RenderChar ¶
func (*Font) RenderCharV ¶ added in v1.4.0
func (self *Font) RenderCharV(draw_list *DrawList, size float32, pos Vec2, col uint32, c Wchar, cpu_fine_clip *Vec4)
RenderCharV parameter default value hint: cpu_fine_clip: NULL
func (*Font) RenderText ¶
func (*Font) RenderTextV ¶
func (self *Font) RenderTextV(draw_list *DrawList, size float32, pos Vec2, col uint32, clip_rect Vec4, text_begin string, wrap_width float32, flags DrawTextFlags)
RenderTextV parameter default value hint: wrap_width: 0.0f flags: 0
func (Font) SetCurrentRasterizerDensity ¶ added in v1.4.0
func (Font) SetEllipsisAutoBake ¶ added in v1.4.0
func (Font) SetEllipsisChar ¶
func (Font) SetFallbackChar ¶
func (Font) SetLastBaked ¶ added in v1.4.0
func (Font) SetLegacySize ¶ added in v1.4.0
func (Font) SetOwnerAtlas ¶ added in v1.5.0
func (Font) SetRemapPairs ¶ added in v1.4.0
func (Font) SetUsed8kPagesMap ¶ added in v1.3.1
func (*Font) Used8kPagesMap ¶ added in v1.3.1
type FontAtlas ¶
type FontAtlas struct {
CData *C.ImFontAtlas
}
func NewEmptyFontAtlas ¶ added in v1.2.0
func NewEmptyFontAtlas() *FontAtlas
NewEmptyFontAtlas creates FontAtlas with its 0 value.
func NewFontAtlas ¶
func NewFontAtlas() *FontAtlas
func NewFontAtlasFromC ¶
NewFontAtlasFromC creates FontAtlas from its C pointer. SRC ~= *C.ImFontAtlas
func (*FontAtlas) AddCustomRect ¶ added in v1.4.0
func (self *FontAtlas) AddCustomRect(width, height int32) FontAtlasRectId
func (*FontAtlas) AddCustomRectV ¶ added in v1.4.0
func (self *FontAtlas) AddCustomRectV(width, height int32, out_r *FontAtlasRect) FontAtlasRectId
Register a rectangle. Return -1 (ImFontAtlasRectId_Invalid) on error. AddCustomRectV parameter default value hint: out_r: NULL
func (*FontAtlas) AddFont ¶
func (self *FontAtlas) AddFont(font_cfg *FontConfig) *Font
func (*FontAtlas) AddFontDefault ¶
func (*FontAtlas) AddFontDefaultBitmap ¶ added in v1.5.0
func (*FontAtlas) AddFontDefaultBitmapV ¶ added in v1.5.0
func (self *FontAtlas) AddFontDefaultBitmapV(font_cfg *FontConfig) *Font
Embedded classic pixel-clean font. Recommended at Size 13px with no scaling. AddFontDefaultBitmapV parameter default value hint: font_cfg: NULL
func (*FontAtlas) AddFontDefaultV ¶
func (self *FontAtlas) AddFontDefaultV(font_cfg *FontConfig) *Font
Selects between AddFontDefaultVector() and AddFontDefaultBitmap(). AddFontDefaultV parameter default value hint: font_cfg: NULL
func (*FontAtlas) AddFontDefaultVector ¶ added in v1.5.0
func (*FontAtlas) AddFontDefaultVectorV ¶ added in v1.5.0
func (self *FontAtlas) AddFontDefaultVectorV(font_cfg *FontConfig) *Font
Embedded scalable font. Recommended at any higher size. AddFontDefaultVectorV parameter default value hint: font_cfg: NULL
func (*FontAtlas) AddFontFromFileTTF ¶
func (*FontAtlas) AddFontFromFileTTFV ¶
func (self *FontAtlas) AddFontFromFileTTFV(filename string, size_pixels float32, font_cfg *FontConfig, glyph_ranges *Wchar) *Font
AddFontFromFileTTFV parameter default value hint: size_pixels: 0.0f font_cfg: NULL glyph_ranges: NULL
func (*FontAtlas) AddFontFromMemoryCompressedBase85TTF ¶
func (*FontAtlas) AddFontFromMemoryCompressedBase85TTFV ¶
func (self *FontAtlas) AddFontFromMemoryCompressedBase85TTFV(compressed_font_data_base85 string, size_pixels float32, font_cfg *FontConfig, glyph_ranges *Wchar) *Font
'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. AddFontFromMemoryCompressedBase85TTFV parameter default value hint: size_pixels: 0.0f font_cfg: NULL glyph_ranges: NULL
func (*FontAtlas) AddFontFromMemoryCompressedTTF ¶
func (*FontAtlas) AddFontFromMemoryCompressedTTFV ¶
func (self *FontAtlas) AddFontFromMemoryCompressedTTFV(compressed_font_data uintptr, compressed_font_data_size int32, size_pixels float32, font_cfg *FontConfig, glyph_ranges *Wchar) *Font
'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. AddFontFromMemoryCompressedTTFV parameter default value hint: size_pixels: 0.0f font_cfg: NULL glyph_ranges: NULL
func (*FontAtlas) AddFontFromMemoryTTF ¶
func (*FontAtlas) AddFontFromMemoryTTFV ¶
func (self *FontAtlas) AddFontFromMemoryTTFV(font_data uintptr, font_data_size int32, size_pixels float32, font_cfg *FontConfig, glyph_ranges *Wchar) *Font
Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed. AddFontFromMemoryTTFV parameter default value hint: size_pixels: 0.0f font_cfg: NULL glyph_ranges: NULL
func (*FontAtlas) Builder ¶ added in v1.4.0
func (self *FontAtlas) Builder() *FontAtlasBuilder
func (FontAtlas) C ¶
func (self FontAtlas) C() (C.ImFontAtlas, func())
C is like Handle but returns plain type instead of pointer.
func (*FontAtlas) Clear ¶
func (self *FontAtlas) Clear()
Clear everything (input fonts, output glyphs/textures).
func (*FontAtlas) ClearFonts ¶
func (self *FontAtlas) ClearFonts()
[OBSOLETE] Clear input+output font data (same as ClearInputData() + glyphs storage, UV coordinates).
func (*FontAtlas) ClearInputData ¶
func (self *FontAtlas) ClearInputData()
[OBSOLETE] Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts.
func (*FontAtlas) ClearTexData ¶
func (self *FontAtlas) ClearTexData()
[OBSOLETE] Clear CPU-side copy of the texture data. Saves RAM once the texture has been copied to graphics memory.
func (*FontAtlas) CompactCache ¶ added in v1.4.0
func (self *FontAtlas) CompactCache()
Compact cached glyphs and texture.
func (*FontAtlas) CustomRect ¶ added in v1.4.0
func (self *FontAtlas) CustomRect(id FontAtlasRectId, out_r *FontAtlasRect) bool
Get rectangle coordinates for current texture. Valid immediately, never store this (read above)!
func (*FontAtlas) DrawListSharedDatas ¶ added in v1.4.0
func (self *FontAtlas) DrawListSharedDatas() vectors.Vector[DrawListSharedData]
func (*FontAtlas) Flags ¶
func (self *FontAtlas) Flags() FontAtlasFlags
func (*FontAtlas) FontLoader ¶ added in v1.4.0
func (self *FontAtlas) FontLoader() *FontLoader
func (*FontAtlas) FontLoaderData ¶ added in v1.4.0
func (*FontAtlas) FontLoaderFlags ¶ added in v1.4.0
func (*FontAtlas) FontLoaderName ¶ added in v1.4.0
func (*FontAtlas) FontNextUniqueID ¶ added in v1.4.0
func (*FontAtlas) GlyphRangesDefault ¶
Basic Latin, Extended Latin
func (*FontAtlas) Handle ¶
func (self *FontAtlas) Handle() (result *C.ImFontAtlas, fin func())
Handle returns C version of FontAtlas and its finalizer func.
func (*FontAtlas) OwnerContext ¶ added in v1.4.0
func (*FontAtlas) RemoveCustomRect ¶ added in v1.4.0
func (self *FontAtlas) RemoveCustomRect(id FontAtlasRectId)
Unregister a rectangle. Existing pixels will stay in texture until resized / garbage collected.
func (*FontAtlas) RemoveFont ¶ added in v1.4.0
func (*FontAtlas) RendererHasTextures ¶ added in v1.4.0
func (FontAtlas) SetBuilder ¶ added in v1.4.0
func (self FontAtlas) SetBuilder(v *FontAtlasBuilder)
func (FontAtlas) SetFlags ¶
func (self FontAtlas) SetFlags(v FontAtlasFlags)
func (*FontAtlas) SetFontLoader ¶ added in v1.4.0
func (self *FontAtlas) SetFontLoader(font_loader *FontLoader)
Change font loader at runtime.
func (FontAtlas) SetFontLoaderData ¶ added in v1.4.0
func (FontAtlas) SetFontLoaderFlags ¶ added in v1.4.0
func (FontAtlas) SetFontLoaderName ¶ added in v1.4.0
func (FontAtlas) SetFontNextUniqueID ¶ added in v1.4.0
func (FontAtlas) SetOwnerContext ¶ added in v1.4.0
func (FontAtlas) SetRefCount ¶ added in v1.4.0
func (FontAtlas) SetRendererHasTextures ¶ added in v1.4.0
func (FontAtlas) SetSources ¶ added in v1.3.1
func (self FontAtlas) SetSources(v vectors.Vector[FontConfig])
func (FontAtlas) SetTexData ¶ added in v1.4.0
func (self FontAtlas) SetTexData(v *TextureData)
func (FontAtlas) SetTexDesiredFormat ¶ added in v1.4.0
func (self FontAtlas) SetTexDesiredFormat(v TextureFormat)
func (FontAtlas) SetTexGlyphPadding ¶
func (FontAtlas) SetTexIsBuilt ¶ added in v1.4.0
func (FontAtlas) SetTexMaxHeight ¶ added in v1.4.0
func (FontAtlas) SetTexMaxWidth ¶ added in v1.4.0
func (FontAtlas) SetTexMinHeight ¶ added in v1.4.0
func (FontAtlas) SetTexMinWidth ¶ added in v1.4.0
func (FontAtlas) SetTexNextUniqueID ¶ added in v1.4.0
func (FontAtlas) SetTexPixelsUseColors ¶
func (FontAtlas) SetTexRef ¶ added in v1.4.0
func (self FontAtlas) SetTexRef(v TextureRef)
func (FontAtlas) SetTexUvLines ¶
func (FontAtlas) SetTexUvScale ¶
func (FontAtlas) SetTexUvWhitePixel ¶
func (FontAtlas) SetUserData ¶
func (*FontAtlas) Sources ¶ added in v1.3.1
func (self *FontAtlas) Sources() vectors.Vector[FontConfig]
func (*FontAtlas) TexData ¶ added in v1.4.0
func (self *FontAtlas) TexData() *TextureData
func (*FontAtlas) TexDesiredFormat ¶ added in v1.4.0
func (self *FontAtlas) TexDesiredFormat() TextureFormat
func (*FontAtlas) TexGlyphPadding ¶
func (*FontAtlas) TexIsBuilt ¶ added in v1.4.0
func (*FontAtlas) TexList ¶ added in v1.4.0
func (self *FontAtlas) TexList() vectors.Vector[TextureData]
func (*FontAtlas) TexMaxHeight ¶ added in v1.4.0
func (*FontAtlas) TexMaxWidth ¶ added in v1.4.0
func (*FontAtlas) TexMinHeight ¶ added in v1.4.0
func (*FontAtlas) TexMinWidth ¶ added in v1.4.0
func (*FontAtlas) TexNextUniqueID ¶ added in v1.4.0
func (*FontAtlas) TexPixelsUseColors ¶
func (*FontAtlas) TexRef ¶ added in v1.4.0
func (self *FontAtlas) TexRef() TextureRef
func (*FontAtlas) TexUvLines ¶
func (*FontAtlas) TexUvScale ¶
func (*FontAtlas) TexUvWhitePixel ¶
type FontAtlasBuilder ¶ added in v1.4.0
type FontAtlasBuilder struct {
CData *C.ImFontAtlasBuilder
}
func InternalNewFontAtlasBuilder ¶ added in v1.4.0
func InternalNewFontAtlasBuilder() *FontAtlasBuilder
func NewEmptyFontAtlasBuilder ¶ added in v1.4.0
func NewEmptyFontAtlasBuilder() *FontAtlasBuilder
NewEmptyFontAtlasBuilder creates FontAtlasBuilder with its 0 value.
func NewFontAtlasBuilderFromC ¶ added in v1.4.0
func NewFontAtlasBuilderFromC[SRC any](cvalue SRC) *FontAtlasBuilder
NewFontAtlasBuilderFromC creates FontAtlasBuilder from its C pointer. SRC ~= *C.ImFontAtlasBuilder
func (*FontAtlasBuilder) BakedDiscardedCount ¶ added in v1.4.0
func (self *FontAtlasBuilder) BakedDiscardedCount() int32
func (*FontAtlasBuilder) BakedMap ¶ added in v1.4.0
func (self *FontAtlasBuilder) BakedMap() Storage
func (FontAtlasBuilder) C ¶ added in v1.4.0
func (self FontAtlasBuilder) C() (C.ImFontAtlasBuilder, func())
C is like Handle but returns plain type instead of pointer.
func (*FontAtlasBuilder) FrameCount ¶ added in v1.4.0
func (self *FontAtlasBuilder) FrameCount() int32
func (*FontAtlasBuilder) Handle ¶ added in v1.4.0
func (self *FontAtlasBuilder) Handle() (result *C.ImFontAtlasBuilder, fin func())
Handle returns C version of FontAtlasBuilder and its finalizer func.
func (*FontAtlasBuilder) InternalDestroy ¶ added in v1.4.0
func (self *FontAtlasBuilder) InternalDestroy()
func (*FontAtlasBuilder) LockDisableResize ¶ added in v1.4.0
func (self *FontAtlasBuilder) LockDisableResize() bool
func (*FontAtlasBuilder) MaxRectBounds ¶ added in v1.4.0
func (self *FontAtlasBuilder) MaxRectBounds() Vec2i
func (*FontAtlasBuilder) MaxRectSize ¶ added in v1.4.0
func (self *FontAtlasBuilder) MaxRectSize() Vec2i
func (*FontAtlasBuilder) PackContext ¶ added in v1.4.0
func (self *FontAtlasBuilder) PackContext() stbrpcontextopaque
func (*FontAtlasBuilder) PackIdLinesTexData ¶ added in v1.4.0
func (self *FontAtlasBuilder) PackIdLinesTexData() FontAtlasRectId
func (*FontAtlasBuilder) PackIdMouseCursors ¶ added in v1.4.0
func (self *FontAtlasBuilder) PackIdMouseCursors() FontAtlasRectId
func (*FontAtlasBuilder) PreloadedAllGlyphsRanges ¶ added in v1.4.0
func (self *FontAtlasBuilder) PreloadedAllGlyphsRanges() bool
func (*FontAtlasBuilder) Rects ¶ added in v1.4.0
func (self *FontAtlasBuilder) Rects() vectors.Vector[TextureRect]
func (*FontAtlasBuilder) RectsDiscardedCount ¶ added in v1.4.0
func (self *FontAtlasBuilder) RectsDiscardedCount() int32
func (*FontAtlasBuilder) RectsDiscardedSurface ¶ added in v1.4.0
func (self *FontAtlasBuilder) RectsDiscardedSurface() int32
func (*FontAtlasBuilder) RectsIndex ¶ added in v1.4.0
func (self *FontAtlasBuilder) RectsIndex() vectors.Vector[FontAtlasRectEntry]
func (*FontAtlasBuilder) RectsIndexFreeListStart ¶ added in v1.4.0
func (self *FontAtlasBuilder) RectsIndexFreeListStart() int32
func (*FontAtlasBuilder) RectsPackedCount ¶ added in v1.4.0
func (self *FontAtlasBuilder) RectsPackedCount() int32
func (*FontAtlasBuilder) RectsPackedSurface ¶ added in v1.4.0
func (self *FontAtlasBuilder) RectsPackedSurface() int32
func (FontAtlasBuilder) SetBakedDiscardedCount ¶ added in v1.4.0
func (self FontAtlasBuilder) SetBakedDiscardedCount(v int32)
func (FontAtlasBuilder) SetBakedMap ¶ added in v1.4.0
func (self FontAtlasBuilder) SetBakedMap(v Storage)
func (FontAtlasBuilder) SetFrameCount ¶ added in v1.4.0
func (self FontAtlasBuilder) SetFrameCount(v int32)
func (FontAtlasBuilder) SetLockDisableResize ¶ added in v1.4.0
func (self FontAtlasBuilder) SetLockDisableResize(v bool)
func (FontAtlasBuilder) SetMaxRectBounds ¶ added in v1.4.0
func (self FontAtlasBuilder) SetMaxRectBounds(v Vec2i)
func (FontAtlasBuilder) SetMaxRectSize ¶ added in v1.4.0
func (self FontAtlasBuilder) SetMaxRectSize(v Vec2i)
func (FontAtlasBuilder) SetPackIdLinesTexData ¶ added in v1.4.0
func (self FontAtlasBuilder) SetPackIdLinesTexData(v FontAtlasRectId)
func (FontAtlasBuilder) SetPackIdMouseCursors ¶ added in v1.4.0
func (self FontAtlasBuilder) SetPackIdMouseCursors(v FontAtlasRectId)
func (FontAtlasBuilder) SetPreloadedAllGlyphsRanges ¶ added in v1.4.0
func (self FontAtlasBuilder) SetPreloadedAllGlyphsRanges(v bool)
func (FontAtlasBuilder) SetRects ¶ added in v1.4.0
func (self FontAtlasBuilder) SetRects(v vectors.Vector[TextureRect])
func (FontAtlasBuilder) SetRectsDiscardedCount ¶ added in v1.4.0
func (self FontAtlasBuilder) SetRectsDiscardedCount(v int32)
func (FontAtlasBuilder) SetRectsDiscardedSurface ¶ added in v1.4.0
func (self FontAtlasBuilder) SetRectsDiscardedSurface(v int32)
func (FontAtlasBuilder) SetRectsIndex ¶ added in v1.4.0
func (self FontAtlasBuilder) SetRectsIndex(v vectors.Vector[FontAtlasRectEntry])
func (FontAtlasBuilder) SetRectsIndexFreeListStart ¶ added in v1.4.0
func (self FontAtlasBuilder) SetRectsIndexFreeListStart(v int32)
func (FontAtlasBuilder) SetRectsPackedCount ¶ added in v1.4.0
func (self FontAtlasBuilder) SetRectsPackedCount(v int32)
func (FontAtlasBuilder) SetRectsPackedSurface ¶ added in v1.4.0
func (self FontAtlasBuilder) SetRectsPackedSurface(v int32)
type FontAtlasFlags ¶
type FontAtlasFlags int32
Flags for ImFontAtlas build original name: ImFontAtlasFlags_
const ( FontAtlasFlagsNone FontAtlasFlags = 0 // Don't round the height to next power of two FontAtlasFlagsNoPowerOfTwoHeight FontAtlasFlags = 1 // Don't build software mouse cursors into the atlas (save a little texture memory) FontAtlasFlagsNoMouseCursors FontAtlasFlags = 2 // Don't build thick line textures into the atlas (save a little texture memory, allow support for point/nearest filtering). The AntiAliasedLinesUseTex features uses them, otherwise they will be rendered using polygons (more expensive for CPU/GPU). FontAtlasFlagsNoBakedLines FontAtlasFlags = 4 )
type FontAtlasPostProcessData ¶ added in v1.4.0
type FontAtlasPostProcessData struct {
CData *C.ImFontAtlasPostProcessData
}
func NewEmptyFontAtlasPostProcessData ¶ added in v1.4.0
func NewEmptyFontAtlasPostProcessData() *FontAtlasPostProcessData
NewEmptyFontAtlasPostProcessData creates FontAtlasPostProcessData with its 0 value.
func NewFontAtlasPostProcessDataFromC ¶ added in v1.4.0
func NewFontAtlasPostProcessDataFromC[SRC any](cvalue SRC) *FontAtlasPostProcessData
NewFontAtlasPostProcessDataFromC creates FontAtlasPostProcessData from its C pointer. SRC ~= *C.ImFontAtlasPostProcessData
func (FontAtlasPostProcessData) C ¶ added in v1.4.0
func (self FontAtlasPostProcessData) C() (C.ImFontAtlasPostProcessData, func())
C is like Handle but returns plain type instead of pointer.
func (*FontAtlasPostProcessData) Font ¶ added in v1.4.0
func (self *FontAtlasPostProcessData) Font() *Font
func (*FontAtlasPostProcessData) FontAtlas ¶ added in v1.4.0
func (self *FontAtlasPostProcessData) FontAtlas() *FontAtlas
func (*FontAtlasPostProcessData) FontBaked ¶ added in v1.4.0
func (self *FontAtlasPostProcessData) FontBaked() *FontBaked
func (*FontAtlasPostProcessData) FontSrc ¶ added in v1.4.0
func (self *FontAtlasPostProcessData) FontSrc() *FontConfig
func (*FontAtlasPostProcessData) Format ¶ added in v1.4.0
func (self *FontAtlasPostProcessData) Format() TextureFormat
func (*FontAtlasPostProcessData) Glyph ¶ added in v1.4.0
func (self *FontAtlasPostProcessData) Glyph() *FontGlyph
func (*FontAtlasPostProcessData) Handle ¶ added in v1.4.0
func (self *FontAtlasPostProcessData) Handle() (result *C.ImFontAtlasPostProcessData, fin func())
Handle returns C version of FontAtlasPostProcessData and its finalizer func.
func (*FontAtlasPostProcessData) Height ¶ added in v1.4.0
func (self *FontAtlasPostProcessData) Height() int32
func (*FontAtlasPostProcessData) Pitch ¶ added in v1.4.0
func (self *FontAtlasPostProcessData) Pitch() int32
func (*FontAtlasPostProcessData) Pixels ¶ added in v1.4.0
func (self *FontAtlasPostProcessData) Pixels() uintptr
func (FontAtlasPostProcessData) SetFont ¶ added in v1.4.0
func (self FontAtlasPostProcessData) SetFont(v *Font)
func (FontAtlasPostProcessData) SetFontAtlas ¶ added in v1.4.0
func (self FontAtlasPostProcessData) SetFontAtlas(v *FontAtlas)
func (FontAtlasPostProcessData) SetFontBaked ¶ added in v1.4.0
func (self FontAtlasPostProcessData) SetFontBaked(v *FontBaked)
func (FontAtlasPostProcessData) SetFontSrc ¶ added in v1.4.0
func (self FontAtlasPostProcessData) SetFontSrc(v *FontConfig)
func (FontAtlasPostProcessData) SetFormat ¶ added in v1.4.0
func (self FontAtlasPostProcessData) SetFormat(v TextureFormat)
func (FontAtlasPostProcessData) SetGlyph ¶ added in v1.4.0
func (self FontAtlasPostProcessData) SetGlyph(v *FontGlyph)
func (FontAtlasPostProcessData) SetHeight ¶ added in v1.4.0
func (self FontAtlasPostProcessData) SetHeight(v int32)
func (FontAtlasPostProcessData) SetPitch ¶ added in v1.4.0
func (self FontAtlasPostProcessData) SetPitch(v int32)
func (FontAtlasPostProcessData) SetPixels ¶ added in v1.4.0
func (self FontAtlasPostProcessData) SetPixels(v uintptr)
func (FontAtlasPostProcessData) SetWidth ¶ added in v1.4.0
func (self FontAtlasPostProcessData) SetWidth(v int32)
func (*FontAtlasPostProcessData) Width ¶ added in v1.4.0
func (self *FontAtlasPostProcessData) Width() int32
type FontAtlasRect ¶ added in v1.4.0
type FontAtlasRect struct {
CData *C.ImFontAtlasRect
}
func NewEmptyFontAtlasRect ¶ added in v1.4.0
func NewEmptyFontAtlasRect() *FontAtlasRect
NewEmptyFontAtlasRect creates FontAtlasRect with its 0 value.
func NewFontAtlasRect ¶ added in v1.4.0
func NewFontAtlasRect() *FontAtlasRect
func NewFontAtlasRectFromC ¶ added in v1.4.0
func NewFontAtlasRectFromC[SRC any](cvalue SRC) *FontAtlasRect
NewFontAtlasRectFromC creates FontAtlasRect from its C pointer. SRC ~= *C.ImFontAtlasRect
func (FontAtlasRect) C ¶ added in v1.4.0
func (self FontAtlasRect) C() (C.ImFontAtlasRect, func())
C is like Handle but returns plain type instead of pointer.
func (*FontAtlasRect) Destroy ¶ added in v1.4.0
func (self *FontAtlasRect) Destroy()
func (*FontAtlasRect) H ¶ added in v1.4.0
func (self *FontAtlasRect) H() uint16
func (*FontAtlasRect) Handle ¶ added in v1.4.0
func (self *FontAtlasRect) Handle() (result *C.ImFontAtlasRect, fin func())
Handle returns C version of FontAtlasRect and its finalizer func.
func (FontAtlasRect) SetH ¶ added in v1.4.0
func (self FontAtlasRect) SetH(v uint16)
func (FontAtlasRect) SetUv0 ¶ added in v1.4.0
func (self FontAtlasRect) SetUv0(v Vec2)
func (FontAtlasRect) SetUv1 ¶ added in v1.4.0
func (self FontAtlasRect) SetUv1(v Vec2)
func (FontAtlasRect) SetW ¶ added in v1.4.0
func (self FontAtlasRect) SetW(v uint16)
func (FontAtlasRect) SetX ¶ added in v1.4.0
func (self FontAtlasRect) SetX(v uint16)
func (FontAtlasRect) SetY ¶ added in v1.4.0
func (self FontAtlasRect) SetY(v uint16)
func (*FontAtlasRect) Uv0 ¶ added in v1.4.0
func (self *FontAtlasRect) Uv0() Vec2
func (*FontAtlasRect) Uv1 ¶ added in v1.4.0
func (self *FontAtlasRect) Uv1() Vec2
func (*FontAtlasRect) W ¶ added in v1.4.0
func (self *FontAtlasRect) W() uint16
func (*FontAtlasRect) X ¶ added in v1.4.0
func (self *FontAtlasRect) X() uint16
func (*FontAtlasRect) Y ¶ added in v1.4.0
func (self *FontAtlasRect) Y() uint16
type FontAtlasRectEntry ¶ added in v1.4.0
type FontAtlasRectEntry struct {
CData *C.ImFontAtlasRectEntry
}
func NewEmptyFontAtlasRectEntry ¶ added in v1.4.0
func NewEmptyFontAtlasRectEntry() *FontAtlasRectEntry
NewEmptyFontAtlasRectEntry creates FontAtlasRectEntry with its 0 value.
func NewFontAtlasRectEntryFromC ¶ added in v1.4.0
func NewFontAtlasRectEntryFromC[SRC any](cvalue SRC) *FontAtlasRectEntry
NewFontAtlasRectEntryFromC creates FontAtlasRectEntry from its C pointer. SRC ~= *C.ImFontAtlasRectEntry
func (FontAtlasRectEntry) C ¶ added in v1.4.0
func (self FontAtlasRectEntry) C() (C.ImFontAtlasRectEntry, func())
C is like Handle but returns plain type instead of pointer.
func (*FontAtlasRectEntry) Generation ¶ added in v1.4.0
func (self *FontAtlasRectEntry) Generation() uint32
func (*FontAtlasRectEntry) Handle ¶ added in v1.4.0
func (self *FontAtlasRectEntry) Handle() (result *C.ImFontAtlasRectEntry, fin func())
Handle returns C version of FontAtlasRectEntry and its finalizer func.
func (*FontAtlasRectEntry) IsUsed ¶ added in v1.4.0
func (self *FontAtlasRectEntry) IsUsed() uint32
func (FontAtlasRectEntry) SetGeneration ¶ added in v1.4.0
func (self FontAtlasRectEntry) SetGeneration(v uint32)
func (FontAtlasRectEntry) SetIsUsed ¶ added in v1.4.0
func (self FontAtlasRectEntry) SetIsUsed(v uint32)
func (FontAtlasRectEntry) SetTargetIndex ¶ added in v1.4.0
func (self FontAtlasRectEntry) SetTargetIndex(v int32)
func (*FontAtlasRectEntry) TargetIndex ¶ added in v1.4.0
func (self *FontAtlasRectEntry) TargetIndex() int32
type FontAtlasRectId ¶ added in v1.4.0
type FontAtlasRectId int32
func InternalImFontAtlasPackAddRect ¶ added in v1.4.0
func InternalImFontAtlasPackAddRect(atlas *FontAtlas, w, h int32) FontAtlasRectId
func InternalImFontAtlasPackAddRectV ¶ added in v1.4.0
func InternalImFontAtlasPackAddRectV(atlas *FontAtlas, w, h int32, overwrite_entry *FontAtlasRectEntry) FontAtlasRectId
InternalImFontAtlasPackAddRectV parameter default value hint: overwrite_entry: NULL
func InternalImFontAtlasRectIdMake ¶ added in v1.4.0
func InternalImFontAtlasRectIdMake(index_idx, gen_idx int32) FontAtlasRectId
func NewFontAtlasRectIdFromC ¶ added in v1.4.0
func NewFontAtlasRectIdFromC[SRC any](cvalue SRC) *FontAtlasRectId
NewFontAtlasRectIdFromC creates FontAtlasRectId from its C pointer. SRC ~= *C.ImFontAtlasRectId
func (FontAtlasRectId) C ¶ added in v1.4.0
func (self FontAtlasRectId) C() (C.ImFontAtlasRectId, func())
C is like Handle but returns plain type instead of pointer.
func (*FontAtlasRectId) Handle ¶ added in v1.4.0
func (selfSrc *FontAtlasRectId) Handle() (result *C.ImFontAtlasRectId, fin func())
Handle returns C version of FontAtlasRectId and its finalizer func.
type FontBaked ¶ added in v1.4.0
type FontBaked struct {
CData *C.ImFontBaked
}
func GetFontBaked ¶ added in v1.4.0
func GetFontBaked() *FontBaked
get current font bound at current size // == GetFont()->GetFontBaked(GetFontSize())
func InternalImFontAtlasBakedAdd ¶ added in v1.4.0
func InternalImFontAtlasBakedGetClosestMatch ¶ added in v1.4.0
func InternalImFontAtlasBakedGetOrAdd ¶ added in v1.4.0
func NewEmptyFontBaked ¶ added in v1.4.0
func NewEmptyFontBaked() *FontBaked
NewEmptyFontBaked creates FontBaked with its 0 value.
func NewFontBaked ¶ added in v1.4.0
func NewFontBaked() *FontBaked
func NewFontBakedFromC ¶ added in v1.4.0
NewFontBakedFromC creates FontBaked from its C pointer. SRC ~= *C.ImFontBaked
func (FontBaked) C ¶ added in v1.4.0
func (self FontBaked) C() (C.ImFontBaked, func())
C is like Handle but returns plain type instead of pointer.
func (*FontBaked) CharAdvance ¶ added in v1.4.0
func (*FontBaked) ClearOutputData ¶ added in v1.4.0
func (self *FontBaked) ClearOutputData()
func (*FontBaked) FallbackAdvanceX ¶ added in v1.4.0
func (*FontBaked) FallbackGlyphIndex ¶ added in v1.4.0
func (*FontBaked) FindGlyph ¶ added in v1.4.0
Return U+FFFD glyph if requested glyph doesn't exists.
func (*FontBaked) FindGlyphNoFallback ¶ added in v1.4.0
Return NULL if glyph doesn't exist
func (*FontBaked) FontLoaderDatas ¶ added in v1.4.0
func (*FontBaked) Handle ¶ added in v1.4.0
func (self *FontBaked) Handle() (result *C.ImFontBaked, fin func())
Handle returns C version of FontBaked and its finalizer func.
func (*FontBaked) IndexAdvanceX ¶ added in v1.4.0
func (*FontBaked) IndexLookup ¶ added in v1.4.0
func (*FontBaked) IsGlyphLoaded ¶ added in v1.4.0
func (*FontBaked) LastUsedFrame ¶ added in v1.4.0
func (*FontBaked) LoadNoFallback ¶ added in v1.4.0
func (*FontBaked) LoadNoRenderOnLayout ¶ added in v1.4.0
func (*FontBaked) MetricsTotalSurface ¶ added in v1.4.0
func (*FontBaked) RasterizerDensity ¶ added in v1.4.0
func (FontBaked) SetBakedId ¶ added in v1.4.0
func (FontBaked) SetDescent ¶ added in v1.4.0
func (FontBaked) SetFallbackAdvanceX ¶ added in v1.4.0
func (FontBaked) SetFallbackGlyphIndex ¶ added in v1.4.0
func (FontBaked) SetFontLoaderDatas ¶ added in v1.4.0
func (FontBaked) SetIndexAdvanceX ¶ added in v1.4.0
func (FontBaked) SetIndexLookup ¶ added in v1.4.0
func (FontBaked) SetLastUsedFrame ¶ added in v1.4.0
func (FontBaked) SetLoadNoFallback ¶ added in v1.4.0
func (FontBaked) SetLoadNoRenderOnLayout ¶ added in v1.4.0
func (FontBaked) SetMetricsTotalSurface ¶ added in v1.4.0
func (FontBaked) SetOwnerFont ¶ added in v1.5.0
func (FontBaked) SetRasterizerDensity ¶ added in v1.4.0
func (FontBaked) SetWantDestroy ¶ added in v1.4.0
func (*FontBaked) WantDestroy ¶ added in v1.4.0
type FontConfig ¶
type FontConfig struct {
CData *C.ImFontConfig
}
func NewEmptyFontConfig ¶ added in v1.2.0
func NewEmptyFontConfig() *FontConfig
NewEmptyFontConfig creates FontConfig with its 0 value.
func NewFontConfig ¶
func NewFontConfig() *FontConfig
func NewFontConfigFromC ¶
func NewFontConfigFromC[SRC any](cvalue SRC) *FontConfig
NewFontConfigFromC creates FontConfig from its C pointer. SRC ~= *C.ImFontConfig
func (FontConfig) C ¶
func (self FontConfig) C() (C.ImFontConfig, func())
C is like Handle but returns plain type instead of pointer.
func (*FontConfig) Destroy ¶
func (self *FontConfig) Destroy()
func (*FontConfig) DstFont ¶
func (self *FontConfig) DstFont() *Font
func (*FontConfig) EllipsisChar ¶
func (self *FontConfig) EllipsisChar() Wchar
func (*FontConfig) ExtraSizeScale ¶ added in v1.5.0
func (self *FontConfig) ExtraSizeScale() float32
func (*FontConfig) Flags ¶ added in v1.4.0
func (self *FontConfig) Flags() FontFlags
func (*FontConfig) FontData ¶
func (self *FontConfig) FontData() uintptr
func (*FontConfig) FontDataOwnedByAtlas ¶
func (self *FontConfig) FontDataOwnedByAtlas() bool
func (*FontConfig) FontDataSize ¶
func (self *FontConfig) FontDataSize() int32
func (*FontConfig) FontLoader ¶ added in v1.4.0
func (self *FontConfig) FontLoader() *FontLoader
func (*FontConfig) FontLoaderData ¶ added in v1.4.0
func (self *FontConfig) FontLoaderData() uintptr
func (*FontConfig) FontLoaderFlags ¶ added in v1.4.0
func (self *FontConfig) FontLoaderFlags() uint32
func (*FontConfig) FontNo ¶
func (self *FontConfig) FontNo() uint32
func (*FontConfig) GlyphExcludeRanges ¶ added in v1.4.0
func (self *FontConfig) GlyphExcludeRanges() *Wchar
func (*FontConfig) GlyphExtraAdvanceX ¶ added in v1.3.1
func (self *FontConfig) GlyphExtraAdvanceX() float32
func (*FontConfig) GlyphMaxAdvanceX ¶
func (self *FontConfig) GlyphMaxAdvanceX() float32
func (*FontConfig) GlyphMinAdvanceX ¶
func (self *FontConfig) GlyphMinAdvanceX() float32
func (*FontConfig) GlyphOffset ¶
func (self *FontConfig) GlyphOffset() Vec2
func (*FontConfig) GlyphRanges ¶
func (self *FontConfig) GlyphRanges() *Wchar
func (*FontConfig) Handle ¶
func (self *FontConfig) Handle() (result *C.ImFontConfig, fin func())
Handle returns C version of FontConfig and its finalizer func.
func (*FontConfig) MergeMode ¶
func (self *FontConfig) MergeMode() bool
func (*FontConfig) Name ¶
func (self *FontConfig) Name() [40]rune
func (*FontConfig) OversampleH ¶
func (self *FontConfig) OversampleH() int
func (*FontConfig) OversampleV ¶
func (self *FontConfig) OversampleV() int
func (*FontConfig) PixelSnapH ¶
func (self *FontConfig) PixelSnapH() bool
func (*FontConfig) RasterizerDensity ¶
func (self *FontConfig) RasterizerDensity() float32
func (*FontConfig) RasterizerMultiply ¶
func (self *FontConfig) RasterizerMultiply() float32
func (FontConfig) SetDstFont ¶
func (self FontConfig) SetDstFont(v *Font)
func (FontConfig) SetEllipsisChar ¶
func (self FontConfig) SetEllipsisChar(v Wchar)
func (FontConfig) SetExtraSizeScale ¶ added in v1.5.0
func (self FontConfig) SetExtraSizeScale(v float32)
func (FontConfig) SetFlags ¶ added in v1.4.0
func (self FontConfig) SetFlags(v FontFlags)
func (FontConfig) SetFontData ¶
func (self FontConfig) SetFontData(v uintptr)
func (FontConfig) SetFontDataOwnedByAtlas ¶
func (self FontConfig) SetFontDataOwnedByAtlas(v bool)
func (FontConfig) SetFontDataSize ¶
func (self FontConfig) SetFontDataSize(v int32)
func (FontConfig) SetFontLoader ¶ added in v1.4.0
func (self FontConfig) SetFontLoader(v *FontLoader)
func (FontConfig) SetFontLoaderData ¶ added in v1.4.0
func (self FontConfig) SetFontLoaderData(v uintptr)
func (FontConfig) SetFontLoaderFlags ¶ added in v1.4.0
func (self FontConfig) SetFontLoaderFlags(v uint32)
func (FontConfig) SetFontNo ¶
func (self FontConfig) SetFontNo(v uint32)
func (FontConfig) SetGlyphExcludeRanges ¶ added in v1.4.0
func (self FontConfig) SetGlyphExcludeRanges(v *Wchar)
func (FontConfig) SetGlyphExtraAdvanceX ¶ added in v1.3.1
func (self FontConfig) SetGlyphExtraAdvanceX(v float32)
func (FontConfig) SetGlyphMaxAdvanceX ¶
func (self FontConfig) SetGlyphMaxAdvanceX(v float32)
func (FontConfig) SetGlyphMinAdvanceX ¶
func (self FontConfig) SetGlyphMinAdvanceX(v float32)
func (FontConfig) SetGlyphOffset ¶
func (self FontConfig) SetGlyphOffset(v Vec2)
func (FontConfig) SetGlyphRanges ¶
func (self FontConfig) SetGlyphRanges(v *Wchar)
func (FontConfig) SetMergeMode ¶
func (self FontConfig) SetMergeMode(v bool)
func (FontConfig) SetName ¶
func (self FontConfig) SetName(v *[40]rune)
func (FontConfig) SetOversampleH ¶
func (self FontConfig) SetOversampleH(v int)
func (FontConfig) SetOversampleV ¶
func (self FontConfig) SetOversampleV(v int)
func (FontConfig) SetPixelSnapH ¶
func (self FontConfig) SetPixelSnapH(v bool)
func (FontConfig) SetRasterizerDensity ¶
func (self FontConfig) SetRasterizerDensity(v float32)
func (FontConfig) SetRasterizerMultiply ¶
func (self FontConfig) SetRasterizerMultiply(v float32)
func (FontConfig) SetSizePixels ¶
func (self FontConfig) SetSizePixels(v float32)
func (*FontConfig) SizePixels ¶
func (self *FontConfig) SizePixels() float32
type FontFlags ¶ added in v1.4.0
type FontFlags int32
Font flags (in future versions as we redesign font loading API, this will become more important and better documented. for now please consider this as internal/advanced use) original name: ImFontFlags_
const ( FontFlagsNone FontFlags = 0 // Disable throwing an error/assert when calling AddFontXXX() with missing file/data. Calling code is expected to check AddFontXXX() return value. FontFlagsNoLoadError FontFlags = 2 // [Internal] Disable loading new glyphs. FontFlagsNoLoadGlyphs FontFlags = 4 // [Internal] Disable loading new baked sizes, disable garbage collecting current ones. e.g. if you want to lock a font to a single size. Important: if you use this to preload given sizes, consider the possibility of multiple font density used on Retina display. FontFlagsLockBakedSizes FontFlags = 8 )
type FontGlyph ¶
type FontGlyph struct {
CData *C.ImFontGlyph
}
func InternalImFontAtlasBakedAddFontGlyph ¶ added in v1.4.0
func InternalImFontAtlasBakedAddFontGlyph(atlas *FontAtlas, baked *FontBaked, src *FontConfig, in_glyph *FontGlyph) *FontGlyph
func NewEmptyFontGlyph ¶ added in v1.2.0
func NewEmptyFontGlyph() *FontGlyph
NewEmptyFontGlyph creates FontGlyph with its 0 value.
func NewFontGlyph ¶ added in v1.4.0
func NewFontGlyph() *FontGlyph
func NewFontGlyphFromC ¶
NewFontGlyphFromC creates FontGlyph from its C pointer. SRC ~= *C.ImFontGlyph
func (FontGlyph) C ¶
func (self FontGlyph) C() (C.ImFontGlyph, func())
C is like Handle but returns plain type instead of pointer.
func (*FontGlyph) Handle ¶
func (self *FontGlyph) Handle() (result *C.ImFontGlyph, fin func())
Handle returns C version of FontGlyph and its finalizer func.
func (FontGlyph) SetAdvanceX ¶
func (FontGlyph) SetCodepoint ¶
func (FontGlyph) SetColored ¶
func (FontGlyph) SetSourceIdx ¶ added in v1.4.0
func (FontGlyph) SetVisible ¶
type FontGlyphRangesBuilder ¶
type FontGlyphRangesBuilder struct {
CData *C.ImFontGlyphRangesBuilder
}
func NewEmptyFontGlyphRangesBuilder ¶ added in v1.2.0
func NewEmptyFontGlyphRangesBuilder() *FontGlyphRangesBuilder
NewEmptyFontGlyphRangesBuilder creates FontGlyphRangesBuilder with its 0 value.
func NewFontGlyphRangesBuilder ¶
func NewFontGlyphRangesBuilder() *FontGlyphRangesBuilder
func NewFontGlyphRangesBuilderFromC ¶
func NewFontGlyphRangesBuilderFromC[SRC any](cvalue SRC) *FontGlyphRangesBuilder
NewFontGlyphRangesBuilderFromC creates FontGlyphRangesBuilder from its C pointer. SRC ~= *C.ImFontGlyphRangesBuilder
func (*FontGlyphRangesBuilder) AddChar ¶
func (self *FontGlyphRangesBuilder) AddChar(c Wchar)
Add character
func (*FontGlyphRangesBuilder) AddRanges ¶
func (self *FontGlyphRangesBuilder) AddRanges(ranges *Wchar)
Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext
func (*FontGlyphRangesBuilder) AddText ¶
func (self *FontGlyphRangesBuilder) AddText(text string)
func (*FontGlyphRangesBuilder) AddTextV ¶
func (self *FontGlyphRangesBuilder) AddTextV(text string)
Add string (each character of the UTF-8 string are added) AddTextV parameter default value hint:
func (*FontGlyphRangesBuilder) Bit ¶
func (self *FontGlyphRangesBuilder) Bit(n uint64) bool
Get bit n in the array
func (FontGlyphRangesBuilder) BuildRanges ¶
func (fa FontGlyphRangesBuilder) BuildRanges(ranges GlyphRange)
func (FontGlyphRangesBuilder) C ¶
func (self FontGlyphRangesBuilder) C() (C.ImFontGlyphRangesBuilder, func())
C is like Handle but returns plain type instead of pointer.
func (*FontGlyphRangesBuilder) Clear ¶
func (self *FontGlyphRangesBuilder) Clear()
func (*FontGlyphRangesBuilder) Destroy ¶
func (self *FontGlyphRangesBuilder) Destroy()
func (*FontGlyphRangesBuilder) Handle ¶
func (self *FontGlyphRangesBuilder) Handle() (result *C.ImFontGlyphRangesBuilder, fin func())
Handle returns C version of FontGlyphRangesBuilder and its finalizer func.
func (*FontGlyphRangesBuilder) SetBit ¶
func (self *FontGlyphRangesBuilder) SetBit(n uint64)
Set bit n in the array
func (FontGlyphRangesBuilder) SetUsedChars ¶
func (self FontGlyphRangesBuilder) SetUsedChars(v vectors.Vector[uint32])
type FontLoader ¶ added in v1.4.0
type FontLoader struct {
CData *C.ImFontLoader
}
func InternalImFontAtlasGetFontLoaderForStbTruetype ¶ added in v1.4.0
func InternalImFontAtlasGetFontLoaderForStbTruetype() *FontLoader
func InternalNewFontLoader ¶ added in v1.4.0
func InternalNewFontLoader() *FontLoader
func NewEmptyFontLoader ¶ added in v1.4.0
func NewEmptyFontLoader() *FontLoader
NewEmptyFontLoader creates FontLoader with its 0 value.
func NewFontLoaderFromC ¶ added in v1.4.0
func NewFontLoaderFromC[SRC any](cvalue SRC) *FontLoader
NewFontLoaderFromC creates FontLoader from its C pointer. SRC ~= *C.ImFontLoader
func (FontLoader) C ¶ added in v1.4.0
func (self FontLoader) C() (C.ImFontLoader, func())
C is like Handle but returns plain type instead of pointer.
func (*FontLoader) FontBakedSrcLoaderDataSize ¶ added in v1.4.0
func (self *FontLoader) FontBakedSrcLoaderDataSize() uint64
func (*FontLoader) Handle ¶ added in v1.4.0
func (self *FontLoader) Handle() (result *C.ImFontLoader, fin func())
Handle returns C version of FontLoader and its finalizer func.
func (*FontLoader) InternalDestroy ¶ added in v1.4.0
func (self *FontLoader) InternalDestroy()
func (*FontLoader) Name ¶ added in v1.4.0
func (self *FontLoader) Name() string
func (FontLoader) SetFontBakedSrcLoaderDataSize ¶ added in v1.4.0
func (self FontLoader) SetFontBakedSrcLoaderDataSize(v uint64)
func (FontLoader) SetName ¶ added in v1.4.0
func (self FontLoader) SetName(v string)
type FontStackData ¶ added in v1.4.0
type FontStackData struct {
CData *C.ImFontStackData
}
func NewEmptyFontStackData ¶ added in v1.4.0
func NewEmptyFontStackData() *FontStackData
NewEmptyFontStackData creates FontStackData with its 0 value.
func NewFontStackDataFromC ¶ added in v1.4.0
func NewFontStackDataFromC[SRC any](cvalue SRC) *FontStackData
NewFontStackDataFromC creates FontStackData from its C pointer. SRC ~= *C.ImFontStackData
func (FontStackData) C ¶ added in v1.4.0
func (self FontStackData) C() (C.ImFontStackData, func())
C is like Handle but returns plain type instead of pointer.
func (*FontStackData) Font ¶ added in v1.4.0
func (self *FontStackData) Font() *Font
func (*FontStackData) FontSizeAfterScaling ¶ added in v1.4.0
func (self *FontStackData) FontSizeAfterScaling() float32
func (*FontStackData) FontSizeBeforeScaling ¶ added in v1.4.0
func (self *FontStackData) FontSizeBeforeScaling() float32
func (*FontStackData) Handle ¶ added in v1.4.0
func (self *FontStackData) Handle() (result *C.ImFontStackData, fin func())
Handle returns C version of FontStackData and its finalizer func.
func (FontStackData) SetFont ¶ added in v1.4.0
func (self FontStackData) SetFont(v *Font)
func (FontStackData) SetFontSizeAfterScaling ¶ added in v1.4.0
func (self FontStackData) SetFontSizeAfterScaling(v float32)
func (FontStackData) SetFontSizeBeforeScaling ¶ added in v1.4.0
func (self FontStackData) SetFontSizeBeforeScaling(v float32)
type FreeTypeLoaderFlags ¶ added in v1.4.0
type FreeTypeLoaderFlags int32
original name: ImGuiFreeTypeLoaderFlags_
const ( // Disable hinting. This generally generates 'blurrier' bitmap glyphs when the glyph are rendered in any of the anti-aliased modes. FreeTypeLoaderFlagsNoHinting FreeTypeLoaderFlags = 1 // Disable auto-hinter. FreeTypeLoaderFlagsNoAutoHint FreeTypeLoaderFlags = 2 // Indicates that the auto-hinter is preferred over the font's native hinter. FreeTypeLoaderFlagsForceAutoHint FreeTypeLoaderFlags = 4 // A lighter hinting algorithm for gray-level modes. Many generated glyphs are fuzzier but better resemble their original shape. This is achieved by snapping glyphs to the pixel grid only vertically (Y-axis), as is done by Microsoft's ClearType and Adobe's proprietary font renderer. This preserves inter-glyph spacing in horizontal text. FreeTypeLoaderFlagsLightHinting FreeTypeLoaderFlags = 8 // Strong hinting algorithm that should only be used for monochrome output. FreeTypeLoaderFlagsMonoHinting FreeTypeLoaderFlags = 16 // Styling: Should we artificially embolden the font? FreeTypeLoaderFlagsBold FreeTypeLoaderFlags = 32 // Styling: Should we slant the font, emulating italic style? FreeTypeLoaderFlagsOblique FreeTypeLoaderFlags = 64 // Disable anti-aliasing. Combine this with MonoHinting for best results! FreeTypeLoaderFlagsMonochrome FreeTypeLoaderFlags = 128 // Enable FreeType color-layered glyphs FreeTypeLoaderFlagsLoadColor FreeTypeLoaderFlags = 256 // Enable FreeType bitmap glyphs FreeTypeLoaderFlagsBitmap FreeTypeLoaderFlags = 512 )
type GlyphRange ¶
type GlyphRange uintptr
func NewGlyphRange ¶
func NewGlyphRange() GlyphRange
func (GlyphRange) Data ¶
func (gr GlyphRange) Data() *Wchar
func (GlyphRange) Destroy ¶
func (gr GlyphRange) Destroy()
func (GlyphRange) Handle ¶
func (gr GlyphRange) Handle() *C.ImVector_ImWchar
type GroupData ¶
type GroupData struct {
CData *C.ImGuiGroupData
}
func NewEmptyGroupData ¶ added in v1.2.0
func NewEmptyGroupData() *GroupData
NewEmptyGroupData creates GroupData with its 0 value.
func NewGroupDataFromC ¶
NewGroupDataFromC creates GroupData from its C pointer. SRC ~= *C.ImGuiGroupData
func (*GroupData) BackupActiveIdHasBeenEditedThisFrame ¶ added in v1.5.0
func (*GroupData) BackupActiveIdIsAlive ¶
func (*GroupData) BackupCurrLineSize ¶
func (*GroupData) BackupCurrLineTextBaseOffset ¶
func (*GroupData) BackupCursorMaxPos ¶
func (*GroupData) BackupCursorPos ¶
func (*GroupData) BackupCursorPosPrevLine ¶
func (*GroupData) BackupDeactivatedIdIsAlive ¶ added in v1.3.1
func (*GroupData) BackupGroupOffset ¶
func (*GroupData) BackupHoveredIdIsAlive ¶
func (*GroupData) BackupIndent ¶
func (*GroupData) BackupIsSameLine ¶
func (GroupData) C ¶
func (self GroupData) C() (C.ImGuiGroupData, func())
C is like Handle but returns plain type instead of pointer.
func (*GroupData) Handle ¶
func (self *GroupData) Handle() (result *C.ImGuiGroupData, fin func())
Handle returns C version of GroupData and its finalizer func.
func (GroupData) SetBackupActiveIdHasBeenEditedThisFrame ¶ added in v1.5.0
func (GroupData) SetBackupActiveIdIsAlive ¶
func (GroupData) SetBackupCurrLineSize ¶
func (GroupData) SetBackupCurrLineTextBaseOffset ¶
func (GroupData) SetBackupCursorMaxPos ¶
func (GroupData) SetBackupCursorPos ¶
func (GroupData) SetBackupCursorPosPrevLine ¶
func (GroupData) SetBackupDeactivatedIdIsAlive ¶ added in v1.3.1
func (GroupData) SetBackupGroupOffset ¶
func (GroupData) SetBackupHoveredIdIsAlive ¶
func (GroupData) SetBackupIndent ¶
func (GroupData) SetBackupIsSameLine ¶
func (GroupData) SetEmitItem ¶
func (GroupData) SetWindowID ¶
type HoveredFlags ¶
type HoveredFlags int32
Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ! Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls. original name: ImGuiHoveredFlags_
const ( // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. HoveredFlagsNone HoveredFlags = 0 // IsWindowHovered() only: Return true if any children of the window is hovered HoveredFlagsChildWindows HoveredFlags = 1 // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) HoveredFlagsRootWindow HoveredFlags = 2 // IsWindowHovered() only: Return true if any window is hovered HoveredFlagsAnyWindow HoveredFlags = 4 // IsWindowHovered() only: Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow) HoveredFlagsNoPopupHierarchy HoveredFlags = 8 // IsWindowHovered() only: Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow) HoveredFlagsDockHierarchy HoveredFlags = 16 // Return true even if a popup window is normally blocking access to this item/window HoveredFlagsAllowWhenBlockedByPopup HoveredFlags = 32 // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. HoveredFlagsAllowWhenBlockedByActiveItem HoveredFlags = 128 // IsItemHovered() only: Return true even if the item uses AllowOverlap mode and is overlapped by another hoverable item. HoveredFlagsAllowWhenOverlappedByItem HoveredFlags = 256 // IsItemHovered() only: Return true even if the position is obstructed or overlapped by another window. HoveredFlagsAllowWhenOverlappedByWindow HoveredFlags = 512 // IsItemHovered() only: Return true even if the item is disabled HoveredFlagsAllowWhenDisabled HoveredFlags = 1024 // IsItemHovered() only: Disable using keyboard/gamepad navigation state when active, always query mouse HoveredFlagsAllowWhenOverlapped HoveredFlags = 768 HoveredFlagsRectOnly HoveredFlags = 928 HoveredFlagsRootAndChildWindows HoveredFlags = 3 // Shortcut for standard flags when using IsItemHovered() + SetTooltip() sequence. HoveredFlagsForTooltip HoveredFlags = 4096 // Require mouse to be stationary for style.HoverStationaryDelay (~0.15 sec) _at least one time_. After this, can move on same item/window. Using the stationary test tends to reduces the need for a long delay. HoveredFlagsStationary HoveredFlags = 8192 // IsItemHovered() only: Return true immediately (default). As this is the default you generally ignore this. HoveredFlagsDelayNone HoveredFlags = 16384 // IsItemHovered() only: Return true after style.HoverDelayShort elapsed (~0.15 sec) (shared between items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item). HoveredFlagsDelayShort HoveredFlags = 32768 // IsItemHovered() only: Return true after style.HoverDelayNormal elapsed (~0.40 sec) (shared between items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item). HoveredFlagsDelayNormal HoveredFlags = 65536 HoveredFlagsNoSharedDelay HoveredFlags = 131072 )
type HoveredFlagsPrivate ¶
type HoveredFlagsPrivate int32
Extend ImGuiHoveredFlags_ original name: ImGuiHoveredFlagsPrivate_
const ( HoveredFlagsDelayMask HoveredFlagsPrivate = 245760 HoveredFlagsAllowedMaskForIsWindowHovered HoveredFlagsPrivate = 12479 HoveredFlagsAllowedMaskForIsItemHovered HoveredFlagsPrivate = 262048 )
type ID ¶
type ID uint32
func DockSpaceOverViewport ¶
func DockSpaceOverViewport() ID
func DockSpaceOverViewportV ¶
func DockSpaceOverViewportV(dockspace_id ID, viewport *Viewport, flags DockNodeFlags, window_class *WindowClass) ID
DockSpaceOverViewportV parameter default value hint: dockspace_id: 0 viewport: NULL flags: 0 window_class: NULL
func DockSpaceV ¶
func DockSpaceV(dockspace_id ID, size Vec2, flags DockNodeFlags, window_class *WindowClass) ID
DockSpaceV parameter default value hint: size: ImVec2(0,0) flags: 0 window_class: NULL
func IDStr ¶
calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
func InternalActiveID ¶
func InternalActiveID() ID
func InternalAddContextHook ¶
func InternalAddContextHook(ctx *Context, hook *ContextHook) ID
func InternalColumnsID ¶
func InternalCurrentFocusScope ¶
func InternalCurrentFocusScope() ID
Focus scope we are outputting into, set by PushFocusScope()
func InternalDockBuilderAddNode ¶
func InternalDockBuilderAddNode() ID
func InternalDockBuilderAddNodeV ¶
func InternalDockBuilderAddNodeV(node_id ID, flags DockNodeFlags) ID
InternalDockBuilderAddNodeV parameter default value hint: node_id: 0 flags: 0
func InternalDockBuilderSplitNode ¶
func InternalDockBuilderSplitNode(node_id ID, split_dir Dir, size_ratio_for_node_at_dir float32, out_id_at_dir, out_id_at_opposite_dir *ID) ID
Create 2 child nodes in this parent node.
func InternalFocusID ¶
func InternalFocusID() ID
func InternalHoveredID ¶
func InternalHoveredID() ID
func InternalIDWithSeedInt ¶
func InternalIDWithSeedStr ¶
func InternalImFontAtlasBakedGetId ¶ added in v1.4.0
func InternalImHashData ¶
func InternalImHashDataV ¶
InternalImHashDataV parameter default value hint: seed: 0
func InternalImHashStr ¶
func InternalImHashStrV ¶
InternalImHashStrV parameter default value hint: data_size: 0 seed: 0
func InternalKeyOwner ¶
func InternalTableGetColumnResizeIDV ¶
InternalTableGetColumnResizeIDV parameter default value hint: instance_no: 0
func InternalWindowResizeCornerID ¶
0..3: corners
func NewIDFromC ¶
NewIDFromC creates ID from its C pointer. SRC ~= *C.ImGuiID
func WindowDockID ¶
func WindowDockID() ID
get dock id of current window, or 0 if not associated to any docking node.
type IDStackTool ¶
type IDStackTool struct {
CData *C.ImGuiIDStackTool
}
func InternalNewIDStackTool ¶
func InternalNewIDStackTool() *IDStackTool
func NewEmptyIDStackTool ¶ added in v1.2.0
func NewEmptyIDStackTool() *IDStackTool
NewEmptyIDStackTool creates IDStackTool with its 0 value.
func NewIDStackToolFromC ¶
func NewIDStackToolFromC[SRC any](cvalue SRC) *IDStackTool
NewIDStackToolFromC creates IDStackTool from its C pointer. SRC ~= *C.ImGuiIDStackTool
func (IDStackTool) C ¶
func (self IDStackTool) C() (C.ImGuiIDStackTool, func())
C is like Handle but returns plain type instead of pointer.
func (*IDStackTool) CopyToClipboardLastTime ¶
func (self *IDStackTool) CopyToClipboardLastTime() float32
func (*IDStackTool) Handle ¶
func (self *IDStackTool) Handle() (result *C.ImGuiIDStackTool, fin func())
Handle returns C version of IDStackTool and its finalizer func.
func (*IDStackTool) InternalDestroy ¶ added in v1.3.1
func (self *IDStackTool) InternalDestroy()
func (*IDStackTool) LastActiveFrame ¶
func (self *IDStackTool) LastActiveFrame() int32
func (*IDStackTool) OptCopyToClipboardOnCtrlC ¶ added in v1.4.0
func (self *IDStackTool) OptCopyToClipboardOnCtrlC() bool
func (*IDStackTool) OptHexEncodeNonAsciiChars ¶ added in v1.4.0
func (self *IDStackTool) OptHexEncodeNonAsciiChars() bool
func (IDStackTool) SetCopyToClipboardLastTime ¶
func (self IDStackTool) SetCopyToClipboardLastTime(v float32)
func (IDStackTool) SetLastActiveFrame ¶
func (self IDStackTool) SetLastActiveFrame(v int32)
func (IDStackTool) SetOptCopyToClipboardOnCtrlC ¶ added in v1.4.0
func (self IDStackTool) SetOptCopyToClipboardOnCtrlC(v bool)
func (IDStackTool) SetOptHexEncodeNonAsciiChars ¶ added in v1.4.0
func (self IDStackTool) SetOptHexEncodeNonAsciiChars(v bool)
type IO ¶
func CurrentIO ¶
func CurrentIO() *IO
access the ImGuiIO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags)
func InternalIOContextPtr ¶ added in v1.3.1
func NewIOFromC ¶
NewIOFromC creates IO from its C pointer. SRC ~= *C.ImGuiIO
func (*IO) AddFocusEvent ¶
Queue a gain/loss of focus for the application (generally based on OS/platform focus of your window)
func (*IO) AddInputCharacter ¶
Queue a new character input
func (*IO) AddInputCharacterUTF16 ¶
Queue a new character input from a UTF-16 character, it can be a surrogate
func (*IO) AddInputCharactersUTF8 ¶
Queue a new characters input from a UTF-8 string
func (*IO) AddKeyAnalogEvent ¶
Queue a new key down/up event for analog values (e.g. ImGuiKey_Gamepad_ values). Dead-zones should be handled by the backend.
func (*IO) AddKeyEvent ¶
Queue a new key down/up event. Key should be "translated" (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character)
func (*IO) AddMouseButtonEvent ¶
Queue a mouse button change
func (*IO) AddMousePosEvent ¶
Queue a mouse position update. Use -FLT_MAX,-FLT_MAX to signify no mouse (e.g. app not focused and not hovered)
func (*IO) AddMouseSourceEvent ¶
func (self *IO) AddMouseSourceEvent(source MouseSource)
Queue a mouse source change (Mouse/TouchScreen/Pen)
func (*IO) AddMouseViewportEvent ¶
Queue a mouse hovered viewport. Requires backend to set ImGuiBackendFlags_HasMouseHoveredViewport to call this (for multi-viewport support).
func (IO) AddMouseWheelDelta ¶
func (*IO) AddMouseWheelEvent ¶
Queue a mouse wheel update. wheel_y<0: scroll down, wheel_y>0: scroll up, wheel_x<0: scroll right, wheel_x>0: scroll left.
func (*IO) AppAcceptingEvents ¶ added in v1.4.0
func (*IO) AppFocusLost ¶
func (*IO) BackendFlags ¶
func (self *IO) BackendFlags() BackendFlags
func (*IO) BackendLanguageUserData ¶
func (*IO) BackendPlatformName ¶
func (*IO) BackendPlatformUserData ¶
func (*IO) BackendRendererName ¶
func (*IO) BackendRendererUserData ¶
func (*IO) ClearInputKeys ¶
func (self *IO) ClearInputKeys()
Clear current keyboard/gamepad state + current frame text input buffer. Equivalent to releasing all keys/buttons.
func (*IO) ConfigDebugBeginReturnValueLoop ¶
func (*IO) ConfigDebugBeginReturnValueOnce ¶
func (*IO) ConfigDebugHighlightIdConflicts ¶
func (*IO) ConfigDebugHighlightIdConflictsShowItemPicker ¶ added in v1.3.1
func (*IO) ConfigDebugIgnoreFocusLoss ¶
func (*IO) ConfigDebugIniSettings ¶
func (*IO) ConfigDebugIsDebuggerPresent ¶
func (*IO) ConfigDockingAlwaysTabBar ¶
func (*IO) ConfigDockingNoDockingOver ¶ added in v1.5.0
func (*IO) ConfigDockingNoSplit ¶
func (*IO) ConfigDockingTransparentPayload ¶
func (*IO) ConfigDockingWithShift ¶
func (*IO) ConfigDpiScaleFonts ¶ added in v1.4.0
func (*IO) ConfigDpiScaleViewports ¶ added in v1.4.0
func (*IO) ConfigDragClickToInputText ¶
func (*IO) ConfigErrorRecovery ¶ added in v1.1.0
func (*IO) ConfigErrorRecoveryEnableAssert ¶ added in v1.1.0
func (*IO) ConfigErrorRecoveryEnableDebugLog ¶ added in v1.1.0
func (*IO) ConfigErrorRecoveryEnableTooltip ¶ added in v1.1.0
func (*IO) ConfigFlags ¶
func (self *IO) ConfigFlags() ConfigFlags
func (*IO) ConfigInputTextCursorBlink ¶
func (*IO) ConfigInputTextEnterKeepActive ¶
func (*IO) ConfigInputTrickleEventQueue ¶
func (*IO) ConfigMacOSXBehaviors ¶
func (*IO) ConfigMemoryCompactTimer ¶
func (*IO) ConfigNavCaptureKeyboard ¶ added in v1.1.0
func (*IO) ConfigNavCursorVisibleAlways ¶ added in v1.1.0
func (*IO) ConfigNavCursorVisibleAuto ¶ added in v1.1.0
func (*IO) ConfigNavEscapeClearFocusItem ¶ added in v1.1.0
func (*IO) ConfigNavEscapeClearFocusWindow ¶ added in v1.1.0
func (*IO) ConfigNavMoveSetMousePos ¶ added in v1.1.0
func (*IO) ConfigNavSwapGamepadButtons ¶
func (*IO) ConfigScrollbarScrollByPage ¶ added in v1.1.0
func (*IO) ConfigViewportsNoAutoMerge ¶
func (*IO) ConfigViewportsNoDecoration ¶
func (*IO) ConfigViewportsNoDefaultParent ¶
func (*IO) ConfigViewportsNoTaskBarIcon ¶
func (*IO) ConfigViewportsPlatformFocusSetsImGuiFocus ¶ added in v1.4.0
func (*IO) ConfigWindowsCopyContentsWithCtrlC ¶ added in v1.3.1
func (*IO) ConfigWindowsMoveFromTitleBarOnly ¶
func (*IO) ConfigWindowsResizeFromEdges ¶
func (*IO) DisplayFramebufferScale ¶
func (*IO) DisplaySize ¶
func (*IO) FontAllowUserScaling ¶
func (*IO) FontDefault ¶
func (*IO) IniFilename ¶
func (*IO) IniSavingRate ¶
func (*IO) InputQueueSurrogate ¶
func (*IO) KeyRepeatDelay ¶
func (*IO) KeyRepeatRate ¶
func (*IO) LogFilename ¶
func (*IO) MetricsActiveWindows ¶
func (*IO) MetricsRenderIndices ¶
func (*IO) MetricsRenderVertices ¶
func (*IO) MetricsRenderWindows ¶
func (*IO) MouseClicked ¶
func (*IO) MouseClickedCount ¶
func (*IO) MouseClickedLastCount ¶
func (*IO) MouseClickedPos ¶
func (*IO) MouseClickedTime ¶
func (*IO) MouseCtrlLeftAsRightClick ¶
func (*IO) MouseDelta ¶
func (*IO) MouseDoubleClickMaxDist ¶
func (*IO) MouseDoubleClickTime ¶
func (*IO) MouseDoubleClicked ¶
func (*IO) MouseDownDuration ¶
func (*IO) MouseDownDurationPrev ¶
func (*IO) MouseDownOwned ¶
func (*IO) MouseDownOwnedUnlessPopupClose ¶
func (*IO) MouseDragMaxDistanceAbs ¶
func (*IO) MouseDragMaxDistanceSqr ¶
func (*IO) MouseDragThreshold ¶
func (*IO) MouseDrawCursor ¶
func (*IO) MouseHoveredViewport ¶
func (*IO) MousePosPrev ¶
func (*IO) MouseReleased ¶
func (*IO) MouseReleasedTime ¶ added in v1.3.1
func (*IO) MouseSource ¶
func (self *IO) MouseSource() MouseSource
func (*IO) MouseWheel ¶
func (*IO) MouseWheelH ¶
func (*IO) MouseWheelRequestAxisSwap ¶
func (*IO) NavVisible ¶
func (*IO) PenPressure ¶
func (*IO) SetAppAcceptingEvents ¶
Set master flag for accepting key/mouse/text events (default to true). Useful if you have native dialog boxes that are interrupting your application loop/refresh, and you want to disable events being queued while your app is frozen.
func (IO) SetAppFocusLost ¶
func (IO) SetBackendFlags ¶
func (self IO) SetBackendFlags(v BackendFlags)
func (IO) SetBackendLanguageUserData ¶
func (IO) SetBackendPlatformName ¶
func (IO) SetBackendPlatformUserData ¶
func (IO) SetBackendRendererName ¶
func (IO) SetBackendRendererUserData ¶
func (IO) SetConfigDebugBeginReturnValueLoop ¶
func (IO) SetConfigDebugBeginReturnValueOnce ¶
func (IO) SetConfigDebugHighlightIdConflicts ¶
func (IO) SetConfigDebugHighlightIdConflictsShowItemPicker ¶ added in v1.3.1
func (IO) SetConfigDebugIgnoreFocusLoss ¶
func (IO) SetConfigDebugIniSettings ¶
func (IO) SetConfigDebugIsDebuggerPresent ¶
func (IO) SetConfigDockingAlwaysTabBar ¶
func (IO) SetConfigDockingNoDockingOver ¶ added in v1.5.0
func (IO) SetConfigDockingNoSplit ¶
func (IO) SetConfigDockingTransparentPayload ¶
func (IO) SetConfigDockingWithShift ¶
func (IO) SetConfigDpiScaleFonts ¶ added in v1.4.0
func (IO) SetConfigDpiScaleViewports ¶ added in v1.4.0
func (IO) SetConfigDragClickToInputText ¶
func (IO) SetConfigErrorRecovery ¶ added in v1.1.0
func (IO) SetConfigErrorRecoveryEnableAssert ¶ added in v1.1.0
func (IO) SetConfigErrorRecoveryEnableDebugLog ¶ added in v1.1.0
func (IO) SetConfigErrorRecoveryEnableTooltip ¶ added in v1.1.0
func (IO) SetConfigFlags ¶
func (self IO) SetConfigFlags(v ConfigFlags)
func (IO) SetConfigInputTextCursorBlink ¶
func (IO) SetConfigInputTextEnterKeepActive ¶
func (IO) SetConfigInputTrickleEventQueue ¶
func (IO) SetConfigMacOSXBehaviors ¶
func (IO) SetConfigMemoryCompactTimer ¶
func (IO) SetConfigNavCaptureKeyboard ¶ added in v1.1.0
func (IO) SetConfigNavCursorVisibleAlways ¶ added in v1.1.0
func (IO) SetConfigNavCursorVisibleAuto ¶ added in v1.1.0
func (IO) SetConfigNavEscapeClearFocusItem ¶ added in v1.1.0
func (IO) SetConfigNavEscapeClearFocusWindow ¶ added in v1.1.0
func (IO) SetConfigNavMoveSetMousePos ¶ added in v1.1.0
func (IO) SetConfigNavSwapGamepadButtons ¶
func (IO) SetConfigScrollbarScrollByPage ¶ added in v1.1.0
func (IO) SetConfigViewportsNoAutoMerge ¶
func (IO) SetConfigViewportsNoDecoration ¶
func (IO) SetConfigViewportsNoDefaultParent ¶
func (IO) SetConfigViewportsNoTaskBarIcon ¶
func (IO) SetConfigViewportsPlatformFocusSetsImGuiFocus ¶ added in v1.4.0
func (IO) SetConfigWindowsCopyContentsWithCtrlC ¶ added in v1.3.1
func (IO) SetConfigWindowsMoveFromTitleBarOnly ¶
func (IO) SetConfigWindowsResizeFromEdges ¶
func (IO) SetDeltaTime ¶
func (IO) SetDisplayFramebufferScale ¶
func (IO) SetDisplaySize ¶
func (IO) SetFontAllowUserScaling ¶
func (IO) SetFontDefault ¶
func (IO) SetFramerate ¶
func (IO) SetIniFilename ¶
func (IO) SetIniSavingRate ¶
func (IO) SetInputQueueSurrogate ¶
func (IO) SetKeyCtrl ¶
func (*IO) SetKeyEventNativeData ¶
func (*IO) SetKeyEventNativeDataV ¶
func (self *IO) SetKeyEventNativeDataV(key Key, native_keycode, native_scancode, native_legacy_index int32)
[Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode. SetKeyEventNativeDataV parameter default value hint: native_legacy_index: -1
func (IO) SetKeyMods ¶
func (IO) SetKeyRepeatDelay ¶
func (IO) SetKeyRepeatRate ¶
func (IO) SetKeyShift ¶
func (IO) SetKeySuper ¶
func (IO) SetKeysData ¶
func (IO) SetLogFilename ¶
func (IO) SetMetricsActiveWindows ¶
func (IO) SetMetricsRenderIndices ¶
func (IO) SetMetricsRenderVertices ¶
func (IO) SetMetricsRenderWindows ¶
func (IO) SetMouseButtonDown ¶
func (IO) SetMouseClicked ¶
func (IO) SetMouseClickedCount ¶
func (IO) SetMouseClickedLastCount ¶
func (IO) SetMouseClickedPos ¶
func (IO) SetMouseClickedTime ¶
func (IO) SetMouseCtrlLeftAsRightClick ¶
func (IO) SetMouseDelta ¶
func (IO) SetMouseDoubleClickMaxDist ¶
func (IO) SetMouseDoubleClickTime ¶
func (IO) SetMouseDoubleClicked ¶
func (IO) SetMouseDown ¶
func (IO) SetMouseDownDuration ¶
func (IO) SetMouseDownDurationPrev ¶
func (IO) SetMouseDownOwned ¶
func (IO) SetMouseDownOwnedUnlessPopupClose ¶
func (IO) SetMouseDragMaxDistanceAbs ¶
func (IO) SetMouseDragMaxDistanceSqr ¶
func (IO) SetMouseDragThreshold ¶
func (IO) SetMouseDrawCursor ¶
func (IO) SetMouseHoveredViewport ¶
func (IO) SetMousePos ¶
func (IO) SetMousePosPrev ¶
func (IO) SetMouseReleased ¶
func (IO) SetMouseReleasedTime ¶ added in v1.3.1
func (IO) SetMouseSource ¶
func (self IO) SetMouseSource(v MouseSource)
func (IO) SetMouseWheel ¶
func (IO) SetMouseWheelH ¶
func (IO) SetMouseWheelRequestAxisSwap ¶
func (IO) SetNavActive ¶
func (IO) SetNavVisible ¶
func (IO) SetPenPressure ¶
func (IO) SetUserData ¶
func (IO) SetWantCaptureKeyboard ¶
func (IO) SetWantCaptureMouse ¶
func (IO) SetWantCaptureMouseUnlessPopupClose ¶
func (IO) SetWantSaveIniSettings ¶
func (IO) SetWantSetMousePos ¶
func (IO) SetWantTextInput ¶
func (*IO) WantCaptureKeyboard ¶
func (*IO) WantCaptureMouse ¶
func (*IO) WantCaptureMouseUnlessPopupClose ¶
func (*IO) WantSaveIniSettings ¶
func (*IO) WantSetMousePos ¶
func (*IO) WantTextInput ¶
type InputEvent ¶
type InputEvent struct {
CData *C.ImGuiInputEvent
}
func InternalNewInputEvent ¶
func InternalNewInputEvent() *InputEvent
func NewEmptyInputEvent ¶ added in v1.2.0
func NewEmptyInputEvent() *InputEvent
NewEmptyInputEvent creates InputEvent with its 0 value.
func NewInputEventFromC ¶
func NewInputEventFromC[SRC any](cvalue SRC) *InputEvent
NewInputEventFromC creates InputEvent from its C pointer. SRC ~= *C.ImGuiInputEvent
func (*InputEvent) AddedByTestEngine ¶
func (self *InputEvent) AddedByTestEngine() bool
func (InputEvent) C ¶
func (self InputEvent) C() (C.ImGuiInputEvent, func())
C is like Handle but returns plain type instead of pointer.
func (*InputEvent) EventId ¶
func (self *InputEvent) EventId() uint32
func (*InputEvent) Handle ¶
func (self *InputEvent) Handle() (result *C.ImGuiInputEvent, fin func())
Handle returns C version of InputEvent and its finalizer func.
func (*InputEvent) InternalDestroy ¶ added in v1.3.1
func (self *InputEvent) InternalDestroy()
func (InputEvent) SetAddedByTestEngine ¶
func (self InputEvent) SetAddedByTestEngine(v bool)
func (InputEvent) SetEventId ¶
func (self InputEvent) SetEventId(v uint32)
func (InputEvent) SetSource ¶
func (self InputEvent) SetSource(v InputSource)
func (InputEvent) SetType ¶
func (self InputEvent) SetType(v InputEventType)
func (*InputEvent) Source ¶
func (self *InputEvent) Source() InputSource
func (*InputEvent) Type ¶
func (self *InputEvent) Type() InputEventType
type InputEventAppFocused ¶
type InputEventAppFocused struct {
CData *C.ImGuiInputEventAppFocused
}
func NewEmptyInputEventAppFocused ¶ added in v1.2.0
func NewEmptyInputEventAppFocused() *InputEventAppFocused
NewEmptyInputEventAppFocused creates InputEventAppFocused with its 0 value.
func NewInputEventAppFocusedFromC ¶
func NewInputEventAppFocusedFromC[SRC any](cvalue SRC) *InputEventAppFocused
NewInputEventAppFocusedFromC creates InputEventAppFocused from its C pointer. SRC ~= *C.ImGuiInputEventAppFocused
func (InputEventAppFocused) C ¶
func (self InputEventAppFocused) C() (C.ImGuiInputEventAppFocused, func())
C is like Handle but returns plain type instead of pointer.
func (*InputEventAppFocused) Focused ¶
func (self *InputEventAppFocused) Focused() bool
func (*InputEventAppFocused) Handle ¶
func (self *InputEventAppFocused) Handle() (result *C.ImGuiInputEventAppFocused, fin func())
Handle returns C version of InputEventAppFocused and its finalizer func.
func (InputEventAppFocused) SetFocused ¶
func (self InputEventAppFocused) SetFocused(v bool)
type InputEventKey ¶
type InputEventKey struct {
CData *C.ImGuiInputEventKey
}
func NewEmptyInputEventKey ¶ added in v1.2.0
func NewEmptyInputEventKey() *InputEventKey
NewEmptyInputEventKey creates InputEventKey with its 0 value.
func NewInputEventKeyFromC ¶
func NewInputEventKeyFromC[SRC any](cvalue SRC) *InputEventKey
NewInputEventKeyFromC creates InputEventKey from its C pointer. SRC ~= *C.ImGuiInputEventKey
func (*InputEventKey) AnalogValue ¶
func (self *InputEventKey) AnalogValue() float32
func (InputEventKey) C ¶
func (self InputEventKey) C() (C.ImGuiInputEventKey, func())
C is like Handle but returns plain type instead of pointer.
func (*InputEventKey) Down ¶
func (self *InputEventKey) Down() bool
func (*InputEventKey) Handle ¶
func (self *InputEventKey) Handle() (result *C.ImGuiInputEventKey, fin func())
Handle returns C version of InputEventKey and its finalizer func.
func (*InputEventKey) Key ¶
func (self *InputEventKey) Key() Key
func (InputEventKey) SetAnalogValue ¶
func (self InputEventKey) SetAnalogValue(v float32)
func (InputEventKey) SetDown ¶
func (self InputEventKey) SetDown(v bool)
func (InputEventKey) SetKey ¶
func (self InputEventKey) SetKey(v Key)
type InputEventMouseButton ¶
type InputEventMouseButton struct {
CData *C.ImGuiInputEventMouseButton
}
func NewEmptyInputEventMouseButton ¶ added in v1.2.0
func NewEmptyInputEventMouseButton() *InputEventMouseButton
NewEmptyInputEventMouseButton creates InputEventMouseButton with its 0 value.
func NewInputEventMouseButtonFromC ¶
func NewInputEventMouseButtonFromC[SRC any](cvalue SRC) *InputEventMouseButton
NewInputEventMouseButtonFromC creates InputEventMouseButton from its C pointer. SRC ~= *C.ImGuiInputEventMouseButton
func (*InputEventMouseButton) Button ¶
func (self *InputEventMouseButton) Button() int32
func (InputEventMouseButton) C ¶
func (self InputEventMouseButton) C() (C.ImGuiInputEventMouseButton, func())
C is like Handle but returns plain type instead of pointer.
func (*InputEventMouseButton) Down ¶
func (self *InputEventMouseButton) Down() bool
func (*InputEventMouseButton) Handle ¶
func (self *InputEventMouseButton) Handle() (result *C.ImGuiInputEventMouseButton, fin func())
Handle returns C version of InputEventMouseButton and its finalizer func.
func (*InputEventMouseButton) MouseSource ¶
func (self *InputEventMouseButton) MouseSource() MouseSource
func (InputEventMouseButton) SetButton ¶
func (self InputEventMouseButton) SetButton(v int32)
func (InputEventMouseButton) SetDown ¶
func (self InputEventMouseButton) SetDown(v bool)
func (InputEventMouseButton) SetMouseSource ¶
func (self InputEventMouseButton) SetMouseSource(v MouseSource)
type InputEventMousePos ¶
type InputEventMousePos struct {
CData *C.ImGuiInputEventMousePos
}
func NewEmptyInputEventMousePos ¶ added in v1.2.0
func NewEmptyInputEventMousePos() *InputEventMousePos
NewEmptyInputEventMousePos creates InputEventMousePos with its 0 value.
func NewInputEventMousePosFromC ¶
func NewInputEventMousePosFromC[SRC any](cvalue SRC) *InputEventMousePos
NewInputEventMousePosFromC creates InputEventMousePos from its C pointer. SRC ~= *C.ImGuiInputEventMousePos
func (InputEventMousePos) C ¶
func (self InputEventMousePos) C() (C.ImGuiInputEventMousePos, func())
C is like Handle but returns plain type instead of pointer.
func (*InputEventMousePos) Handle ¶
func (self *InputEventMousePos) Handle() (result *C.ImGuiInputEventMousePos, fin func())
Handle returns C version of InputEventMousePos and its finalizer func.
func (*InputEventMousePos) MouseSource ¶
func (self *InputEventMousePos) MouseSource() MouseSource
func (*InputEventMousePos) PosX ¶
func (self *InputEventMousePos) PosX() float32
func (*InputEventMousePos) PosY ¶
func (self *InputEventMousePos) PosY() float32
func (InputEventMousePos) SetMouseSource ¶
func (self InputEventMousePos) SetMouseSource(v MouseSource)
func (InputEventMousePos) SetPosX ¶
func (self InputEventMousePos) SetPosX(v float32)
func (InputEventMousePos) SetPosY ¶
func (self InputEventMousePos) SetPosY(v float32)
type InputEventMouseViewport ¶
type InputEventMouseViewport struct {
CData *C.ImGuiInputEventMouseViewport
}
func NewEmptyInputEventMouseViewport ¶ added in v1.2.0
func NewEmptyInputEventMouseViewport() *InputEventMouseViewport
NewEmptyInputEventMouseViewport creates InputEventMouseViewport with its 0 value.
func NewInputEventMouseViewportFromC ¶
func NewInputEventMouseViewportFromC[SRC any](cvalue SRC) *InputEventMouseViewport
NewInputEventMouseViewportFromC creates InputEventMouseViewport from its C pointer. SRC ~= *C.ImGuiInputEventMouseViewport
func (InputEventMouseViewport) C ¶
func (self InputEventMouseViewport) C() (C.ImGuiInputEventMouseViewport, func())
C is like Handle but returns plain type instead of pointer.
func (*InputEventMouseViewport) Handle ¶
func (self *InputEventMouseViewport) Handle() (result *C.ImGuiInputEventMouseViewport, fin func())
Handle returns C version of InputEventMouseViewport and its finalizer func.
func (*InputEventMouseViewport) HoveredViewportID ¶
func (self *InputEventMouseViewport) HoveredViewportID() ID
func (InputEventMouseViewport) SetHoveredViewportID ¶
func (self InputEventMouseViewport) SetHoveredViewportID(v ID)
type InputEventMouseWheel ¶
type InputEventMouseWheel struct {
CData *C.ImGuiInputEventMouseWheel
}
func NewEmptyInputEventMouseWheel ¶ added in v1.2.0
func NewEmptyInputEventMouseWheel() *InputEventMouseWheel
NewEmptyInputEventMouseWheel creates InputEventMouseWheel with its 0 value.
func NewInputEventMouseWheelFromC ¶
func NewInputEventMouseWheelFromC[SRC any](cvalue SRC) *InputEventMouseWheel
NewInputEventMouseWheelFromC creates InputEventMouseWheel from its C pointer. SRC ~= *C.ImGuiInputEventMouseWheel
func (InputEventMouseWheel) C ¶
func (self InputEventMouseWheel) C() (C.ImGuiInputEventMouseWheel, func())
C is like Handle but returns plain type instead of pointer.
func (*InputEventMouseWheel) Handle ¶
func (self *InputEventMouseWheel) Handle() (result *C.ImGuiInputEventMouseWheel, fin func())
Handle returns C version of InputEventMouseWheel and its finalizer func.
func (*InputEventMouseWheel) MouseSource ¶
func (self *InputEventMouseWheel) MouseSource() MouseSource
func (InputEventMouseWheel) SetMouseSource ¶
func (self InputEventMouseWheel) SetMouseSource(v MouseSource)
func (InputEventMouseWheel) SetWheelX ¶
func (self InputEventMouseWheel) SetWheelX(v float32)
func (InputEventMouseWheel) SetWheelY ¶
func (self InputEventMouseWheel) SetWheelY(v float32)
func (*InputEventMouseWheel) WheelX ¶
func (self *InputEventMouseWheel) WheelX() float32
func (*InputEventMouseWheel) WheelY ¶
func (self *InputEventMouseWheel) WheelY() float32
type InputEventText ¶
type InputEventText struct {
CData *C.ImGuiInputEventText
}
func NewEmptyInputEventText ¶ added in v1.2.0
func NewEmptyInputEventText() *InputEventText
NewEmptyInputEventText creates InputEventText with its 0 value.
func NewInputEventTextFromC ¶
func NewInputEventTextFromC[SRC any](cvalue SRC) *InputEventText
NewInputEventTextFromC creates InputEventText from its C pointer. SRC ~= *C.ImGuiInputEventText
func (InputEventText) C ¶
func (self InputEventText) C() (C.ImGuiInputEventText, func())
C is like Handle but returns plain type instead of pointer.
func (*InputEventText) Char ¶
func (self *InputEventText) Char() uint32
func (*InputEventText) Handle ¶
func (self *InputEventText) Handle() (result *C.ImGuiInputEventText, fin func())
Handle returns C version of InputEventText and its finalizer func.
func (InputEventText) SetChar ¶
func (self InputEventText) SetChar(v uint32)
type InputEventType ¶
type InputEventType int32
original name: ImGuiInputEventType
const ( InputEventTypeNone InputEventType = 0 InputEventTypeMousePos InputEventType = 1 InputEventTypeMouseWheel InputEventType = 2 InputEventTypeMouseButton InputEventType = 3 InputEventTypeMouseViewport InputEventType = 4 InputEventTypeKey InputEventType = 5 InputEventTypeText InputEventType = 6 InputEventTypeFocus InputEventType = 7 InputEventTypeCOUNT InputEventType = 8 )
type InputFlags ¶
type InputFlags int32
Flags for Shortcut(), SetNextItemShortcut(), (and for upcoming extended versions of IsKeyPressed(), IsMouseClicked(), Shortcut(), SetKeyOwner(), SetItemKeyOwner() that are still in imgui_internal.h) Don't mistake with ImGuiInputTextFlags! (which is for ImGui::InputText() function) original name: ImGuiInputFlags_
const ( InputFlagsNone InputFlags = 0 // Enable repeat. Return true on successive repeats. Default for legacy IsKeyPressed(). NOT Default for legacy IsMouseClicked(). MUST BE == 1. InputFlagsRepeat InputFlags = 1 // Route to active item only. InputFlagsRouteActive InputFlags = 1024 // Route to windows in the focus stack (DEFAULT). Deep-most focused window takes inputs. Active item takes inputs over deep-most focused window. InputFlagsRouteFocused InputFlags = 2048 // Global route (unless a focused window or active item registered the route). InputFlagsRouteGlobal InputFlags = 4096 // Do not register route, poll keys directly. InputFlagsRouteAlways InputFlags = 8192 // Option: global route: higher priority than focused route (unless active item in focused route). InputFlagsRouteOverFocused InputFlags = 16384 // Option: global route: higher priority than active item. Unlikely you need to use that: will interfere with every active items, e.g. Ctrl+A registered by InputText will be overridden by this. May not be fully honored as user/internal code is likely to always assume they can access keys when active. InputFlagsRouteOverActive InputFlags = 32768 // Option: global route: will not be applied if underlying background/void is focused (== no Dear ImGui windows are focused). Useful for overlay applications. InputFlagsRouteUnlessBgFocused InputFlags = 65536 // Option: route evaluated from the point of view of root window rather than current window. InputFlagsRouteFromRootWindow InputFlags = 131072 // Automatically display a tooltip when hovering item [BETA] Unsure of right api (opt-in/opt-out) InputFlagsTooltip InputFlags = 262144 )
type InputFlagsPrivate ¶
type InputFlagsPrivate int32
Extend ImGuiInputFlags_ Flags for extended versions of IsKeyPressed(), IsMouseClicked(), Shortcut(), SetKeyOwner(), SetItemKeyOwner() Don't mistake with ImGuiInputTextFlags! (which is for ImGui::InputText() function) original name: ImGuiInputFlagsPrivate_
const ( // Repeat rate: Regular (default) InputFlagsRepeatRateDefault InputFlagsPrivate = 2 InputFlagsRepeatRateNavMove InputFlagsPrivate = 4 InputFlagsRepeatRateNavTweak InputFlagsPrivate = 8 // Stop repeating when released (default for all functions except Shortcut). This only exists to allow overriding Shortcut() default behavior. InputFlagsRepeatUntilRelease InputFlagsPrivate = 16 // Stop repeating when released OR if keyboard mods are changed (default for Shortcut) InputFlagsRepeatUntilKeyModsChange InputFlagsPrivate = 32 // Stop repeating when released OR if keyboard mods are leaving the None state. Allows going from Mod+Key to Key by releasing Mod. InputFlagsRepeatUntilKeyModsChangeFromNone InputFlagsPrivate = 64 // Stop repeating when released OR if any other keyboard key is pressed during the repeat InputFlagsRepeatUntilOtherKeyPress InputFlagsPrivate = 128 // Further accesses to key data will require EXPLICIT owner ID (ImGuiKeyOwner_Any/0 will NOT accepted for polling). Cleared at end of frame. InputFlagsLockThisFrame InputFlagsPrivate = 1048576 // Further accesses to key data will require EXPLICIT owner ID (ImGuiKeyOwner_Any/0 will NOT accepted for polling). Cleared when the key is released or at end of each frame if key is released. InputFlagsLockUntilRelease InputFlagsPrivate = 2097152 // Only set if item is hovered (default to both) InputFlagsCondHovered InputFlagsPrivate = 4194304 // Only set if item is active (default to both) InputFlagsCondActive InputFlagsPrivate = 8388608 InputFlagsCondDefault InputFlagsPrivate = 12582912 InputFlagsRepeatRateMask InputFlagsPrivate = 14 InputFlagsRepeatUntilMask InputFlagsPrivate = 240 InputFlagsRepeatMask InputFlagsPrivate = 255 InputFlagsCondMask InputFlagsPrivate = 12582912 InputFlagsRouteTypeMask InputFlagsPrivate = 15360 InputFlagsRouteOptionsMask InputFlagsPrivate = 245760 InputFlagsSupportedByIsKeyPressed InputFlagsPrivate = 255 InputFlagsSupportedByIsMouseClicked InputFlagsPrivate = 1 InputFlagsSupportedByShortcut InputFlagsPrivate = 261375 InputFlagsSupportedBySetNextItemShortcut InputFlagsPrivate = 523519 InputFlagsSupportedBySetKeyOwner InputFlagsPrivate = 3145728 InputFlagsSupportedBySetItemKeyOwner InputFlagsPrivate = 15728640 )
type InputSource ¶
type InputSource int32
original name: ImGuiInputSource
const ( InputSourceNone InputSource = 0 // Note: may be Mouse or TouchScreen or Pen. See io.MouseSource to distinguish them. InputSourceMouse InputSource = 1 InputSourceKeyboard InputSource = 2 InputSourceGamepad InputSource = 3 InputSourceCOUNT InputSource = 4 )
type InputTextCallback ¶
type InputTextCallback func(data InputTextCallbackData) int
type InputTextCallbackData ¶
type InputTextCallbackData struct {
CData *C.ImGuiInputTextCallbackData
}
func NewEmptyInputTextCallbackData ¶ added in v1.2.0
func NewEmptyInputTextCallbackData() *InputTextCallbackData
NewEmptyInputTextCallbackData creates InputTextCallbackData with its 0 value.
func NewInputTextCallbackData ¶
func NewInputTextCallbackData() *InputTextCallbackData
func NewInputTextCallbackDataFromC ¶
func NewInputTextCallbackDataFromC[SRC any](cvalue SRC) *InputTextCallbackData
NewInputTextCallbackDataFromC creates InputTextCallbackData from its C pointer. SRC ~= *C.ImGuiInputTextCallbackData
func (*InputTextCallbackData) Buf ¶
func (self *InputTextCallbackData) Buf() string
func (*InputTextCallbackData) BufDirty ¶
func (self *InputTextCallbackData) BufDirty() bool
func (*InputTextCallbackData) BufSize ¶
func (self *InputTextCallbackData) BufSize() int32
func (*InputTextCallbackData) BufTextLen ¶
func (self *InputTextCallbackData) BufTextLen() int32
func (InputTextCallbackData) C ¶
func (self InputTextCallbackData) C() (C.ImGuiInputTextCallbackData, func())
C is like Handle but returns plain type instead of pointer.
func (*InputTextCallbackData) ClearSelection ¶
func (self *InputTextCallbackData) ClearSelection()
func (*InputTextCallbackData) Ctx ¶
func (self *InputTextCallbackData) Ctx() *Context
func (*InputTextCallbackData) CursorPos ¶
func (self *InputTextCallbackData) CursorPos() int32
func (*InputTextCallbackData) DeleteChars ¶
func (self *InputTextCallbackData) DeleteChars(pos, bytes_count int32)
func (*InputTextCallbackData) Destroy ¶
func (self *InputTextCallbackData) Destroy()
func (*InputTextCallbackData) EventActivated ¶ added in v1.5.0
func (self *InputTextCallbackData) EventActivated() bool
func (*InputTextCallbackData) EventChar ¶
func (self *InputTextCallbackData) EventChar() Wchar
func (*InputTextCallbackData) EventFlag ¶
func (self *InputTextCallbackData) EventFlag() InputTextFlags
func (*InputTextCallbackData) EventKey ¶
func (self *InputTextCallbackData) EventKey() Key
func (*InputTextCallbackData) Flags ¶
func (self *InputTextCallbackData) Flags() InputTextFlags
func (*InputTextCallbackData) Handle ¶
func (self *InputTextCallbackData) Handle() (result *C.ImGuiInputTextCallbackData, fin func())
Handle returns C version of InputTextCallbackData and its finalizer func.
func (*InputTextCallbackData) HasSelection ¶
func (self *InputTextCallbackData) HasSelection() bool
func (*InputTextCallbackData) ID ¶ added in v1.5.0
func (self *InputTextCallbackData) ID() ID
func (*InputTextCallbackData) InsertChars ¶
func (self *InputTextCallbackData) InsertChars(pos int32, text string)
func (*InputTextCallbackData) InsertCharsV ¶
func (self *InputTextCallbackData) InsertCharsV(pos int32, text string)
InsertCharsV parameter default value hint:
func (*InputTextCallbackData) SelectAll ¶
func (self *InputTextCallbackData) SelectAll()
func (*InputTextCallbackData) SelectionEnd ¶
func (self *InputTextCallbackData) SelectionEnd() int32
func (*InputTextCallbackData) SelectionStart ¶
func (self *InputTextCallbackData) SelectionStart() int32
func (InputTextCallbackData) SetBuf ¶
func (self InputTextCallbackData) SetBuf(v string)
func (InputTextCallbackData) SetBufDirty ¶
func (self InputTextCallbackData) SetBufDirty(v bool)
func (InputTextCallbackData) SetBufSize ¶
func (self InputTextCallbackData) SetBufSize(v int32)
func (InputTextCallbackData) SetBufTextLen ¶
func (self InputTextCallbackData) SetBufTextLen(v int32)
func (InputTextCallbackData) SetCtx ¶
func (self InputTextCallbackData) SetCtx(v *Context)
func (InputTextCallbackData) SetCursorPos ¶
func (self InputTextCallbackData) SetCursorPos(v int32)
func (InputTextCallbackData) SetEventActivated ¶ added in v1.5.0
func (self InputTextCallbackData) SetEventActivated(v bool)
func (InputTextCallbackData) SetEventChar ¶
func (self InputTextCallbackData) SetEventChar(v Wchar)
func (InputTextCallbackData) SetEventFlag ¶
func (self InputTextCallbackData) SetEventFlag(v InputTextFlags)
func (InputTextCallbackData) SetEventKey ¶
func (self InputTextCallbackData) SetEventKey(v Key)
func (InputTextCallbackData) SetFlags ¶
func (self InputTextCallbackData) SetFlags(v InputTextFlags)
func (InputTextCallbackData) SetID ¶ added in v1.5.0
func (self InputTextCallbackData) SetID(v ID)
func (*InputTextCallbackData) SetSelection ¶ added in v1.5.0
func (self *InputTextCallbackData) SetSelection(s, e int32)
func (InputTextCallbackData) SetSelectionEnd ¶
func (self InputTextCallbackData) SetSelectionEnd(v int32)
func (InputTextCallbackData) SetSelectionStart ¶
func (self InputTextCallbackData) SetSelectionStart(v int32)
func (InputTextCallbackData) SetUserData ¶
func (self InputTextCallbackData) SetUserData(v uintptr)
func (*InputTextCallbackData) UserData ¶
func (self *InputTextCallbackData) UserData() uintptr
type InputTextDeactivateData ¶
type InputTextDeactivateData struct {
CData *C.ImGuiInputTextDeactivateData
}
func NewInputTextDeactivateDataFromC ¶
func NewInputTextDeactivateDataFromC[SRC any](cvalue SRC) *InputTextDeactivateData
NewInputTextDeactivateDataFromC creates InputTextDeactivateData from its C pointer. SRC ~= *C.ImGuiInputTextDeactivateData
func (*InputTextDeactivateData) Handle ¶
func (self *InputTextDeactivateData) Handle() (result *C.ImGuiInputTextDeactivateData, fin func())
Handle returns C version of InputTextDeactivateData and its finalizer func.
type InputTextDeactivatedState ¶
type InputTextDeactivatedState struct {
CData *C.ImGuiInputTextDeactivatedState
}
func InternalNewInputTextDeactivatedState ¶
func InternalNewInputTextDeactivatedState() *InputTextDeactivatedState
func NewEmptyInputTextDeactivatedState ¶ added in v1.2.0
func NewEmptyInputTextDeactivatedState() *InputTextDeactivatedState
NewEmptyInputTextDeactivatedState creates InputTextDeactivatedState with its 0 value.
func NewInputTextDeactivatedStateFromC ¶
func NewInputTextDeactivatedStateFromC[SRC any](cvalue SRC) *InputTextDeactivatedState
NewInputTextDeactivatedStateFromC creates InputTextDeactivatedState from its C pointer. SRC ~= *C.ImGuiInputTextDeactivatedState
func (InputTextDeactivatedState) C ¶
func (self InputTextDeactivatedState) C() (C.ImGuiInputTextDeactivatedState, func())
C is like Handle but returns plain type instead of pointer.
func (*InputTextDeactivatedState) Handle ¶
func (self *InputTextDeactivatedState) Handle() (result *C.ImGuiInputTextDeactivatedState, fin func())
Handle returns C version of InputTextDeactivatedState and its finalizer func.
func (*InputTextDeactivatedState) ID ¶
func (self *InputTextDeactivatedState) ID() ID
func (*InputTextDeactivatedState) InternalClearFreeMemory ¶
func (self *InputTextDeactivatedState) InternalClearFreeMemory()
func (*InputTextDeactivatedState) InternalDestroy ¶ added in v1.3.1
func (self *InputTextDeactivatedState) InternalDestroy()
func (InputTextDeactivatedState) SetID ¶
func (self InputTextDeactivatedState) SetID(v ID)
type InputTextFlags ¶
type InputTextFlags int32
Flags for ImGui::InputText() (Those are per-item flags. There are shared flags in ImGuiIO: io.ConfigInputTextCursorBlink and io.ConfigInputTextEnterKeepActive) original name: ImGuiInputTextFlags_
const ( InputTextFlagsNone InputTextFlags = 0 // Allow 0123456789.+-*/ InputTextFlagsCharsDecimal InputTextFlags = 1 // Allow 0123456789ABCDEFabcdef InputTextFlagsCharsHexadecimal InputTextFlags = 2 // Allow 0123456789.+-*/eE (Scientific notation input) InputTextFlagsCharsScientific InputTextFlags = 4 // Turn a..z into A..Z InputTextFlagsCharsUppercase InputTextFlags = 8 // Filter out spaces, tabs InputTextFlagsCharsNoBlank InputTextFlags = 16 // Pressing TAB input a '\t' character into the text field InputTextFlagsAllowTabInput InputTextFlags = 32 // Return 'true' when Enter is pressed (as opposed to every time the value was modified). Consider using IsItemDeactivatedAfterEdit() instead! InputTextFlagsEnterReturnsTrue InputTextFlags = 64 // Escape key clears content if not empty, and deactivate otherwise (contrast to default behavior of Escape to revert) InputTextFlagsEscapeClearsAll InputTextFlags = 128 // In multi-line mode: validate with Enter, add new line with Ctrl+Enter (default is opposite: validate with Ctrl+Enter, add line with Enter). Note that Shift+Enter always enter a new line either way. InputTextFlagsCtrlEnterForNewLine InputTextFlags = 256 // Read-only mode InputTextFlagsReadOnly InputTextFlags = 512 // Password mode, display all characters as '*', disable copy InputTextFlagsPassword InputTextFlags = 1024 // Overwrite mode InputTextFlagsAlwaysOverwrite InputTextFlags = 2048 // Select entire text when first taking mouse focus InputTextFlagsAutoSelectAll InputTextFlags = 4096 // InputFloat(), InputInt(), InputScalar() etc. only: parse empty string as zero value. InputTextFlagsParseEmptyRefVal InputTextFlags = 8192 // InputFloat(), InputInt(), InputScalar() etc. only: when value is zero, do not display it. Generally used with ImGuiInputTextFlags_ParseEmptyRefVal. InputTextFlagsDisplayEmptyRefVal InputTextFlags = 16384 // Disable following the cursor horizontally InputTextFlagsNoHorizontalScroll InputTextFlags = 32768 // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). InputTextFlagsNoUndoRedo InputTextFlags = 65536 // When text doesn't fit, elide left side to ensure right side stays visible. Useful for path/filenames. Single-line only! InputTextFlagsElideLeft InputTextFlags = 131072 // Callback on pressing TAB (for completion handling) InputTextFlagsCallbackCompletion InputTextFlags = 262144 // Callback on pressing Up/Down arrows (for history handling) InputTextFlagsCallbackHistory InputTextFlags = 524288 // Callback on each iteration. User code may query cursor position, modify text buffer. InputTextFlagsCallbackAlways InputTextFlags = 1048576 // Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard. InputTextFlagsCallbackCharFilter InputTextFlags = 2097152 // Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misc/cpp/imgui_stdlib.h for an example of using this) InputTextFlagsCallbackResize InputTextFlags = 4194304 // Callback on any edit. Note that InputText() already returns true on edit + you can always use IsItemEdited(). The callback is useful to manipulate the underlying buffer while focus is active. InputTextFlagsCallbackEdit InputTextFlags = 8388608 // InputTextMultiline(): word-wrap lines that are too long. InputTextFlagsWordWrap InputTextFlags = 16777216 )
type InputTextFlagsPrivate ¶
type InputTextFlagsPrivate int32
Extend ImGuiInputTextFlags_ original name: ImGuiInputTextFlagsPrivate_
const ( // For internal use by InputTextMultiline() InputTextFlagsMultiline InputTextFlagsPrivate = 67108864 // For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly match. InputTextFlagsTempInput InputTextFlagsPrivate = 134217728 // For internal use by InputScalar() and TempInputScalar() InputTextFlagsLocalizeDecimalPoint InputTextFlagsPrivate = 268435456 )
type InputTextState ¶
type InputTextState struct {
CData *C.ImGuiInputTextState
}
func InternalInputTextState ¶
func InternalInputTextState(id ID) *InputTextState
Get input text state if active
func InternalNewInputTextState ¶
func InternalNewInputTextState() *InputTextState
func NewEmptyInputTextState ¶ added in v1.2.0
func NewEmptyInputTextState() *InputTextState
NewEmptyInputTextState creates InputTextState with its 0 value.
func NewInputTextStateFromC ¶
func NewInputTextStateFromC[SRC any](cvalue SRC) *InputTextState
NewInputTextStateFromC creates InputTextState from its C pointer. SRC ~= *C.ImGuiInputTextState
func (*InputTextState) BufCapacity ¶ added in v1.3.1
func (self *InputTextState) BufCapacity() int32
func (InputTextState) C ¶
func (self InputTextState) C() (C.ImGuiInputTextState, func())
C is like Handle but returns plain type instead of pointer.
func (*InputTextState) CallbackTextBackup ¶
func (self *InputTextState) CallbackTextBackup() vectors.Vector[int8]
func (*InputTextState) Ctx ¶
func (self *InputTextState) Ctx() *Context
func (*InputTextState) CursorAnim ¶
func (self *InputTextState) CursorAnim() float32
func (*InputTextState) CursorCenterY ¶ added in v1.4.0
func (self *InputTextState) CursorCenterY() bool
func (*InputTextState) CursorFollow ¶
func (self *InputTextState) CursorFollow() bool
func (*InputTextState) EditedBefore ¶ added in v1.5.0
func (self *InputTextState) EditedBefore() bool
func (*InputTextState) EditedThisFrame ¶ added in v1.5.0
func (self *InputTextState) EditedThisFrame() bool
func (*InputTextState) Flags ¶
func (self *InputTextState) Flags() InputTextFlags
func (*InputTextState) Handle ¶
func (self *InputTextState) Handle() (result *C.ImGuiInputTextState, fin func())
Handle returns C version of InputTextState and its finalizer func.
func (*InputTextState) ID ¶
func (self *InputTextState) ID() ID
func (*InputTextState) InternalClearFreeMemory ¶
func (self *InputTextState) InternalClearFreeMemory()
func (*InputTextState) InternalClearSelection ¶
func (self *InputTextState) InternalClearSelection()
func (*InputTextState) InternalClearText ¶
func (self *InputTextState) InternalClearText()
func (*InputTextState) InternalCursorAnimReset ¶
func (self *InputTextState) InternalCursorAnimReset()
func (*InputTextState) InternalCursorClamp ¶
func (self *InputTextState) InternalCursorClamp()
func (*InputTextState) InternalCursorPos ¶
func (self *InputTextState) InternalCursorPos() int32
func (*InputTextState) InternalDestroy ¶
func (self *InputTextState) InternalDestroy()
func (*InputTextState) InternalHasSelection ¶
func (self *InputTextState) InternalHasSelection() bool
func (*InputTextState) InternalOnCharPressed ¶
func (self *InputTextState) InternalOnCharPressed(c uint32)
func (*InputTextState) InternalOnKeyPressed ¶
func (self *InputTextState) InternalOnKeyPressed(key int32)
Cannot be inline because we call in code in stb_textedit.h implementation
func (*InputTextState) InternalPreferredOffsetX ¶ added in v1.4.0
func (self *InputTextState) InternalPreferredOffsetX() float32