imgui-bindings 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/imgui.rb CHANGED
@@ -7,7 +7,7 @@
7
7
  require 'ffi'
8
8
 
9
9
  # defines
10
- IMGUI_VERSION_NUM = 19270 # 0x4B46
10
+ IMGUI_VERSION_NUM = 19290 # 0x4B5A
11
11
  IM_UNICODE_CODEPOINT_INVALID = 65533 # 0xFFFD
12
12
  IM_UNICODE_CODEPOINT_MAX = 65535 # 0xFFFF
13
13
  IM_COL32_R_SHIFT = 0 # 0x0
@@ -99,7 +99,7 @@ FFI.typedef :int, :ImFontAtlasRectId
99
99
  FFI.typedef :int, :ImFontAtlasCustomRect
100
100
  FFI.typedef :short, :ImGuiTableColumnIdx
101
101
  FFI.typedef :int, :ImGuiLocKey
102
- FFI.typedef :int, :ImGuiDataAuthority
102
+ FFI.typedef :uint, :ImGuiDataAuthority
103
103
  FFI.typedef :int, :ImGuiLayoutType
104
104
  FFI.typedef :int, :ImGuiActivateFlags
105
105
  FFI.typedef :int, :ImGuiDebugLogFlags
@@ -179,6 +179,9 @@ ImGuiItemFlags_ButtonRepeat = 8 # 0x8
179
179
  ImGuiItemFlags_AutoClosePopups = 16 # 0x10
180
180
  ImGuiItemFlags_AllowDuplicateId = 32 # 0x20
181
181
  ImGuiItemFlags_Disabled = 64 # 0x40
182
+ ImGuiItemFlags_LiveEditOnInputText = 128 # 0x80
183
+ ImGuiItemFlags_LiveEditOnInputScalar = 256 # 0x100
184
+ ImGuiItemFlags_LiveEditOnInput = 384 # 0x180
182
185
 
183
186
  # ImGuiInputTextFlags_
184
187
  ImGuiInputTextFlags_None = 0 # 0x0
@@ -232,7 +235,6 @@ ImGuiTreeNodeFlags_DrawLinesNone = 262144 # 0x40000
232
235
  ImGuiTreeNodeFlags_DrawLinesFull = 524288 # 0x80000
233
236
  ImGuiTreeNodeFlags_DrawLinesToNodes = 1048576 # 0x100000
234
237
  ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 131072 # 0x20000
235
- ImGuiTreeNodeFlags_SpanTextWidth = 8192 # 0x2000
236
238
 
237
239
  # ImGuiPopupFlags_
238
240
  ImGuiPopupFlags_None = 0 # 0x0
@@ -359,7 +361,6 @@ ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 2048 # 0x800
359
361
  ImGuiDragDropFlags_AcceptNoPreviewTooltip = 4096 # 0x1000
360
362
  ImGuiDragDropFlags_AcceptDrawAsHovered = 8192 # 0x2000
361
363
  ImGuiDragDropFlags_AcceptPeekOnly = 3072 # 0xC00
362
- ImGuiDragDropFlags_SourceAutoExpirePayload = 32 # 0x20
363
364
 
364
365
  # ImGuiDataType_
365
366
  ImGuiDataType_S8 = 0 # 0x0
@@ -618,54 +619,55 @@ ImGuiCol_ScrollbarGrab = 15 # 0xF
618
619
  ImGuiCol_ScrollbarGrabHovered = 16 # 0x10
619
620
  ImGuiCol_ScrollbarGrabActive = 17 # 0x11
620
621
  ImGuiCol_CheckMark = 18 # 0x12
621
- ImGuiCol_SliderGrab = 19 # 0x13
622
- ImGuiCol_SliderGrabActive = 20 # 0x14
623
- ImGuiCol_Button = 21 # 0x15
624
- ImGuiCol_ButtonHovered = 22 # 0x16
625
- ImGuiCol_ButtonActive = 23 # 0x17
626
- ImGuiCol_Header = 24 # 0x18
627
- ImGuiCol_HeaderHovered = 25 # 0x19
628
- ImGuiCol_HeaderActive = 26 # 0x1A
629
- ImGuiCol_Separator = 27 # 0x1B
630
- ImGuiCol_SeparatorHovered = 28 # 0x1C
631
- ImGuiCol_SeparatorActive = 29 # 0x1D
632
- ImGuiCol_ResizeGrip = 30 # 0x1E
633
- ImGuiCol_ResizeGripHovered = 31 # 0x1F
634
- ImGuiCol_ResizeGripActive = 32 # 0x20
635
- ImGuiCol_InputTextCursor = 33 # 0x21
636
- ImGuiCol_TabHovered = 34 # 0x22
637
- ImGuiCol_Tab = 35 # 0x23
638
- ImGuiCol_TabSelected = 36 # 0x24
639
- ImGuiCol_TabSelectedOverline = 37 # 0x25
640
- ImGuiCol_TabDimmed = 38 # 0x26
641
- ImGuiCol_TabDimmedSelected = 39 # 0x27
642
- ImGuiCol_TabDimmedSelectedOverline = 40 # 0x28
643
- ImGuiCol_DockingPreview = 41 # 0x29
644
- ImGuiCol_DockingEmptyBg = 42 # 0x2A
645
- ImGuiCol_PlotLines = 43 # 0x2B
646
- ImGuiCol_PlotLinesHovered = 44 # 0x2C
647
- ImGuiCol_PlotHistogram = 45 # 0x2D
648
- ImGuiCol_PlotHistogramHovered = 46 # 0x2E
649
- ImGuiCol_TableHeaderBg = 47 # 0x2F
650
- ImGuiCol_TableBorderStrong = 48 # 0x30
651
- ImGuiCol_TableBorderLight = 49 # 0x31
652
- ImGuiCol_TableRowBg = 50 # 0x32
653
- ImGuiCol_TableRowBgAlt = 51 # 0x33
654
- ImGuiCol_TextLink = 52 # 0x34
655
- ImGuiCol_TextSelectedBg = 53 # 0x35
656
- ImGuiCol_TreeLines = 54 # 0x36
657
- ImGuiCol_DragDropTarget = 55 # 0x37
658
- ImGuiCol_DragDropTargetBg = 56 # 0x38
659
- ImGuiCol_UnsavedMarker = 57 # 0x39
660
- ImGuiCol_NavCursor = 58 # 0x3A
661
- ImGuiCol_NavWindowingHighlight = 59 # 0x3B
662
- ImGuiCol_NavWindowingDimBg = 60 # 0x3C
663
- ImGuiCol_ModalWindowDimBg = 61 # 0x3D
664
- ImGuiCol_COUNT = 62 # 0x3E
665
- ImGuiCol_TabActive = 36 # 0x24
666
- ImGuiCol_TabUnfocused = 38 # 0x26
667
- ImGuiCol_TabUnfocusedActive = 39 # 0x27
668
- ImGuiCol_NavHighlight = 58 # 0x3A
622
+ ImGuiCol_CheckboxSelectedBg = 19 # 0x13
623
+ ImGuiCol_SliderGrab = 20 # 0x14
624
+ ImGuiCol_SliderGrabActive = 21 # 0x15
625
+ ImGuiCol_Button = 22 # 0x16
626
+ ImGuiCol_ButtonHovered = 23 # 0x17
627
+ ImGuiCol_ButtonActive = 24 # 0x18
628
+ ImGuiCol_Header = 25 # 0x19
629
+ ImGuiCol_HeaderHovered = 26 # 0x1A
630
+ ImGuiCol_HeaderActive = 27 # 0x1B
631
+ ImGuiCol_Separator = 28 # 0x1C
632
+ ImGuiCol_SeparatorHovered = 29 # 0x1D
633
+ ImGuiCol_SeparatorActive = 30 # 0x1E
634
+ ImGuiCol_ResizeGrip = 31 # 0x1F
635
+ ImGuiCol_ResizeGripHovered = 32 # 0x20
636
+ ImGuiCol_ResizeGripActive = 33 # 0x21
637
+ ImGuiCol_InputTextCursor = 34 # 0x22
638
+ ImGuiCol_TabHovered = 35 # 0x23
639
+ ImGuiCol_Tab = 36 # 0x24
640
+ ImGuiCol_TabSelected = 37 # 0x25
641
+ ImGuiCol_TabSelectedOverline = 38 # 0x26
642
+ ImGuiCol_TabDimmed = 39 # 0x27
643
+ ImGuiCol_TabDimmedSelected = 40 # 0x28
644
+ ImGuiCol_TabDimmedSelectedOverline = 41 # 0x29
645
+ ImGuiCol_DockingPreview = 42 # 0x2A
646
+ ImGuiCol_DockingEmptyBg = 43 # 0x2B
647
+ ImGuiCol_PlotLines = 44 # 0x2C
648
+ ImGuiCol_PlotLinesHovered = 45 # 0x2D
649
+ ImGuiCol_PlotHistogram = 46 # 0x2E
650
+ ImGuiCol_PlotHistogramHovered = 47 # 0x2F
651
+ ImGuiCol_TableHeaderBg = 48 # 0x30
652
+ ImGuiCol_TableBorderStrong = 49 # 0x31
653
+ ImGuiCol_TableBorderLight = 50 # 0x32
654
+ ImGuiCol_TableRowBg = 51 # 0x33
655
+ ImGuiCol_TableRowBgAlt = 52 # 0x34
656
+ ImGuiCol_TextLink = 53 # 0x35
657
+ ImGuiCol_TextSelectedBg = 54 # 0x36
658
+ ImGuiCol_TreeLines = 55 # 0x37
659
+ ImGuiCol_DragDropTarget = 56 # 0x38
660
+ ImGuiCol_DragDropTargetBg = 57 # 0x39
661
+ ImGuiCol_UnsavedMarker = 58 # 0x3A
662
+ ImGuiCol_NavCursor = 59 # 0x3B
663
+ ImGuiCol_NavWindowingHighlight = 60 # 0x3C
664
+ ImGuiCol_NavWindowingDimBg = 61 # 0x3D
665
+ ImGuiCol_ModalWindowDimBg = 62 # 0x3E
666
+ ImGuiCol_COUNT = 63 # 0x3F
667
+ ImGuiCol_TabActive = 37 # 0x25
668
+ ImGuiCol_TabUnfocused = 39 # 0x27
669
+ ImGuiCol_TabUnfocusedActive = 40 # 0x28
670
+ ImGuiCol_NavHighlight = 59 # 0x3B
669
671
 
670
672
  # ImGuiStyleVar_
671
673
  ImGuiStyleVar_Alpha = 0 # 0x0
@@ -703,14 +705,17 @@ ImGuiStyleVar_TableAngledHeadersAngle = 31 # 0x1F
703
705
  ImGuiStyleVar_TableAngledHeadersTextAlign = 32 # 0x20
704
706
  ImGuiStyleVar_TreeLinesSize = 33 # 0x21
705
707
  ImGuiStyleVar_TreeLinesRounding = 34 # 0x22
706
- ImGuiStyleVar_ButtonTextAlign = 35 # 0x23
707
- ImGuiStyleVar_SelectableTextAlign = 36 # 0x24
708
- ImGuiStyleVar_SeparatorSize = 37 # 0x25
709
- ImGuiStyleVar_SeparatorTextBorderSize = 38 # 0x26
710
- ImGuiStyleVar_SeparatorTextAlign = 39 # 0x27
711
- ImGuiStyleVar_SeparatorTextPadding = 40 # 0x28
712
- ImGuiStyleVar_DockingSeparatorSize = 41 # 0x29
713
- ImGuiStyleVar_COUNT = 42 # 0x2A
708
+ ImGuiStyleVar_MenuItemRounding = 35 # 0x23
709
+ ImGuiStyleVar_SelectableRounding = 36 # 0x24
710
+ ImGuiStyleVar_DragDropTargetRounding = 37 # 0x25
711
+ ImGuiStyleVar_ButtonTextAlign = 38 # 0x26
712
+ ImGuiStyleVar_SelectableTextAlign = 39 # 0x27
713
+ ImGuiStyleVar_SeparatorSize = 40 # 0x28
714
+ ImGuiStyleVar_SeparatorTextBorderSize = 41 # 0x29
715
+ ImGuiStyleVar_SeparatorTextAlign = 42 # 0x2A
716
+ ImGuiStyleVar_SeparatorTextPadding = 43 # 0x2B
717
+ ImGuiStyleVar_DockingSeparatorSize = 44 # 0x2C
718
+ ImGuiStyleVar_COUNT = 45 # 0x2D
714
719
 
715
720
  # ImGuiButtonFlags_
716
721
  ImGuiButtonFlags_None = 0 # 0x0
@@ -746,14 +751,15 @@ ImGuiColorEditFlags_Uint8 = 8388608 # 0x800000
746
751
  ImGuiColorEditFlags_Float = 16777216 # 0x1000000
747
752
  ImGuiColorEditFlags_PickerHueBar = 33554432 # 0x2000000
748
753
  ImGuiColorEditFlags_PickerHueWheel = 67108864 # 0x4000000
749
- ImGuiColorEditFlags_InputRGB = 134217728 # 0x8000000
750
- ImGuiColorEditFlags_InputHSV = 268435456 # 0x10000000
751
- ImGuiColorEditFlags_DefaultOptions_ = 177209344 # 0xA900000
754
+ ImGuiColorEditFlags_PickerNoRotate = 134217728 # 0x8000000
755
+ ImGuiColorEditFlags_InputRGB = 268435456 # 0x10000000
756
+ ImGuiColorEditFlags_InputHSV = 536870912 # 0x20000000
757
+ ImGuiColorEditFlags_DefaultOptions_ = 311427072 # 0x12900000
752
758
  ImGuiColorEditFlags_AlphaMask_ = 28674 # 0x7002
753
759
  ImGuiColorEditFlags_DisplayMask_ = 7340032 # 0x700000
754
760
  ImGuiColorEditFlags_DataTypeMask_ = 25165824 # 0x1800000
755
761
  ImGuiColorEditFlags_PickerMask_ = 100663296 # 0x6000000
756
- ImGuiColorEditFlags_InputMask_ = 402653184 # 0x18000000
762
+ ImGuiColorEditFlags_InputMask_ = 805306368 # 0x30000000
757
763
  ImGuiColorEditFlags_AlphaPreview = 0 # 0x0
758
764
 
759
765
  # ImGuiSliderFlags_
@@ -907,6 +913,7 @@ ImGuiMultiSelectFlags_SelectOnClickRelease = 32768 # 0x8000
907
913
  ImGuiMultiSelectFlags_NavWrapX = 65536 # 0x10000
908
914
  ImGuiMultiSelectFlags_NoSelectOnRightClick = 131072 # 0x20000
909
915
  ImGuiMultiSelectFlags_SelectOnMask_ = 57344 # 0xE000
916
+ ImGuiMultiSelectFlags_CheckboxMode_ = 1048576 # 0x100000
910
917
  ImGuiMultiSelectFlags_SelectOnClick = 8192 # 0x2000
911
918
 
912
919
  # ImGuiSelectionRequestType
@@ -916,19 +923,20 @@ ImGuiSelectionRequestType_SetRange = 2 # 0x2
916
923
 
917
924
  # ImDrawFlags_
918
925
  ImDrawFlags_None = 0 # 0x0
919
- ImDrawFlags_Closed = 1 # 0x1
920
926
  ImDrawFlags_RoundCornersTopLeft = 16 # 0x10
921
927
  ImDrawFlags_RoundCornersTopRight = 32 # 0x20
922
928
  ImDrawFlags_RoundCornersBottomLeft = 64 # 0x40
923
929
  ImDrawFlags_RoundCornersBottomRight = 128 # 0x80
924
930
  ImDrawFlags_RoundCornersNone = 256 # 0x100
931
+ ImDrawFlags_RoundCornersAll = 240 # 0xF0
932
+ ImDrawFlags_RoundCornersDefault_ = 240 # 0xF0
925
933
  ImDrawFlags_RoundCornersTop = 48 # 0x30
926
934
  ImDrawFlags_RoundCornersBottom = 192 # 0xC0
927
935
  ImDrawFlags_RoundCornersLeft = 80 # 0x50
928
936
  ImDrawFlags_RoundCornersRight = 160 # 0xA0
929
- ImDrawFlags_RoundCornersAll = 240 # 0xF0
930
- ImDrawFlags_RoundCornersDefault_ = 240 # 0xF0
931
937
  ImDrawFlags_RoundCornersMask_ = 496 # 0x1F0
938
+ ImDrawFlags_Closed = 512 # 0x200
939
+ ImDrawFlags_InvalidMask_ = -2147483633 # -0x7FFFFFF1
932
940
 
933
941
  # ImDrawListFlags_
934
942
  ImDrawListFlags_None = 0 # 0x0
@@ -936,6 +944,7 @@ ImDrawListFlags_AntiAliasedLines = 1 # 0x1
936
944
  ImDrawListFlags_AntiAliasedLinesUseTex = 2 # 0x2
937
945
  ImDrawListFlags_AntiAliasedFill = 4 # 0x4
938
946
  ImDrawListFlags_AllowVtxOffset = 8 # 0x8
947
+ ImDrawListFlags_TextNoPixelSnap = 16 # 0x10
939
948
 
940
949
  # ImTextureFormat
941
950
  ImTextureFormat_RGBA32 = 0 # 0x0
@@ -959,6 +968,7 @@ ImFontFlags_None = 0 # 0x0
959
968
  ImFontFlags_NoLoadError = 2 # 0x2
960
969
  ImFontFlags_NoLoadGlyphs = 4 # 0x4
961
970
  ImFontFlags_LockBakedSizes = 8 # 0x8
971
+ ImFontFlags_ImplicitRefSize = 16 # 0x10
962
972
 
963
973
  # ImGuiViewportFlags_
964
974
  ImGuiViewportFlags_None = 0 # 0x0
@@ -1003,7 +1013,7 @@ ImGuiItemFlags_NoFocus = 131072 # 0x20000
1003
1013
  ImGuiItemFlags_Inputable = 1048576 # 0x100000
1004
1014
  ImGuiItemFlags_HasSelectionUserData = 2097152 # 0x200000
1005
1015
  ImGuiItemFlags_IsMultiSelect = 4194304 # 0x400000
1006
- ImGuiItemFlags_Default_ = 16 # 0x10
1016
+ ImGuiItemFlags_Default_ = 144 # 0x90
1007
1017
 
1008
1018
  # ImGuiItemStatusFlags_
1009
1019
  ImGuiItemStatusFlags_None = 0 # 0x0
@@ -1018,6 +1028,7 @@ ImGuiItemStatusFlags_HoveredWindow = 128 # 0x80
1018
1028
  ImGuiItemStatusFlags_Visible = 256 # 0x100
1019
1029
  ImGuiItemStatusFlags_HasClipRect = 512 # 0x200
1020
1030
  ImGuiItemStatusFlags_HasShortcut = 1024 # 0x400
1031
+ ImGuiItemStatusFlags_EditedInternal = 2048 # 0x800
1021
1032
 
1022
1033
  # ImGuiHoveredFlagsPrivate_
1023
1034
  ImGuiHoveredFlags_DelayMask_ = 245760 # 0x3C000
@@ -1313,16 +1324,18 @@ ImGuiLocKey_VersionStr = 0 # 0x0
1313
1324
  ImGuiLocKey_TableSizeOne = 1 # 0x1
1314
1325
  ImGuiLocKey_TableSizeAllFit = 2 # 0x2
1315
1326
  ImGuiLocKey_TableSizeAllDefault = 3 # 0x3
1316
- ImGuiLocKey_TableResetOrder = 4 # 0x4
1317
- ImGuiLocKey_WindowingMainMenuBar = 5 # 0x5
1318
- ImGuiLocKey_WindowingPopup = 6 # 0x6
1319
- ImGuiLocKey_WindowingUntitled = 7 # 0x7
1320
- ImGuiLocKey_OpenLink_s = 8 # 0x8
1321
- ImGuiLocKey_CopyLink = 9 # 0x9
1322
- ImGuiLocKey_DockingHideTabBar = 10 # 0xA
1323
- ImGuiLocKey_DockingHoldShiftToDock = 11 # 0xB
1324
- ImGuiLocKey_DockingDragToUndockOrMoveNode = 12 # 0xC
1325
- ImGuiLocKey_COUNT = 13 # 0xD
1327
+ ImGuiLocKey_TableReset = 4 # 0x4
1328
+ ImGuiLocKey_TableResetOrder = 5 # 0x5
1329
+ ImGuiLocKey_TableResetVisibility = 6 # 0x6
1330
+ ImGuiLocKey_WindowingMainMenuBar = 7 # 0x7
1331
+ ImGuiLocKey_WindowingPopup = 8 # 0x8
1332
+ ImGuiLocKey_WindowingUntitled = 9 # 0x9
1333
+ ImGuiLocKey_OpenLink_s = 10 # 0xA
1334
+ ImGuiLocKey_CopyLink = 11 # 0xB
1335
+ ImGuiLocKey_DockingHideTabBar = 12 # 0xC
1336
+ ImGuiLocKey_DockingHoldShiftToDock = 13 # 0xD
1337
+ ImGuiLocKey_DockingDragToUndockOrMoveNode = 14 # 0xE
1338
+ ImGuiLocKey_COUNT = 15 # 0xF
1326
1339
 
1327
1340
  # ImGuiDebugLogFlags_
1328
1341
  ImGuiDebugLogFlags_None = 0 # 0x0
@@ -1338,7 +1351,8 @@ ImGuiDebugLogFlags_EventFont = 256 # 0x100
1338
1351
  ImGuiDebugLogFlags_EventInputRouting = 512 # 0x200
1339
1352
  ImGuiDebugLogFlags_EventDocking = 1024 # 0x400
1340
1353
  ImGuiDebugLogFlags_EventViewport = 2048 # 0x800
1341
- ImGuiDebugLogFlags_EventMask_ = 4095 # 0xFFF
1354
+ ImGuiDebugLogFlags_EventTable = 4096 # 0x1000
1355
+ ImGuiDebugLogFlags_EventMask_ = 8191 # 0x1FFF
1342
1356
  ImGuiDebugLogFlags_OutputToTTY = 1048576 # 0x100000
1343
1357
  ImGuiDebugLogFlags_OutputToDebugger = 2097152 # 0x200000
1344
1358
  ImGuiDebugLogFlags_OutputToTestEngine = 4194304 # 0x400000
@@ -1522,12 +1536,28 @@ class ImDrawList < FFI::Struct
1522
1536
  ImGui::ImDrawList_AddLineEx(self, p1, p2, col, thickness)
1523
1537
  end
1524
1538
 
1539
+ def AddLineH(min_x, max_x, y, col)
1540
+ ImGui::ImDrawList_AddLineH(self, min_x, max_x, y, col)
1541
+ end
1542
+
1543
+ def AddLineHEx(min_x, max_x, y, col, thickness = 1.0)
1544
+ ImGui::ImDrawList_AddLineHEx(self, min_x, max_x, y, col, thickness)
1545
+ end
1546
+
1547
+ def AddLineV(x, min_y, max_y, col)
1548
+ ImGui::ImDrawList_AddLineV(self, x, min_y, max_y, col)
1549
+ end
1550
+
1551
+ def AddLineVEx(x, min_y, max_y, col, thickness = 1.0)
1552
+ ImGui::ImDrawList_AddLineVEx(self, x, min_y, max_y, col, thickness)
1553
+ end
1554
+
1525
1555
  def AddRect(p_min, p_max, col)
1526
1556
  ImGui::ImDrawList_AddRect(self, p_min, p_max, col)
1527
1557
  end
1528
1558
 
1529
- def AddRectEx(p_min, p_max, col, rounding = 0.0, flags = 0, thickness = 1.0)
1530
- ImGui::ImDrawList_AddRectEx(self, p_min, p_max, col, rounding, flags, thickness)
1559
+ def AddRectEx(p_min, p_max, col, rounding = 0.0, thickness = 1.0, flags = 0)
1560
+ ImGui::ImDrawList_AddRectEx(self, p_min, p_max, col, rounding, thickness, flags)
1531
1561
  end
1532
1562
 
1533
1563
  def AddRectFilled(p_min, p_max, col)
@@ -1630,8 +1660,8 @@ class ImDrawList < FFI::Struct
1630
1660
  ImGui::ImDrawList_AddBezierQuadratic(self, p1, p2, p3, col, thickness, num_segments)
1631
1661
  end
1632
1662
 
1633
- def AddPolyline(points, num_points, col, flags, thickness)
1634
- ImGui::ImDrawList_AddPolyline(self, points, num_points, col, flags, thickness)
1663
+ def AddPolyline(points, num_points, col, thickness, flags = 0)
1664
+ ImGui::ImDrawList_AddPolyline(self, points, num_points, col, thickness, flags)
1635
1665
  end
1636
1666
 
1637
1667
  def AddConvexPolyFilled(points, num_points, col)
@@ -1682,8 +1712,8 @@ class ImDrawList < FFI::Struct
1682
1712
  ImGui::ImDrawList_PathFillConcave(self, col)
1683
1713
  end
1684
1714
 
1685
- def PathStroke(col, flags = 0, thickness = 1.0)
1686
- ImGui::ImDrawList_PathStroke(self, col, flags, thickness)
1715
+ def PathStroke(col, thickness = 1.0, flags = 0)
1716
+ ImGui::ImDrawList_PathStroke(self, col, thickness, flags)
1687
1717
  end
1688
1718
 
1689
1719
  def PathArcTo(center, radius, a_min, a_max, num_segments = 0)
@@ -1714,11 +1744,11 @@ class ImDrawList < FFI::Struct
1714
1744
  ImGui::ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags)
1715
1745
  end
1716
1746
 
1717
- def AddCallback(callback, userdata)
1718
- ImGui::ImDrawList_AddCallback(self, callback, userdata)
1747
+ def AddCallback(callback)
1748
+ ImGui::ImDrawList_AddCallback(self, callback)
1719
1749
  end
1720
1750
 
1721
- def AddCallbackEx(callback, userdata, userdata_size = 0)
1751
+ def AddCallbackEx(callback, userdata = nil, userdata_size = 0)
1722
1752
  ImGui::ImDrawList_AddCallbackEx(self, callback, userdata, userdata_size)
1723
1753
  end
1724
1754
 
@@ -1774,6 +1804,18 @@ class ImDrawList < FFI::Struct
1774
1804
  ImGui::ImDrawList_PrimVtx(self, pos, uv, col)
1775
1805
  end
1776
1806
 
1807
+ def AddRectImDrawFlags(p_min, p_max, col, rounding, flags, thickness)
1808
+ ImGui::ImDrawList_AddRectImDrawFlags(self, p_min, p_max, col, rounding, flags, thickness)
1809
+ end
1810
+
1811
+ def AddPolylineImDrawFlags(points, num_points, col, flags, thickness)
1812
+ ImGui::ImDrawList_AddPolylineImDrawFlags(self, points, num_points, col, flags, thickness)
1813
+ end
1814
+
1815
+ def PathStrokeImDrawFlags(col, flags, thickness)
1816
+ ImGui::ImDrawList_PathStrokeImDrawFlags(self, col, flags, thickness)
1817
+ end
1818
+
1777
1819
  def PushTextureID(tex_ref)
1778
1820
  ImGui::ImDrawList_PushTextureID(self, tex_ref)
1779
1821
  end
@@ -1914,10 +1956,6 @@ class ImFontAtlas < FFI::Struct
1914
1956
  ImGui::ImFontAtlas_RemoveFont(self, font)
1915
1957
  end
1916
1958
 
1917
- def Clear()
1918
- ImGui::ImFontAtlas_Clear(self)
1919
- end
1920
-
1921
1959
  def CompactCache()
1922
1960
  ImGui::ImFontAtlas_CompactCache(self)
1923
1961
  end
@@ -1926,14 +1964,18 @@ class ImFontAtlas < FFI::Struct
1926
1964
  ImGui::ImFontAtlas_SetFontLoader(self, font_loader)
1927
1965
  end
1928
1966
 
1929
- def ClearInputData()
1930
- ImGui::ImFontAtlas_ClearInputData(self)
1967
+ def Clear()
1968
+ ImGui::ImFontAtlas_Clear(self)
1931
1969
  end
1932
1970
 
1933
1971
  def ClearFonts()
1934
1972
  ImGui::ImFontAtlas_ClearFonts(self)
1935
1973
  end
1936
1974
 
1975
+ def ClearInputData()
1976
+ ImGui::ImFontAtlas_ClearInputData(self)
1977
+ end
1978
+
1937
1979
  def ClearTexData()
1938
1980
  ImGui::ImFontAtlas_ClearTexData(self)
1939
1981
  end
@@ -2314,6 +2356,8 @@ class ImGuiStyle < FFI::Struct
2314
2356
  :TreeLinesFlags, :int,
2315
2357
  :TreeLinesSize, :float,
2316
2358
  :TreeLinesRounding, :float,
2359
+ :MenuItemRounding, :float,
2360
+ :SelectableRounding, :float,
2317
2361
  :DragDropTargetRounding, :float,
2318
2362
  :DragDropTargetBorderSize, :float,
2319
2363
  :DragDropTargetPadding, :float,
@@ -2321,6 +2365,7 @@ class ImGuiStyle < FFI::Struct
2321
2365
  :ColorButtonPosition, :int,
2322
2366
  :ButtonTextAlign, ImVec2.by_value,
2323
2367
  :SelectableTextAlign, ImVec2.by_value,
2368
+ :InputTextCursorSize, :float,
2324
2369
  :SeparatorSize, :float,
2325
2370
  :SeparatorTextBorderSize, :float,
2326
2371
  :SeparatorTextAlign, ImVec2.by_value,
@@ -2384,19 +2429,24 @@ class ImGuiIO < FFI::Struct
2384
2429
  :ConfigViewportsPlatformFocusSetsImGuiFocus, :bool,
2385
2430
  :ConfigDpiScaleFonts, :bool,
2386
2431
  :ConfigDpiScaleViewports, :bool,
2387
- :MouseDrawCursor, :bool,
2388
2432
  :ConfigMacOSXBehaviors, :bool,
2389
2433
  :ConfigInputTrickleEventQueue, :bool,
2390
2434
  :ConfigInputTextCursorBlink, :bool,
2391
2435
  :ConfigInputTextEnterKeepActive, :bool,
2436
+ :ConfigColorEditFlags, :int,
2392
2437
  :ConfigDragClickToInputText, :bool,
2393
2438
  :ConfigWindowsResizeFromEdges, :bool,
2394
2439
  :ConfigWindowsMoveFromTitleBarOnly, :bool,
2395
2440
  :ConfigWindowsCopyContentsWithCtrlC, :bool,
2396
2441
  :ConfigScrollbarScrollByPage, :bool,
2442
+ :ConfigIniSettingsSaveLastUsedDate, :bool,
2443
+ :ConfigIniSettingsAutoDiscardMonths, :int,
2444
+ :ConfigDebugIniSettings, :bool,
2445
+ :MouseDrawCursor, :bool,
2397
2446
  :ConfigMemoryCompactTimer, :float,
2398
2447
  :MouseDoubleClickTime, :float,
2399
2448
  :MouseDoubleClickMaxDist, :float,
2449
+ :MouseSingleClickDelay, :float,
2400
2450
  :MouseDragThreshold, :float,
2401
2451
  :KeyRepeatDelay, :float,
2402
2452
  :KeyRepeatRate, :float,
@@ -2410,7 +2460,6 @@ class ImGuiIO < FFI::Struct
2410
2460
  :ConfigDebugBeginReturnValueOnce, :bool,
2411
2461
  :ConfigDebugBeginReturnValueLoop, :bool,
2412
2462
  :ConfigDebugIgnoreFocusLoss, :bool,
2413
- :ConfigDebugIniSettings, :bool,
2414
2463
  :BackendPlatformName, :pointer,
2415
2464
  :BackendRendererName, :pointer,
2416
2465
  :BackendPlatformUserData, :pointer,
@@ -2605,7 +2654,8 @@ class ImGuiWindowClass < FFI::Struct
2605
2654
  :TabItemFlagsOverrideSet, :int,
2606
2655
  :DockNodeFlagsOverrideSet, :int,
2607
2656
  :DockingAlwaysTabBar, :bool,
2608
- :DockingAllowUnclassed, :bool
2657
+ :DockingAllowUnclassed, :bool,
2658
+ :PlatformIconData, :pointer
2609
2659
  )
2610
2660
  end
2611
2661
 
@@ -2942,7 +2992,7 @@ end
2942
2992
  class ImDrawData < FFI::Struct
2943
2993
  layout(
2944
2994
  :Valid, :bool,
2945
- :CmdListsCount, :int,
2995
+ :FrameCount, :int,
2946
2996
  :TotalIdxCount, :int,
2947
2997
  :TotalVtxCount, :int,
2948
2998
  :CmdLists, ImVector.by_value,
@@ -2950,7 +3000,8 @@ class ImDrawData < FFI::Struct
2950
3000
  :DisplaySize, ImVec2.by_value,
2951
3001
  :FramebufferScale, ImVec2.by_value,
2952
3002
  :OwnerViewport, :pointer,
2953
- :Textures, :pointer
3003
+ :Textures, :pointer,
3004
+ :CmdListsCount, :int
2954
3005
  )
2955
3006
 
2956
3007
  def Clear()
@@ -2985,6 +3036,7 @@ class ImTextureData < FFI::Struct
2985
3036
  :UniqueID, :int,
2986
3037
  :Status, :int,
2987
3038
  :BackendUserData, :pointer,
3039
+ :QueueUserData, :pointer,
2988
3040
  :TexID, :uint64,
2989
3041
  :Format, :int,
2990
3042
  :Width, :int,
@@ -3264,6 +3316,7 @@ class ImGuiViewport < FFI::Struct
3264
3316
  :DrawData, :pointer,
3265
3317
  :RendererUserData, :pointer,
3266
3318
  :PlatformUserData, :pointer,
3319
+ :PlatformIconData, :pointer,
3267
3320
  :PlatformHandle, :pointer,
3268
3321
  :PlatformHandleRaw, :pointer,
3269
3322
  :PlatformWindowCreated, :bool,
@@ -3296,9 +3349,13 @@ class ImGuiPlatformIO < FFI::Struct
3296
3349
  :Platform_SetImeDataFn, :pointer,
3297
3350
  :Platform_ImeUserData, :pointer,
3298
3351
  :Platform_LocaleDecimalPoint, :ushort,
3352
+ :Platform_SessionDate, :int,
3299
3353
  :Renderer_TextureMaxWidth, :int,
3300
3354
  :Renderer_TextureMaxHeight, :int,
3301
3355
  :Renderer_RenderState, :pointer,
3356
+ :DrawCallback_ResetRenderState, :pointer,
3357
+ :DrawCallback_SetSamplerLinear, :pointer,
3358
+ :DrawCallback_SetSamplerNearest, :pointer,
3302
3359
  :Platform_CreateWindow, :pointer,
3303
3360
  :Platform_DestroyWindow, :pointer,
3304
3361
  :Platform_ShowWindow, :pointer,
@@ -3462,6 +3519,14 @@ class ImRect < FFI::Struct
3462
3519
  ImGui::ImRect_AddImRect(self, r)
3463
3520
  end
3464
3521
 
3522
+ def AddX(x)
3523
+ ImGui::ImRect_AddX(self, x)
3524
+ end
3525
+
3526
+ def AddY(y)
3527
+ ImGui::ImRect_AddY(self, y)
3528
+ end
3529
+
3465
3530
  def Expand(amount)
3466
3531
  ImGui::ImRect_Expand(self, amount)
3467
3532
  end
@@ -3527,21 +3592,21 @@ class ImBitVector < FFI::Struct
3527
3592
 
3528
3593
  end
3529
3594
 
3530
- class ImSpan_ImGuiTableColumn < FFI::Struct
3595
+ class ImSpan_ImGuiTableColumnIdx < FFI::Struct
3531
3596
  layout(
3532
3597
  :Data, :pointer,
3533
3598
  :DataEnd, :pointer
3534
3599
  )
3535
3600
  end
3536
3601
 
3537
- class ImSpan_ImGuiTableColumnIdx < FFI::Struct
3602
+ class ImSpan_ImGuiTableCellData < FFI::Struct
3538
3603
  layout(
3539
3604
  :Data, :pointer,
3540
3605
  :DataEnd, :pointer
3541
3606
  )
3542
3607
  end
3543
3608
 
3544
- class ImSpan_ImGuiTableCellData < FFI::Struct
3609
+ class ImSpan_ImGuiTableColumn < FFI::Struct
3545
3610
  layout(
3546
3611
  :Data, :pointer,
3547
3612
  :DataEnd, :pointer
@@ -3569,6 +3634,27 @@ class ImStableVector_ImFontBaked_32 < FFI::Struct
3569
3634
 
3570
3635
  end
3571
3636
 
3637
+ class ImGuiPackedDate < FFI::Struct
3638
+ layout(
3639
+ :Year, :ushort,
3640
+ :Month, :ushort,
3641
+ :Day, :ushort
3642
+ )
3643
+
3644
+ def IsValid()
3645
+ ImGui::ImGuiPackedDate_IsValid(self)
3646
+ end
3647
+
3648
+ def Unpack()
3649
+ ImGui::ImGuiPackedDate_Unpack(self)
3650
+ end
3651
+
3652
+ def SubtractMonths(m)
3653
+ ImGui::ImGuiPackedDate_SubtractMonths(self, m)
3654
+ end
3655
+
3656
+ end
3657
+
3572
3658
  class ImDrawListSharedData < FFI::Struct
3573
3659
  layout(
3574
3660
  :TexUvWhitePixel, ImVec2.by_value,
@@ -3578,7 +3664,7 @@ class ImDrawListSharedData < FFI::Struct
3578
3664
  :FontSize, :float,
3579
3665
  :FontScale, :float,
3580
3666
  :CurveTessellationTol, :float,
3581
- :CircleSegmentMaxError, :float,
3667
+ :CircleTessellationMaxError, :float,
3582
3668
  :InitialFringeScale, :float,
3583
3669
  :InitialFlags, :int,
3584
3670
  :ClipRectFullscreen, ImVec4.by_value,
@@ -4037,7 +4123,7 @@ class ImGuiGroupData < FFI::Struct
4037
4123
  :BackupCurrLineSize, ImVec2.by_value,
4038
4124
  :BackupCurrLineTextBaseOffset, :float,
4039
4125
  :BackupActiveIdIsAlive, :uint,
4040
- :BackupActiveIdHasBeenEditedThisFrame, :bool,
4126
+ :BackupAnyIdHasBeenEditedThisFrame, :bool,
4041
4127
  :BackupDeactivatedIdIsAlive, :bool,
4042
4128
  :BackupHoveredIdIsAlive, :bool,
4043
4129
  :BackupIsSameLine, :bool,
@@ -4074,6 +4160,7 @@ end
4074
4160
  class ImGuiInputTextDeactivatedState < FFI::Struct
4075
4161
  layout(
4076
4162
  :ID, :uint,
4163
+ :ElapseFrame, :int,
4077
4164
  :TextA, ImVector.by_value
4078
4165
  )
4079
4166
 
@@ -4220,7 +4307,7 @@ end
4220
4307
  class ImGuiNextItemData < FFI::Struct
4221
4308
  layout(
4222
4309
  :HasFlags, :int,
4223
- :ItemFlags, :int,
4310
+ :ItemFlagsSet, :int,
4224
4311
  :FocusScopeId, :uint,
4225
4312
  :SelectionUserData, :int64,
4226
4313
  :Width, :float,
@@ -4558,6 +4645,7 @@ class ImGuiBoxSelectState < FFI::Struct
4558
4645
  :Window, :pointer,
4559
4646
  :UnclipMode, :bool,
4560
4647
  :UnclipRect, ImRect.by_value,
4648
+ :UnclipRects, [ImRect.by_value, 2],
4561
4649
  :BoxSelectRectPrev, ImRect.by_value,
4562
4650
  :BoxSelectRectCurr, ImRect.by_value
4563
4651
  )
@@ -4571,7 +4659,6 @@ class ImGuiMultiSelectTempData < FFI::Struct
4571
4659
  :Flags, :int,
4572
4660
  :ScopeRectMin, ImVec2.by_value,
4573
4661
  :BackupCursorMaxPos, ImVec2.by_value,
4574
- :LastSubmittedItem, :int64,
4575
4662
  :BoxSelectId, :uint,
4576
4663
  :KeyMods, :int,
4577
4664
  :LoopRequestSetAll, :char,
@@ -4580,7 +4667,8 @@ class ImGuiMultiSelectTempData < FFI::Struct
4580
4667
  :IsKeyboardSetRange, :bool,
4581
4668
  :NavIdPassedBy, :bool,
4582
4669
  :RangeSrcPassedBy, :bool,
4583
- :RangeDstPassedBy, :bool
4670
+ :RangeDstPassedBy, :bool,
4671
+ :IsSoleOrUnknownSelectionSize, :bool
4584
4672
  )
4585
4673
 
4586
4674
  def Clear()
@@ -4622,8 +4710,8 @@ class ImGuiDockNode < FFI::Struct
4622
4710
  :Size, ImVec2.by_value,
4623
4711
  :SizeRef, ImVec2.by_value,
4624
4712
  :SplitAxis, :int,
4625
- :WindowClass, ImGuiWindowClass.by_value,
4626
4713
  :LastBgColor, :uint,
4714
+ :WindowClass, ImGuiWindowClass.by_value,
4627
4715
  :HostWindow, :pointer,
4628
4716
  :VisibleWindow, :pointer,
4629
4717
  :CentralNode, :pointer,
@@ -4636,9 +4724,9 @@ class ImGuiDockNode < FFI::Struct
4636
4724
  :SelectedTabId, :uint,
4637
4725
  :WantCloseTabId, :uint,
4638
4726
  :RefViewportId, :uint,
4639
- :AuthorityForPos, :int,
4640
- :AuthorityForSize, :int,
4641
- :AuthorityForViewport, :int,
4727
+ :AuthorityForPos, :uchar,
4728
+ :AuthorityForSize, :uchar,
4729
+ :AuthorityForViewport, :uchar,
4642
4730
  :IsVisible, :bool,
4643
4731
  :IsFocused, :bool,
4644
4732
  :IsBgDrawnThisFrame, :bool,
@@ -4683,6 +4771,7 @@ class ImGuiViewportP < FFI::Struct
4683
4771
  :DrawData, :pointer,
4684
4772
  :RendererUserData, :pointer,
4685
4773
  :PlatformUserData, :pointer,
4774
+ :PlatformIconData, :pointer,
4686
4775
  :PlatformHandle, :pointer,
4687
4776
  :PlatformHandleRaw, :pointer,
4688
4777
  :PlatformWindowCreated, :bool,
@@ -4753,6 +4842,7 @@ class ImGuiWindowSettings < FFI::Struct
4753
4842
  :DockId, :uint,
4754
4843
  :ClassId, :uint,
4755
4844
  :DockOrder, :short,
4845
+ :LastUsedDate, ImGuiPackedDate.by_value,
4756
4846
  :Collapsed, :bool,
4757
4847
  :IsChild, :bool,
4758
4848
  :WantApply, :bool,
@@ -4765,6 +4855,18 @@ class ImGuiWindowSettings < FFI::Struct
4765
4855
 
4766
4856
  end
4767
4857
 
4858
+ class ImGuiSettingsCleanupArgs < FFI::Struct
4859
+ layout(
4860
+ :TypeHashFilter, :uint,
4861
+ :DiscardOlderThanMonths, :int,
4862
+ :DiscardWhenMissingDate, :bool,
4863
+ :DiscardAll, :bool,
4864
+ :SetCurrentSessionDateToAll, :bool,
4865
+ :SetCurrentSessionDateWhenMissingDate, :bool,
4866
+ :_DiscardOlderThanDate, :int
4867
+ )
4868
+ end
4869
+
4768
4870
  class ImGuiSettingsHandler < FFI::Struct
4769
4871
  layout(
4770
4872
  :TypeName, :pointer,
@@ -4775,6 +4877,7 @@ class ImGuiSettingsHandler < FFI::Struct
4775
4877
  :ReadLineFn, :pointer,
4776
4878
  :ApplyAllFn, :pointer,
4777
4879
  :WriteAllFn, :pointer,
4880
+ :CleanupFn, :pointer,
4778
4881
  :UserData, :pointer
4779
4882
  )
4780
4883
  end
@@ -4819,6 +4922,8 @@ class ImGuiMetricsConfig < FFI::Struct
4819
4922
  :ShowTablesRectsType, :int,
4820
4923
  :HighlightMonitorIdx, :int,
4821
4924
  :HighlightViewportID, :uint,
4925
+ :SettingsDiscardMonths, :int,
4926
+ :SettingsHighlightOldEntries, :bool,
4822
4927
  :ShowFontPreview, :bool
4823
4928
  )
4824
4929
  end
@@ -4891,6 +4996,7 @@ class ImGuiContext < FFI::Struct
4891
4996
  :CurrentDpiScale, :float,
4892
4997
  :DrawListSharedData, ImDrawListSharedData.by_value,
4893
4998
  :WithinEndChildID, :uint,
4999
+ :WithinEndPopupID, :uint,
4894
5000
  :TestEngine, :pointer,
4895
5001
  :InputEventsQueue, ImVector.by_value,
4896
5002
  :InputEventsTrail, ImVector.by_value,
@@ -4926,10 +5032,13 @@ class ImGuiContext < FFI::Struct
4926
5032
  :HoveredIdAllowOverlap, :bool,
4927
5033
  :HoveredIdIsDisabled, :bool,
4928
5034
  :ItemUnclipByLog, :bool,
5035
+ :AnyIdHasBeenEditedThisFrame, :bool,
4929
5036
  :ActiveId, :uint,
4930
5037
  :ActiveIdIsAlive, :uint,
4931
5038
  :ActiveIdTimer, :float,
4932
5039
  :ActiveIdIsJustActivated, :bool,
5040
+ :ActiveIdWasSelected, :bool,
5041
+ :ActiveIdWasSoleSelected, :bool,
4933
5042
  :ActiveIdAllowOverlap, :bool,
4934
5043
  :ActiveIdNoClearOnFocusLoss, :bool,
4935
5044
  :ActiveIdHasBeenPressedBefore, :bool,
@@ -4946,6 +5055,8 @@ class ImGuiContext < FFI::Struct
4946
5055
  :ActiveIdValueOnActivation, ImGuiDataTypeStorage.by_value,
4947
5056
  :LastActiveId, :uint,
4948
5057
  :LastActiveIdTimer, :float,
5058
+ :LastActiveIdWasSelected, :bool,
5059
+ :LastActiveIdWasSoleSelected, :bool,
4949
5060
  :LastKeyModsChangeTime, :double,
4950
5061
  :LastKeyModsChangeFromNoneTime, :double,
4951
5062
  :LastKeyboardKeyPressTime, :double,
@@ -5106,7 +5217,6 @@ class ImGuiContext < FFI::Struct
5106
5217
  :DataTypeZeroValue, ImGuiDataTypeStorage.by_value,
5107
5218
  :BeginMenuDepth, :int,
5108
5219
  :BeginComboDepth, :int,
5109
- :ColorEditOptions, :int,
5110
5220
  :ColorEditCurrentID, :uint,
5111
5221
  :ColorEditSavedID, :uint,
5112
5222
  :ColorEditSavedHue, :float,
@@ -5136,6 +5246,7 @@ class ImGuiContext < FFI::Struct
5136
5246
  :UserTextures, ImVector.by_value,
5137
5247
  :DockContext, ImGuiDockContext.by_value,
5138
5248
  :DockNodeWindowMenuHandler, :pointer,
5249
+ :SessionDate, ImGuiPackedDate.by_value,
5139
5250
  :SettingsLoaded, :bool,
5140
5251
  :SettingsDirtyTimer, :float,
5141
5252
  :SettingsIniData, ImGuiTextBuffer.by_value,
@@ -5487,7 +5598,8 @@ class ImGuiTableColumn < FFI::Struct
5487
5598
  :StretchWeight, :float,
5488
5599
  :InitStretchWeightOrWidth, :float,
5489
5600
  :ClipRect, ImRect.by_value,
5490
- :UserID, :uint,
5601
+ :ID, :uint,
5602
+ :UserData, :uint,
5491
5603
  :WorkMinX, :float,
5492
5604
  :WorkMaxX, :float,
5493
5605
  :ItemWidth, :float,
@@ -5512,6 +5624,10 @@ class ImGuiTableColumn < FFI::Struct
5512
5624
  :IsRequestOutput, :bool,
5513
5625
  :IsSkipItems, :bool,
5514
5626
  :IsPreserveWidthAuto, :bool,
5627
+ :IsJustCreated, :bool,
5628
+ :IsLoadedSettings, :bool,
5629
+ :IsNeedReconcileSrc, :bool,
5630
+ :IsNeedReconcileDst, :bool,
5515
5631
  :NavLayerCurrent, :char,
5516
5632
  :AutoFitQueue, :uchar,
5517
5633
  :CannotSkipItemsQueue, :uchar,
@@ -5522,6 +5638,27 @@ class ImGuiTableColumn < FFI::Struct
5522
5638
  )
5523
5639
  end
5524
5640
 
5641
+ class ImGuiTableReconcileColumnData < FFI::Struct
5642
+ layout(
5643
+ :ID, :uint,
5644
+ :NameOffset, :short,
5645
+ :Flags, :int,
5646
+ :InitWidthOrWeight, :float,
5647
+ :UserData, :uint,
5648
+ :ColumnNewIdx, :short,
5649
+ :ColumnOldIdx, :short,
5650
+ :ColumnOldData, ImGuiTableColumn.by_value
5651
+ )
5652
+ end
5653
+
5654
+ class ImVector_ImGuiTableReconcileColumnData < FFI::Struct
5655
+ layout(
5656
+ :Size, :int,
5657
+ :Capacity, :int,
5658
+ :Data, :pointer
5659
+ )
5660
+ end
5661
+
5525
5662
  class ImGuiTableCellData < FFI::Struct
5526
5663
  layout(
5527
5664
  :BgColor, :uint,
@@ -5648,6 +5785,7 @@ class ImGuiTable < FFI::Struct
5648
5785
  :IsLayoutLocked, :bool,
5649
5786
  :IsInsideRow, :bool,
5650
5787
  :IsInitializing, :bool,
5788
+ :IsReconcileMode, :bool,
5651
5789
  :IsSortSpecsDirty, :bool,
5652
5790
  :IsUsingHeaders, :bool,
5653
5791
  :IsContextPopupOpen, :bool,
@@ -5655,8 +5793,10 @@ class ImGuiTable < FFI::Struct
5655
5793
  :IsSettingsRequestLoad, :bool,
5656
5794
  :IsSettingsDirty, :bool,
5657
5795
  :IsDefaultDisplayOrder, :bool,
5796
+ :IsDefaultVisibility, :bool,
5658
5797
  :IsResetAllRequest, :bool,
5659
5798
  :IsResetDisplayOrderRequest, :bool,
5799
+ :IsResetVisibilityRequest, :bool,
5660
5800
  :IsUnfrozenRows, :bool,
5661
5801
  :IsDefaultSizingPolicy, :bool,
5662
5802
  :IsActiveIdAliveBeforeTable, :bool,
@@ -5675,6 +5815,9 @@ class ImGuiTableTempData < FFI::Struct
5675
5815
  :LastTimeActive, :float,
5676
5816
  :AngledHeadersExtraWidth, :float,
5677
5817
  :AngledHeadersRequests, ImVector.by_value,
5818
+ :ReconcileColumnsRequests, ImVector.by_value,
5819
+ :OldColumnsRawData, :pointer,
5820
+ :OldColumnsData, ImSpan_ImGuiTableColumn.by_value,
5678
5821
  :UserOuterSize, ImVec2.by_value,
5679
5822
  :DrawSplitter, ImDrawListSplitter.by_value,
5680
5823
  :HostBackupWorkRect, ImRect.by_value,
@@ -5691,13 +5834,14 @@ end
5691
5834
  class ImGuiTableColumnSettings < FFI::Struct
5692
5835
  layout(
5693
5836
  :WidthOrWeight, :float,
5694
- :UserID, :uint,
5837
+ :ID, :uint,
5695
5838
  :Index, :short,
5696
5839
  :DisplayOrder, :short,
5697
5840
  :SortOrder, :short,
5698
5841
  :SortDirection, :uchar,
5699
5842
  :IsEnabled, :char,
5700
- :IsStretch, :uchar
5843
+ :IsStretch, :uchar,
5844
+ :IsLoaded, :bool
5701
5845
  )
5702
5846
  end
5703
5847
 
@@ -5708,6 +5852,7 @@ class ImGuiTableSettings < FFI::Struct
5708
5852
  :RefScale, :float,
5709
5853
  :ColumnsCount, :short,
5710
5854
  :ColumnsCountMax, :short,
5855
+ :LastUsedDate, ImGuiPackedDate.by_value,
5711
5856
  :WantApply, :bool
5712
5857
  )
5713
5858
 
@@ -6113,7 +6258,6 @@ module ImGui
6113
6258
  [:ImGui_ColorPicker4, :ImGui_ColorPicker4, [:pointer, :pointer, :int, :pointer], :bool],
6114
6259
  [:ImGui_ColorButton, :ImGui_ColorButton, [:pointer, ImVec4.by_value, :int], :bool],
6115
6260
  [:ImGui_ColorButtonEx, :ImGui_ColorButtonEx, [:pointer, ImVec4.by_value, :int, ImVec2.by_value], :bool],
6116
- [:ImGui_SetColorEditOptions, :ImGui_SetColorEditOptions, [:int], :void],
6117
6261
  [:ImGui_TreeNode, :ImGui_TreeNode, [:pointer], :bool],
6118
6262
  [:ImGui_TreeNodeStr, :ImGui_TreeNodeStr, [:pointer, :pointer, :varargs], :bool],
6119
6263
  [:ImGui_TreeNodePtr, :ImGui_TreeNodePtr, [:pointer, :pointer, :varargs], :bool],
@@ -6169,9 +6313,9 @@ module ImGui
6169
6313
  [:ImGui_BeginPopup, :ImGui_BeginPopup, [:pointer, :int], :bool],
6170
6314
  [:ImGui_BeginPopupModal, :ImGui_BeginPopupModal, [:pointer, :pointer, :int], :bool],
6171
6315
  [:ImGui_EndPopup, :ImGui_EndPopup, [], :void],
6172
- [:ImGui_OpenPopup, :ImGui_OpenPopup, [:pointer, :int], :void],
6173
- [:ImGui_OpenPopupID, :ImGui_OpenPopupID, [:uint, :int], :void],
6174
- [:ImGui_OpenPopupOnItemClick, :ImGui_OpenPopupOnItemClick, [:pointer, :int], :void],
6316
+ [:ImGui_OpenPopup, :ImGui_OpenPopup, [:pointer, :int], :bool],
6317
+ [:ImGui_OpenPopupID, :ImGui_OpenPopupID, [:uint, :int], :bool],
6318
+ [:ImGui_OpenPopupOnItemClick, :ImGui_OpenPopupOnItemClick, [:pointer, :int], :bool],
6175
6319
  [:ImGui_CloseCurrentPopup, :ImGui_CloseCurrentPopup, [], :void],
6176
6320
  [:ImGui_BeginPopupContextItem, :ImGui_BeginPopupContextItem, [], :bool],
6177
6321
  [:ImGui_BeginPopupContextItemEx, :ImGui_BeginPopupContextItemEx, [:pointer, :int], :bool],
@@ -6266,6 +6410,8 @@ module ImGui
6266
6410
  [:ImGui_GetItemRectMax, :ImGui_GetItemRectMax, [], ImVec2.by_value],
6267
6411
  [:ImGui_GetItemRectSize, :ImGui_GetItemRectSize, [], ImVec2.by_value],
6268
6412
  [:ImGui_GetItemFlags, :ImGui_GetItemFlags, [], :int],
6413
+ [:ImGui_GetItemClickedCountWithSingleClickDelay, :ImGui_GetItemClickedCountWithSingleClickDelay, [], :int],
6414
+ [:ImGui_GetItemClickedCountWithSingleClickDelayEx, :ImGui_GetItemClickedCountWithSingleClickDelayEx, [:int, :float], :int],
6269
6415
  [:ImGui_GetMainViewport, :ImGui_GetMainViewport, [], :pointer],
6270
6416
  [:ImGui_GetBackgroundDrawList, :ImGui_GetBackgroundDrawList, [], :pointer],
6271
6417
  [:ImGui_GetBackgroundDrawListEx, :ImGui_GetBackgroundDrawListEx, [:pointer], :pointer],
@@ -6295,13 +6441,14 @@ module ImGui
6295
6441
  [:ImGui_SetNextFrameWantCaptureKeyboard, :ImGui_SetNextFrameWantCaptureKeyboard, [:bool], :void],
6296
6442
  [:ImGui_Shortcut, :ImGui_Shortcut, [:int, :int], :bool],
6297
6443
  [:ImGui_SetNextItemShortcut, :ImGui_SetNextItemShortcut, [:int, :int], :void],
6298
- [:ImGui_SetItemKeyOwner, :ImGui_SetItemKeyOwner, [:int], :void],
6444
+ [:ImGui_SetItemKeyOwner, :ImGui_SetItemKeyOwner, [:int], :bool],
6299
6445
  [:ImGui_IsMouseDown, :ImGui_IsMouseDown, [:int], :bool],
6300
6446
  [:ImGui_IsMouseClicked, :ImGui_IsMouseClicked, [:int], :bool],
6301
6447
  [:ImGui_IsMouseClickedEx, :ImGui_IsMouseClickedEx, [:int, :bool], :bool],
6302
6448
  [:ImGui_IsMouseReleased, :ImGui_IsMouseReleased, [:int], :bool],
6303
6449
  [:ImGui_IsMouseDoubleClicked, :ImGui_IsMouseDoubleClicked, [:int], :bool],
6304
- [:ImGui_IsMouseReleasedWithDelay, :ImGui_IsMouseReleasedWithDelay, [:int, :float], :bool],
6450
+ [:ImGui_IsMouseReleasedWithDelay, :ImGui_IsMouseReleasedWithDelay, [:int], :bool],
6451
+ [:ImGui_IsMouseReleasedWithDelayEx, :ImGui_IsMouseReleasedWithDelayEx, [:int, :float], :bool],
6305
6452
  [:ImGui_GetMouseClickedCount, :ImGui_GetMouseClickedCount, [:int], :int],
6306
6453
  [:ImGui_IsMouseHoveringRect, :ImGui_IsMouseHoveringRect, [ImVec2.by_value, ImVec2.by_value], :bool],
6307
6454
  [:ImGui_IsMouseHoveringRectEx, :ImGui_IsMouseHoveringRectEx, [ImVec2.by_value, ImVec2.by_value, :bool], :bool],
@@ -6434,8 +6581,12 @@ module ImGui
6434
6581
  [:ImDrawList_GetClipRectMax, :ImDrawList_GetClipRectMax, [:pointer], ImVec2.by_value],
6435
6582
  [:ImDrawList_AddLine, :ImDrawList_AddLine, [:pointer, ImVec2.by_value, ImVec2.by_value, :uint], :void],
6436
6583
  [:ImDrawList_AddLineEx, :ImDrawList_AddLineEx, [:pointer, ImVec2.by_value, ImVec2.by_value, :uint, :float], :void],
6584
+ [:ImDrawList_AddLineH, :ImDrawList_AddLineH, [:pointer, :float, :float, :float, :uint], :void],
6585
+ [:ImDrawList_AddLineHEx, :ImDrawList_AddLineHEx, [:pointer, :float, :float, :float, :uint, :float], :void],
6586
+ [:ImDrawList_AddLineV, :ImDrawList_AddLineV, [:pointer, :float, :float, :float, :uint], :void],
6587
+ [:ImDrawList_AddLineVEx, :ImDrawList_AddLineVEx, [:pointer, :float, :float, :float, :uint, :float], :void],
6437
6588
  [:ImDrawList_AddRect, :ImDrawList_AddRect, [:pointer, ImVec2.by_value, ImVec2.by_value, :uint], :void],
6438
- [:ImDrawList_AddRectEx, :ImDrawList_AddRectEx, [:pointer, ImVec2.by_value, ImVec2.by_value, :uint, :float, :int, :float], :void],
6589
+ [:ImDrawList_AddRectEx, :ImDrawList_AddRectEx, [:pointer, ImVec2.by_value, ImVec2.by_value, :uint, :float, :float, :int], :void],
6439
6590
  [:ImDrawList_AddRectFilled, :ImDrawList_AddRectFilled, [:pointer, ImVec2.by_value, ImVec2.by_value, :uint], :void],
6440
6591
  [:ImDrawList_AddRectFilledEx, :ImDrawList_AddRectFilledEx, [:pointer, ImVec2.by_value, ImVec2.by_value, :uint, :float, :int], :void],
6441
6592
  [:ImDrawList_AddRectFilledMultiColor, :ImDrawList_AddRectFilledMultiColor, [:pointer, ImVec2.by_value, ImVec2.by_value, :uint, :uint, :uint, :uint], :void],
@@ -6461,7 +6612,7 @@ module ImGui
6461
6612
  [:ImDrawList_AddTextImFontPtrEx, :ImDrawList_AddTextImFontPtrEx, [:pointer, :pointer, :float, ImVec2.by_value, :uint, :pointer, :pointer, :float, :pointer], :void],
6462
6613
  [:ImDrawList_AddBezierCubic, :ImDrawList_AddBezierCubic, [:pointer, ImVec2.by_value, ImVec2.by_value, ImVec2.by_value, ImVec2.by_value, :uint, :float, :int], :void],
6463
6614
  [:ImDrawList_AddBezierQuadratic, :ImDrawList_AddBezierQuadratic, [:pointer, ImVec2.by_value, ImVec2.by_value, ImVec2.by_value, :uint, :float, :int], :void],
6464
- [:ImDrawList_AddPolyline, :ImDrawList_AddPolyline, [:pointer, :pointer, :int, :uint, :int, :float], :void],
6615
+ [:ImDrawList_AddPolyline, :ImDrawList_AddPolyline, [:pointer, :pointer, :int, :uint, :float, :int], :void],
6465
6616
  [:ImDrawList_AddConvexPolyFilled, :ImDrawList_AddConvexPolyFilled, [:pointer, :pointer, :int, :uint], :void],
6466
6617
  [:ImDrawList_AddConcavePolyFilled, :ImDrawList_AddConcavePolyFilled, [:pointer, :pointer, :int, :uint], :void],
6467
6618
  [:ImDrawList_AddImage, :ImDrawList_AddImage, [:pointer, ImTextureRef.by_value, ImVec2.by_value, ImVec2.by_value], :void],
@@ -6474,7 +6625,7 @@ module ImGui
6474
6625
  [:ImDrawList_PathLineToMergeDuplicate, :ImDrawList_PathLineToMergeDuplicate, [:pointer, ImVec2.by_value], :void],
6475
6626
  [:ImDrawList_PathFillConvex, :ImDrawList_PathFillConvex, [:pointer, :uint], :void],
6476
6627
  [:ImDrawList_PathFillConcave, :ImDrawList_PathFillConcave, [:pointer, :uint], :void],
6477
- [:ImDrawList_PathStroke, :ImDrawList_PathStroke, [:pointer, :uint, :int, :float], :void],
6628
+ [:ImDrawList_PathStroke, :ImDrawList_PathStroke, [:pointer, :uint, :float, :int], :void],
6478
6629
  [:ImDrawList_PathArcTo, :ImDrawList_PathArcTo, [:pointer, ImVec2.by_value, :float, :float, :float, :int], :void],
6479
6630
  [:ImDrawList_PathArcToFast, :ImDrawList_PathArcToFast, [:pointer, ImVec2.by_value, :float, :int, :int], :void],
6480
6631
  [:ImDrawList_PathEllipticalArcTo, :ImDrawList_PathEllipticalArcTo, [:pointer, ImVec2.by_value, ImVec2.by_value, :float, :float, :float], :void],
@@ -6482,7 +6633,7 @@ module ImGui
6482
6633
  [:ImDrawList_PathBezierCubicCurveTo, :ImDrawList_PathBezierCubicCurveTo, [:pointer, ImVec2.by_value, ImVec2.by_value, ImVec2.by_value, :int], :void],
6483
6634
  [:ImDrawList_PathBezierQuadraticCurveTo, :ImDrawList_PathBezierQuadraticCurveTo, [:pointer, ImVec2.by_value, ImVec2.by_value, :int], :void],
6484
6635
  [:ImDrawList_PathRect, :ImDrawList_PathRect, [:pointer, ImVec2.by_value, ImVec2.by_value, :float, :int], :void],
6485
- [:ImDrawList_AddCallback, :ImDrawList_AddCallback, [:pointer, :ImDrawCallback, :pointer], :void],
6636
+ [:ImDrawList_AddCallback, :ImDrawList_AddCallback, [:pointer, :ImDrawCallback], :void],
6486
6637
  [:ImDrawList_AddCallbackEx, :ImDrawList_AddCallbackEx, [:pointer, :ImDrawCallback, :pointer, :size_t], :void],
6487
6638
  [:ImDrawList_AddDrawCmd, :ImDrawList_AddDrawCmd, [:pointer], :void],
6488
6639
  [:ImDrawList_CloneOutput, :ImDrawList_CloneOutput, [:pointer], :pointer],
@@ -6497,6 +6648,9 @@ module ImGui
6497
6648
  [:ImDrawList_PrimWriteVtx, :ImDrawList_PrimWriteVtx, [:pointer, ImVec2.by_value, ImVec2.by_value, :uint], :void],
6498
6649
  [:ImDrawList_PrimWriteIdx, :ImDrawList_PrimWriteIdx, [:pointer, :ushort], :void],
6499
6650
  [:ImDrawList_PrimVtx, :ImDrawList_PrimVtx, [:pointer, ImVec2.by_value, ImVec2.by_value, :uint], :void],
6651
+ [:ImDrawList_AddRectImDrawFlags, :ImDrawList_AddRectImDrawFlags, [:pointer, ImVec2.by_value, ImVec2.by_value, :uint, :float, :int, :float], :void],
6652
+ [:ImDrawList_AddPolylineImDrawFlags, :ImDrawList_AddPolylineImDrawFlags, [:pointer, :pointer, :int, :uint, :int, :float], :void],
6653
+ [:ImDrawList_PathStrokeImDrawFlags, :ImDrawList_PathStrokeImDrawFlags, [:pointer, :uint, :int, :float], :void],
6500
6654
  [:ImDrawList_PushTextureID, :ImDrawList_PushTextureID, [:pointer, ImTextureRef.by_value], :void],
6501
6655
  [:ImDrawList_PopTextureID, :ImDrawList_PopTextureID, [:pointer], :void],
6502
6656
  [:ImDrawList__SetDrawListSharedData, :ImDrawList__SetDrawListSharedData, [:pointer, :pointer], :void],
@@ -6541,11 +6695,11 @@ module ImGui
6541
6695
  [:ImFontAtlas_AddFontFromMemoryCompressedTTF, :ImFontAtlas_AddFontFromMemoryCompressedTTF, [:pointer, :pointer, :int, :float, :pointer, :pointer], :pointer],
6542
6696
  [:ImFontAtlas_AddFontFromMemoryCompressedBase85TTF, :ImFontAtlas_AddFontFromMemoryCompressedBase85TTF, [:pointer, :pointer, :float, :pointer, :pointer], :pointer],
6543
6697
  [:ImFontAtlas_RemoveFont, :ImFontAtlas_RemoveFont, [:pointer, :pointer], :void],
6544
- [:ImFontAtlas_Clear, :ImFontAtlas_Clear, [:pointer], :void],
6545
6698
  [:ImFontAtlas_CompactCache, :ImFontAtlas_CompactCache, [:pointer], :void],
6546
6699
  [:ImFontAtlas_SetFontLoader, :ImFontAtlas_SetFontLoader, [:pointer, :pointer], :void],
6547
- [:ImFontAtlas_ClearInputData, :ImFontAtlas_ClearInputData, [:pointer], :void],
6700
+ [:ImFontAtlas_Clear, :ImFontAtlas_Clear, [:pointer], :void],
6548
6701
  [:ImFontAtlas_ClearFonts, :ImFontAtlas_ClearFonts, [:pointer], :void],
6702
+ [:ImFontAtlas_ClearInputData, :ImFontAtlas_ClearInputData, [:pointer], :void],
6549
6703
  [:ImFontAtlas_ClearTexData, :ImFontAtlas_ClearTexData, [:pointer], :void],
6550
6704
  [:ImFontAtlas_Build, :ImFontAtlas_Build, [:pointer], :bool],
6551
6705
  [:ImFontAtlas_GetTexDataAsAlpha8, :ImFontAtlas_GetTexDataAsAlpha8, [:pointer, :pointer, :pointer, :pointer, :pointer], :void],
@@ -6595,6 +6749,7 @@ module ImGui
6595
6749
  [:ImGuiViewport_GetDebugName, :ImGuiViewport_GetDebugName, [:pointer], :pointer],
6596
6750
  [:ImGuiPlatformIO_ClearPlatformHandlers, :ImGuiPlatformIO_ClearPlatformHandlers, [:pointer], :void],
6597
6751
  [:ImGuiPlatformIO_ClearRendererHandlers, :ImGuiPlatformIO_ClearRendererHandlers, [:pointer], :void],
6752
+ [:ImGui_SetColorEditOptions, :ImGui_SetColorEditOptions, [:int], :void],
6598
6753
  [:ImGui_PushFont, :ImGui_PushFont, [:pointer], :void],
6599
6754
  [:ImGui_SetWindowFontScale, :ImGui_SetWindowFontScale, [:float], :void],
6600
6755
  [:ImGui_ImageImVec4, :ImGui_ImageImVec4, [ImTextureRef.by_value, ImVec2.by_value, ImVec2.by_value, ImVec2.by_value, ImVec4.by_value, ImVec4.by_value], :void],
@@ -6693,6 +6848,7 @@ module ImGui
6693
6848
  [:cImFloorImVec2, :cImFloorImVec2, [ImVec2.by_value], ImVec2.by_value],
6694
6849
  [:cImTrunc64, :cImTrunc64, [:float], :float],
6695
6850
  [:cImRound64, :cImRound64, [:float], :float],
6851
+ [:cImCeilFast, :cImCeilFast, [:float], :float],
6696
6852
  [:cImModPositive, :cImModPositive, [:int, :int], :int],
6697
6853
  [:cImDot, :cImDot, [ImVec2.by_value, ImVec2.by_value], :float],
6698
6854
  [:cImRotate, :cImRotate, [ImVec2.by_value, :float, :float], ImVec2.by_value],
@@ -6726,6 +6882,8 @@ module ImGui
6726
6882
  [:ImRect_Overlaps, :ImRect_Overlaps, [:pointer, ImRect.by_value], :bool],
6727
6883
  [:ImRect_Add, :ImRect_Add, [:pointer, ImVec2.by_value], :void],
6728
6884
  [:ImRect_AddImRect, :ImRect_AddImRect, [:pointer, ImRect.by_value], :void],
6885
+ [:ImRect_AddX, :ImRect_AddX, [:pointer, :float], :void],
6886
+ [:ImRect_AddY, :ImRect_AddY, [:pointer, :float], :void],
6729
6887
  [:ImRect_Expand, :ImRect_Expand, [:pointer, :float], :void],
6730
6888
  [:ImRect_ExpandImVec2, :ImRect_ExpandImVec2, [:pointer, ImVec2.by_value], :void],
6731
6889
  [:ImRect_Translate, :ImRect_Translate, [:pointer, ImVec2.by_value], :void],
@@ -6754,6 +6912,9 @@ module ImGui
6754
6912
  [:ImGuiTextIndex_get_line_begin, :ImGuiTextIndex_get_line_begin, [:pointer, :pointer, :int], :pointer],
6755
6913
  [:ImGuiTextIndex_get_line_end, :ImGuiTextIndex_get_line_end, [:pointer, :pointer, :int], :pointer],
6756
6914
  [:ImGuiTextIndex_append, :ImGuiTextIndex_append, [:pointer, :pointer, :int, :int], :void],
6915
+ [:ImGuiPackedDate_IsValid, :ImGuiPackedDate_IsValid, [:pointer], :bool],
6916
+ [:ImGuiPackedDate_Unpack, :ImGuiPackedDate_Unpack, [:pointer], :int],
6917
+ [:ImGuiPackedDate_SubtractMonths, :ImGuiPackedDate_SubtractMonths, [:pointer, :int], :void],
6757
6918
  [:cImLowerBound, :cImLowerBound, [:pointer, :pointer, :uint], :pointer],
6758
6919
  [:ImDrawListSharedData_SetCircleTessellationMaxError, :ImDrawListSharedData_SetCircleTessellationMaxError, [:pointer, :float], :void],
6759
6920
  [:ImGuiStyleVarInfo_GetVarPtr, :ImGuiStyleVarInfo_GetVarPtr, [:pointer, :pointer], :pointer],
@@ -6807,6 +6968,79 @@ module ImGui
6807
6968
  [:ImGuiWindow_TitleBarRect, :ImGuiWindow_TitleBarRect, [:pointer], ImRect.by_value],
6808
6969
  [:ImGuiWindow_MenuBarRect, :ImGuiWindow_MenuBarRect, [:pointer], ImRect.by_value],
6809
6970
  [:ImGuiTableSettings_GetColumnSettings, :ImGuiTableSettings_GetColumnSettings, [:pointer], :pointer],
6971
+ [:ImGui_TableOpenContextMenu, :ImGui_TableOpenContextMenu, [], :void],
6972
+ [:ImGui_TableOpenContextMenuEx, :ImGui_TableOpenContextMenuEx, [:int], :void],
6973
+ [:ImGui_TableSetColumnWidth, :ImGui_TableSetColumnWidth, [:int, :float], :void],
6974
+ [:ImGui_TableSetColumnSortDirection, :ImGui_TableSetColumnSortDirection, [:int, :uchar, :bool], :void],
6975
+ [:ImGui_TableGetHoveredRow, :ImGui_TableGetHoveredRow, [], :int],
6976
+ [:ImGui_TableGetHeaderRowHeight, :ImGui_TableGetHeaderRowHeight, [], :float],
6977
+ [:ImGui_TableGetHeaderAngledMaxLabelWidth, :ImGui_TableGetHeaderAngledMaxLabelWidth, [], :float],
6978
+ [:ImGui_TablePushBackgroundChannel, :ImGui_TablePushBackgroundChannel, [], :void],
6979
+ [:ImGui_TablePopBackgroundChannel, :ImGui_TablePopBackgroundChannel, [], :void],
6980
+ [:ImGui_TablePushColumnChannel, :ImGui_TablePushColumnChannel, [:int], :void],
6981
+ [:ImGui_TablePopColumnChannel, :ImGui_TablePopColumnChannel, [], :void],
6982
+ [:ImGui_TableAngledHeadersRowEx, :ImGui_TableAngledHeadersRowEx, [:uint, :float, :float, :pointer, :int], :void],
6983
+ [:ImGui_GetCurrentTable, :ImGui_GetCurrentTable, [], :pointer],
6984
+ [:ImGui_TableFindByID, :ImGui_TableFindByID, [:uint], :pointer],
6985
+ [:ImGui_BeginTableWithID, :ImGui_BeginTableWithID, [:pointer, :uint, :int, :int], :bool],
6986
+ [:ImGui_BeginTableWithIDEx, :ImGui_BeginTableWithIDEx, [:pointer, :uint, :int, :int, ImVec2.by_value, :float], :bool],
6987
+ [:ImGui_TableBeginInitMemory, :ImGui_TableBeginInitMemory, [:pointer, :int], :void],
6988
+ [:ImGui_TableApplyQueuedRequests, :ImGui_TableApplyQueuedRequests, [:pointer], :void],
6989
+ [:ImGui_TableSetupDrawChannels, :ImGui_TableSetupDrawChannels, [:pointer], :void],
6990
+ [:ImGui_TableReconcileColumns, :ImGui_TableReconcileColumns, [:pointer], :void],
6991
+ [:ImGui_TableUpdateLayout, :ImGui_TableUpdateLayout, [:pointer], :void],
6992
+ [:ImGui_TableUpdateBorders, :ImGui_TableUpdateBorders, [:pointer], :void],
6993
+ [:ImGui_TableUpdateColumnsWeightFromWidth, :ImGui_TableUpdateColumnsWeightFromWidth, [:pointer], :void],
6994
+ [:ImGui_TableApplyExternalUnclipRect, :ImGui_TableApplyExternalUnclipRect, [:pointer, :pointer], :void],
6995
+ [:ImGui_TableDrawBorders, :ImGui_TableDrawBorders, [:pointer], :void],
6996
+ [:ImGui_TableDrawDefaultContextMenu, :ImGui_TableDrawDefaultContextMenu, [:pointer, :int], :void],
6997
+ [:ImGui_TableBeginContextMenuPopup, :ImGui_TableBeginContextMenuPopup, [:pointer], :bool],
6998
+ [:ImGui_TableMergeDrawChannels, :ImGui_TableMergeDrawChannels, [:pointer], :void],
6999
+ [:ImGui_TableGetInstanceData, :ImGui_TableGetInstanceData, [:pointer, :int], :pointer],
7000
+ [:ImGui_TableGetInstanceID, :ImGui_TableGetInstanceID, [:pointer, :int], :uint],
7001
+ [:ImGui_TableFixDisplayOrder, :ImGui_TableFixDisplayOrder, [:pointer], :void],
7002
+ [:ImGui_TableSortSpecsSanitize, :ImGui_TableSortSpecsSanitize, [:pointer], :void],
7003
+ [:ImGui_TableSortSpecsBuild, :ImGui_TableSortSpecsBuild, [:pointer], :void],
7004
+ [:ImGui_TableInitColumnDefaults, :ImGui_TableInitColumnDefaults, [:pointer, :pointer, :int], :void],
7005
+ [:ImGui_TableGetColumnNextSortDirection, :ImGui_TableGetColumnNextSortDirection, [:pointer], :uchar],
7006
+ [:ImGui_TableFixColumnSortDirection, :ImGui_TableFixColumnSortDirection, [:pointer, :pointer], :void],
7007
+ [:ImGui_TableGetColumnWidthAuto, :ImGui_TableGetColumnWidthAuto, [:pointer, :pointer], :float],
7008
+ [:ImGui_TableBeginRow, :ImGui_TableBeginRow, [:pointer], :void],
7009
+ [:ImGui_TableEndRow, :ImGui_TableEndRow, [:pointer], :void],
7010
+ [:ImGui_TableBeginCell, :ImGui_TableBeginCell, [:pointer, :int], :void],
7011
+ [:ImGui_TableEndCell, :ImGui_TableEndCell, [:pointer], :void],
7012
+ [:ImGui_TableGetCellBgRect, :ImGui_TableGetCellBgRect, [:pointer, :int], ImRect.by_value],
7013
+ [:ImGui_TableGetColumnNameImGuiTablePtr, :ImGui_TableGetColumnNameImGuiTablePtr, [:pointer, :int], :pointer],
7014
+ [:ImGui_TableGetColumnResizeID, :ImGui_TableGetColumnResizeID, [:pointer, :int], :uint],
7015
+ [:ImGui_TableGetColumnResizeIDEx, :ImGui_TableGetColumnResizeIDEx, [:pointer, :int, :int], :uint],
7016
+ [:ImGui_TableCalcMaxColumnWidth, :ImGui_TableCalcMaxColumnWidth, [:pointer, :int], :float],
7017
+ [:ImGui_TableSetColumnWidthAutoSingle, :ImGui_TableSetColumnWidthAutoSingle, [:pointer, :int], :void],
7018
+ [:ImGui_TableSetColumnWidthAutoAll, :ImGui_TableSetColumnWidthAutoAll, [:pointer], :void],
7019
+ [:ImGui_TableSetColumnDisplayOrder, :ImGui_TableSetColumnDisplayOrder, [:pointer, :int, :int], :void],
7020
+ [:ImGui_TableQueueSetColumnDisplayOrder, :ImGui_TableQueueSetColumnDisplayOrder, [:pointer, :int, :int], :void],
7021
+ [:ImGui_TableRemove, :ImGui_TableRemove, [:pointer], :void],
7022
+ [:ImGui_TableGcCompactTransientBuffers, :ImGui_TableGcCompactTransientBuffers, [:pointer], :void],
7023
+ [:ImGui_TableGcCompactTransientBuffersImGuiTableTempDataPtr, :ImGui_TableGcCompactTransientBuffersImGuiTableTempDataPtr, [:pointer], :void],
7024
+ [:ImGui_TableGcCompactSettings, :ImGui_TableGcCompactSettings, [], :void],
7025
+ [:ImGui_TableLoadSettings, :ImGui_TableLoadSettings, [:pointer], :void],
7026
+ [:ImGui_TableLoadSettingsForColumns, :ImGui_TableLoadSettingsForColumns, [:pointer], :void],
7027
+ [:ImGui_TableLoadSettingsForColumn, :ImGui_TableLoadSettingsForColumn, [:pointer, :pointer, :int], :void],
7028
+ [:ImGui_TableSaveSettings, :ImGui_TableSaveSettings, [:pointer], :void],
7029
+ [:ImGui_TableResetSettings, :ImGui_TableResetSettings, [:pointer], :void],
7030
+ [:ImGui_TableGetBoundSettings, :ImGui_TableGetBoundSettings, [:pointer], :pointer],
7031
+ [:ImGui_TableSettingsAddSettingsHandler, :ImGui_TableSettingsAddSettingsHandler, [], :void],
7032
+ [:ImGui_TableSettingsCreate, :ImGui_TableSettingsCreate, [:uint, :int], :pointer],
7033
+ [:ImGui_TableSettingsFindByID, :ImGui_TableSettingsFindByID, [:uint], :pointer],
7034
+ [:ImGui_SetWindowClipRectBeforeSetChannel, :ImGui_SetWindowClipRectBeforeSetChannel, [:pointer, ImRect.by_value], :void],
7035
+ [:ImGui_BeginColumns, :ImGui_BeginColumns, [:pointer, :int, :int], :void],
7036
+ [:ImGui_EndColumns, :ImGui_EndColumns, [], :void],
7037
+ [:ImGui_PushColumnClipRect, :ImGui_PushColumnClipRect, [:int], :void],
7038
+ [:ImGui_PushColumnsBackground, :ImGui_PushColumnsBackground, [], :void],
7039
+ [:ImGui_PopColumnsBackground, :ImGui_PopColumnsBackground, [], :void],
7040
+ [:ImGui_GetColumnsID, :ImGui_GetColumnsID, [:pointer, :int], :uint],
7041
+ [:ImGui_FindOrCreateColumns, :ImGui_FindOrCreateColumns, [:pointer, :uint], :pointer],
7042
+ [:ImGui_GetColumnOffsetFromNorm, :ImGui_GetColumnOffsetFromNorm, [:pointer, :float], :float],
7043
+ [:ImGui_GetColumnNormFromOffset, :ImGui_GetColumnNormFromOffset, [:pointer, :float], :float],
6810
7044
  [:ImGui_GetIOImGuiContextPtr, :ImGui_GetIOImGuiContextPtr, [:pointer], :pointer],
6811
7045
  [:ImGui_GetPlatformIOImGuiContextPtr, :ImGui_GetPlatformIOImGuiContextPtr, [:pointer], :pointer],
6812
7046
  [:ImGui_GetScale, :ImGui_GetScale, [], :float],
@@ -6879,6 +7113,7 @@ module ImGui
6879
7113
  [:ImGui_MarkIniSettingsDirty, :ImGui_MarkIniSettingsDirty, [], :void],
6880
7114
  [:ImGui_MarkIniSettingsDirtyImGuiWindowPtr, :ImGui_MarkIniSettingsDirtyImGuiWindowPtr, [:pointer], :void],
6881
7115
  [:ImGui_ClearIniSettings, :ImGui_ClearIniSettings, [], :void],
7116
+ [:ImGui_CleanupIniSettings, :ImGui_CleanupIniSettings, [:pointer], :void],
6882
7117
  [:ImGui_AddSettingsHandler, :ImGui_AddSettingsHandler, [:pointer], :void],
6883
7118
  [:ImGui_RemoveSettingsHandler, :ImGui_RemoveSettingsHandler, [:pointer], :void],
6884
7119
  [:ImGui_FindSettingsHandler, :ImGui_FindSettingsHandler, [:pointer], :pointer],
@@ -6934,10 +7169,11 @@ module ImGui
6934
7169
  [:ImGui_LogRenderedTextEx, :ImGui_LogRenderedTextEx, [:pointer, :pointer, :pointer], :void],
6935
7170
  [:ImGui_LogSetNextTextDecoration, :ImGui_LogSetNextTextDecoration, [:pointer, :pointer], :void],
6936
7171
  [:ImGui_BeginChildEx, :ImGui_BeginChildEx, [:pointer, :uint, ImVec2.by_value, :int, :int], :bool],
7172
+ [:ImGui_FindFrontMostVisibleChildWindow, :ImGui_FindFrontMostVisibleChildWindow, [:pointer], :pointer],
6937
7173
  [:ImGui_BeginPopupEx, :ImGui_BeginPopupEx, [:uint, :int], :bool],
6938
7174
  [:ImGui_BeginPopupMenuEx, :ImGui_BeginPopupMenuEx, [:uint, :pointer, :int], :bool],
6939
- [:ImGui_OpenPopupEx, :ImGui_OpenPopupEx, [:uint], :void],
6940
- [:ImGui_OpenPopupExEx, :ImGui_OpenPopupExEx, [:uint, :int], :void],
7175
+ [:ImGui_OpenPopupEx, :ImGui_OpenPopupEx, [:uint], :bool],
7176
+ [:ImGui_OpenPopupExEx, :ImGui_OpenPopupExEx, [:uint, :int], :bool],
6941
7177
  [:ImGui_ClosePopupToLevel, :ImGui_ClosePopupToLevel, [:int, :bool], :void],
6942
7178
  [:ImGui_ClosePopupsOverWindow, :ImGui_ClosePopupsOverWindow, [:pointer, :bool], :void],
6943
7179
  [:ImGui_ClosePopupsExceptModals, :ImGui_ClosePopupsExceptModals, [], :void],
@@ -7006,7 +7242,7 @@ module ImGui
7006
7242
  [:ImGui_GetKeyOwner, :ImGui_GetKeyOwner, [:int], :uint],
7007
7243
  [:ImGui_SetKeyOwner, :ImGui_SetKeyOwner, [:int, :uint, :int], :void],
7008
7244
  [:ImGui_SetKeyOwnersForKeyChord, :ImGui_SetKeyOwnersForKeyChord, [:int, :uint, :int], :void],
7009
- [:ImGui_SetItemKeyOwnerImGuiInputFlags, :ImGui_SetItemKeyOwnerImGuiInputFlags, [:int, :int], :void],
7245
+ [:ImGui_SetItemKeyOwnerImGuiInputFlags, :ImGui_SetItemKeyOwnerImGuiInputFlags, [:int, :int], :bool],
7010
7246
  [:ImGui_TestKeyOwner, :ImGui_TestKeyOwner, [:int, :uint], :bool],
7011
7247
  [:ImGui_GetKeyOwnerData, :ImGui_GetKeyOwnerData, [:pointer, :int], :pointer],
7012
7248
  [:ImGui_IsKeyDownID, :ImGui_IsKeyDownID, [:int, :uint], :bool],
@@ -7071,6 +7307,7 @@ module ImGui
7071
7307
  [:ImGui_DockBuilderFinish, :ImGui_DockBuilderFinish, [:uint], :void],
7072
7308
  [:ImGui_PushFocusScope, :ImGui_PushFocusScope, [:uint], :void],
7073
7309
  [:ImGui_PopFocusScope, :ImGui_PopFocusScope, [], :void],
7310
+ [:ImGui_IsInNavFocusRoute, :ImGui_IsInNavFocusRoute, [:uint], :bool],
7074
7311
  [:ImGui_GetCurrentFocusScope, :ImGui_GetCurrentFocusScope, [], :uint],
7075
7312
  [:ImGui_IsDragDropActive, :ImGui_IsDragDropActive, [], :bool],
7076
7313
  [:ImGui_BeginDragDropTargetCustom, :ImGui_BeginDragDropTargetCustom, [ImRect.by_value, :uint], :bool],
@@ -7079,7 +7316,7 @@ module ImGui
7079
7316
  [:ImGui_ClearDragDrop, :ImGui_ClearDragDrop, [], :void],
7080
7317
  [:ImGui_IsDragDropPayloadBeingAccepted, :ImGui_IsDragDropPayloadBeingAccepted, [], :bool],
7081
7318
  [:ImGui_RenderDragDropTargetRectForItem, :ImGui_RenderDragDropTargetRectForItem, [ImRect.by_value], :void],
7082
- [:ImGui_RenderDragDropTargetRectEx, :ImGui_RenderDragDropTargetRectEx, [:pointer, ImRect.by_value], :void],
7319
+ [:ImGui_RenderDragDropTargetRectEx, :ImGui_RenderDragDropTargetRectEx, [:pointer, ImRect.by_value, :float], :void],
7083
7320
  [:ImGui_GetTypingSelectRequest, :ImGui_GetTypingSelectRequest, [], :pointer],
7084
7321
  [:ImGui_GetTypingSelectRequestEx, :ImGui_GetTypingSelectRequestEx, [:int], :pointer],
7085
7322
  [:ImGui_TypingSelectFindMatch, :ImGui_TypingSelectFindMatch, [:pointer, :int, :pointer, :pointer, :int], :int],
@@ -7089,78 +7326,11 @@ module ImGui
7089
7326
  [:ImGui_EndBoxSelect, :ImGui_EndBoxSelect, [ImRect.by_value, :int], :void],
7090
7327
  [:ImGui_MultiSelectItemHeader, :ImGui_MultiSelectItemHeader, [:uint, :pointer, :pointer], :void],
7091
7328
  [:ImGui_MultiSelectItemFooter, :ImGui_MultiSelectItemFooter, [:uint, :pointer, :pointer], :void],
7329
+ [:ImGui_MultiSelectItemFooterEx, :ImGui_MultiSelectItemFooterEx, [:uint, :pointer, :pointer, :int], :void],
7092
7330
  [:ImGui_MultiSelectAddSetAll, :ImGui_MultiSelectAddSetAll, [:pointer, :bool], :void],
7093
7331
  [:ImGui_MultiSelectAddSetRange, :ImGui_MultiSelectAddSetRange, [:pointer, :bool, :int, :int64, :int64], :void],
7094
7332
  [:ImGui_GetBoxSelectState, :ImGui_GetBoxSelectState, [:uint], :pointer],
7095
7333
  [:ImGui_GetMultiSelectState, :ImGui_GetMultiSelectState, [:uint], :pointer],
7096
- [:ImGui_SetWindowClipRectBeforeSetChannel, :ImGui_SetWindowClipRectBeforeSetChannel, [:pointer, ImRect.by_value], :void],
7097
- [:ImGui_BeginColumns, :ImGui_BeginColumns, [:pointer, :int, :int], :void],
7098
- [:ImGui_EndColumns, :ImGui_EndColumns, [], :void],
7099
- [:ImGui_PushColumnClipRect, :ImGui_PushColumnClipRect, [:int], :void],
7100
- [:ImGui_PushColumnsBackground, :ImGui_PushColumnsBackground, [], :void],
7101
- [:ImGui_PopColumnsBackground, :ImGui_PopColumnsBackground, [], :void],
7102
- [:ImGui_GetColumnsID, :ImGui_GetColumnsID, [:pointer, :int], :uint],
7103
- [:ImGui_FindOrCreateColumns, :ImGui_FindOrCreateColumns, [:pointer, :uint], :pointer],
7104
- [:ImGui_GetColumnOffsetFromNorm, :ImGui_GetColumnOffsetFromNorm, [:pointer, :float], :float],
7105
- [:ImGui_GetColumnNormFromOffset, :ImGui_GetColumnNormFromOffset, [:pointer, :float], :float],
7106
- [:ImGui_TableOpenContextMenu, :ImGui_TableOpenContextMenu, [], :void],
7107
- [:ImGui_TableOpenContextMenuEx, :ImGui_TableOpenContextMenuEx, [:int], :void],
7108
- [:ImGui_TableSetColumnWidth, :ImGui_TableSetColumnWidth, [:int, :float], :void],
7109
- [:ImGui_TableSetColumnSortDirection, :ImGui_TableSetColumnSortDirection, [:int, :uchar, :bool], :void],
7110
- [:ImGui_TableGetHoveredRow, :ImGui_TableGetHoveredRow, [], :int],
7111
- [:ImGui_TableGetHeaderRowHeight, :ImGui_TableGetHeaderRowHeight, [], :float],
7112
- [:ImGui_TableGetHeaderAngledMaxLabelWidth, :ImGui_TableGetHeaderAngledMaxLabelWidth, [], :float],
7113
- [:ImGui_TablePushBackgroundChannel, :ImGui_TablePushBackgroundChannel, [], :void],
7114
- [:ImGui_TablePopBackgroundChannel, :ImGui_TablePopBackgroundChannel, [], :void],
7115
- [:ImGui_TablePushColumnChannel, :ImGui_TablePushColumnChannel, [:int], :void],
7116
- [:ImGui_TablePopColumnChannel, :ImGui_TablePopColumnChannel, [], :void],
7117
- [:ImGui_TableAngledHeadersRowEx, :ImGui_TableAngledHeadersRowEx, [:uint, :float, :float, :pointer, :int], :void],
7118
- [:ImGui_GetCurrentTable, :ImGui_GetCurrentTable, [], :pointer],
7119
- [:ImGui_TableFindByID, :ImGui_TableFindByID, [:uint], :pointer],
7120
- [:ImGui_BeginTableWithID, :ImGui_BeginTableWithID, [:pointer, :uint, :int, :int], :bool],
7121
- [:ImGui_BeginTableWithIDEx, :ImGui_BeginTableWithIDEx, [:pointer, :uint, :int, :int, ImVec2.by_value, :float], :bool],
7122
- [:ImGui_TableBeginInitMemory, :ImGui_TableBeginInitMemory, [:pointer, :int], :void],
7123
- [:ImGui_TableBeginApplyRequests, :ImGui_TableBeginApplyRequests, [:pointer], :void],
7124
- [:ImGui_TableSetupDrawChannels, :ImGui_TableSetupDrawChannels, [:pointer], :void],
7125
- [:ImGui_TableUpdateLayout, :ImGui_TableUpdateLayout, [:pointer], :void],
7126
- [:ImGui_TableUpdateBorders, :ImGui_TableUpdateBorders, [:pointer], :void],
7127
- [:ImGui_TableUpdateColumnsWeightFromWidth, :ImGui_TableUpdateColumnsWeightFromWidth, [:pointer], :void],
7128
- [:ImGui_TableDrawBorders, :ImGui_TableDrawBorders, [:pointer], :void],
7129
- [:ImGui_TableDrawDefaultContextMenu, :ImGui_TableDrawDefaultContextMenu, [:pointer, :int], :void],
7130
- [:ImGui_TableBeginContextMenuPopup, :ImGui_TableBeginContextMenuPopup, [:pointer], :bool],
7131
- [:ImGui_TableMergeDrawChannels, :ImGui_TableMergeDrawChannels, [:pointer], :void],
7132
- [:ImGui_TableGetInstanceData, :ImGui_TableGetInstanceData, [:pointer, :int], :pointer],
7133
- [:ImGui_TableGetInstanceID, :ImGui_TableGetInstanceID, [:pointer, :int], :uint],
7134
- [:ImGui_TableFixDisplayOrder, :ImGui_TableFixDisplayOrder, [:pointer], :void],
7135
- [:ImGui_TableSortSpecsSanitize, :ImGui_TableSortSpecsSanitize, [:pointer], :void],
7136
- [:ImGui_TableSortSpecsBuild, :ImGui_TableSortSpecsBuild, [:pointer], :void],
7137
- [:ImGui_TableGetColumnNextSortDirection, :ImGui_TableGetColumnNextSortDirection, [:pointer], :uchar],
7138
- [:ImGui_TableFixColumnSortDirection, :ImGui_TableFixColumnSortDirection, [:pointer, :pointer], :void],
7139
- [:ImGui_TableGetColumnWidthAuto, :ImGui_TableGetColumnWidthAuto, [:pointer, :pointer], :float],
7140
- [:ImGui_TableBeginRow, :ImGui_TableBeginRow, [:pointer], :void],
7141
- [:ImGui_TableEndRow, :ImGui_TableEndRow, [:pointer], :void],
7142
- [:ImGui_TableBeginCell, :ImGui_TableBeginCell, [:pointer, :int], :void],
7143
- [:ImGui_TableEndCell, :ImGui_TableEndCell, [:pointer], :void],
7144
- [:ImGui_TableGetCellBgRect, :ImGui_TableGetCellBgRect, [:pointer, :int], ImRect.by_value],
7145
- [:ImGui_TableGetColumnNameImGuiTablePtr, :ImGui_TableGetColumnNameImGuiTablePtr, [:pointer, :int], :pointer],
7146
- [:ImGui_TableGetColumnResizeID, :ImGui_TableGetColumnResizeID, [:pointer, :int], :uint],
7147
- [:ImGui_TableGetColumnResizeIDEx, :ImGui_TableGetColumnResizeIDEx, [:pointer, :int, :int], :uint],
7148
- [:ImGui_TableCalcMaxColumnWidth, :ImGui_TableCalcMaxColumnWidth, [:pointer, :int], :float],
7149
- [:ImGui_TableSetColumnWidthAutoSingle, :ImGui_TableSetColumnWidthAutoSingle, [:pointer, :int], :void],
7150
- [:ImGui_TableSetColumnWidthAutoAll, :ImGui_TableSetColumnWidthAutoAll, [:pointer], :void],
7151
- [:ImGui_TableSetColumnDisplayOrder, :ImGui_TableSetColumnDisplayOrder, [:pointer, :int, :int], :void],
7152
- [:ImGui_TableQueueSetColumnDisplayOrder, :ImGui_TableQueueSetColumnDisplayOrder, [:pointer, :int, :int], :void],
7153
- [:ImGui_TableRemove, :ImGui_TableRemove, [:pointer], :void],
7154
- [:ImGui_TableGcCompactTransientBuffers, :ImGui_TableGcCompactTransientBuffers, [:pointer], :void],
7155
- [:ImGui_TableGcCompactTransientBuffersImGuiTableTempDataPtr, :ImGui_TableGcCompactTransientBuffersImGuiTableTempDataPtr, [:pointer], :void],
7156
- [:ImGui_TableGcCompactSettings, :ImGui_TableGcCompactSettings, [], :void],
7157
- [:ImGui_TableLoadSettings, :ImGui_TableLoadSettings, [:pointer], :void],
7158
- [:ImGui_TableSaveSettings, :ImGui_TableSaveSettings, [:pointer], :void],
7159
- [:ImGui_TableResetSettings, :ImGui_TableResetSettings, [:pointer], :void],
7160
- [:ImGui_TableGetBoundSettings, :ImGui_TableGetBoundSettings, [:pointer], :pointer],
7161
- [:ImGui_TableSettingsAddSettingsHandler, :ImGui_TableSettingsAddSettingsHandler, [], :void],
7162
- [:ImGui_TableSettingsCreate, :ImGui_TableSettingsCreate, [:uint, :int], :pointer],
7163
- [:ImGui_TableSettingsFindByID, :ImGui_TableSettingsFindByID, [:uint], :pointer],
7164
7334
  [:ImGui_GetCurrentTabBar, :ImGui_GetCurrentTabBar, [], :pointer],
7165
7335
  [:ImGui_TabBarFindByID, :ImGui_TabBarFindByID, [:uint], :pointer],
7166
7336
  [:ImGui_TabBarRemove, :ImGui_TabBarRemove, [:pointer], :void],
@@ -7201,7 +7371,7 @@ module ImGui
7201
7371
  [:ImGui_RenderColorRectWithAlphaCheckerboard, :ImGui_RenderColorRectWithAlphaCheckerboard, [:pointer, ImVec2.by_value, ImVec2.by_value, :uint, :float, ImVec2.by_value], :void],
7202
7372
  [:ImGui_RenderColorRectWithAlphaCheckerboardEx, :ImGui_RenderColorRectWithAlphaCheckerboardEx, [:pointer, ImVec2.by_value, ImVec2.by_value, :uint, :float, ImVec2.by_value, :float, :int], :void],
7203
7373
  [:ImGui_RenderNavCursor, :ImGui_RenderNavCursor, [ImRect.by_value, :uint], :void],
7204
- [:ImGui_RenderNavCursorEx, :ImGui_RenderNavCursorEx, [ImRect.by_value, :uint, :int], :void],
7374
+ [:ImGui_RenderNavCursorEx, :ImGui_RenderNavCursorEx, [ImRect.by_value, :uint, :int, :float], :void],
7205
7375
  [:ImGui_RenderNavHighlight, :ImGui_RenderNavHighlight, [ImRect.by_value, :uint], :void],
7206
7376
  [:ImGui_RenderNavHighlightEx, :ImGui_RenderNavHighlightEx, [ImRect.by_value, :uint, :int], :void],
7207
7377
  [:ImGui_FindRenderedTextEnd, :ImGui_FindRenderedTextEnd, [:pointer], :pointer],
@@ -7266,6 +7436,7 @@ module ImGui
7266
7436
  [:ImGui_TempInputScalar, :ImGui_TempInputScalar, [ImRect.by_value, :uint, :pointer, :int, :pointer, :pointer], :bool],
7267
7437
  [:ImGui_TempInputScalarEx, :ImGui_TempInputScalarEx, [ImRect.by_value, :uint, :pointer, :int, :pointer, :pointer, :pointer, :pointer], :bool],
7268
7438
  [:ImGui_TempInputIsActive, :ImGui_TempInputIsActive, [:uint], :bool],
7439
+ [:ImGui_GetInputTextState, :ImGui_GetInputTextState, [:uint], :pointer],
7269
7440
  [:ImGui_SetNextItemRefVal, :ImGui_SetNextItemRefVal, [:int, :pointer], :void],
7270
7441
  [:ImGui_IsItemActiveAsInputText, :ImGui_IsItemActiveAsInputText, [], :bool],
7271
7442
  [:ImGui_ColorTooltip, :ImGui_ColorTooltip, [:pointer, :pointer, :int], :void],
@@ -7317,7 +7488,8 @@ module ImGui
7317
7488
  [:ImGui_DebugNodeStorage, :ImGui_DebugNodeStorage, [:pointer, :pointer], :void],
7318
7489
  [:ImGui_DebugNodeTabBar, :ImGui_DebugNodeTabBar, [:pointer, :pointer], :void],
7319
7490
  [:ImGui_DebugNodeTable, :ImGui_DebugNodeTable, [:pointer], :void],
7320
- [:ImGui_DebugNodeTableSettings, :ImGui_DebugNodeTableSettings, [:pointer], :void],
7491
+ [:ImGui_DebugNodeTableSettings, :ImGui_DebugNodeTableSettings, [:pointer, :pointer], :void],
7492
+ [:ImGui_DebugNodeInputTextState, :ImGui_DebugNodeInputTextState, [:pointer], :void],
7321
7493
  [:ImGui_DebugNodeTypingSelectState, :ImGui_DebugNodeTypingSelectState, [:pointer], :void],
7322
7494
  [:ImGui_DebugNodeMultiSelectState, :ImGui_DebugNodeMultiSelectState, [:pointer], :void],
7323
7495
  [:ImGui_DebugNodeWindow, :ImGui_DebugNodeWindow, [:pointer, :pointer], :void],
@@ -7383,6 +7555,8 @@ module ImGui
7383
7555
  [:cImFontAtlasTextureBlockFill, :cImFontAtlasTextureBlockFill, [:pointer, :int, :int, :int, :int, :uint], :void],
7384
7556
  [:cImFontAtlasTextureBlockCopy, :cImFontAtlasTextureBlockCopy, [:pointer, :int, :int, :pointer, :int, :int, :int, :int], :void],
7385
7557
  [:cImFontAtlasTextureBlockQueueUpload, :cImFontAtlasTextureBlockQueueUpload, [:pointer, :pointer, :int, :int, :int, :int], :void],
7558
+ [:cImTextureDataUpdateNewFrame, :cImTextureDataUpdateNewFrame, [:pointer], :bool],
7559
+ [:cImTextureDataQueueUpload, :cImTextureDataQueueUpload, [:pointer, :int, :int, :int, :int], :void],
7386
7560
  [:cImTextureDataGetFormatBytesPerPixel, :cImTextureDataGetFormatBytesPerPixel, [:int], :int],
7387
7561
  [:cImTextureDataGetStatusName, :cImTextureDataGetStatusName, [:int], :pointer],
7388
7562
  [:cImTextureDataGetFormatName, :cImTextureDataGetFormatName, [:int], :pointer],
@@ -8006,12 +8180,6 @@ module ImGui
8006
8180
  ImGui_ColorPicker4(label, col, flags, ref_col)
8007
8181
  end
8008
8182
 
8009
- # arg: flags(ImGuiColorEditFlags)
8010
- # ret: void
8011
- def self.SetColorEditOptions(flags)
8012
- ImGui_SetColorEditOptions(flags)
8013
- end
8014
-
8015
8183
  # ret: void
8016
8184
  def self.TreePop()
8017
8185
  ImGui_TreePop()
@@ -8137,7 +8305,7 @@ module ImGui
8137
8305
  end
8138
8306
 
8139
8307
  # arg: str_id(const char*), popup_flags(ImGuiPopupFlags)
8140
- # ret: void
8308
+ # ret: bool
8141
8309
  def self.OpenPopupOnItemClick(str_id = nil, popup_flags = 0)
8142
8310
  ImGui_OpenPopupOnItemClick(str_id, popup_flags)
8143
8311
  end
@@ -8604,12 +8772,6 @@ module ImGui
8604
8772
  ImGui_SetNextItemShortcut(key_chord, flags)
8605
8773
  end
8606
8774
 
8607
- # arg: button(ImGuiMouseButton), delay(float)
8608
- # ret: bool
8609
- def self.IsMouseReleasedWithDelay(button, delay)
8610
- ImGui_IsMouseReleasedWithDelay(button, delay)
8611
- end
8612
-
8613
8775
  # arg: button(ImGuiMouseButton)
8614
8776
  # ret: int
8615
8777
  def self.GetMouseClickedCount(button)
@@ -8776,6 +8938,12 @@ module ImGui
8776
8938
  ImGui_FindViewportByPlatformHandle(platform_handle)
8777
8939
  end
8778
8940
 
8941
+ # arg: flags(ImGuiColorEditFlags)
8942
+ # ret: void
8943
+ def self.SetColorEditOptions(flags)
8944
+ ImGui_SetColorEditOptions(flags)
8945
+ end
8946
+
8779
8947
  # arg: scale(float)
8780
8948
  # ret: void
8781
8949
  def self.SetWindowFontScale(scale)
@@ -8819,1673 +8987,1715 @@ module ImGui
8819
8987
  ImGui_GetWindowContentRegionMax()
8820
8988
  end
8821
8989
 
8822
- # ret: float
8823
- def self.GetScale()
8824
- ImGui_GetScale()
8990
+ # arg: column_n(int), width(float)
8991
+ # ret: void
8992
+ def self.TableSetColumnWidth(column_n, width)
8993
+ ImGui_TableSetColumnWidth(column_n, width)
8825
8994
  end
8826
8995
 
8827
- # ret: pointer
8828
- def self.GetCurrentWindowRead()
8829
- ImGui_GetCurrentWindowRead()
8996
+ # arg: column_n(int), sort_direction(ImGuiSortDirection), append_to_sort_specs(bool)
8997
+ # ret: void
8998
+ def self.TableSetColumnSortDirection(column_n, sort_direction, append_to_sort_specs)
8999
+ ImGui_TableSetColumnSortDirection(column_n, sort_direction, append_to_sort_specs)
8830
9000
  end
8831
9001
 
8832
- # ret: pointer
8833
- def self.GetCurrentWindow()
8834
- ImGui_GetCurrentWindow()
8835
- end
8836
-
8837
- # arg: id(ImGuiID)
8838
- # ret: pointer
8839
- def self.FindWindowByID(id)
8840
- ImGui_FindWindowByID(id)
9002
+ # ret: int
9003
+ def self.TableGetHoveredRow()
9004
+ ImGui_TableGetHoveredRow()
8841
9005
  end
8842
9006
 
8843
- # arg: name(const char*)
8844
- # ret: pointer
8845
- def self.FindWindowByName(name)
8846
- ImGui_FindWindowByName(name)
9007
+ # ret: float
9008
+ def self.TableGetHeaderRowHeight()
9009
+ ImGui_TableGetHeaderRowHeight()
8847
9010
  end
8848
9011
 
8849
- # arg: window(ImGuiWindow*), flags(ImGuiWindowFlags), parent_window(ImGuiWindow*)
8850
- # ret: void
8851
- def self.UpdateWindowParentAndRootLinks(window, flags, parent_window)
8852
- ImGui_UpdateWindowParentAndRootLinks(window, flags, parent_window)
9012
+ # ret: float
9013
+ def self.TableGetHeaderAngledMaxLabelWidth()
9014
+ ImGui_TableGetHeaderAngledMaxLabelWidth()
8853
9015
  end
8854
9016
 
8855
- # arg: window(ImGuiWindow*)
8856
9017
  # ret: void
8857
- def self.UpdateWindowSkipRefresh(window)
8858
- ImGui_UpdateWindowSkipRefresh(window)
9018
+ def self.TablePushBackgroundChannel()
9019
+ ImGui_TablePushBackgroundChannel()
8859
9020
  end
8860
9021
 
8861
- # arg: window(ImGuiWindow*)
8862
- # ret: ImVec2.by_value
8863
- def self.CalcWindowNextAutoFitSize(window)
8864
- ImGui_CalcWindowNextAutoFitSize(window)
9022
+ # ret: void
9023
+ def self.TablePopBackgroundChannel()
9024
+ ImGui_TablePopBackgroundChannel()
8865
9025
  end
8866
9026
 
8867
- # arg: window(ImGuiWindow*), potential_parent(ImGuiWindow*), popup_hierarchy(bool), dock_hierarchy(bool)
8868
- # ret: bool
8869
- def self.IsWindowChildOf(window, potential_parent, popup_hierarchy, dock_hierarchy)
8870
- ImGui_IsWindowChildOf(window, potential_parent, popup_hierarchy, dock_hierarchy)
9027
+ # arg: column_n(int)
9028
+ # ret: void
9029
+ def self.TablePushColumnChannel(column_n)
9030
+ ImGui_TablePushColumnChannel(column_n)
8871
9031
  end
8872
9032
 
8873
- # arg: window(ImGuiWindow*)
8874
- # ret: bool
8875
- def self.IsWindowInBeginStack(window)
8876
- ImGui_IsWindowInBeginStack(window)
9033
+ # ret: void
9034
+ def self.TablePopColumnChannel()
9035
+ ImGui_TablePopColumnChannel()
8877
9036
  end
8878
9037
 
8879
- # arg: window(ImGuiWindow*), potential_parent(ImGuiWindow*)
8880
- # ret: bool
8881
- def self.IsWindowWithinBeginStackOf(window, potential_parent)
8882
- ImGui_IsWindowWithinBeginStackOf(window, potential_parent)
9038
+ # arg: row_id(ImGuiID), angle(float), max_label_width(float), data(const ImGuiTableHeaderData*), data_count(int)
9039
+ # ret: void
9040
+ def self.TableAngledHeadersRowEx(row_id, angle, max_label_width, data, data_count)
9041
+ ImGui_TableAngledHeadersRowEx(row_id, angle, max_label_width, data, data_count)
8883
9042
  end
8884
9043
 
8885
- # arg: potential_above(ImGuiWindow*), potential_below(ImGuiWindow*)
8886
- # ret: bool
8887
- def self.IsWindowAbove(potential_above, potential_below)
8888
- ImGui_IsWindowAbove(potential_above, potential_below)
9044
+ # ret: pointer
9045
+ def self.GetCurrentTable()
9046
+ ImGui_GetCurrentTable()
8889
9047
  end
8890
9048
 
8891
- # arg: window(ImGuiWindow*)
8892
- # ret: bool
8893
- def self.IsWindowNavFocusable(window)
8894
- ImGui_IsWindowNavFocusable(window)
9049
+ # arg: id(ImGuiID)
9050
+ # ret: pointer
9051
+ def self.TableFindByID(id)
9052
+ ImGui_TableFindByID(id)
8895
9053
  end
8896
9054
 
8897
- # arg: window(ImGuiWindow*), pos(ImVec2), size(ImVec2)
9055
+ # arg: table(ImGuiTable*), columns_count(int)
8898
9056
  # ret: void
8899
- def self.SetWindowHitTestHole(window, pos, size)
8900
- ImGui_SetWindowHitTestHole(window, pos, size)
9057
+ def self.TableBeginInitMemory(table, columns_count)
9058
+ ImGui_TableBeginInitMemory(table, columns_count)
8901
9059
  end
8902
9060
 
8903
- # arg: window(ImGuiWindow*)
9061
+ # arg: table(ImGuiTable*)
8904
9062
  # ret: void
8905
- def self.SetWindowHiddenAndSkipItemsForCurrentFrame(window)
8906
- ImGui_SetWindowHiddenAndSkipItemsForCurrentFrame(window)
9063
+ def self.TableApplyQueuedRequests(table)
9064
+ ImGui_TableApplyQueuedRequests(table)
8907
9065
  end
8908
9066
 
8909
- # arg: window(ImGuiWindow*), parent_window(ImGuiWindow*)
9067
+ # arg: table(ImGuiTable*)
8910
9068
  # ret: void
8911
- def self.SetWindowParentWindowForFocusRoute(window, parent_window)
8912
- ImGui_SetWindowParentWindowForFocusRoute(window, parent_window)
8913
- end
8914
-
8915
- # arg: window(ImGuiWindow*), r(ImRect)
8916
- # ret: ImRect.by_value
8917
- def self.WindowRectAbsToRel(window, r)
8918
- ImGui_WindowRectAbsToRel(window, r)
9069
+ def self.TableSetupDrawChannels(table)
9070
+ ImGui_TableSetupDrawChannels(table)
8919
9071
  end
8920
9072
 
8921
- # arg: window(ImGuiWindow*), r(ImRect)
8922
- # ret: ImRect.by_value
8923
- def self.WindowRectRelToAbs(window, r)
8924
- ImGui_WindowRectRelToAbs(window, r)
9073
+ # arg: table(ImGuiTable*)
9074
+ # ret: void
9075
+ def self.TableReconcileColumns(table)
9076
+ ImGui_TableReconcileColumns(table)
8925
9077
  end
8926
9078
 
8927
- # arg: window(ImGuiWindow*), p(ImVec2)
8928
- # ret: ImVec2.by_value
8929
- def self.WindowPosAbsToRel(window, p)
8930
- ImGui_WindowPosAbsToRel(window, p)
9079
+ # arg: table(ImGuiTable*)
9080
+ # ret: void
9081
+ def self.TableUpdateLayout(table)
9082
+ ImGui_TableUpdateLayout(table)
8931
9083
  end
8932
9084
 
8933
- # arg: window(ImGuiWindow*), p(ImVec2)
8934
- # ret: ImVec2.by_value
8935
- def self.WindowPosRelToAbs(window, p)
8936
- ImGui_WindowPosRelToAbs(window, p)
9085
+ # arg: table(ImGuiTable*)
9086
+ # ret: void
9087
+ def self.TableUpdateBorders(table)
9088
+ ImGui_TableUpdateBorders(table)
8937
9089
  end
8938
9090
 
8939
- # arg: window(ImGuiWindow*), flags(ImGuiFocusRequestFlags)
9091
+ # arg: table(ImGuiTable*)
8940
9092
  # ret: void
8941
- def self.FocusWindow(window, flags = 0)
8942
- ImGui_FocusWindow(window, flags)
9093
+ def self.TableUpdateColumnsWeightFromWidth(table)
9094
+ ImGui_TableUpdateColumnsWeightFromWidth(table)
8943
9095
  end
8944
9096
 
8945
- # arg: under_this_window(ImGuiWindow*), ignore_window(ImGuiWindow*), filter_viewport(ImGuiViewport*), flags(ImGuiFocusRequestFlags)
9097
+ # arg: table(ImGuiTable*), rect(ImRect*)
8946
9098
  # ret: void
8947
- def self.FocusTopMostWindowUnderOne(under_this_window, ignore_window, filter_viewport, flags)
8948
- ImGui_FocusTopMostWindowUnderOne(under_this_window, ignore_window, filter_viewport, flags)
9099
+ def self.TableApplyExternalUnclipRect(table, rect)
9100
+ ImGui_TableApplyExternalUnclipRect(table, rect)
8949
9101
  end
8950
9102
 
8951
- # arg: window(ImGuiWindow*)
9103
+ # arg: table(ImGuiTable*)
8952
9104
  # ret: void
8953
- def self.BringWindowToFocusFront(window)
8954
- ImGui_BringWindowToFocusFront(window)
9105
+ def self.TableDrawBorders(table)
9106
+ ImGui_TableDrawBorders(table)
8955
9107
  end
8956
9108
 
8957
- # arg: window(ImGuiWindow*)
9109
+ # arg: table(ImGuiTable*), flags_for_section_to_display(ImGuiTableFlags)
8958
9110
  # ret: void
8959
- def self.BringWindowToDisplayFront(window)
8960
- ImGui_BringWindowToDisplayFront(window)
9111
+ def self.TableDrawDefaultContextMenu(table, flags_for_section_to_display)
9112
+ ImGui_TableDrawDefaultContextMenu(table, flags_for_section_to_display)
8961
9113
  end
8962
9114
 
8963
- # arg: window(ImGuiWindow*)
8964
- # ret: void
8965
- def self.BringWindowToDisplayBack(window)
8966
- ImGui_BringWindowToDisplayBack(window)
9115
+ # arg: table(ImGuiTable*)
9116
+ # ret: bool
9117
+ def self.TableBeginContextMenuPopup(table)
9118
+ ImGui_TableBeginContextMenuPopup(table)
8967
9119
  end
8968
9120
 
8969
- # arg: window(ImGuiWindow*), above_window(ImGuiWindow*)
9121
+ # arg: table(ImGuiTable*)
8970
9122
  # ret: void
8971
- def self.BringWindowToDisplayBehind(window, above_window)
8972
- ImGui_BringWindowToDisplayBehind(window, above_window)
9123
+ def self.TableMergeDrawChannels(table)
9124
+ ImGui_TableMergeDrawChannels(table)
8973
9125
  end
8974
9126
 
8975
- # arg: window(ImGuiWindow*)
8976
- # ret: int
8977
- def self.FindWindowDisplayIndex(window)
8978
- ImGui_FindWindowDisplayIndex(window)
9127
+ # arg: table(ImGuiTable*), instance_no(int)
9128
+ # ret: pointer
9129
+ def self.TableGetInstanceData(table, instance_no)
9130
+ ImGui_TableGetInstanceData(table, instance_no)
8979
9131
  end
8980
9132
 
8981
- # arg: window(ImGuiWindow*)
8982
- # ret: pointer
8983
- def self.FindBottomMostVisibleWindowWithinBeginStack(window)
8984
- ImGui_FindBottomMostVisibleWindowWithinBeginStack(window)
9133
+ # arg: table(ImGuiTable*), instance_no(int)
9134
+ # ret: uint
9135
+ def self.TableGetInstanceID(table, instance_no)
9136
+ ImGui_TableGetInstanceID(table, instance_no)
8985
9137
  end
8986
9138
 
8987
- # arg: flags(ImGuiWindowRefreshFlags)
9139
+ # arg: table(ImGuiTable*)
8988
9140
  # ret: void
8989
- def self.SetNextWindowRefreshPolicy(flags)
8990
- ImGui_SetNextWindowRefreshPolicy(flags)
9141
+ def self.TableFixDisplayOrder(table)
9142
+ ImGui_TableFixDisplayOrder(table)
8991
9143
  end
8992
9144
 
8993
- # arg: tex(ImTextureData*)
9145
+ # arg: table(ImGuiTable*)
8994
9146
  # ret: void
8995
- def self.RegisterUserTexture(tex)
8996
- ImGui_RegisterUserTexture(tex)
9147
+ def self.TableSortSpecsSanitize(table)
9148
+ ImGui_TableSortSpecsSanitize(table)
8997
9149
  end
8998
9150
 
8999
- # arg: tex(ImTextureData*)
9151
+ # arg: table(ImGuiTable*)
9000
9152
  # ret: void
9001
- def self.UnregisterUserTexture(tex)
9002
- ImGui_UnregisterUserTexture(tex)
9153
+ def self.TableSortSpecsBuild(table)
9154
+ ImGui_TableSortSpecsBuild(table)
9003
9155
  end
9004
9156
 
9005
- # arg: atlas(ImFontAtlas*)
9157
+ # arg: table(ImGuiTable*), column(ImGuiTableColumn*), init_mask(ImGuiTableColumnFlags)
9006
9158
  # ret: void
9007
- def self.RegisterFontAtlas(atlas)
9008
- ImGui_RegisterFontAtlas(atlas)
9159
+ def self.TableInitColumnDefaults(table, column, init_mask)
9160
+ ImGui_TableInitColumnDefaults(table, column, init_mask)
9009
9161
  end
9010
9162
 
9011
- # arg: atlas(ImFontAtlas*)
9163
+ # arg: column(ImGuiTableColumn*)
9164
+ # ret: uchar
9165
+ def self.TableGetColumnNextSortDirection(column)
9166
+ ImGui_TableGetColumnNextSortDirection(column)
9167
+ end
9168
+
9169
+ # arg: table(ImGuiTable*), column(ImGuiTableColumn*)
9012
9170
  # ret: void
9013
- def self.UnregisterFontAtlas(atlas)
9014
- ImGui_UnregisterFontAtlas(atlas)
9171
+ def self.TableFixColumnSortDirection(table, column)
9172
+ ImGui_TableFixColumnSortDirection(table, column)
9015
9173
  end
9016
9174
 
9017
- # arg: font(ImFont*), font_size_before_scaling(float), font_size_after_scaling(float)
9175
+ # arg: table(ImGuiTable*), column(ImGuiTableColumn*)
9176
+ # ret: float
9177
+ def self.TableGetColumnWidthAuto(table, column)
9178
+ ImGui_TableGetColumnWidthAuto(table, column)
9179
+ end
9180
+
9181
+ # arg: table(ImGuiTable*)
9018
9182
  # ret: void
9019
- def self.SetCurrentFont(font, font_size_before_scaling, font_size_after_scaling)
9020
- ImGui_SetCurrentFont(font, font_size_before_scaling, font_size_after_scaling)
9183
+ def self.TableBeginRow(table)
9184
+ ImGui_TableBeginRow(table)
9021
9185
  end
9022
9186
 
9023
- # arg: restore_font_size_after_scaling(float)
9187
+ # arg: table(ImGuiTable*)
9024
9188
  # ret: void
9025
- def self.UpdateCurrentFontSize(restore_font_size_after_scaling)
9026
- ImGui_UpdateCurrentFontSize(restore_font_size_after_scaling)
9189
+ def self.TableEndRow(table)
9190
+ ImGui_TableEndRow(table)
9027
9191
  end
9028
9192
 
9029
- # arg: rasterizer_density(float)
9193
+ # arg: table(ImGuiTable*), column_n(int)
9030
9194
  # ret: void
9031
- def self.SetFontRasterizerDensity(rasterizer_density)
9032
- ImGui_SetFontRasterizerDensity(rasterizer_density)
9195
+ def self.TableBeginCell(table, column_n)
9196
+ ImGui_TableBeginCell(table, column_n)
9033
9197
  end
9034
9198
 
9035
- # ret: float
9036
- def self.GetFontRasterizerDensity()
9037
- ImGui_GetFontRasterizerDensity()
9199
+ # arg: table(ImGuiTable*)
9200
+ # ret: void
9201
+ def self.TableEndCell(table)
9202
+ ImGui_TableEndCell(table)
9038
9203
  end
9039
9204
 
9040
- # arg: size(float)
9041
- # ret: float
9042
- def self.GetRoundedFontSize(size)
9043
- ImGui_GetRoundedFontSize(size)
9205
+ # arg: table(const ImGuiTable*), column_n(int)
9206
+ # ret: ImRect.by_value
9207
+ def self.TableGetCellBgRect(table, column_n)
9208
+ ImGui_TableGetCellBgRect(table, column_n)
9044
9209
  end
9045
9210
 
9046
- # ret: pointer
9047
- def self.GetDefaultFont()
9048
- ImGui_GetDefaultFont()
9211
+ # arg: table(const ImGuiTable*), column_n(int)
9212
+ # ret: float
9213
+ def self.TableCalcMaxColumnWidth(table, column_n)
9214
+ ImGui_TableCalcMaxColumnWidth(table, column_n)
9049
9215
  end
9050
9216
 
9217
+ # arg: table(ImGuiTable*), column_n(int)
9051
9218
  # ret: void
9052
- def self.PushPasswordFont()
9053
- ImGui_PushPasswordFont()
9219
+ def self.TableSetColumnWidthAutoSingle(table, column_n)
9220
+ ImGui_TableSetColumnWidthAutoSingle(table, column_n)
9054
9221
  end
9055
9222
 
9223
+ # arg: table(ImGuiTable*)
9056
9224
  # ret: void
9057
- def self.PopPasswordFont()
9058
- ImGui_PopPasswordFont()
9225
+ def self.TableSetColumnWidthAutoAll(table)
9226
+ ImGui_TableSetColumnWidthAutoAll(table)
9059
9227
  end
9060
9228
 
9061
- # arg: draw_data(ImDrawData*), out_list(ImVector_ImDrawListPtr*), draw_list(ImDrawList*)
9229
+ # arg: table(ImGuiTable*), column_n(int), dst_order(int)
9062
9230
  # ret: void
9063
- def self.AddDrawListToDrawDataEx(draw_data, out_list, draw_list)
9064
- ImGui_AddDrawListToDrawDataEx(draw_data, out_list, draw_list)
9231
+ def self.TableSetColumnDisplayOrder(table, column_n, dst_order)
9232
+ ImGui_TableSetColumnDisplayOrder(table, column_n, dst_order)
9065
9233
  end
9066
9234
 
9235
+ # arg: table(ImGuiTable*), column_n(int), dst_order(int)
9067
9236
  # ret: void
9068
- def self.Initialize()
9069
- ImGui_Initialize()
9237
+ def self.TableQueueSetColumnDisplayOrder(table, column_n, dst_order)
9238
+ ImGui_TableQueueSetColumnDisplayOrder(table, column_n, dst_order)
9070
9239
  end
9071
9240
 
9241
+ # arg: table(ImGuiTable*)
9072
9242
  # ret: void
9073
- def self.Shutdown()
9074
- ImGui_Shutdown()
9243
+ def self.TableRemove(table)
9244
+ ImGui_TableRemove(table)
9075
9245
  end
9076
9246
 
9077
- # arg: ctx(ImGuiContext*), name(const char*)
9078
9247
  # ret: void
9079
- def self.SetContextName(ctx, name)
9080
- ImGui_SetContextName(ctx, name)
9081
- end
9082
-
9083
- # arg: ctx(ImGuiContext*), hook(const ImGuiContextHook*)
9084
- # ret: uint
9085
- def self.AddContextHook(ctx, hook)
9086
- ImGui_AddContextHook(ctx, hook)
9248
+ def self.TableGcCompactSettings()
9249
+ ImGui_TableGcCompactSettings()
9087
9250
  end
9088
9251
 
9089
- # arg: ctx(ImGuiContext*), hook_to_remove(ImGuiID)
9252
+ # arg: table(ImGuiTable*)
9090
9253
  # ret: void
9091
- def self.RemoveContextHook(ctx, hook_to_remove)
9092
- ImGui_RemoveContextHook(ctx, hook_to_remove)
9254
+ def self.TableLoadSettings(table)
9255
+ ImGui_TableLoadSettings(table)
9093
9256
  end
9094
9257
 
9095
- # arg: ctx(ImGuiContext*), type(ImGuiContextHookType)
9258
+ # arg: table(ImGuiTable*)
9096
9259
  # ret: void
9097
- def self.CallContextHooks(ctx, type)
9098
- ImGui_CallContextHooks(ctx, type)
9260
+ def self.TableLoadSettingsForColumns(table)
9261
+ ImGui_TableLoadSettingsForColumns(table)
9099
9262
  end
9100
9263
 
9101
- # arg: trickle_fast_inputs(bool)
9264
+ # arg: column(ImGuiTableColumn*), column_settings(ImGuiTableColumnSettings*), load_flags(ImGuiTableFlags)
9102
9265
  # ret: void
9103
- def self.UpdateInputEvents(trickle_fast_inputs)
9104
- ImGui_UpdateInputEvents(trickle_fast_inputs)
9266
+ def self.TableLoadSettingsForColumn(column, column_settings, load_flags)
9267
+ ImGui_TableLoadSettingsForColumn(column, column_settings, load_flags)
9105
9268
  end
9106
9269
 
9107
- # arg: mouse_pos(ImVec2)
9270
+ # arg: table(ImGuiTable*)
9108
9271
  # ret: void
9109
- def self.UpdateHoveredWindowAndCaptureFlags(mouse_pos)
9110
- ImGui_UpdateHoveredWindowAndCaptureFlags(mouse_pos)
9272
+ def self.TableSaveSettings(table)
9273
+ ImGui_TableSaveSettings(table)
9111
9274
  end
9112
9275
 
9113
- # arg: pos(ImVec2), find_first_and_in_any_viewport(bool), out_hovered_window(ImGuiWindow**), out_hovered_window_under_moving_window(ImGuiWindow**)
9276
+ # arg: table(ImGuiTable*)
9114
9277
  # ret: void
9115
- def self.FindHoveredWindowEx(pos, find_first_and_in_any_viewport, out_hovered_window, out_hovered_window_under_moving_window)
9116
- ImGui_FindHoveredWindowEx(pos, find_first_and_in_any_viewport, out_hovered_window, out_hovered_window_under_moving_window)
9278
+ def self.TableResetSettings(table)
9279
+ ImGui_TableResetSettings(table)
9117
9280
  end
9118
9281
 
9119
- # arg: window(ImGuiWindow*)
9120
- # ret: void
9121
- def self.StartMouseMovingWindow(window)
9122
- ImGui_StartMouseMovingWindow(window)
9282
+ # arg: table(ImGuiTable*)
9283
+ # ret: pointer
9284
+ def self.TableGetBoundSettings(table)
9285
+ ImGui_TableGetBoundSettings(table)
9123
9286
  end
9124
9287
 
9125
- # arg: window(ImGuiWindow*), node(ImGuiDockNode*), undock(bool)
9126
9288
  # ret: void
9127
- def self.StartMouseMovingWindowOrNode(window, node, undock)
9128
- ImGui_StartMouseMovingWindowOrNode(window, node, undock)
9289
+ def self.TableSettingsAddSettingsHandler()
9290
+ ImGui_TableSettingsAddSettingsHandler()
9129
9291
  end
9130
9292
 
9131
- # ret: void
9132
- def self.StopMouseMovingWindow()
9133
- ImGui_StopMouseMovingWindow()
9293
+ # arg: id(ImGuiID), columns_count(int)
9294
+ # ret: pointer
9295
+ def self.TableSettingsCreate(id, columns_count)
9296
+ ImGui_TableSettingsCreate(id, columns_count)
9134
9297
  end
9135
9298
 
9136
- # ret: void
9137
- def self.UpdateMouseMovingWindowNewFrame()
9138
- ImGui_UpdateMouseMovingWindowNewFrame()
9299
+ # arg: id(ImGuiID)
9300
+ # ret: pointer
9301
+ def self.TableSettingsFindByID(id)
9302
+ ImGui_TableSettingsFindByID(id)
9139
9303
  end
9140
9304
 
9305
+ # arg: window(ImGuiWindow*), clip_rect(ImRect)
9141
9306
  # ret: void
9142
- def self.UpdateMouseMovingWindowEndFrame()
9143
- ImGui_UpdateMouseMovingWindowEndFrame()
9307
+ def self.SetWindowClipRectBeforeSetChannel(window, clip_rect)
9308
+ ImGui_SetWindowClipRectBeforeSetChannel(window, clip_rect)
9144
9309
  end
9145
9310
 
9146
- # arg: viewport(ImGuiViewportP*), old_pos(ImVec2), new_pos(ImVec2), old_size(ImVec2), new_size(ImVec2)
9311
+ # arg: str_id(const char*), count(int), flags(ImGuiOldColumnFlags)
9147
9312
  # ret: void
9148
- def self.TranslateWindowsInViewport(viewport, old_pos, new_pos, old_size, new_size)
9149
- ImGui_TranslateWindowsInViewport(viewport, old_pos, new_pos, old_size, new_size)
9313
+ def self.BeginColumns(str_id, count, flags = 0)
9314
+ ImGui_BeginColumns(str_id, count, flags)
9150
9315
  end
9151
9316
 
9152
- # arg: viewport(ImGuiViewportP*), scale(float)
9153
9317
  # ret: void
9154
- def self.ScaleWindowsInViewport(viewport, scale)
9155
- ImGui_ScaleWindowsInViewport(viewport, scale)
9318
+ def self.EndColumns()
9319
+ ImGui_EndColumns()
9156
9320
  end
9157
9321
 
9158
- # arg: viewport(ImGuiViewportP*)
9322
+ # arg: column_index(int)
9159
9323
  # ret: void
9160
- def self.DestroyPlatformWindow(viewport)
9161
- ImGui_DestroyPlatformWindow(viewport)
9324
+ def self.PushColumnClipRect(column_index)
9325
+ ImGui_PushColumnClipRect(column_index)
9162
9326
  end
9163
9327
 
9164
- # arg: window(ImGuiWindow*), viewport(ImGuiViewportP*)
9165
9328
  # ret: void
9166
- def self.SetWindowViewport(window, viewport)
9167
- ImGui_SetWindowViewport(window, viewport)
9329
+ def self.PushColumnsBackground()
9330
+ ImGui_PushColumnsBackground()
9168
9331
  end
9169
9332
 
9170
- # arg: window(ImGuiWindow*), viewport(ImGuiViewportP*)
9171
9333
  # ret: void
9172
- def self.SetCurrentViewport(window, viewport)
9173
- ImGui_SetCurrentViewport(window, viewport)
9334
+ def self.PopColumnsBackground()
9335
+ ImGui_PopColumnsBackground()
9174
9336
  end
9175
9337
 
9176
- # arg: viewport(ImGuiViewport*)
9177
- # ret: pointer
9178
- def self.GetViewportPlatformMonitor(viewport)
9179
- ImGui_GetViewportPlatformMonitor(viewport)
9338
+ # arg: str_id(const char*), count(int)
9339
+ # ret: uint
9340
+ def self.GetColumnsID(str_id, count)
9341
+ ImGui_GetColumnsID(str_id, count)
9180
9342
  end
9181
9343
 
9182
- # arg: mouse_platform_pos(ImVec2)
9344
+ # arg: window(ImGuiWindow*), id(ImGuiID)
9183
9345
  # ret: pointer
9184
- def self.FindHoveredViewportFromPlatformWindowStack(mouse_platform_pos)
9185
- ImGui_FindHoveredViewportFromPlatformWindowStack(mouse_platform_pos)
9346
+ def self.FindOrCreateColumns(window, id)
9347
+ ImGui_FindOrCreateColumns(window, id)
9186
9348
  end
9187
9349
 
9188
- # ret: void
9189
- def self.ClearIniSettings()
9190
- ImGui_ClearIniSettings()
9350
+ # arg: columns(const ImGuiOldColumns*), offset_norm(float)
9351
+ # ret: float
9352
+ def self.GetColumnOffsetFromNorm(columns, offset_norm)
9353
+ ImGui_GetColumnOffsetFromNorm(columns, offset_norm)
9191
9354
  end
9192
9355
 
9193
- # arg: handler(const ImGuiSettingsHandler*)
9194
- # ret: void
9195
- def self.AddSettingsHandler(handler)
9196
- ImGui_AddSettingsHandler(handler)
9356
+ # arg: columns(const ImGuiOldColumns*), offset(float)
9357
+ # ret: float
9358
+ def self.GetColumnNormFromOffset(columns, offset)
9359
+ ImGui_GetColumnNormFromOffset(columns, offset)
9197
9360
  end
9198
9361
 
9199
- # arg: type_name(const char*)
9200
- # ret: void
9201
- def self.RemoveSettingsHandler(type_name)
9202
- ImGui_RemoveSettingsHandler(type_name)
9362
+ # ret: float
9363
+ def self.GetScale()
9364
+ ImGui_GetScale()
9203
9365
  end
9204
9366
 
9205
- # arg: type_name(const char*)
9206
9367
  # ret: pointer
9207
- def self.FindSettingsHandler(type_name)
9208
- ImGui_FindSettingsHandler(type_name)
9368
+ def self.GetCurrentWindowRead()
9369
+ ImGui_GetCurrentWindowRead()
9209
9370
  end
9210
9371
 
9211
- # arg: name(const char*)
9212
9372
  # ret: pointer
9213
- def self.CreateNewWindowSettings(name)
9214
- ImGui_CreateNewWindowSettings(name)
9373
+ def self.GetCurrentWindow()
9374
+ ImGui_GetCurrentWindow()
9215
9375
  end
9216
9376
 
9217
9377
  # arg: id(ImGuiID)
9218
9378
  # ret: pointer
9219
- def self.FindWindowSettingsByID(id)
9220
- ImGui_FindWindowSettingsByID(id)
9221
- end
9222
-
9223
- # arg: window(ImGuiWindow*)
9224
- # ret: pointer
9225
- def self.FindWindowSettingsByWindow(window)
9226
- ImGui_FindWindowSettingsByWindow(window)
9379
+ def self.FindWindowByID(id)
9380
+ ImGui_FindWindowByID(id)
9227
9381
  end
9228
9382
 
9229
9383
  # arg: name(const char*)
9230
- # ret: void
9231
- def self.ClearWindowSettings(name)
9232
- ImGui_ClearWindowSettings(name)
9233
- end
9234
-
9235
- # arg: entries(const ImGuiLocEntry*), count(int)
9236
- # ret: void
9237
- def self.LocalizeRegisterEntries(entries, count)
9238
- ImGui_LocalizeRegisterEntries(entries, count)
9239
- end
9240
-
9241
- # arg: key(ImGuiLocKey)
9242
9384
  # ret: pointer
9243
- def self.LocalizeGetMsg(key)
9244
- ImGui_LocalizeGetMsg(key)
9385
+ def self.FindWindowByName(name)
9386
+ ImGui_FindWindowByName(name)
9245
9387
  end
9246
9388
 
9247
- # arg: flags(ImGuiScrollFlags)
9389
+ # arg: window(ImGuiWindow*), flags(ImGuiWindowFlags), parent_window(ImGuiWindow*)
9248
9390
  # ret: void
9249
- def self.ScrollToItem(flags = 0)
9250
- ImGui_ScrollToItem(flags)
9391
+ def self.UpdateWindowParentAndRootLinks(window, flags, parent_window)
9392
+ ImGui_UpdateWindowParentAndRootLinks(window, flags, parent_window)
9251
9393
  end
9252
9394
 
9253
- # arg: window(ImGuiWindow*), rect(ImRect), flags(ImGuiScrollFlags)
9395
+ # arg: window(ImGuiWindow*)
9254
9396
  # ret: void
9255
- def self.ScrollToRect(window, rect, flags = 0)
9256
- ImGui_ScrollToRect(window, rect, flags)
9397
+ def self.UpdateWindowSkipRefresh(window)
9398
+ ImGui_UpdateWindowSkipRefresh(window)
9257
9399
  end
9258
9400
 
9259
- # arg: window(ImGuiWindow*), rect(ImRect), flags(ImGuiScrollFlags)
9401
+ # arg: window(ImGuiWindow*)
9260
9402
  # ret: ImVec2.by_value
9261
- def self.ScrollToRectEx(window, rect, flags = 0)
9262
- ImGui_ScrollToRectEx(window, rect, flags)
9403
+ def self.CalcWindowNextAutoFitSize(window)
9404
+ ImGui_CalcWindowNextAutoFitSize(window)
9263
9405
  end
9264
9406
 
9265
- # arg: window(ImGuiWindow*), rect(ImRect)
9266
- # ret: void
9267
- def self.ScrollToBringRectIntoView(window, rect)
9268
- ImGui_ScrollToBringRectIntoView(window, rect)
9407
+ # arg: window(ImGuiWindow*), potential_parent(ImGuiWindow*), popup_hierarchy(bool), dock_hierarchy(bool)
9408
+ # ret: bool
9409
+ def self.IsWindowChildOf(window, potential_parent, popup_hierarchy, dock_hierarchy)
9410
+ ImGui_IsWindowChildOf(window, potential_parent, popup_hierarchy, dock_hierarchy)
9269
9411
  end
9270
9412
 
9271
- # ret: int
9272
- def self.GetItemStatusFlags()
9273
- ImGui_GetItemStatusFlags()
9413
+ # arg: window(ImGuiWindow*)
9414
+ # ret: bool
9415
+ def self.IsWindowInBeginStack(window)
9416
+ ImGui_IsWindowInBeginStack(window)
9274
9417
  end
9275
9418
 
9276
- # ret: uint
9277
- def self.GetActiveID()
9278
- ImGui_GetActiveID()
9419
+ # arg: window(ImGuiWindow*), potential_parent(ImGuiWindow*)
9420
+ # ret: bool
9421
+ def self.IsWindowWithinBeginStackOf(window, potential_parent)
9422
+ ImGui_IsWindowWithinBeginStackOf(window, potential_parent)
9279
9423
  end
9280
9424
 
9281
- # ret: uint
9282
- def self.GetFocusID()
9283
- ImGui_GetFocusID()
9425
+ # arg: potential_above(ImGuiWindow*), potential_below(ImGuiWindow*)
9426
+ # ret: bool
9427
+ def self.IsWindowAbove(potential_above, potential_below)
9428
+ ImGui_IsWindowAbove(potential_above, potential_below)
9284
9429
  end
9285
9430
 
9286
- # arg: id(ImGuiID), window(ImGuiWindow*)
9287
- # ret: void
9288
- def self.SetActiveID(id, window)
9289
- ImGui_SetActiveID(id, window)
9431
+ # arg: window(ImGuiWindow*)
9432
+ # ret: bool
9433
+ def self.IsWindowNavFocusable(window)
9434
+ ImGui_IsWindowNavFocusable(window)
9290
9435
  end
9291
9436
 
9292
- # arg: id(ImGuiID), window(ImGuiWindow*)
9437
+ # arg: window(ImGuiWindow*), pos(ImVec2), size(ImVec2)
9293
9438
  # ret: void
9294
- def self.SetFocusID(id, window)
9295
- ImGui_SetFocusID(id, window)
9439
+ def self.SetWindowHitTestHole(window, pos, size)
9440
+ ImGui_SetWindowHitTestHole(window, pos, size)
9296
9441
  end
9297
9442
 
9443
+ # arg: window(ImGuiWindow*)
9298
9444
  # ret: void
9299
- def self.ClearActiveID()
9300
- ImGui_ClearActiveID()
9445
+ def self.SetWindowHiddenAndSkipItemsForCurrentFrame(window)
9446
+ ImGui_SetWindowHiddenAndSkipItemsForCurrentFrame(window)
9301
9447
  end
9302
9448
 
9303
- # ret: uint
9304
- def self.GetHoveredID()
9305
- ImGui_GetHoveredID()
9449
+ # arg: window(ImGuiWindow*), parent_window(ImGuiWindow*)
9450
+ # ret: void
9451
+ def self.SetWindowParentWindowForFocusRoute(window, parent_window)
9452
+ ImGui_SetWindowParentWindowForFocusRoute(window, parent_window)
9306
9453
  end
9307
9454
 
9308
- # arg: id(ImGuiID)
9309
- # ret: void
9310
- def self.SetHoveredID(id)
9311
- ImGui_SetHoveredID(id)
9455
+ # arg: window(ImGuiWindow*), r(ImRect)
9456
+ # ret: ImRect.by_value
9457
+ def self.WindowRectAbsToRel(window, r)
9458
+ ImGui_WindowRectAbsToRel(window, r)
9312
9459
  end
9313
9460
 
9314
- # arg: id(ImGuiID)
9315
- # ret: void
9316
- def self.KeepAliveID(id)
9317
- ImGui_KeepAliveID(id)
9461
+ # arg: window(ImGuiWindow*), r(ImRect)
9462
+ # ret: ImRect.by_value
9463
+ def self.WindowRectRelToAbs(window, r)
9464
+ ImGui_WindowRectRelToAbs(window, r)
9318
9465
  end
9319
9466
 
9320
- # arg: id(ImGuiID)
9467
+ # arg: window(ImGuiWindow*), p(ImVec2)
9468
+ # ret: ImVec2.by_value
9469
+ def self.WindowPosAbsToRel(window, p)
9470
+ ImGui_WindowPosAbsToRel(window, p)
9471
+ end
9472
+
9473
+ # arg: window(ImGuiWindow*), p(ImVec2)
9474
+ # ret: ImVec2.by_value
9475
+ def self.WindowPosRelToAbs(window, p)
9476
+ ImGui_WindowPosRelToAbs(window, p)
9477
+ end
9478
+
9479
+ # arg: window(ImGuiWindow*), flags(ImGuiFocusRequestFlags)
9321
9480
  # ret: void
9322
- def self.MarkItemEdited(id)
9323
- ImGui_MarkItemEdited(id)
9481
+ def self.FocusWindow(window, flags = 0)
9482
+ ImGui_FocusWindow(window, flags)
9324
9483
  end
9325
9484
 
9326
- # arg: id(ImGuiID)
9485
+ # arg: under_this_window(ImGuiWindow*), ignore_window(ImGuiWindow*), filter_viewport(ImGuiViewport*), flags(ImGuiFocusRequestFlags)
9327
9486
  # ret: void
9328
- def self.PushOverrideID(id)
9329
- ImGui_PushOverrideID(id)
9487
+ def self.FocusTopMostWindowUnderOne(under_this_window, ignore_window, filter_viewport, flags)
9488
+ ImGui_FocusTopMostWindowUnderOne(under_this_window, ignore_window, filter_viewport, flags)
9330
9489
  end
9331
9490
 
9332
- # arg: bb(ImRect), id(ImGuiID), item_flags(ImGuiItemFlags)
9333
- # ret: bool
9334
- def self.ItemHoverable(bb, id, item_flags)
9335
- ImGui_ItemHoverable(bb, id, item_flags)
9491
+ # arg: window(ImGuiWindow*)
9492
+ # ret: void
9493
+ def self.BringWindowToFocusFront(window)
9494
+ ImGui_BringWindowToFocusFront(window)
9336
9495
  end
9337
9496
 
9338
- # arg: window(ImGuiWindow*), flags(ImGuiHoveredFlags)
9339
- # ret: bool
9340
- def self.IsWindowContentHoverable(window, flags = 0)
9341
- ImGui_IsWindowContentHoverable(window, flags)
9497
+ # arg: window(ImGuiWindow*)
9498
+ # ret: void
9499
+ def self.BringWindowToDisplayFront(window)
9500
+ ImGui_BringWindowToDisplayFront(window)
9342
9501
  end
9343
9502
 
9344
- # arg: bb(ImRect), id(ImGuiID)
9345
- # ret: bool
9346
- def self.IsClippedEx(bb, id)
9347
- ImGui_IsClippedEx(bb, id)
9503
+ # arg: window(ImGuiWindow*)
9504
+ # ret: void
9505
+ def self.BringWindowToDisplayBack(window)
9506
+ ImGui_BringWindowToDisplayBack(window)
9348
9507
  end
9349
9508
 
9350
- # arg: item_id(ImGuiID), item_flags(ImGuiItemFlags), status_flags(ImGuiItemStatusFlags), item_rect(ImRect)
9509
+ # arg: window(ImGuiWindow*), above_window(ImGuiWindow*)
9351
9510
  # ret: void
9352
- def self.SetLastItemData(item_id, item_flags, status_flags, item_rect)
9353
- ImGui_SetLastItemData(item_id, item_flags, status_flags, item_rect)
9511
+ def self.BringWindowToDisplayBehind(window, above_window)
9512
+ ImGui_BringWindowToDisplayBehind(window, above_window)
9354
9513
  end
9355
9514
 
9356
- # arg: size(ImVec2), default_w(float), default_h(float)
9357
- # ret: ImVec2.by_value
9358
- def self.CalcItemSize(size, default_w, default_h)
9359
- ImGui_CalcItemSize(size, default_w, default_h)
9515
+ # arg: window(ImGuiWindow*)
9516
+ # ret: int
9517
+ def self.FindWindowDisplayIndex(window)
9518
+ ImGui_FindWindowDisplayIndex(window)
9360
9519
  end
9361
9520
 
9362
- # arg: pos(ImVec2), wrap_pos_x(float)
9363
- # ret: float
9364
- def self.CalcWrapWidthForPos(pos, wrap_pos_x)
9365
- ImGui_CalcWrapWidthForPos(pos, wrap_pos_x)
9521
+ # arg: window(ImGuiWindow*)
9522
+ # ret: pointer
9523
+ def self.FindBottomMostVisibleWindowWithinBeginStack(window)
9524
+ ImGui_FindBottomMostVisibleWindowWithinBeginStack(window)
9366
9525
  end
9367
9526
 
9368
- # arg: components(int), width_full(float)
9527
+ # arg: flags(ImGuiWindowRefreshFlags)
9369
9528
  # ret: void
9370
- def self.PushMultiItemsWidths(components, width_full)
9371
- ImGui_PushMultiItemsWidths(components, width_full)
9529
+ def self.SetNextWindowRefreshPolicy(flags)
9530
+ ImGui_SetNextWindowRefreshPolicy(flags)
9372
9531
  end
9373
9532
 
9374
- # arg: items(ImGuiShrinkWidthItem*), count(int), width_excess(float), width_min(float)
9533
+ # arg: tex(ImTextureData*)
9375
9534
  # ret: void
9376
- def self.ShrinkWidths(items, count, width_excess, width_min)
9377
- ImGui_ShrinkWidths(items, count, width_excess, width_min)
9535
+ def self.RegisterUserTexture(tex)
9536
+ ImGui_RegisterUserTexture(tex)
9378
9537
  end
9379
9538
 
9380
- # arg: clip_rect(ImRect), pos(ImVec2), items_height(float), out_visible_start(int*), out_visible_end(int*)
9539
+ # arg: tex(ImTextureData*)
9381
9540
  # ret: void
9382
- def self.CalcClipRectVisibleItemsY(clip_rect, pos, items_height, out_visible_start, out_visible_end)
9383
- ImGui_CalcClipRectVisibleItemsY(clip_rect, pos, items_height, out_visible_start, out_visible_end)
9541
+ def self.UnregisterUserTexture(tex)
9542
+ ImGui_UnregisterUserTexture(tex)
9384
9543
  end
9385
9544
 
9386
- # arg: idx(ImGuiStyleVar)
9387
- # ret: pointer
9388
- def self.GetStyleVarInfo(idx)
9389
- ImGui_GetStyleVarInfo(idx)
9545
+ # arg: atlas(ImFontAtlas*)
9546
+ # ret: void
9547
+ def self.RegisterFontAtlas(atlas)
9548
+ ImGui_RegisterFontAtlas(atlas)
9390
9549
  end
9391
9550
 
9551
+ # arg: atlas(ImFontAtlas*)
9392
9552
  # ret: void
9393
- def self.BeginDisabledOverrideReenable()
9394
- ImGui_BeginDisabledOverrideReenable()
9553
+ def self.UnregisterFontAtlas(atlas)
9554
+ ImGui_UnregisterFontAtlas(atlas)
9395
9555
  end
9396
9556
 
9557
+ # arg: font(ImFont*), font_size_before_scaling(float), font_size_after_scaling(float)
9397
9558
  # ret: void
9398
- def self.EndDisabledOverrideReenable()
9399
- ImGui_EndDisabledOverrideReenable()
9559
+ def self.SetCurrentFont(font, font_size_before_scaling, font_size_after_scaling)
9560
+ ImGui_SetCurrentFont(font, font_size_before_scaling, font_size_after_scaling)
9400
9561
  end
9401
9562
 
9402
- # arg: flags(ImGuiLogFlags), auto_open_depth(int)
9563
+ # arg: restore_font_size_after_scaling(float)
9403
9564
  # ret: void
9404
- def self.LogBegin(flags, auto_open_depth)
9405
- ImGui_LogBegin(flags, auto_open_depth)
9565
+ def self.UpdateCurrentFontSize(restore_font_size_after_scaling)
9566
+ ImGui_UpdateCurrentFontSize(restore_font_size_after_scaling)
9406
9567
  end
9407
9568
 
9408
- # arg: prefix(const char*), suffix(const char*)
9569
+ # arg: rasterizer_density(float)
9409
9570
  # ret: void
9410
- def self.LogSetNextTextDecoration(prefix, suffix)
9411
- ImGui_LogSetNextTextDecoration(prefix, suffix)
9571
+ def self.SetFontRasterizerDensity(rasterizer_density)
9572
+ ImGui_SetFontRasterizerDensity(rasterizer_density)
9412
9573
  end
9413
9574
 
9414
- # arg: name(const char*), id(ImGuiID), size_arg(ImVec2), child_flags(ImGuiChildFlags), window_flags(ImGuiWindowFlags)
9415
- # ret: bool
9416
- def self.BeginChildEx(name, id, size_arg, child_flags, window_flags)
9417
- ImGui_BeginChildEx(name, id, size_arg, child_flags, window_flags)
9575
+ # ret: float
9576
+ def self.GetFontRasterizerDensity()
9577
+ ImGui_GetFontRasterizerDensity()
9418
9578
  end
9419
9579
 
9420
- # arg: id(ImGuiID), extra_window_flags(ImGuiWindowFlags)
9421
- # ret: bool
9422
- def self.BeginPopupEx(id, extra_window_flags)
9423
- ImGui_BeginPopupEx(id, extra_window_flags)
9580
+ # arg: size(float)
9581
+ # ret: float
9582
+ def self.GetRoundedFontSize(size)
9583
+ ImGui_GetRoundedFontSize(size)
9424
9584
  end
9425
9585
 
9426
- # arg: id(ImGuiID), label(const char*), extra_window_flags(ImGuiWindowFlags)
9427
- # ret: bool
9428
- def self.BeginPopupMenuEx(id, label, extra_window_flags)
9429
- ImGui_BeginPopupMenuEx(id, label, extra_window_flags)
9586
+ # ret: pointer
9587
+ def self.GetDefaultFont()
9588
+ ImGui_GetDefaultFont()
9430
9589
  end
9431
9590
 
9432
- # arg: remaining(int), restore_focus_to_window_under_popup(bool)
9433
9591
  # ret: void
9434
- def self.ClosePopupToLevel(remaining, restore_focus_to_window_under_popup)
9435
- ImGui_ClosePopupToLevel(remaining, restore_focus_to_window_under_popup)
9592
+ def self.PushPasswordFont()
9593
+ ImGui_PushPasswordFont()
9436
9594
  end
9437
9595
 
9438
- # arg: ref_window(ImGuiWindow*), restore_focus_to_window_under_popup(bool)
9439
9596
  # ret: void
9440
- def self.ClosePopupsOverWindow(ref_window, restore_focus_to_window_under_popup)
9441
- ImGui_ClosePopupsOverWindow(ref_window, restore_focus_to_window_under_popup)
9597
+ def self.PopPasswordFont()
9598
+ ImGui_PopPasswordFont()
9442
9599
  end
9443
9600
 
9601
+ # arg: draw_data(ImDrawData*), out_list(ImVector_ImDrawListPtr*), draw_list(ImDrawList*)
9444
9602
  # ret: void
9445
- def self.ClosePopupsExceptModals()
9446
- ImGui_ClosePopupsExceptModals()
9603
+ def self.AddDrawListToDrawDataEx(draw_data, out_list, draw_list)
9604
+ ImGui_AddDrawListToDrawDataEx(draw_data, out_list, draw_list)
9447
9605
  end
9448
9606
 
9449
- # arg: window(ImGuiWindow*)
9450
- # ret: ImRect.by_value
9451
- def self.GetPopupAllowedExtentRect(window)
9452
- ImGui_GetPopupAllowedExtentRect(window)
9607
+ # ret: void
9608
+ def self.Initialize()
9609
+ ImGui_Initialize()
9453
9610
  end
9454
9611
 
9455
- # ret: pointer
9456
- def self.GetTopMostPopupModal()
9457
- ImGui_GetTopMostPopupModal()
9612
+ # ret: void
9613
+ def self.Shutdown()
9614
+ ImGui_Shutdown()
9458
9615
  end
9459
9616
 
9460
- # ret: pointer
9461
- def self.GetTopMostAndVisiblePopupModal()
9462
- ImGui_GetTopMostAndVisiblePopupModal()
9617
+ # arg: ctx(ImGuiContext*), name(const char*)
9618
+ # ret: void
9619
+ def self.SetContextName(ctx, name)
9620
+ ImGui_SetContextName(ctx, name)
9463
9621
  end
9464
9622
 
9465
- # arg: window(ImGuiWindow*)
9466
- # ret: pointer
9467
- def self.FindBlockingModal(window)
9468
- ImGui_FindBlockingModal(window)
9623
+ # arg: ctx(ImGuiContext*), hook(const ImGuiContextHook*)
9624
+ # ret: uint
9625
+ def self.AddContextHook(ctx, hook)
9626
+ ImGui_AddContextHook(ctx, hook)
9469
9627
  end
9470
9628
 
9471
- # arg: window(ImGuiWindow*)
9472
- # ret: ImVec2.by_value
9473
- def self.FindBestWindowPosForPopup(window)
9474
- ImGui_FindBestWindowPosForPopup(window)
9629
+ # arg: ctx(ImGuiContext*), hook_to_remove(ImGuiID)
9630
+ # ret: void
9631
+ def self.RemoveContextHook(ctx, hook_to_remove)
9632
+ ImGui_RemoveContextHook(ctx, hook_to_remove)
9475
9633
  end
9476
9634
 
9477
- # arg: ref_pos(ImVec2), size(ImVec2), last_dir(ImGuiDir*), r_outer(ImRect), r_avoid(ImRect), policy(ImGuiPopupPositionPolicy)
9478
- # ret: ImVec2.by_value
9479
- def self.FindBestWindowPosForPopupEx(ref_pos, size, last_dir, r_outer, r_avoid, policy)
9480
- ImGui_FindBestWindowPosForPopupEx(ref_pos, size, last_dir, r_outer, r_avoid, policy)
9635
+ # arg: ctx(ImGuiContext*), type(ImGuiContextHookType)
9636
+ # ret: void
9637
+ def self.CallContextHooks(ctx, type)
9638
+ ImGui_CallContextHooks(ctx, type)
9481
9639
  end
9482
9640
 
9483
- # arg: flags(ImGuiPopupFlags)
9484
- # ret: int
9485
- def self.GetMouseButtonFromPopupFlags(flags)
9486
- ImGui_GetMouseButtonFromPopupFlags(flags)
9641
+ # arg: trickle_fast_inputs(bool)
9642
+ # ret: void
9643
+ def self.UpdateInputEvents(trickle_fast_inputs)
9644
+ ImGui_UpdateInputEvents(trickle_fast_inputs)
9487
9645
  end
9488
9646
 
9489
- # arg: flags(ImGuiPopupFlags), id(ImGuiID)
9490
- # ret: bool
9491
- def self.IsPopupOpenRequestForItem(flags, id)
9492
- ImGui_IsPopupOpenRequestForItem(flags, id)
9647
+ # arg: mouse_pos(ImVec2)
9648
+ # ret: void
9649
+ def self.UpdateHoveredWindowAndCaptureFlags(mouse_pos)
9650
+ ImGui_UpdateHoveredWindowAndCaptureFlags(mouse_pos)
9493
9651
  end
9494
9652
 
9495
- # arg: flags(ImGuiPopupFlags)
9496
- # ret: bool
9497
- def self.IsPopupOpenRequestForWindow(flags)
9498
- ImGui_IsPopupOpenRequestForWindow(flags)
9653
+ # arg: pos(ImVec2), find_first_and_in_any_viewport(bool), out_hovered_window(ImGuiWindow**), out_hovered_window_under_moving_window(ImGuiWindow**)
9654
+ # ret: void
9655
+ def self.FindHoveredWindowEx(pos, find_first_and_in_any_viewport, out_hovered_window, out_hovered_window_under_moving_window)
9656
+ ImGui_FindHoveredWindowEx(pos, find_first_and_in_any_viewport, out_hovered_window, out_hovered_window_under_moving_window)
9499
9657
  end
9500
9658
 
9501
- # arg: tooltip_flags(ImGuiTooltipFlags), extra_window_flags(ImGuiWindowFlags)
9502
- # ret: bool
9503
- def self.BeginTooltipEx(tooltip_flags, extra_window_flags)
9504
- ImGui_BeginTooltipEx(tooltip_flags, extra_window_flags)
9659
+ # arg: window(ImGuiWindow*)
9660
+ # ret: void
9661
+ def self.StartMouseMovingWindow(window)
9662
+ ImGui_StartMouseMovingWindow(window)
9505
9663
  end
9506
9664
 
9507
- # ret: bool
9508
- def self.BeginTooltipHidden()
9509
- ImGui_BeginTooltipHidden()
9665
+ # arg: window(ImGuiWindow*), node(ImGuiDockNode*), undock(bool)
9666
+ # ret: void
9667
+ def self.StartMouseMovingWindowOrNode(window, node, undock)
9668
+ ImGui_StartMouseMovingWindowOrNode(window, node, undock)
9510
9669
  end
9511
9670
 
9512
- # arg: name(const char*), viewport(ImGuiViewport*), dir(ImGuiDir), size(float), window_flags(ImGuiWindowFlags)
9513
- # ret: bool
9514
- def self.BeginViewportSideBar(name, viewport, dir, size, window_flags)
9515
- ImGui_BeginViewportSideBar(name, viewport, dir, size, window_flags)
9671
+ # ret: void
9672
+ def self.StopMouseMovingWindow()
9673
+ ImGui_StopMouseMovingWindow()
9516
9674
  end
9517
9675
 
9518
- # arg: popup_id(ImGuiID), bb(ImRect), flags(ImGuiComboFlags)
9519
- # ret: bool
9520
- def self.BeginComboPopup(popup_id, bb, flags)
9521
- ImGui_BeginComboPopup(popup_id, bb, flags)
9676
+ # ret: void
9677
+ def self.UpdateMouseMovingWindowNewFrame()
9678
+ ImGui_UpdateMouseMovingWindowNewFrame()
9522
9679
  end
9523
9680
 
9524
- # ret: bool
9525
- def self.BeginComboPreview()
9526
- ImGui_BeginComboPreview()
9681
+ # ret: void
9682
+ def self.UpdateMouseMovingWindowEndFrame()
9683
+ ImGui_UpdateMouseMovingWindowEndFrame()
9527
9684
  end
9528
9685
 
9686
+ # arg: viewport(ImGuiViewportP*), old_pos(ImVec2), new_pos(ImVec2), old_size(ImVec2), new_size(ImVec2)
9529
9687
  # ret: void
9530
- def self.EndComboPreview()
9531
- ImGui_EndComboPreview()
9688
+ def self.TranslateWindowsInViewport(viewport, old_pos, new_pos, old_size, new_size)
9689
+ ImGui_TranslateWindowsInViewport(viewport, old_pos, new_pos, old_size, new_size)
9532
9690
  end
9533
9691
 
9534
- # arg: window(ImGuiWindow*), force_reinit(bool)
9692
+ # arg: viewport(ImGuiViewportP*), scale(float)
9535
9693
  # ret: void
9536
- def self.NavInitWindow(window, force_reinit)
9537
- ImGui_NavInitWindow(window, force_reinit)
9694
+ def self.ScaleWindowsInViewport(viewport, scale)
9695
+ ImGui_ScaleWindowsInViewport(viewport, scale)
9538
9696
  end
9539
9697
 
9698
+ # arg: viewport(ImGuiViewportP*)
9540
9699
  # ret: void
9541
- def self.NavInitRequestApplyResult()
9542
- ImGui_NavInitRequestApplyResult()
9700
+ def self.DestroyPlatformWindow(viewport)
9701
+ ImGui_DestroyPlatformWindow(viewport)
9543
9702
  end
9544
9703
 
9545
- # ret: bool
9546
- def self.NavMoveRequestButNoResultYet()
9547
- ImGui_NavMoveRequestButNoResultYet()
9704
+ # arg: window(ImGuiWindow*), viewport(ImGuiViewportP*)
9705
+ # ret: void
9706
+ def self.SetWindowViewport(window, viewport)
9707
+ ImGui_SetWindowViewport(window, viewport)
9548
9708
  end
9549
9709
 
9550
- # arg: move_dir(ImGuiDir), clip_dir(ImGuiDir), move_flags(ImGuiNavMoveFlags), scroll_flags(ImGuiScrollFlags)
9710
+ # arg: window(ImGuiWindow*), viewport(ImGuiViewportP*)
9551
9711
  # ret: void
9552
- def self.NavMoveRequestSubmit(move_dir, clip_dir, move_flags, scroll_flags)
9553
- ImGui_NavMoveRequestSubmit(move_dir, clip_dir, move_flags, scroll_flags)
9712
+ def self.SetCurrentViewport(window, viewport)
9713
+ ImGui_SetCurrentViewport(window, viewport)
9554
9714
  end
9555
9715
 
9556
- # arg: move_dir(ImGuiDir), clip_dir(ImGuiDir), move_flags(ImGuiNavMoveFlags), scroll_flags(ImGuiScrollFlags)
9557
- # ret: void
9558
- def self.NavMoveRequestForward(move_dir, clip_dir, move_flags, scroll_flags)
9559
- ImGui_NavMoveRequestForward(move_dir, clip_dir, move_flags, scroll_flags)
9716
+ # arg: viewport(ImGuiViewport*)
9717
+ # ret: pointer
9718
+ def self.GetViewportPlatformMonitor(viewport)
9719
+ ImGui_GetViewportPlatformMonitor(viewport)
9560
9720
  end
9561
9721
 
9562
- # arg: result(ImGuiNavItemData*)
9563
- # ret: void
9564
- def self.NavMoveRequestResolveWithLastItem(result)
9565
- ImGui_NavMoveRequestResolveWithLastItem(result)
9722
+ # arg: mouse_platform_pos(ImVec2)
9723
+ # ret: pointer
9724
+ def self.FindHoveredViewportFromPlatformWindowStack(mouse_platform_pos)
9725
+ ImGui_FindHoveredViewportFromPlatformWindowStack(mouse_platform_pos)
9566
9726
  end
9567
9727
 
9568
- # arg: result(ImGuiNavItemData*), tree_node_data(const ImGuiTreeNodeStackData*)
9569
9728
  # ret: void
9570
- def self.NavMoveRequestResolveWithPastTreeNode(result, tree_node_data)
9571
- ImGui_NavMoveRequestResolveWithPastTreeNode(result, tree_node_data)
9729
+ def self.ClearIniSettings()
9730
+ ImGui_ClearIniSettings()
9572
9731
  end
9573
9732
 
9733
+ # arg: args(ImGuiSettingsCleanupArgs*)
9574
9734
  # ret: void
9575
- def self.NavMoveRequestCancel()
9576
- ImGui_NavMoveRequestCancel()
9735
+ def self.CleanupIniSettings(args)
9736
+ ImGui_CleanupIniSettings(args)
9577
9737
  end
9578
9738
 
9739
+ # arg: handler(const ImGuiSettingsHandler*)
9579
9740
  # ret: void
9580
- def self.NavMoveRequestApplyResult()
9581
- ImGui_NavMoveRequestApplyResult()
9741
+ def self.AddSettingsHandler(handler)
9742
+ ImGui_AddSettingsHandler(handler)
9582
9743
  end
9583
9744
 
9584
- # arg: window(ImGuiWindow*), move_flags(ImGuiNavMoveFlags)
9745
+ # arg: type_name(const char*)
9585
9746
  # ret: void
9586
- def self.NavMoveRequestTryWrapping(window, move_flags)
9587
- ImGui_NavMoveRequestTryWrapping(window, move_flags)
9747
+ def self.RemoveSettingsHandler(type_name)
9748
+ ImGui_RemoveSettingsHandler(type_name)
9749
+ end
9750
+
9751
+ # arg: type_name(const char*)
9752
+ # ret: pointer
9753
+ def self.FindSettingsHandler(type_name)
9754
+ ImGui_FindSettingsHandler(type_name)
9755
+ end
9756
+
9757
+ # arg: name(const char*)
9758
+ # ret: pointer
9759
+ def self.CreateNewWindowSettings(name)
9760
+ ImGui_CreateNewWindowSettings(name)
9588
9761
  end
9589
9762
 
9590
9763
  # arg: id(ImGuiID)
9591
- # ret: void
9592
- def self.NavHighlightActivated(id)
9593
- ImGui_NavHighlightActivated(id)
9764
+ # ret: pointer
9765
+ def self.FindWindowSettingsByID(id)
9766
+ ImGui_FindWindowSettingsByID(id)
9594
9767
  end
9595
9768
 
9596
- # arg: axis(ImGuiAxis)
9597
- # ret: void
9598
- def self.NavClearPreferredPosForAxis(axis)
9599
- ImGui_NavClearPreferredPosForAxis(axis)
9769
+ # arg: window(ImGuiWindow*)
9770
+ # ret: pointer
9771
+ def self.FindWindowSettingsByWindow(window)
9772
+ ImGui_FindWindowSettingsByWindow(window)
9600
9773
  end
9601
9774
 
9775
+ # arg: name(const char*)
9602
9776
  # ret: void
9603
- def self.SetNavCursorVisibleAfterMove()
9604
- ImGui_SetNavCursorVisibleAfterMove()
9777
+ def self.ClearWindowSettings(name)
9778
+ ImGui_ClearWindowSettings(name)
9605
9779
  end
9606
9780
 
9781
+ # arg: entries(const ImGuiLocEntry*), count(int)
9607
9782
  # ret: void
9608
- def self.NavUpdateCurrentWindowIsScrollPushableX()
9609
- ImGui_NavUpdateCurrentWindowIsScrollPushableX()
9783
+ def self.LocalizeRegisterEntries(entries, count)
9784
+ ImGui_LocalizeRegisterEntries(entries, count)
9610
9785
  end
9611
9786
 
9612
- # arg: window(ImGuiWindow*)
9613
- # ret: void
9614
- def self.SetNavWindow(window)
9615
- ImGui_SetNavWindow(window)
9787
+ # arg: key(ImGuiLocKey)
9788
+ # ret: pointer
9789
+ def self.LocalizeGetMsg(key)
9790
+ ImGui_LocalizeGetMsg(key)
9616
9791
  end
9617
9792
 
9618
- # arg: id(ImGuiID), nav_layer(ImGuiNavLayer), focus_scope_id(ImGuiID), rect_rel(ImRect)
9793
+ # arg: flags(ImGuiScrollFlags)
9619
9794
  # ret: void
9620
- def self.SetNavID(id, nav_layer, focus_scope_id, rect_rel)
9621
- ImGui_SetNavID(id, nav_layer, focus_scope_id, rect_rel)
9795
+ def self.ScrollToItem(flags = 0)
9796
+ ImGui_ScrollToItem(flags)
9622
9797
  end
9623
9798
 
9624
- # arg: focus_scope_id(ImGuiID)
9799
+ # arg: window(ImGuiWindow*), rect(ImRect), flags(ImGuiScrollFlags)
9625
9800
  # ret: void
9626
- def self.SetNavFocusScope(focus_scope_id)
9627
- ImGui_SetNavFocusScope(focus_scope_id)
9801
+ def self.ScrollToRect(window, rect, flags = 0)
9802
+ ImGui_ScrollToRect(window, rect, flags)
9628
9803
  end
9629
9804
 
9630
- # ret: void
9631
- def self.FocusItem()
9632
- ImGui_FocusItem()
9805
+ # arg: window(ImGuiWindow*), rect(ImRect), flags(ImGuiScrollFlags)
9806
+ # ret: ImVec2.by_value
9807
+ def self.ScrollToRectEx(window, rect, flags = 0)
9808
+ ImGui_ScrollToRectEx(window, rect, flags)
9633
9809
  end
9634
9810
 
9635
- # arg: id(ImGuiID)
9811
+ # arg: window(ImGuiWindow*), rect(ImRect)
9636
9812
  # ret: void
9637
- def self.ActivateItemByID(id)
9638
- ImGui_ActivateItemByID(id)
9813
+ def self.ScrollToBringRectIntoView(window, rect)
9814
+ ImGui_ScrollToBringRectIntoView(window, rect)
9639
9815
  end
9640
9816
 
9641
- # arg: key(ImGuiKey)
9642
- # ret: bool
9643
- def self.IsNamedKey(key)
9644
- ImGui_IsNamedKey(key)
9817
+ # ret: int
9818
+ def self.GetItemStatusFlags()
9819
+ ImGui_GetItemStatusFlags()
9645
9820
  end
9646
9821
 
9647
- # arg: key(ImGuiKey)
9648
- # ret: bool
9649
- def self.IsNamedKeyOrMod(key)
9650
- ImGui_IsNamedKeyOrMod(key)
9822
+ # ret: uint
9823
+ def self.GetActiveID()
9824
+ ImGui_GetActiveID()
9651
9825
  end
9652
9826
 
9653
- # arg: key(ImGuiKey)
9654
- # ret: bool
9655
- def self.IsLegacyKey(key)
9656
- ImGui_IsLegacyKey(key)
9827
+ # ret: uint
9828
+ def self.GetFocusID()
9829
+ ImGui_GetFocusID()
9657
9830
  end
9658
9831
 
9659
- # arg: key(ImGuiKey)
9660
- # ret: bool
9661
- def self.IsKeyboardKey(key)
9662
- ImGui_IsKeyboardKey(key)
9832
+ # arg: id(ImGuiID), window(ImGuiWindow*)
9833
+ # ret: void
9834
+ def self.SetActiveID(id, window)
9835
+ ImGui_SetActiveID(id, window)
9663
9836
  end
9664
9837
 
9665
- # arg: key(ImGuiKey)
9666
- # ret: bool
9667
- def self.IsGamepadKey(key)
9668
- ImGui_IsGamepadKey(key)
9838
+ # arg: id(ImGuiID), window(ImGuiWindow*)
9839
+ # ret: void
9840
+ def self.SetFocusID(id, window)
9841
+ ImGui_SetFocusID(id, window)
9669
9842
  end
9670
9843
 
9671
- # arg: key(ImGuiKey)
9672
- # ret: bool
9673
- def self.IsMouseKey(key)
9674
- ImGui_IsMouseKey(key)
9844
+ # ret: void
9845
+ def self.ClearActiveID()
9846
+ ImGui_ClearActiveID()
9675
9847
  end
9676
9848
 
9677
- # arg: key(ImGuiKey)
9678
- # ret: bool
9679
- def self.IsAliasKey(key)
9680
- ImGui_IsAliasKey(key)
9849
+ # ret: uint
9850
+ def self.GetHoveredID()
9851
+ ImGui_GetHoveredID()
9681
9852
  end
9682
9853
 
9683
- # arg: key(ImGuiKey)
9684
- # ret: bool
9685
- def self.IsLRModKey(key)
9686
- ImGui_IsLRModKey(key)
9854
+ # arg: id(ImGuiID)
9855
+ # ret: void
9856
+ def self.SetHoveredID(id)
9857
+ ImGui_SetHoveredID(id)
9687
9858
  end
9688
9859
 
9689
- # arg: key_chord(ImGuiKeyChord)
9690
- # ret: int
9691
- def self.FixupKeyChord(key_chord)
9692
- ImGui_FixupKeyChord(key_chord)
9860
+ # arg: id(ImGuiID)
9861
+ # ret: void
9862
+ def self.KeepAliveID(id)
9863
+ ImGui_KeepAliveID(id)
9693
9864
  end
9694
9865
 
9695
- # arg: key(ImGuiKey)
9696
- # ret: int
9697
- def self.ConvertSingleModFlagToKey(key)
9698
- ImGui_ConvertSingleModFlagToKey(key)
9866
+ # arg: id(ImGuiID)
9867
+ # ret: void
9868
+ def self.MarkItemEdited(id)
9869
+ ImGui_MarkItemEdited(id)
9699
9870
  end
9700
9871
 
9701
- # arg: key_chord(ImGuiKeyChord)
9702
- # ret: pointer
9703
- def self.GetKeyChordName(key_chord)
9704
- ImGui_GetKeyChordName(key_chord)
9872
+ # arg: id(ImGuiID)
9873
+ # ret: void
9874
+ def self.PushOverrideID(id)
9875
+ ImGui_PushOverrideID(id)
9876
+ end
9877
+
9878
+ # arg: bb(ImRect), id(ImGuiID), item_flags(ImGuiItemFlags)
9879
+ # ret: bool
9880
+ def self.ItemHoverable(bb, id, item_flags)
9881
+ ImGui_ItemHoverable(bb, id, item_flags)
9882
+ end
9883
+
9884
+ # arg: window(ImGuiWindow*), flags(ImGuiHoveredFlags)
9885
+ # ret: bool
9886
+ def self.IsWindowContentHoverable(window, flags = 0)
9887
+ ImGui_IsWindowContentHoverable(window, flags)
9888
+ end
9889
+
9890
+ # arg: bb(ImRect), id(ImGuiID)
9891
+ # ret: bool
9892
+ def self.IsClippedEx(bb, id)
9893
+ ImGui_IsClippedEx(bb, id)
9705
9894
  end
9706
9895
 
9707
- # arg: button(ImGuiMouseButton)
9708
- # ret: int
9709
- def self.MouseButtonToKey(button)
9710
- ImGui_MouseButtonToKey(button)
9896
+ # arg: item_id(ImGuiID), item_flags(ImGuiItemFlags), status_flags(ImGuiItemStatusFlags), item_rect(ImRect)
9897
+ # ret: void
9898
+ def self.SetLastItemData(item_id, item_flags, status_flags, item_rect)
9899
+ ImGui_SetLastItemData(item_id, item_flags, status_flags, item_rect)
9711
9900
  end
9712
9901
 
9713
- # arg: key_left(ImGuiKey), key_right(ImGuiKey), key_up(ImGuiKey), key_down(ImGuiKey)
9902
+ # arg: size(ImVec2), default_w(float), default_h(float)
9714
9903
  # ret: ImVec2.by_value
9715
- def self.GetKeyMagnitude2d(key_left, key_right, key_up, key_down)
9716
- ImGui_GetKeyMagnitude2d(key_left, key_right, key_up, key_down)
9904
+ def self.CalcItemSize(size, default_w, default_h)
9905
+ ImGui_CalcItemSize(size, default_w, default_h)
9717
9906
  end
9718
9907
 
9719
- # arg: axis(ImGuiAxis)
9908
+ # arg: pos(ImVec2), wrap_pos_x(float)
9720
9909
  # ret: float
9721
- def self.GetNavTweakPressedAmount(axis)
9722
- ImGui_GetNavTweakPressedAmount(axis)
9910
+ def self.CalcWrapWidthForPos(pos, wrap_pos_x)
9911
+ ImGui_CalcWrapWidthForPos(pos, wrap_pos_x)
9723
9912
  end
9724
9913
 
9725
- # arg: t0(float), t1(float), repeat_delay(float), repeat_rate(float)
9726
- # ret: int
9727
- def self.CalcTypematicRepeatAmount(t0, t1, repeat_delay, repeat_rate)
9728
- ImGui_CalcTypematicRepeatAmount(t0, t1, repeat_delay, repeat_rate)
9914
+ # arg: components(int), width_full(float)
9915
+ # ret: void
9916
+ def self.PushMultiItemsWidths(components, width_full)
9917
+ ImGui_PushMultiItemsWidths(components, width_full)
9729
9918
  end
9730
9919
 
9731
- # arg: flags(ImGuiInputFlags), repeat_delay(float*), repeat_rate(float*)
9920
+ # arg: items(ImGuiShrinkWidthItem*), count(int), width_excess(float), width_min(float)
9732
9921
  # ret: void
9733
- def self.GetTypematicRepeatRate(flags, repeat_delay, repeat_rate)
9734
- ImGui_GetTypematicRepeatRate(flags, repeat_delay, repeat_rate)
9922
+ def self.ShrinkWidths(items, count, width_excess, width_min)
9923
+ ImGui_ShrinkWidths(items, count, width_excess, width_min)
9735
9924
  end
9736
9925
 
9737
- # arg: pos(ImVec2)
9926
+ # arg: clip_rect(ImRect), pos(ImVec2), items_height(float), out_visible_start(int*), out_visible_end(int*)
9738
9927
  # ret: void
9739
- def self.TeleportMousePos(pos)
9740
- ImGui_TeleportMousePos(pos)
9928
+ def self.CalcClipRectVisibleItemsY(clip_rect, pos, items_height, out_visible_start, out_visible_end)
9929
+ ImGui_CalcClipRectVisibleItemsY(clip_rect, pos, items_height, out_visible_start, out_visible_end)
9741
9930
  end
9742
9931
 
9743
- # ret: void
9744
- def self.SetActiveIdUsingAllKeyboardKeys()
9745
- ImGui_SetActiveIdUsingAllKeyboardKeys()
9932
+ # arg: idx(ImGuiStyleVar)
9933
+ # ret: pointer
9934
+ def self.GetStyleVarInfo(idx)
9935
+ ImGui_GetStyleVarInfo(idx)
9746
9936
  end
9747
9937
 
9748
- # arg: dir(ImGuiDir)
9749
- # ret: bool
9750
- def self.IsActiveIdUsingNavDir(dir)
9751
- ImGui_IsActiveIdUsingNavDir(dir)
9938
+ # ret: void
9939
+ def self.BeginDisabledOverrideReenable()
9940
+ ImGui_BeginDisabledOverrideReenable()
9752
9941
  end
9753
9942
 
9754
- # arg: key(ImGuiKey)
9755
- # ret: uint
9756
- def self.GetKeyOwner(key)
9757
- ImGui_GetKeyOwner(key)
9943
+ # ret: void
9944
+ def self.EndDisabledOverrideReenable()
9945
+ ImGui_EndDisabledOverrideReenable()
9758
9946
  end
9759
9947
 
9760
- # arg: key(ImGuiKey), owner_id(ImGuiID), flags(ImGuiInputFlags)
9948
+ # arg: flags(ImGuiLogFlags), auto_open_depth(int)
9761
9949
  # ret: void
9762
- def self.SetKeyOwner(key, owner_id, flags = 0)
9763
- ImGui_SetKeyOwner(key, owner_id, flags)
9950
+ def self.LogBegin(flags, auto_open_depth)
9951
+ ImGui_LogBegin(flags, auto_open_depth)
9764
9952
  end
9765
9953
 
9766
- # arg: key(ImGuiKeyChord), owner_id(ImGuiID), flags(ImGuiInputFlags)
9954
+ # arg: prefix(const char*), suffix(const char*)
9767
9955
  # ret: void
9768
- def self.SetKeyOwnersForKeyChord(key, owner_id, flags = 0)
9769
- ImGui_SetKeyOwnersForKeyChord(key, owner_id, flags)
9956
+ def self.LogSetNextTextDecoration(prefix, suffix)
9957
+ ImGui_LogSetNextTextDecoration(prefix, suffix)
9770
9958
  end
9771
9959
 
9772
- # arg: key(ImGuiKey), owner_id(ImGuiID)
9960
+ # arg: name(const char*), id(ImGuiID), size_arg(ImVec2), child_flags(ImGuiChildFlags), window_flags(ImGuiWindowFlags)
9773
9961
  # ret: bool
9774
- def self.TestKeyOwner(key, owner_id)
9775
- ImGui_TestKeyOwner(key, owner_id)
9962
+ def self.BeginChildEx(name, id, size_arg, child_flags, window_flags)
9963
+ ImGui_BeginChildEx(name, id, size_arg, child_flags, window_flags)
9776
9964
  end
9777
9965
 
9778
- # arg: ctx(ImGuiContext*), key(ImGuiKey)
9966
+ # arg: window(ImGuiWindow*)
9779
9967
  # ret: pointer
9780
- def self.GetKeyOwnerData(ctx, key)
9781
- ImGui_GetKeyOwnerData(ctx, key)
9968
+ def self.FindFrontMostVisibleChildWindow(window)
9969
+ ImGui_FindFrontMostVisibleChildWindow(window)
9782
9970
  end
9783
9971
 
9784
- # arg: key_chord(ImGuiKeyChord), flags(ImGuiInputFlags), owner_id(ImGuiID)
9972
+ # arg: id(ImGuiID), extra_window_flags(ImGuiWindowFlags)
9785
9973
  # ret: bool
9786
- def self.SetShortcutRouting(key_chord, flags, owner_id)
9787
- ImGui_SetShortcutRouting(key_chord, flags, owner_id)
9974
+ def self.BeginPopupEx(id, extra_window_flags)
9975
+ ImGui_BeginPopupEx(id, extra_window_flags)
9788
9976
  end
9789
9977
 
9790
- # arg: key_chord(ImGuiKeyChord), owner_id(ImGuiID)
9978
+ # arg: id(ImGuiID), label(const char*), extra_window_flags(ImGuiWindowFlags)
9791
9979
  # ret: bool
9792
- def self.TestShortcutRouting(key_chord, owner_id)
9793
- ImGui_TestShortcutRouting(key_chord, owner_id)
9794
- end
9795
-
9796
- # arg: key_chord(ImGuiKeyChord)
9797
- # ret: pointer
9798
- def self.GetShortcutRoutingData(key_chord)
9799
- ImGui_GetShortcutRoutingData(key_chord)
9800
- end
9801
-
9802
- # arg: ctx(ImGuiContext*)
9803
- # ret: void
9804
- def self.DockContextInitialize(ctx)
9805
- ImGui_DockContextInitialize(ctx)
9806
- end
9807
-
9808
- # arg: ctx(ImGuiContext*)
9809
- # ret: void
9810
- def self.DockContextShutdown(ctx)
9811
- ImGui_DockContextShutdown(ctx)
9980
+ def self.BeginPopupMenuEx(id, label, extra_window_flags)
9981
+ ImGui_BeginPopupMenuEx(id, label, extra_window_flags)
9812
9982
  end
9813
9983
 
9814
- # arg: ctx(ImGuiContext*), root_id(ImGuiID), clear_settings_refs(bool)
9984
+ # arg: remaining(int), restore_focus_to_window_under_popup(bool)
9815
9985
  # ret: void
9816
- def self.DockContextClearNodes(ctx, root_id, clear_settings_refs)
9817
- ImGui_DockContextClearNodes(ctx, root_id, clear_settings_refs)
9986
+ def self.ClosePopupToLevel(remaining, restore_focus_to_window_under_popup)
9987
+ ImGui_ClosePopupToLevel(remaining, restore_focus_to_window_under_popup)
9818
9988
  end
9819
9989
 
9820
- # arg: ctx(ImGuiContext*)
9990
+ # arg: ref_window(ImGuiWindow*), restore_focus_to_window_under_popup(bool)
9821
9991
  # ret: void
9822
- def self.DockContextRebuildNodes(ctx)
9823
- ImGui_DockContextRebuildNodes(ctx)
9992
+ def self.ClosePopupsOverWindow(ref_window, restore_focus_to_window_under_popup)
9993
+ ImGui_ClosePopupsOverWindow(ref_window, restore_focus_to_window_under_popup)
9824
9994
  end
9825
9995
 
9826
- # arg: ctx(ImGuiContext*)
9827
9996
  # ret: void
9828
- def self.DockContextNewFrameUpdateUndocking(ctx)
9829
- ImGui_DockContextNewFrameUpdateUndocking(ctx)
9997
+ def self.ClosePopupsExceptModals()
9998
+ ImGui_ClosePopupsExceptModals()
9830
9999
  end
9831
10000
 
9832
- # arg: ctx(ImGuiContext*)
9833
- # ret: void
9834
- def self.DockContextNewFrameUpdateDocking(ctx)
9835
- ImGui_DockContextNewFrameUpdateDocking(ctx)
10001
+ # arg: window(ImGuiWindow*)
10002
+ # ret: ImRect.by_value
10003
+ def self.GetPopupAllowedExtentRect(window)
10004
+ ImGui_GetPopupAllowedExtentRect(window)
9836
10005
  end
9837
10006
 
9838
- # arg: ctx(ImGuiContext*)
9839
- # ret: void
9840
- def self.DockContextEndFrame(ctx)
9841
- ImGui_DockContextEndFrame(ctx)
10007
+ # ret: pointer
10008
+ def self.GetTopMostPopupModal()
10009
+ ImGui_GetTopMostPopupModal()
9842
10010
  end
9843
10011
 
9844
- # arg: ctx(ImGuiContext*)
9845
- # ret: uint
9846
- def self.DockContextGenNodeID(ctx)
9847
- ImGui_DockContextGenNodeID(ctx)
10012
+ # ret: pointer
10013
+ def self.GetTopMostAndVisiblePopupModal()
10014
+ ImGui_GetTopMostAndVisiblePopupModal()
9848
10015
  end
9849
10016
 
9850
- # arg: ctx(ImGuiContext*), target(ImGuiWindow*), target_node(ImGuiDockNode*), payload(ImGuiWindow*), split_dir(ImGuiDir), split_ratio(float), split_outer(bool)
9851
- # ret: void
9852
- def self.DockContextQueueDock(ctx, target, target_node, payload, split_dir, split_ratio, split_outer)
9853
- ImGui_DockContextQueueDock(ctx, target, target_node, payload, split_dir, split_ratio, split_outer)
10017
+ # arg: window(ImGuiWindow*)
10018
+ # ret: pointer
10019
+ def self.FindBlockingModal(window)
10020
+ ImGui_FindBlockingModal(window)
9854
10021
  end
9855
10022
 
9856
- # arg: ctx(ImGuiContext*), window(ImGuiWindow*)
9857
- # ret: void
9858
- def self.DockContextQueueUndockWindow(ctx, window)
9859
- ImGui_DockContextQueueUndockWindow(ctx, window)
10023
+ # arg: window(ImGuiWindow*)
10024
+ # ret: ImVec2.by_value
10025
+ def self.FindBestWindowPosForPopup(window)
10026
+ ImGui_FindBestWindowPosForPopup(window)
9860
10027
  end
9861
10028
 
9862
- # arg: ctx(ImGuiContext*), node(ImGuiDockNode*)
9863
- # ret: void
9864
- def self.DockContextQueueUndockNode(ctx, node)
9865
- ImGui_DockContextQueueUndockNode(ctx, node)
10029
+ # arg: ref_pos(ImVec2), size(ImVec2), last_dir(ImGuiDir*), r_outer(ImRect), r_avoid(ImRect), policy(ImGuiPopupPositionPolicy)
10030
+ # ret: ImVec2.by_value
10031
+ def self.FindBestWindowPosForPopupEx(ref_pos, size, last_dir, r_outer, r_avoid, policy)
10032
+ ImGui_FindBestWindowPosForPopupEx(ref_pos, size, last_dir, r_outer, r_avoid, policy)
9866
10033
  end
9867
10034
 
9868
- # arg: ctx(ImGuiContext*), node(ImGuiDockNode*)
9869
- # ret: void
9870
- def self.DockContextProcessUndockNode(ctx, node)
9871
- ImGui_DockContextProcessUndockNode(ctx, node)
10035
+ # arg: flags(ImGuiPopupFlags)
10036
+ # ret: int
10037
+ def self.GetMouseButtonFromPopupFlags(flags)
10038
+ ImGui_GetMouseButtonFromPopupFlags(flags)
9872
10039
  end
9873
10040
 
9874
- # arg: target(ImGuiWindow*), target_node(ImGuiDockNode*), payload_window(ImGuiWindow*), payload_node(ImGuiDockNode*), split_dir(ImGuiDir), split_outer(bool), out_pos(ImVec2*)
10041
+ # arg: flags(ImGuiPopupFlags), id(ImGuiID)
9875
10042
  # ret: bool
9876
- def self.DockContextCalcDropPosForDocking(target, target_node, payload_window, payload_node, split_dir, split_outer, out_pos)
9877
- ImGui_DockContextCalcDropPosForDocking(target, target_node, payload_window, payload_node, split_dir, split_outer, out_pos)
10043
+ def self.IsPopupOpenRequestForItem(flags, id)
10044
+ ImGui_IsPopupOpenRequestForItem(flags, id)
9878
10045
  end
9879
10046
 
9880
- # arg: ctx(ImGuiContext*), id(ImGuiID)
9881
- # ret: pointer
9882
- def self.DockContextFindNodeByID(ctx, id)
9883
- ImGui_DockContextFindNodeByID(ctx, id)
10047
+ # arg: flags(ImGuiPopupFlags)
10048
+ # ret: bool
10049
+ def self.IsPopupOpenRequestForWindow(flags)
10050
+ ImGui_IsPopupOpenRequestForWindow(flags)
9884
10051
  end
9885
10052
 
9886
- # arg: ctx(ImGuiContext*), node(ImGuiDockNode*), tab_bar(ImGuiTabBar*)
9887
- # ret: void
9888
- def self.Default(ctx, node, tab_bar)
9889
- ImGui_DockNodeWindowMenuHandler_Default(ctx, node, tab_bar)
10053
+ # arg: tooltip_flags(ImGuiTooltipFlags), extra_window_flags(ImGuiWindowFlags)
10054
+ # ret: bool
10055
+ def self.BeginTooltipEx(tooltip_flags, extra_window_flags)
10056
+ ImGui_BeginTooltipEx(tooltip_flags, extra_window_flags)
9890
10057
  end
9891
10058
 
9892
- # arg: node(ImGuiDockNode*)
9893
10059
  # ret: bool
9894
- def self.DockNodeBeginAmendTabBar(node)
9895
- ImGui_DockNodeBeginAmendTabBar(node)
10060
+ def self.BeginTooltipHidden()
10061
+ ImGui_BeginTooltipHidden()
9896
10062
  end
9897
10063
 
9898
- # ret: void
9899
- def self.DockNodeEndAmendTabBar()
9900
- ImGui_DockNodeEndAmendTabBar()
10064
+ # arg: name(const char*), viewport(ImGuiViewport*), dir(ImGuiDir), size(float), window_flags(ImGuiWindowFlags)
10065
+ # ret: bool
10066
+ def self.BeginViewportSideBar(name, viewport, dir, size, window_flags)
10067
+ ImGui_BeginViewportSideBar(name, viewport, dir, size, window_flags)
9901
10068
  end
9902
10069
 
9903
- # arg: node(ImGuiDockNode*)
9904
- # ret: pointer
9905
- def self.DockNodeGetRootNode(node)
9906
- ImGui_DockNodeGetRootNode(node)
10070
+ # arg: popup_id(ImGuiID), bb(ImRect), flags(ImGuiComboFlags)
10071
+ # ret: bool
10072
+ def self.BeginComboPopup(popup_id, bb, flags)
10073
+ ImGui_BeginComboPopup(popup_id, bb, flags)
9907
10074
  end
9908
10075
 
9909
- # arg: node(ImGuiDockNode*), parent(ImGuiDockNode*)
9910
10076
  # ret: bool
9911
- def self.DockNodeIsInHierarchyOf(node, parent)
9912
- ImGui_DockNodeIsInHierarchyOf(node, parent)
10077
+ def self.BeginComboPreview()
10078
+ ImGui_BeginComboPreview()
9913
10079
  end
9914
10080
 
9915
- # arg: node(const ImGuiDockNode*)
9916
- # ret: int
9917
- def self.DockNodeGetDepth(node)
9918
- ImGui_DockNodeGetDepth(node)
10081
+ # ret: void
10082
+ def self.EndComboPreview()
10083
+ ImGui_EndComboPreview()
9919
10084
  end
9920
10085
 
9921
- # arg: node(const ImGuiDockNode*)
9922
- # ret: uint
9923
- def self.DockNodeGetWindowMenuButtonId(node)
9924
- ImGui_DockNodeGetWindowMenuButtonId(node)
10086
+ # arg: window(ImGuiWindow*), force_reinit(bool)
10087
+ # ret: void
10088
+ def self.NavInitWindow(window, force_reinit)
10089
+ ImGui_NavInitWindow(window, force_reinit)
9925
10090
  end
9926
10091
 
9927
- # ret: pointer
9928
- def self.GetWindowDockNode()
9929
- ImGui_GetWindowDockNode()
10092
+ # ret: void
10093
+ def self.NavInitRequestApplyResult()
10094
+ ImGui_NavInitRequestApplyResult()
9930
10095
  end
9931
10096
 
9932
- # arg: window(ImGuiWindow*)
9933
10097
  # ret: bool
9934
- def self.GetWindowAlwaysWantOwnTabBar(window)
9935
- ImGui_GetWindowAlwaysWantOwnTabBar(window)
10098
+ def self.NavMoveRequestButNoResultYet()
10099
+ ImGui_NavMoveRequestButNoResultYet()
9936
10100
  end
9937
10101
 
9938
- # arg: window(ImGuiWindow*), p_open(bool*)
10102
+ # arg: move_dir(ImGuiDir), clip_dir(ImGuiDir), move_flags(ImGuiNavMoveFlags), scroll_flags(ImGuiScrollFlags)
9939
10103
  # ret: void
9940
- def self.BeginDocked(window, p_open)
9941
- ImGui_BeginDocked(window, p_open)
10104
+ def self.NavMoveRequestSubmit(move_dir, clip_dir, move_flags, scroll_flags)
10105
+ ImGui_NavMoveRequestSubmit(move_dir, clip_dir, move_flags, scroll_flags)
9942
10106
  end
9943
10107
 
9944
- # arg: window(ImGuiWindow*)
10108
+ # arg: move_dir(ImGuiDir), clip_dir(ImGuiDir), move_flags(ImGuiNavMoveFlags), scroll_flags(ImGuiScrollFlags)
9945
10109
  # ret: void
9946
- def self.BeginDockableDragDropSource(window)
9947
- ImGui_BeginDockableDragDropSource(window)
10110
+ def self.NavMoveRequestForward(move_dir, clip_dir, move_flags, scroll_flags)
10111
+ ImGui_NavMoveRequestForward(move_dir, clip_dir, move_flags, scroll_flags)
9948
10112
  end
9949
10113
 
9950
- # arg: window(ImGuiWindow*)
10114
+ # arg: result(ImGuiNavItemData*)
9951
10115
  # ret: void
9952
- def self.BeginDockableDragDropTarget(window)
9953
- ImGui_BeginDockableDragDropTarget(window)
10116
+ def self.NavMoveRequestResolveWithLastItem(result)
10117
+ ImGui_NavMoveRequestResolveWithLastItem(result)
9954
10118
  end
9955
10119
 
9956
- # arg: window(ImGuiWindow*), dock_id(ImGuiID), cond(ImGuiCond)
10120
+ # arg: result(ImGuiNavItemData*), tree_node_data(const ImGuiTreeNodeStackData*)
9957
10121
  # ret: void
9958
- def self.SetWindowDock(window, dock_id, cond)
9959
- ImGui_SetWindowDock(window, dock_id, cond)
10122
+ def self.NavMoveRequestResolveWithPastTreeNode(result, tree_node_data)
10123
+ ImGui_NavMoveRequestResolveWithPastTreeNode(result, tree_node_data)
9960
10124
  end
9961
10125
 
9962
- # arg: window_name(const char*), node_id(ImGuiID)
9963
10126
  # ret: void
9964
- def self.DockBuilderDockWindow(window_name, node_id)
9965
- ImGui_DockBuilderDockWindow(window_name, node_id)
9966
- end
9967
-
9968
- # arg: node_id(ImGuiID)
9969
- # ret: pointer
9970
- def self.DockBuilderGetNode(node_id)
9971
- ImGui_DockBuilderGetNode(node_id)
10127
+ def self.NavMoveRequestCancel()
10128
+ ImGui_NavMoveRequestCancel()
9972
10129
  end
9973
10130
 
9974
- # arg: node_id(ImGuiID)
9975
- # ret: pointer
9976
- def self.DockBuilderGetCentralNode(node_id)
9977
- ImGui_DockBuilderGetCentralNode(node_id)
10131
+ # ret: void
10132
+ def self.NavMoveRequestApplyResult()
10133
+ ImGui_NavMoveRequestApplyResult()
9978
10134
  end
9979
10135
 
9980
- # arg: node_id(ImGuiID)
10136
+ # arg: window(ImGuiWindow*), move_flags(ImGuiNavMoveFlags)
9981
10137
  # ret: void
9982
- def self.DockBuilderRemoveNode(node_id)
9983
- ImGui_DockBuilderRemoveNode(node_id)
10138
+ def self.NavMoveRequestTryWrapping(window, move_flags)
10139
+ ImGui_NavMoveRequestTryWrapping(window, move_flags)
9984
10140
  end
9985
10141
 
9986
- # arg: node_id(ImGuiID)
10142
+ # arg: id(ImGuiID)
9987
10143
  # ret: void
9988
- def self.DockBuilderRemoveNodeChildNodes(node_id)
9989
- ImGui_DockBuilderRemoveNodeChildNodes(node_id)
10144
+ def self.NavHighlightActivated(id)
10145
+ ImGui_NavHighlightActivated(id)
9990
10146
  end
9991
10147
 
9992
- # arg: node_id(ImGuiID), pos(ImVec2)
10148
+ # arg: axis(ImGuiAxis)
9993
10149
  # ret: void
9994
- def self.DockBuilderSetNodePos(node_id, pos)
9995
- ImGui_DockBuilderSetNodePos(node_id, pos)
10150
+ def self.NavClearPreferredPosForAxis(axis)
10151
+ ImGui_NavClearPreferredPosForAxis(axis)
9996
10152
  end
9997
10153
 
9998
- # arg: node_id(ImGuiID), size(ImVec2)
9999
10154
  # ret: void
10000
- def self.DockBuilderSetNodeSize(node_id, size)
10001
- ImGui_DockBuilderSetNodeSize(node_id, size)
10155
+ def self.SetNavCursorVisibleAfterMove()
10156
+ ImGui_SetNavCursorVisibleAfterMove()
10002
10157
  end
10003
10158
 
10004
- # arg: node_id(ImGuiID), split_dir(ImGuiDir), size_ratio_for_node_at_dir(float), out_id_at_dir(ImGuiID*), out_id_at_opposite_dir(ImGuiID*)
10005
- # ret: uint
10006
- def self.DockBuilderSplitNode(node_id, split_dir, size_ratio_for_node_at_dir, out_id_at_dir, out_id_at_opposite_dir)
10007
- ImGui_DockBuilderSplitNode(node_id, split_dir, size_ratio_for_node_at_dir, out_id_at_dir, out_id_at_opposite_dir)
10159
+ # ret: void
10160
+ def self.NavUpdateCurrentWindowIsScrollPushableX()
10161
+ ImGui_NavUpdateCurrentWindowIsScrollPushableX()
10008
10162
  end
10009
10163
 
10010
- # arg: src_dockspace_id(ImGuiID), dst_dockspace_id(ImGuiID), in_window_remap_pairs(ImVector_const_charPtr*)
10164
+ # arg: window(ImGuiWindow*)
10011
10165
  # ret: void
10012
- def self.DockBuilderCopyDockSpace(src_dockspace_id, dst_dockspace_id, in_window_remap_pairs)
10013
- ImGui_DockBuilderCopyDockSpace(src_dockspace_id, dst_dockspace_id, in_window_remap_pairs)
10166
+ def self.SetNavWindow(window)
10167
+ ImGui_SetNavWindow(window)
10014
10168
  end
10015
10169
 
10016
- # arg: src_node_id(ImGuiID), dst_node_id(ImGuiID), out_node_remap_pairs(ImVector_ImGuiID*)
10170
+ # arg: id(ImGuiID), nav_layer(ImGuiNavLayer), focus_scope_id(ImGuiID), rect_rel(ImRect)
10017
10171
  # ret: void
10018
- def self.DockBuilderCopyNode(src_node_id, dst_node_id, out_node_remap_pairs)
10019
- ImGui_DockBuilderCopyNode(src_node_id, dst_node_id, out_node_remap_pairs)
10172
+ def self.SetNavID(id, nav_layer, focus_scope_id, rect_rel)
10173
+ ImGui_SetNavID(id, nav_layer, focus_scope_id, rect_rel)
10020
10174
  end
10021
10175
 
10022
- # arg: src_name(const char*), dst_name(const char*)
10176
+ # arg: focus_scope_id(ImGuiID)
10023
10177
  # ret: void
10024
- def self.DockBuilderCopyWindowSettings(src_name, dst_name)
10025
- ImGui_DockBuilderCopyWindowSettings(src_name, dst_name)
10178
+ def self.SetNavFocusScope(focus_scope_id)
10179
+ ImGui_SetNavFocusScope(focus_scope_id)
10026
10180
  end
10027
10181
 
10028
- # arg: node_id(ImGuiID)
10029
10182
  # ret: void
10030
- def self.DockBuilderFinish(node_id)
10031
- ImGui_DockBuilderFinish(node_id)
10183
+ def self.FocusItem()
10184
+ ImGui_FocusItem()
10032
10185
  end
10033
10186
 
10034
10187
  # arg: id(ImGuiID)
10035
10188
  # ret: void
10036
- def self.PushFocusScope(id)
10037
- ImGui_PushFocusScope(id)
10189
+ def self.ActivateItemByID(id)
10190
+ ImGui_ActivateItemByID(id)
10038
10191
  end
10039
10192
 
10040
- # ret: void
10041
- def self.PopFocusScope()
10042
- ImGui_PopFocusScope()
10193
+ # arg: key(ImGuiKey)
10194
+ # ret: bool
10195
+ def self.IsNamedKey(key)
10196
+ ImGui_IsNamedKey(key)
10043
10197
  end
10044
10198
 
10045
- # ret: uint
10046
- def self.GetCurrentFocusScope()
10047
- ImGui_GetCurrentFocusScope()
10199
+ # arg: key(ImGuiKey)
10200
+ # ret: bool
10201
+ def self.IsNamedKeyOrMod(key)
10202
+ ImGui_IsNamedKeyOrMod(key)
10048
10203
  end
10049
10204
 
10205
+ # arg: key(ImGuiKey)
10050
10206
  # ret: bool
10051
- def self.IsDragDropActive()
10052
- ImGui_IsDragDropActive()
10207
+ def self.IsLegacyKey(key)
10208
+ ImGui_IsLegacyKey(key)
10053
10209
  end
10054
10210
 
10055
- # arg: bb(ImRect), id(ImGuiID)
10211
+ # arg: key(ImGuiKey)
10056
10212
  # ret: bool
10057
- def self.BeginDragDropTargetCustom(bb, id)
10058
- ImGui_BeginDragDropTargetCustom(bb, id)
10213
+ def self.IsKeyboardKey(key)
10214
+ ImGui_IsKeyboardKey(key)
10059
10215
  end
10060
10216
 
10061
- # ret: void
10062
- def self.ClearDragDrop()
10063
- ImGui_ClearDragDrop()
10217
+ # arg: key(ImGuiKey)
10218
+ # ret: bool
10219
+ def self.IsGamepadKey(key)
10220
+ ImGui_IsGamepadKey(key)
10064
10221
  end
10065
10222
 
10223
+ # arg: key(ImGuiKey)
10066
10224
  # ret: bool
10067
- def self.IsDragDropPayloadBeingAccepted()
10068
- ImGui_IsDragDropPayloadBeingAccepted()
10225
+ def self.IsMouseKey(key)
10226
+ ImGui_IsMouseKey(key)
10069
10227
  end
10070
10228
 
10071
- # arg: bb(ImRect)
10072
- # ret: void
10073
- def self.RenderDragDropTargetRectForItem(bb)
10074
- ImGui_RenderDragDropTargetRectForItem(bb)
10229
+ # arg: key(ImGuiKey)
10230
+ # ret: bool
10231
+ def self.IsAliasKey(key)
10232
+ ImGui_IsAliasKey(key)
10075
10233
  end
10076
10234
 
10077
- # arg: draw_list(ImDrawList*), bb(ImRect)
10078
- # ret: void
10079
- def self.RenderDragDropTargetRectEx(draw_list, bb)
10080
- ImGui_RenderDragDropTargetRectEx(draw_list, bb)
10235
+ # arg: key(ImGuiKey)
10236
+ # ret: bool
10237
+ def self.IsLRModKey(key)
10238
+ ImGui_IsLRModKey(key)
10081
10239
  end
10082
10240
 
10083
- # arg: req(ImGuiTypingSelectRequest*), items_count(int), get_item_name_func(const char* (*get_item_name_func)(void*, int)), user_data(void*), nav_item_idx(int)
10241
+ # arg: key_chord(ImGuiKeyChord)
10084
10242
  # ret: int
10085
- def self.TypingSelectFindMatch(req, items_count, get_item_name_func, user_data, nav_item_idx)
10086
- ImGui_TypingSelectFindMatch(req, items_count, get_item_name_func, user_data, nav_item_idx)
10243
+ def self.FixupKeyChord(key_chord)
10244
+ ImGui_FixupKeyChord(key_chord)
10087
10245
  end
10088
10246
 
10089
- # arg: req(ImGuiTypingSelectRequest*), items_count(int), get_item_name_func(const char* (*get_item_name_func)(void*, int)), user_data(void*), nav_item_idx(int)
10247
+ # arg: key(ImGuiKey)
10090
10248
  # ret: int
10091
- def self.TypingSelectFindNextSingleCharMatch(req, items_count, get_item_name_func, user_data, nav_item_idx)
10092
- ImGui_TypingSelectFindNextSingleCharMatch(req, items_count, get_item_name_func, user_data, nav_item_idx)
10249
+ def self.ConvertSingleModFlagToKey(key)
10250
+ ImGui_ConvertSingleModFlagToKey(key)
10093
10251
  end
10094
10252
 
10095
- # arg: req(ImGuiTypingSelectRequest*), items_count(int), get_item_name_func(const char* (*get_item_name_func)(void*, int)), user_data(void*)
10253
+ # arg: key_chord(ImGuiKeyChord)
10254
+ # ret: pointer
10255
+ def self.GetKeyChordName(key_chord)
10256
+ ImGui_GetKeyChordName(key_chord)
10257
+ end
10258
+
10259
+ # arg: button(ImGuiMouseButton)
10096
10260
  # ret: int
10097
- def self.TypingSelectFindBestLeadingMatch(req, items_count, get_item_name_func, user_data)
10098
- ImGui_TypingSelectFindBestLeadingMatch(req, items_count, get_item_name_func, user_data)
10261
+ def self.MouseButtonToKey(button)
10262
+ ImGui_MouseButtonToKey(button)
10099
10263
  end
10100
10264
 
10101
- # arg: scope_rect(ImRect), window(ImGuiWindow*), box_select_id(ImGuiID), ms_flags(ImGuiMultiSelectFlags)
10102
- # ret: bool
10103
- def self.BeginBoxSelect(scope_rect, window, box_select_id, ms_flags)
10104
- ImGui_BeginBoxSelect(scope_rect, window, box_select_id, ms_flags)
10265
+ # arg: key_left(ImGuiKey), key_right(ImGuiKey), key_up(ImGuiKey), key_down(ImGuiKey)
10266
+ # ret: ImVec2.by_value
10267
+ def self.GetKeyMagnitude2d(key_left, key_right, key_up, key_down)
10268
+ ImGui_GetKeyMagnitude2d(key_left, key_right, key_up, key_down)
10105
10269
  end
10106
10270
 
10107
- # arg: scope_rect(ImRect), ms_flags(ImGuiMultiSelectFlags)
10271
+ # arg: axis(ImGuiAxis)
10272
+ # ret: float
10273
+ def self.GetNavTweakPressedAmount(axis)
10274
+ ImGui_GetNavTweakPressedAmount(axis)
10275
+ end
10276
+
10277
+ # arg: t0(float), t1(float), repeat_delay(float), repeat_rate(float)
10278
+ # ret: int
10279
+ def self.CalcTypematicRepeatAmount(t0, t1, repeat_delay, repeat_rate)
10280
+ ImGui_CalcTypematicRepeatAmount(t0, t1, repeat_delay, repeat_rate)
10281
+ end
10282
+
10283
+ # arg: flags(ImGuiInputFlags), repeat_delay(float*), repeat_rate(float*)
10108
10284
  # ret: void
10109
- def self.EndBoxSelect(scope_rect, ms_flags)
10110
- ImGui_EndBoxSelect(scope_rect, ms_flags)
10285
+ def self.GetTypematicRepeatRate(flags, repeat_delay, repeat_rate)
10286
+ ImGui_GetTypematicRepeatRate(flags, repeat_delay, repeat_rate)
10111
10287
  end
10112
10288
 
10113
- # arg: id(ImGuiID), p_selected(bool*), p_button_flags(ImGuiButtonFlags*)
10289
+ # arg: pos(ImVec2)
10114
10290
  # ret: void
10115
- def self.MultiSelectItemHeader(id, p_selected, p_button_flags)
10116
- ImGui_MultiSelectItemHeader(id, p_selected, p_button_flags)
10291
+ def self.TeleportMousePos(pos)
10292
+ ImGui_TeleportMousePos(pos)
10117
10293
  end
10118
10294
 
10119
- # arg: id(ImGuiID), p_selected(bool*), p_pressed(bool*)
10120
10295
  # ret: void
10121
- def self.MultiSelectItemFooter(id, p_selected, p_pressed)
10122
- ImGui_MultiSelectItemFooter(id, p_selected, p_pressed)
10296
+ def self.SetActiveIdUsingAllKeyboardKeys()
10297
+ ImGui_SetActiveIdUsingAllKeyboardKeys()
10123
10298
  end
10124
10299
 
10125
- # arg: ms(ImGuiMultiSelectTempData*), selected(bool)
10300
+ # arg: dir(ImGuiDir)
10301
+ # ret: bool
10302
+ def self.IsActiveIdUsingNavDir(dir)
10303
+ ImGui_IsActiveIdUsingNavDir(dir)
10304
+ end
10305
+
10306
+ # arg: key(ImGuiKey)
10307
+ # ret: uint
10308
+ def self.GetKeyOwner(key)
10309
+ ImGui_GetKeyOwner(key)
10310
+ end
10311
+
10312
+ # arg: key(ImGuiKey), owner_id(ImGuiID), flags(ImGuiInputFlags)
10126
10313
  # ret: void
10127
- def self.MultiSelectAddSetAll(ms, selected)
10128
- ImGui_MultiSelectAddSetAll(ms, selected)
10314
+ def self.SetKeyOwner(key, owner_id, flags = 0)
10315
+ ImGui_SetKeyOwner(key, owner_id, flags)
10129
10316
  end
10130
10317
 
10131
- # arg: ms(ImGuiMultiSelectTempData*), selected(bool), range_dir(int), first_item(ImGuiSelectionUserData), last_item(ImGuiSelectionUserData)
10318
+ # arg: key(ImGuiKeyChord), owner_id(ImGuiID), flags(ImGuiInputFlags)
10132
10319
  # ret: void
10133
- def self.MultiSelectAddSetRange(ms, selected, range_dir, first_item, last_item)
10134
- ImGui_MultiSelectAddSetRange(ms, selected, range_dir, first_item, last_item)
10320
+ def self.SetKeyOwnersForKeyChord(key, owner_id, flags = 0)
10321
+ ImGui_SetKeyOwnersForKeyChord(key, owner_id, flags)
10135
10322
  end
10136
10323
 
10137
- # arg: id(ImGuiID)
10324
+ # arg: key(ImGuiKey), owner_id(ImGuiID)
10325
+ # ret: bool
10326
+ def self.TestKeyOwner(key, owner_id)
10327
+ ImGui_TestKeyOwner(key, owner_id)
10328
+ end
10329
+
10330
+ # arg: ctx(ImGuiContext*), key(ImGuiKey)
10138
10331
  # ret: pointer
10139
- def self.GetBoxSelectState(id)
10140
- ImGui_GetBoxSelectState(id)
10332
+ def self.GetKeyOwnerData(ctx, key)
10333
+ ImGui_GetKeyOwnerData(ctx, key)
10334
+ end
10335
+
10336
+ # arg: key_chord(ImGuiKeyChord), flags(ImGuiInputFlags), owner_id(ImGuiID)
10337
+ # ret: bool
10338
+ def self.SetShortcutRouting(key_chord, flags, owner_id)
10339
+ ImGui_SetShortcutRouting(key_chord, flags, owner_id)
10340
+ end
10341
+
10342
+ # arg: key_chord(ImGuiKeyChord), owner_id(ImGuiID)
10343
+ # ret: bool
10344
+ def self.TestShortcutRouting(key_chord, owner_id)
10345
+ ImGui_TestShortcutRouting(key_chord, owner_id)
10141
10346
  end
10142
10347
 
10143
- # arg: id(ImGuiID)
10348
+ # arg: key_chord(ImGuiKeyChord)
10144
10349
  # ret: pointer
10145
- def self.GetMultiSelectState(id)
10146
- ImGui_GetMultiSelectState(id)
10350
+ def self.GetShortcutRoutingData(key_chord)
10351
+ ImGui_GetShortcutRoutingData(key_chord)
10147
10352
  end
10148
10353
 
10149
- # arg: window(ImGuiWindow*), clip_rect(ImRect)
10354
+ # arg: ctx(ImGuiContext*)
10150
10355
  # ret: void
10151
- def self.SetWindowClipRectBeforeSetChannel(window, clip_rect)
10152
- ImGui_SetWindowClipRectBeforeSetChannel(window, clip_rect)
10356
+ def self.DockContextInitialize(ctx)
10357
+ ImGui_DockContextInitialize(ctx)
10153
10358
  end
10154
10359
 
10155
- # arg: str_id(const char*), count(int), flags(ImGuiOldColumnFlags)
10360
+ # arg: ctx(ImGuiContext*)
10156
10361
  # ret: void
10157
- def self.BeginColumns(str_id, count, flags = 0)
10158
- ImGui_BeginColumns(str_id, count, flags)
10362
+ def self.DockContextShutdown(ctx)
10363
+ ImGui_DockContextShutdown(ctx)
10159
10364
  end
10160
10365
 
10366
+ # arg: ctx(ImGuiContext*), root_id(ImGuiID), clear_settings_refs(bool)
10161
10367
  # ret: void
10162
- def self.EndColumns()
10163
- ImGui_EndColumns()
10368
+ def self.DockContextClearNodes(ctx, root_id, clear_settings_refs)
10369
+ ImGui_DockContextClearNodes(ctx, root_id, clear_settings_refs)
10164
10370
  end
10165
10371
 
10166
- # arg: column_index(int)
10372
+ # arg: ctx(ImGuiContext*)
10167
10373
  # ret: void
10168
- def self.PushColumnClipRect(column_index)
10169
- ImGui_PushColumnClipRect(column_index)
10374
+ def self.DockContextRebuildNodes(ctx)
10375
+ ImGui_DockContextRebuildNodes(ctx)
10170
10376
  end
10171
10377
 
10378
+ # arg: ctx(ImGuiContext*)
10172
10379
  # ret: void
10173
- def self.PushColumnsBackground()
10174
- ImGui_PushColumnsBackground()
10380
+ def self.DockContextNewFrameUpdateUndocking(ctx)
10381
+ ImGui_DockContextNewFrameUpdateUndocking(ctx)
10175
10382
  end
10176
10383
 
10384
+ # arg: ctx(ImGuiContext*)
10177
10385
  # ret: void
10178
- def self.PopColumnsBackground()
10179
- ImGui_PopColumnsBackground()
10180
- end
10181
-
10182
- # arg: str_id(const char*), count(int)
10183
- # ret: uint
10184
- def self.GetColumnsID(str_id, count)
10185
- ImGui_GetColumnsID(str_id, count)
10386
+ def self.DockContextNewFrameUpdateDocking(ctx)
10387
+ ImGui_DockContextNewFrameUpdateDocking(ctx)
10186
10388
  end
10187
10389
 
10188
- # arg: window(ImGuiWindow*), id(ImGuiID)
10189
- # ret: pointer
10190
- def self.FindOrCreateColumns(window, id)
10191
- ImGui_FindOrCreateColumns(window, id)
10390
+ # arg: ctx(ImGuiContext*)
10391
+ # ret: void
10392
+ def self.DockContextEndFrame(ctx)
10393
+ ImGui_DockContextEndFrame(ctx)
10192
10394
  end
10193
10395
 
10194
- # arg: columns(const ImGuiOldColumns*), offset_norm(float)
10195
- # ret: float
10196
- def self.GetColumnOffsetFromNorm(columns, offset_norm)
10197
- ImGui_GetColumnOffsetFromNorm(columns, offset_norm)
10396
+ # arg: ctx(ImGuiContext*)
10397
+ # ret: uint
10398
+ def self.DockContextGenNodeID(ctx)
10399
+ ImGui_DockContextGenNodeID(ctx)
10198
10400
  end
10199
10401
 
10200
- # arg: columns(const ImGuiOldColumns*), offset(float)
10201
- # ret: float
10202
- def self.GetColumnNormFromOffset(columns, offset)
10203
- ImGui_GetColumnNormFromOffset(columns, offset)
10402
+ # arg: ctx(ImGuiContext*), target(ImGuiWindow*), target_node(ImGuiDockNode*), payload(ImGuiWindow*), split_dir(ImGuiDir), split_ratio(float), split_outer(bool)
10403
+ # ret: void
10404
+ def self.DockContextQueueDock(ctx, target, target_node, payload, split_dir, split_ratio, split_outer)
10405
+ ImGui_DockContextQueueDock(ctx, target, target_node, payload, split_dir, split_ratio, split_outer)
10204
10406
  end
10205
10407
 
10206
- # arg: column_n(int), width(float)
10408
+ # arg: ctx(ImGuiContext*), window(ImGuiWindow*)
10207
10409
  # ret: void
10208
- def self.TableSetColumnWidth(column_n, width)
10209
- ImGui_TableSetColumnWidth(column_n, width)
10410
+ def self.DockContextQueueUndockWindow(ctx, window)
10411
+ ImGui_DockContextQueueUndockWindow(ctx, window)
10210
10412
  end
10211
10413
 
10212
- # arg: column_n(int), sort_direction(ImGuiSortDirection), append_to_sort_specs(bool)
10414
+ # arg: ctx(ImGuiContext*), node(ImGuiDockNode*)
10213
10415
  # ret: void
10214
- def self.TableSetColumnSortDirection(column_n, sort_direction, append_to_sort_specs)
10215
- ImGui_TableSetColumnSortDirection(column_n, sort_direction, append_to_sort_specs)
10416
+ def self.DockContextQueueUndockNode(ctx, node)
10417
+ ImGui_DockContextQueueUndockNode(ctx, node)
10216
10418
  end
10217
10419
 
10218
- # ret: int
10219
- def self.TableGetHoveredRow()
10220
- ImGui_TableGetHoveredRow()
10420
+ # arg: ctx(ImGuiContext*), node(ImGuiDockNode*)
10421
+ # ret: void
10422
+ def self.DockContextProcessUndockNode(ctx, node)
10423
+ ImGui_DockContextProcessUndockNode(ctx, node)
10221
10424
  end
10222
10425
 
10223
- # ret: float
10224
- def self.TableGetHeaderRowHeight()
10225
- ImGui_TableGetHeaderRowHeight()
10426
+ # arg: target(ImGuiWindow*), target_node(ImGuiDockNode*), payload_window(ImGuiWindow*), payload_node(ImGuiDockNode*), split_dir(ImGuiDir), split_outer(bool), out_pos(ImVec2*)
10427
+ # ret: bool
10428
+ def self.DockContextCalcDropPosForDocking(target, target_node, payload_window, payload_node, split_dir, split_outer, out_pos)
10429
+ ImGui_DockContextCalcDropPosForDocking(target, target_node, payload_window, payload_node, split_dir, split_outer, out_pos)
10226
10430
  end
10227
10431
 
10228
- # ret: float
10229
- def self.TableGetHeaderAngledMaxLabelWidth()
10230
- ImGui_TableGetHeaderAngledMaxLabelWidth()
10432
+ # arg: ctx(ImGuiContext*), id(ImGuiID)
10433
+ # ret: pointer
10434
+ def self.DockContextFindNodeByID(ctx, id)
10435
+ ImGui_DockContextFindNodeByID(ctx, id)
10231
10436
  end
10232
10437
 
10438
+ # arg: ctx(ImGuiContext*), node(ImGuiDockNode*), tab_bar(ImGuiTabBar*)
10233
10439
  # ret: void
10234
- def self.TablePushBackgroundChannel()
10235
- ImGui_TablePushBackgroundChannel()
10440
+ def self.Default(ctx, node, tab_bar)
10441
+ ImGui_DockNodeWindowMenuHandler_Default(ctx, node, tab_bar)
10236
10442
  end
10237
10443
 
10238
- # ret: void
10239
- def self.TablePopBackgroundChannel()
10240
- ImGui_TablePopBackgroundChannel()
10444
+ # arg: node(ImGuiDockNode*)
10445
+ # ret: bool
10446
+ def self.DockNodeBeginAmendTabBar(node)
10447
+ ImGui_DockNodeBeginAmendTabBar(node)
10241
10448
  end
10242
10449
 
10243
- # arg: column_n(int)
10244
10450
  # ret: void
10245
- def self.TablePushColumnChannel(column_n)
10246
- ImGui_TablePushColumnChannel(column_n)
10451
+ def self.DockNodeEndAmendTabBar()
10452
+ ImGui_DockNodeEndAmendTabBar()
10247
10453
  end
10248
10454
 
10249
- # ret: void
10250
- def self.TablePopColumnChannel()
10251
- ImGui_TablePopColumnChannel()
10455
+ # arg: node(ImGuiDockNode*)
10456
+ # ret: pointer
10457
+ def self.DockNodeGetRootNode(node)
10458
+ ImGui_DockNodeGetRootNode(node)
10252
10459
  end
10253
10460
 
10254
- # arg: row_id(ImGuiID), angle(float), max_label_width(float), data(const ImGuiTableHeaderData*), data_count(int)
10255
- # ret: void
10256
- def self.TableAngledHeadersRowEx(row_id, angle, max_label_width, data, data_count)
10257
- ImGui_TableAngledHeadersRowEx(row_id, angle, max_label_width, data, data_count)
10461
+ # arg: node(ImGuiDockNode*), parent(ImGuiDockNode*)
10462
+ # ret: bool
10463
+ def self.DockNodeIsInHierarchyOf(node, parent)
10464
+ ImGui_DockNodeIsInHierarchyOf(node, parent)
10258
10465
  end
10259
10466
 
10260
- # ret: pointer
10261
- def self.GetCurrentTable()
10262
- ImGui_GetCurrentTable()
10467
+ # arg: node(const ImGuiDockNode*)
10468
+ # ret: int
10469
+ def self.DockNodeGetDepth(node)
10470
+ ImGui_DockNodeGetDepth(node)
10263
10471
  end
10264
10472
 
10265
- # arg: id(ImGuiID)
10266
- # ret: pointer
10267
- def self.TableFindByID(id)
10268
- ImGui_TableFindByID(id)
10473
+ # arg: node(const ImGuiDockNode*)
10474
+ # ret: uint
10475
+ def self.DockNodeGetWindowMenuButtonId(node)
10476
+ ImGui_DockNodeGetWindowMenuButtonId(node)
10269
10477
  end
10270
10478
 
10271
- # arg: table(ImGuiTable*), columns_count(int)
10272
- # ret: void
10273
- def self.TableBeginInitMemory(table, columns_count)
10274
- ImGui_TableBeginInitMemory(table, columns_count)
10479
+ # ret: pointer
10480
+ def self.GetWindowDockNode()
10481
+ ImGui_GetWindowDockNode()
10275
10482
  end
10276
10483
 
10277
- # arg: table(ImGuiTable*)
10278
- # ret: void
10279
- def self.TableBeginApplyRequests(table)
10280
- ImGui_TableBeginApplyRequests(table)
10484
+ # arg: window(ImGuiWindow*)
10485
+ # ret: bool
10486
+ def self.GetWindowAlwaysWantOwnTabBar(window)
10487
+ ImGui_GetWindowAlwaysWantOwnTabBar(window)
10281
10488
  end
10282
10489
 
10283
- # arg: table(ImGuiTable*)
10490
+ # arg: window(ImGuiWindow*), p_open(bool*)
10284
10491
  # ret: void
10285
- def self.TableSetupDrawChannels(table)
10286
- ImGui_TableSetupDrawChannels(table)
10492
+ def self.BeginDocked(window, p_open)
10493
+ ImGui_BeginDocked(window, p_open)
10287
10494
  end
10288
10495
 
10289
- # arg: table(ImGuiTable*)
10496
+ # arg: window(ImGuiWindow*)
10290
10497
  # ret: void
10291
- def self.TableUpdateLayout(table)
10292
- ImGui_TableUpdateLayout(table)
10498
+ def self.BeginDockableDragDropSource(window)
10499
+ ImGui_BeginDockableDragDropSource(window)
10293
10500
  end
10294
10501
 
10295
- # arg: table(ImGuiTable*)
10502
+ # arg: window(ImGuiWindow*)
10296
10503
  # ret: void
10297
- def self.TableUpdateBorders(table)
10298
- ImGui_TableUpdateBorders(table)
10504
+ def self.BeginDockableDragDropTarget(window)
10505
+ ImGui_BeginDockableDragDropTarget(window)
10299
10506
  end
10300
10507
 
10301
- # arg: table(ImGuiTable*)
10508
+ # arg: window(ImGuiWindow*), dock_id(ImGuiID), cond(ImGuiCond)
10302
10509
  # ret: void
10303
- def self.TableUpdateColumnsWeightFromWidth(table)
10304
- ImGui_TableUpdateColumnsWeightFromWidth(table)
10510
+ def self.SetWindowDock(window, dock_id, cond)
10511
+ ImGui_SetWindowDock(window, dock_id, cond)
10305
10512
  end
10306
10513
 
10307
- # arg: table(ImGuiTable*)
10514
+ # arg: window_name(const char*), node_id(ImGuiID)
10308
10515
  # ret: void
10309
- def self.TableDrawBorders(table)
10310
- ImGui_TableDrawBorders(table)
10516
+ def self.DockBuilderDockWindow(window_name, node_id)
10517
+ ImGui_DockBuilderDockWindow(window_name, node_id)
10311
10518
  end
10312
10519
 
10313
- # arg: table(ImGuiTable*), flags_for_section_to_display(ImGuiTableFlags)
10314
- # ret: void
10315
- def self.TableDrawDefaultContextMenu(table, flags_for_section_to_display)
10316
- ImGui_TableDrawDefaultContextMenu(table, flags_for_section_to_display)
10520
+ # arg: node_id(ImGuiID)
10521
+ # ret: pointer
10522
+ def self.DockBuilderGetNode(node_id)
10523
+ ImGui_DockBuilderGetNode(node_id)
10317
10524
  end
10318
10525
 
10319
- # arg: table(ImGuiTable*)
10320
- # ret: bool
10321
- def self.TableBeginContextMenuPopup(table)
10322
- ImGui_TableBeginContextMenuPopup(table)
10526
+ # arg: node_id(ImGuiID)
10527
+ # ret: pointer
10528
+ def self.DockBuilderGetCentralNode(node_id)
10529
+ ImGui_DockBuilderGetCentralNode(node_id)
10323
10530
  end
10324
10531
 
10325
- # arg: table(ImGuiTable*)
10532
+ # arg: node_id(ImGuiID)
10326
10533
  # ret: void
10327
- def self.TableMergeDrawChannels(table)
10328
- ImGui_TableMergeDrawChannels(table)
10534
+ def self.DockBuilderRemoveNode(node_id)
10535
+ ImGui_DockBuilderRemoveNode(node_id)
10329
10536
  end
10330
10537
 
10331
- # arg: table(ImGuiTable*), instance_no(int)
10332
- # ret: pointer
10333
- def self.TableGetInstanceData(table, instance_no)
10334
- ImGui_TableGetInstanceData(table, instance_no)
10538
+ # arg: node_id(ImGuiID)
10539
+ # ret: void
10540
+ def self.DockBuilderRemoveNodeChildNodes(node_id)
10541
+ ImGui_DockBuilderRemoveNodeChildNodes(node_id)
10335
10542
  end
10336
10543
 
10337
- # arg: table(ImGuiTable*), instance_no(int)
10338
- # ret: uint
10339
- def self.TableGetInstanceID(table, instance_no)
10340
- ImGui_TableGetInstanceID(table, instance_no)
10544
+ # arg: node_id(ImGuiID), pos(ImVec2)
10545
+ # ret: void
10546
+ def self.DockBuilderSetNodePos(node_id, pos)
10547
+ ImGui_DockBuilderSetNodePos(node_id, pos)
10341
10548
  end
10342
10549
 
10343
- # arg: table(ImGuiTable*)
10550
+ # arg: node_id(ImGuiID), size(ImVec2)
10344
10551
  # ret: void
10345
- def self.TableFixDisplayOrder(table)
10346
- ImGui_TableFixDisplayOrder(table)
10552
+ def self.DockBuilderSetNodeSize(node_id, size)
10553
+ ImGui_DockBuilderSetNodeSize(node_id, size)
10347
10554
  end
10348
10555
 
10349
- # arg: table(ImGuiTable*)
10350
- # ret: void
10351
- def self.TableSortSpecsSanitize(table)
10352
- ImGui_TableSortSpecsSanitize(table)
10556
+ # arg: node_id(ImGuiID), split_dir(ImGuiDir), size_ratio_for_node_at_dir(float), out_id_at_dir(ImGuiID*), out_id_at_opposite_dir(ImGuiID*)
10557
+ # ret: uint
10558
+ def self.DockBuilderSplitNode(node_id, split_dir, size_ratio_for_node_at_dir, out_id_at_dir, out_id_at_opposite_dir)
10559
+ ImGui_DockBuilderSplitNode(node_id, split_dir, size_ratio_for_node_at_dir, out_id_at_dir, out_id_at_opposite_dir)
10353
10560
  end
10354
10561
 
10355
- # arg: table(ImGuiTable*)
10562
+ # arg: src_dockspace_id(ImGuiID), dst_dockspace_id(ImGuiID), in_window_remap_pairs(ImVector_const_charPtr*)
10356
10563
  # ret: void
10357
- def self.TableSortSpecsBuild(table)
10358
- ImGui_TableSortSpecsBuild(table)
10564
+ def self.DockBuilderCopyDockSpace(src_dockspace_id, dst_dockspace_id, in_window_remap_pairs)
10565
+ ImGui_DockBuilderCopyDockSpace(src_dockspace_id, dst_dockspace_id, in_window_remap_pairs)
10359
10566
  end
10360
10567
 
10361
- # arg: column(ImGuiTableColumn*)
10362
- # ret: uchar
10363
- def self.TableGetColumnNextSortDirection(column)
10364
- ImGui_TableGetColumnNextSortDirection(column)
10568
+ # arg: src_node_id(ImGuiID), dst_node_id(ImGuiID), out_node_remap_pairs(ImVector_ImGuiID*)
10569
+ # ret: void
10570
+ def self.DockBuilderCopyNode(src_node_id, dst_node_id, out_node_remap_pairs)
10571
+ ImGui_DockBuilderCopyNode(src_node_id, dst_node_id, out_node_remap_pairs)
10365
10572
  end
10366
10573
 
10367
- # arg: table(ImGuiTable*), column(ImGuiTableColumn*)
10574
+ # arg: src_name(const char*), dst_name(const char*)
10368
10575
  # ret: void
10369
- def self.TableFixColumnSortDirection(table, column)
10370
- ImGui_TableFixColumnSortDirection(table, column)
10576
+ def self.DockBuilderCopyWindowSettings(src_name, dst_name)
10577
+ ImGui_DockBuilderCopyWindowSettings(src_name, dst_name)
10371
10578
  end
10372
10579
 
10373
- # arg: table(ImGuiTable*), column(ImGuiTableColumn*)
10374
- # ret: float
10375
- def self.TableGetColumnWidthAuto(table, column)
10376
- ImGui_TableGetColumnWidthAuto(table, column)
10580
+ # arg: node_id(ImGuiID)
10581
+ # ret: void
10582
+ def self.DockBuilderFinish(node_id)
10583
+ ImGui_DockBuilderFinish(node_id)
10377
10584
  end
10378
10585
 
10379
- # arg: table(ImGuiTable*)
10586
+ # arg: id(ImGuiID)
10380
10587
  # ret: void
10381
- def self.TableBeginRow(table)
10382
- ImGui_TableBeginRow(table)
10588
+ def self.PushFocusScope(id)
10589
+ ImGui_PushFocusScope(id)
10383
10590
  end
10384
10591
 
10385
- # arg: table(ImGuiTable*)
10386
10592
  # ret: void
10387
- def self.TableEndRow(table)
10388
- ImGui_TableEndRow(table)
10593
+ def self.PopFocusScope()
10594
+ ImGui_PopFocusScope()
10389
10595
  end
10390
10596
 
10391
- # arg: table(ImGuiTable*), column_n(int)
10392
- # ret: void
10393
- def self.TableBeginCell(table, column_n)
10394
- ImGui_TableBeginCell(table, column_n)
10597
+ # arg: focus_scope_id(ImGuiID)
10598
+ # ret: bool
10599
+ def self.IsInNavFocusRoute(focus_scope_id)
10600
+ ImGui_IsInNavFocusRoute(focus_scope_id)
10395
10601
  end
10396
10602
 
10397
- # arg: table(ImGuiTable*)
10398
- # ret: void
10399
- def self.TableEndCell(table)
10400
- ImGui_TableEndCell(table)
10603
+ # ret: uint
10604
+ def self.GetCurrentFocusScope()
10605
+ ImGui_GetCurrentFocusScope()
10401
10606
  end
10402
10607
 
10403
- # arg: table(const ImGuiTable*), column_n(int)
10404
- # ret: ImRect.by_value
10405
- def self.TableGetCellBgRect(table, column_n)
10406
- ImGui_TableGetCellBgRect(table, column_n)
10608
+ # ret: bool
10609
+ def self.IsDragDropActive()
10610
+ ImGui_IsDragDropActive()
10407
10611
  end
10408
10612
 
10409
- # arg: table(const ImGuiTable*), column_n(int)
10410
- # ret: float
10411
- def self.TableCalcMaxColumnWidth(table, column_n)
10412
- ImGui_TableCalcMaxColumnWidth(table, column_n)
10613
+ # arg: bb(ImRect), id(ImGuiID)
10614
+ # ret: bool
10615
+ def self.BeginDragDropTargetCustom(bb, id)
10616
+ ImGui_BeginDragDropTargetCustom(bb, id)
10413
10617
  end
10414
10618
 
10415
- # arg: table(ImGuiTable*), column_n(int)
10416
10619
  # ret: void
10417
- def self.TableSetColumnWidthAutoSingle(table, column_n)
10418
- ImGui_TableSetColumnWidthAutoSingle(table, column_n)
10620
+ def self.ClearDragDrop()
10621
+ ImGui_ClearDragDrop()
10419
10622
  end
10420
10623
 
10421
- # arg: table(ImGuiTable*)
10422
- # ret: void
10423
- def self.TableSetColumnWidthAutoAll(table)
10424
- ImGui_TableSetColumnWidthAutoAll(table)
10624
+ # ret: bool
10625
+ def self.IsDragDropPayloadBeingAccepted()
10626
+ ImGui_IsDragDropPayloadBeingAccepted()
10425
10627
  end
10426
10628
 
10427
- # arg: table(ImGuiTable*), column_n(int), dst_order(int)
10629
+ # arg: bb(ImRect)
10428
10630
  # ret: void
10429
- def self.TableSetColumnDisplayOrder(table, column_n, dst_order)
10430
- ImGui_TableSetColumnDisplayOrder(table, column_n, dst_order)
10631
+ def self.RenderDragDropTargetRectForItem(bb)
10632
+ ImGui_RenderDragDropTargetRectForItem(bb)
10431
10633
  end
10432
10634
 
10433
- # arg: table(ImGuiTable*), column_n(int), dst_order(int)
10635
+ # arg: draw_list(ImDrawList*), bb(ImRect), rounding(float)
10434
10636
  # ret: void
10435
- def self.TableQueueSetColumnDisplayOrder(table, column_n, dst_order)
10436
- ImGui_TableQueueSetColumnDisplayOrder(table, column_n, dst_order)
10637
+ def self.RenderDragDropTargetRectEx(draw_list, bb, rounding)
10638
+ ImGui_RenderDragDropTargetRectEx(draw_list, bb, rounding)
10437
10639
  end
10438
10640
 
10439
- # arg: table(ImGuiTable*)
10440
- # ret: void
10441
- def self.TableRemove(table)
10442
- ImGui_TableRemove(table)
10641
+ # arg: req(ImGuiTypingSelectRequest*), items_count(int), get_item_name_func(const char* (*get_item_name_func)(void*, int)), user_data(void*), nav_item_idx(int)
10642
+ # ret: int
10643
+ def self.TypingSelectFindMatch(req, items_count, get_item_name_func, user_data, nav_item_idx)
10644
+ ImGui_TypingSelectFindMatch(req, items_count, get_item_name_func, user_data, nav_item_idx)
10443
10645
  end
10444
10646
 
10445
- # ret: void
10446
- def self.TableGcCompactSettings()
10447
- ImGui_TableGcCompactSettings()
10647
+ # arg: req(ImGuiTypingSelectRequest*), items_count(int), get_item_name_func(const char* (*get_item_name_func)(void*, int)), user_data(void*), nav_item_idx(int)
10648
+ # ret: int
10649
+ def self.TypingSelectFindNextSingleCharMatch(req, items_count, get_item_name_func, user_data, nav_item_idx)
10650
+ ImGui_TypingSelectFindNextSingleCharMatch(req, items_count, get_item_name_func, user_data, nav_item_idx)
10448
10651
  end
10449
10652
 
10450
- # arg: table(ImGuiTable*)
10451
- # ret: void
10452
- def self.TableLoadSettings(table)
10453
- ImGui_TableLoadSettings(table)
10653
+ # arg: req(ImGuiTypingSelectRequest*), items_count(int), get_item_name_func(const char* (*get_item_name_func)(void*, int)), user_data(void*)
10654
+ # ret: int
10655
+ def self.TypingSelectFindBestLeadingMatch(req, items_count, get_item_name_func, user_data)
10656
+ ImGui_TypingSelectFindBestLeadingMatch(req, items_count, get_item_name_func, user_data)
10454
10657
  end
10455
10658
 
10456
- # arg: table(ImGuiTable*)
10659
+ # arg: scope_rect(ImRect), window(ImGuiWindow*), box_select_id(ImGuiID), ms_flags(ImGuiMultiSelectFlags)
10660
+ # ret: bool
10661
+ def self.BeginBoxSelect(scope_rect, window, box_select_id, ms_flags)
10662
+ ImGui_BeginBoxSelect(scope_rect, window, box_select_id, ms_flags)
10663
+ end
10664
+
10665
+ # arg: scope_rect(ImRect), ms_flags(ImGuiMultiSelectFlags)
10457
10666
  # ret: void
10458
- def self.TableSaveSettings(table)
10459
- ImGui_TableSaveSettings(table)
10667
+ def self.EndBoxSelect(scope_rect, ms_flags)
10668
+ ImGui_EndBoxSelect(scope_rect, ms_flags)
10460
10669
  end
10461
10670
 
10462
- # arg: table(ImGuiTable*)
10671
+ # arg: id(ImGuiID), p_selected(bool*), p_button_flags(ImGuiButtonFlags*)
10463
10672
  # ret: void
10464
- def self.TableResetSettings(table)
10465
- ImGui_TableResetSettings(table)
10673
+ def self.MultiSelectItemHeader(id, p_selected, p_button_flags)
10674
+ ImGui_MultiSelectItemHeader(id, p_selected, p_button_flags)
10466
10675
  end
10467
10676
 
10468
- # arg: table(ImGuiTable*)
10469
- # ret: pointer
10470
- def self.TableGetBoundSettings(table)
10471
- ImGui_TableGetBoundSettings(table)
10677
+ # arg: ms(ImGuiMultiSelectTempData*), selected(bool)
10678
+ # ret: void
10679
+ def self.MultiSelectAddSetAll(ms, selected)
10680
+ ImGui_MultiSelectAddSetAll(ms, selected)
10472
10681
  end
10473
10682
 
10683
+ # arg: ms(ImGuiMultiSelectTempData*), selected(bool), range_dir(int), first_item(ImGuiSelectionUserData), last_item(ImGuiSelectionUserData)
10474
10684
  # ret: void
10475
- def self.TableSettingsAddSettingsHandler()
10476
- ImGui_TableSettingsAddSettingsHandler()
10685
+ def self.MultiSelectAddSetRange(ms, selected, range_dir, first_item, last_item)
10686
+ ImGui_MultiSelectAddSetRange(ms, selected, range_dir, first_item, last_item)
10477
10687
  end
10478
10688
 
10479
- # arg: id(ImGuiID), columns_count(int)
10689
+ # arg: id(ImGuiID)
10480
10690
  # ret: pointer
10481
- def self.TableSettingsCreate(id, columns_count)
10482
- ImGui_TableSettingsCreate(id, columns_count)
10691
+ def self.GetBoxSelectState(id)
10692
+ ImGui_GetBoxSelectState(id)
10483
10693
  end
10484
10694
 
10485
10695
  # arg: id(ImGuiID)
10486
10696
  # ret: pointer
10487
- def self.TableSettingsFindByID(id)
10488
- ImGui_TableSettingsFindByID(id)
10697
+ def self.GetMultiSelectState(id)
10698
+ ImGui_GetMultiSelectState(id)
10489
10699
  end
10490
10700
 
10491
10701
  # ret: pointer
@@ -10841,6 +11051,12 @@ module ImGui
10841
11051
  ImGui_TempInputIsActive(id)
10842
11052
  end
10843
11053
 
11054
+ # arg: id(ImGuiID)
11055
+ # ret: pointer
11056
+ def self.GetInputTextState(id)
11057
+ ImGui_GetInputTextState(id)
11058
+ end
11059
+
10844
11060
  # arg: data_type(ImGuiDataType), p_data(void*)
10845
11061
  # ret: void
10846
11062
  def self.SetNextItemRefVal(data_type, p_data)
@@ -11091,10 +11307,16 @@ module ImGui
11091
11307
  ImGui_DebugNodeTable(table)
11092
11308
  end
11093
11309
 
11094
- # arg: settings(ImGuiTableSettings*)
11310
+ # arg: settings(ImGuiTableSettings*), table(ImGuiTable*)
11095
11311
  # ret: void
11096
- def self.DebugNodeTableSettings(settings)
11097
- ImGui_DebugNodeTableSettings(settings)
11312
+ def self.DebugNodeTableSettings(settings, table)
11313
+ ImGui_DebugNodeTableSettings(settings, table)
11314
+ end
11315
+
11316
+ # arg: state(ImGuiInputTextState*)
11317
+ # ret: void
11318
+ def self.DebugNodeInputTextState(state)
11319
+ ImGui_DebugNodeInputTextState(state)
11098
11320
  end
11099
11321
 
11100
11322
  # arg: state(ImGuiTypingSelectState*)
@@ -12279,11 +12501,11 @@ module ImGui
12279
12501
 
12280
12502
  def self.OpenPopup(*arg)
12281
12503
  # arg: 0:str_id(const char*), 1:popup_flags(ImGuiPopupFlags)
12282
- # ret: void
12504
+ # ret: bool
12283
12505
  return ImGui_OpenPopup(arg[0], 0) if arg.length == 1 && (arg[0].kind_of?(String))
12284
12506
  return ImGui_OpenPopup(arg[0], arg[1]) if arg.length == 2 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer))
12285
12507
  # arg: 0:id(ImGuiID), 1:popup_flags(ImGuiPopupFlags)
12286
- # ret: void
12508
+ # ret: bool
12287
12509
  return ImGui_OpenPopupID(arg[0], 0) if arg.length == 1 && (arg[0].kind_of?(Integer))
12288
12510
  return ImGui_OpenPopupID(arg[0], arg[1]) if arg.length == 2 && (arg[0].kind_of?(Integer) && arg[1].kind_of?(Integer))
12289
12511
  $stderr.puts("[Warning] ImGui::OpenPopup : No matching functions found (#{arg})")
@@ -12367,7 +12589,7 @@ module ImGui
12367
12589
  # ret: void
12368
12590
  return ImGui_TableSetupColumn(arg[0], 0) if arg.length == 1 && (arg[0].kind_of?(String))
12369
12591
  return ImGui_TableSetupColumn(arg[0], arg[1]) if arg.length == 2 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer))
12370
- # arg: 0:label(const char*), 1:flags(ImGuiTableColumnFlags), 2:init_width_or_weight(float), 3:user_id(ImGuiID)
12592
+ # arg: 0:label(const char*), 1:flags(ImGuiTableColumnFlags), 2:init_width_or_weight(float), 3:user_data(ImGuiID)
12371
12593
  # ret: void
12372
12594
  return ImGui_TableSetupColumnEx(arg[0], arg[1], arg[2], 0) if arg.length == 3 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Float))
12373
12595
  return ImGui_TableSetupColumnEx(arg[0], arg[1], 0.0, 0) if arg.length == 2 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer))
@@ -12449,6 +12671,18 @@ module ImGui
12449
12671
  $stderr.puts("[Warning] ImGui::IsItemClicked : No matching functions found (#{arg})")
12450
12672
  end
12451
12673
 
12674
+ def self.GetItemClickedCountWithSingleClickDelay(*arg)
12675
+ # arg:
12676
+ # ret: int
12677
+ return ImGui_GetItemClickedCountWithSingleClickDelay() if arg.empty?
12678
+ # arg: 0:mouse_button(ImGuiMouseButton), 1:delay(float)
12679
+ # ret: int
12680
+ return ImGui_GetItemClickedCountWithSingleClickDelayEx(arg[0], -1.0) if arg.length == 1 && (arg[0].kind_of?(Integer))
12681
+ return ImGui_GetItemClickedCountWithSingleClickDelayEx(0, -1.0) if arg.length == 0 && (true)
12682
+ return ImGui_GetItemClickedCountWithSingleClickDelayEx(arg[0], arg[1]) if arg.length == 2 && (arg[0].kind_of?(Integer) && arg[1].kind_of?(Float))
12683
+ $stderr.puts("[Warning] ImGui::GetItemClickedCountWithSingleClickDelay : No matching functions found (#{arg})")
12684
+ end
12685
+
12452
12686
  def self.GetBackgroundDrawList(*arg)
12453
12687
  # arg:
12454
12688
  # ret: pointer
@@ -12562,10 +12796,10 @@ module ImGui
12562
12796
 
12563
12797
  def self.SetItemKeyOwner(*arg)
12564
12798
  # arg: 0:key(ImGuiKey)
12565
- # ret: void
12799
+ # ret: bool
12566
12800
  return ImGui_SetItemKeyOwner(arg[0]) if arg.length == 1 && (arg[0].kind_of?(Integer))
12567
12801
  # arg: 0:key(ImGuiKey), 1:flags(ImGuiInputFlags)
12568
- # ret: void
12802
+ # ret: bool
12569
12803
  return ImGui_SetItemKeyOwnerImGuiInputFlags(arg[0], arg[1]) if arg.length == 2 && (arg[0].kind_of?(Integer) && arg[1].kind_of?(Integer))
12570
12804
  $stderr.puts("[Warning] ImGui::SetItemKeyOwner : No matching functions found (#{arg})")
12571
12805
  end
@@ -12618,6 +12852,17 @@ module ImGui
12618
12852
  $stderr.puts("[Warning] ImGui::IsMouseDoubleClicked : No matching functions found (#{arg})")
12619
12853
  end
12620
12854
 
12855
+ def self.IsMouseReleasedWithDelay(*arg)
12856
+ # arg: 0:button(ImGuiMouseButton)
12857
+ # ret: bool
12858
+ return ImGui_IsMouseReleasedWithDelay(arg[0]) if arg.length == 1 && (arg[0].kind_of?(Integer))
12859
+ # arg: 0:button(ImGuiMouseButton), 1:delay(float)
12860
+ # ret: bool
12861
+ return ImGui_IsMouseReleasedWithDelayEx(arg[0], -1.f) if arg.length == 1 && (arg[0].kind_of?(Integer))
12862
+ return ImGui_IsMouseReleasedWithDelayEx(arg[0], arg[1]) if arg.length == 2 && (arg[0].kind_of?(Integer) && arg[1].kind_of?(Float))
12863
+ $stderr.puts("[Warning] ImGui::IsMouseReleasedWithDelay : No matching functions found (#{arg})")
12864
+ end
12865
+
12621
12866
  def self.IsMouseHoveringRect(*arg)
12622
12867
  # arg: 0:r_min(ImVec2), 1:r_max(ImVec2)
12623
12868
  # ret: bool
@@ -12652,6 +12897,52 @@ module ImGui
12652
12897
  $stderr.puts("[Warning] ImGui::RenderPlatformWindowsDefault : No matching functions found (#{arg})")
12653
12898
  end
12654
12899
 
12900
+ def self.TableOpenContextMenu(*arg)
12901
+ # arg:
12902
+ # ret: void
12903
+ return ImGui_TableOpenContextMenu() if arg.empty?
12904
+ # arg: 0:column_n(int)
12905
+ # ret: void
12906
+ return ImGui_TableOpenContextMenuEx(-1) if arg.length == 0 && (true)
12907
+ return ImGui_TableOpenContextMenuEx(arg[0]) if arg.length == 1 && (arg[0].kind_of?(Integer))
12908
+ $stderr.puts("[Warning] ImGui::TableOpenContextMenu : No matching functions found (#{arg})")
12909
+ end
12910
+
12911
+ def self.BeginTableEx(*arg)
12912
+ # arg: 0:name(const char*), 1:id(ImGuiID), 2:columns_count(int), 3:flags(ImGuiTableFlags)
12913
+ # ret: bool
12914
+ return ImGui_BeginTableWithID(arg[0], arg[1], arg[2], 0) if arg.length == 3 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer))
12915
+ return ImGui_BeginTableWithID(arg[0], arg[1], arg[2], arg[3]) if arg.length == 4 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer) && arg[3].kind_of?(Integer))
12916
+ # arg: 0:name(const char*), 1:id(ImGuiID), 2:columns_count(int), 3:flags(ImGuiTableFlags), 4:outer_size(ImVec2), 5:inner_width(float)
12917
+ # ret: bool
12918
+ return ImGui_BeginTableWithIDEx(arg[0], arg[1], arg[2], arg[3], arg[4], 0.0) if arg.length == 5 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer) && arg[3].kind_of?(Integer) && arg[4].kind_of?(ImVec2))
12919
+ return ImGui_BeginTableWithIDEx(arg[0], arg[1], arg[2], arg[3], ImVec2.create(0,0), 0.0) if arg.length == 4 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer) && arg[3].kind_of?(Integer))
12920
+ return ImGui_BeginTableWithIDEx(arg[0], arg[1], arg[2], 0, ImVec2.create(0,0), 0.0) if arg.length == 3 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer))
12921
+ return ImGui_BeginTableWithIDEx(arg[0], arg[1], arg[2], arg[3], arg[4], arg[5]) if arg.length == 6 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer) && arg[3].kind_of?(Integer) && arg[4].kind_of?(ImVec2) && arg[5].kind_of?(Float))
12922
+ $stderr.puts("[Warning] ImGui::BeginTableEx : No matching functions found (#{arg})")
12923
+ end
12924
+
12925
+ def self.TableGetColumnResizeID(*arg)
12926
+ # arg: 0:table(ImGuiTable*), 1:column_n(int)
12927
+ # ret: uint
12928
+ return ImGui_TableGetColumnResizeID(arg[0], arg[1]) if arg.length == 2 && (arg[0].kind_of?(FFI::Pointer) && arg[1].kind_of?(Integer))
12929
+ # arg: 0:table(ImGuiTable*), 1:column_n(int), 2:instance_no(int)
12930
+ # ret: uint
12931
+ return ImGui_TableGetColumnResizeIDEx(arg[0], arg[1], 0) if arg.length == 2 && (arg[0].kind_of?(FFI::Pointer) && arg[1].kind_of?(Integer))
12932
+ return ImGui_TableGetColumnResizeIDEx(arg[0], arg[1], arg[2]) if arg.length == 3 && (arg[0].kind_of?(FFI::Pointer) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer))
12933
+ $stderr.puts("[Warning] ImGui::TableGetColumnResizeID : No matching functions found (#{arg})")
12934
+ end
12935
+
12936
+ def self.TableGcCompactTransientBuffers(*arg)
12937
+ # arg: 0:table(ImGuiTable*)
12938
+ # ret: void
12939
+ return ImGui_TableGcCompactTransientBuffers(arg[0]) if arg.length == 1 && (arg[0].kind_of?(FFI::Pointer))
12940
+ # arg: 0:table(ImGuiTableTempData*)
12941
+ # ret: void
12942
+ return ImGui_TableGcCompactTransientBuffersImGuiTableTempDataPtr(arg[0]) if arg.length == 1 && (arg[0].kind_of?(FFI::Pointer))
12943
+ $stderr.puts("[Warning] ImGui::TableGcCompactTransientBuffers : No matching functions found (#{arg})")
12944
+ end
12945
+
12655
12946
  def self.MarkIniSettingsDirty(*arg)
12656
12947
  # arg:
12657
12948
  # ret: void
@@ -12726,10 +13017,10 @@ module ImGui
12726
13017
 
12727
13018
  def self.OpenPopupEx(*arg)
12728
13019
  # arg: 0:id(ImGuiID)
12729
- # ret: void
13020
+ # ret: bool
12730
13021
  return ImGui_OpenPopupEx(arg[0]) if arg.length == 1 && (arg[0].kind_of?(Integer))
12731
13022
  # arg: 0:id(ImGuiID), 1:popup_flags(ImGuiPopupFlags)
12732
- # ret: void
13023
+ # ret: bool
12733
13024
  return ImGui_OpenPopupExEx(arg[0], ImGuiPopupFlags_None) if arg.length == 1 && (arg[0].kind_of?(Integer))
12734
13025
  return ImGui_OpenPopupExEx(arg[0], arg[1]) if arg.length == 2 && (arg[0].kind_of?(Integer) && arg[1].kind_of?(Integer))
12735
13026
  $stderr.puts("[Warning] ImGui::OpenPopupEx : No matching functions found (#{arg})")
@@ -12836,50 +13127,15 @@ module ImGui
12836
13127
  $stderr.puts("[Warning] ImGui::GetTypingSelectRequest : No matching functions found (#{arg})")
12837
13128
  end
12838
13129
 
12839
- def self.TableOpenContextMenu(*arg)
12840
- # arg:
12841
- # ret: void
12842
- return ImGui_TableOpenContextMenu() if arg.empty?
12843
- # arg: 0:column_n(int)
12844
- # ret: void
12845
- return ImGui_TableOpenContextMenuEx(-1) if arg.length == 0 && (true)
12846
- return ImGui_TableOpenContextMenuEx(arg[0]) if arg.length == 1 && (arg[0].kind_of?(Integer))
12847
- $stderr.puts("[Warning] ImGui::TableOpenContextMenu : No matching functions found (#{arg})")
12848
- end
12849
-
12850
- def self.BeginTableEx(*arg)
12851
- # arg: 0:name(const char*), 1:id(ImGuiID), 2:columns_count(int), 3:flags(ImGuiTableFlags)
12852
- # ret: bool
12853
- return ImGui_BeginTableWithID(arg[0], arg[1], arg[2], 0) if arg.length == 3 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer))
12854
- return ImGui_BeginTableWithID(arg[0], arg[1], arg[2], arg[3]) if arg.length == 4 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer) && arg[3].kind_of?(Integer))
12855
- # arg: 0:name(const char*), 1:id(ImGuiID), 2:columns_count(int), 3:flags(ImGuiTableFlags), 4:outer_size(ImVec2), 5:inner_width(float)
12856
- # ret: bool
12857
- return ImGui_BeginTableWithIDEx(arg[0], arg[1], arg[2], arg[3], arg[4], 0.0) if arg.length == 5 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer) && arg[3].kind_of?(Integer) && arg[4].kind_of?(ImVec2))
12858
- return ImGui_BeginTableWithIDEx(arg[0], arg[1], arg[2], arg[3], ImVec2.create(0,0), 0.0) if arg.length == 4 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer) && arg[3].kind_of?(Integer))
12859
- return ImGui_BeginTableWithIDEx(arg[0], arg[1], arg[2], 0, ImVec2.create(0,0), 0.0) if arg.length == 3 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer))
12860
- return ImGui_BeginTableWithIDEx(arg[0], arg[1], arg[2], arg[3], arg[4], arg[5]) if arg.length == 6 && (arg[0].kind_of?(String) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer) && arg[3].kind_of?(Integer) && arg[4].kind_of?(ImVec2) && arg[5].kind_of?(Float))
12861
- $stderr.puts("[Warning] ImGui::BeginTableEx : No matching functions found (#{arg})")
12862
- end
12863
-
12864
- def self.TableGetColumnResizeID(*arg)
12865
- # arg: 0:table(ImGuiTable*), 1:column_n(int)
12866
- # ret: uint
12867
- return ImGui_TableGetColumnResizeID(arg[0], arg[1]) if arg.length == 2 && (arg[0].kind_of?(FFI::Pointer) && arg[1].kind_of?(Integer))
12868
- # arg: 0:table(ImGuiTable*), 1:column_n(int), 2:instance_no(int)
12869
- # ret: uint
12870
- return ImGui_TableGetColumnResizeIDEx(arg[0], arg[1], 0) if arg.length == 2 && (arg[0].kind_of?(FFI::Pointer) && arg[1].kind_of?(Integer))
12871
- return ImGui_TableGetColumnResizeIDEx(arg[0], arg[1], arg[2]) if arg.length == 3 && (arg[0].kind_of?(FFI::Pointer) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer))
12872
- $stderr.puts("[Warning] ImGui::TableGetColumnResizeID : No matching functions found (#{arg})")
12873
- end
12874
-
12875
- def self.TableGcCompactTransientBuffers(*arg)
12876
- # arg: 0:table(ImGuiTable*)
13130
+ def self.MultiSelectItemFooter(*arg)
13131
+ # arg: 0:id(ImGuiID), 1:p_selected(bool*), 2:p_pressed(bool*)
12877
13132
  # ret: void
12878
- return ImGui_TableGcCompactTransientBuffers(arg[0]) if arg.length == 1 && (arg[0].kind_of?(FFI::Pointer))
12879
- # arg: 0:table(ImGuiTableTempData*)
13133
+ return ImGui_MultiSelectItemFooter(arg[0], arg[1], arg[2]) if arg.length == 3 && (arg[0].kind_of?(Integer) && arg[1].kind_of?(FFI::Pointer) && arg[2].kind_of?(FFI::Pointer))
13134
+ # arg: 0:id(ImGuiID), 1:p_selected(bool*), 2:p_pressed(bool*), 3:extra_flags(ImGuiMultiSelectFlags)
12880
13135
  # ret: void
12881
- return ImGui_TableGcCompactTransientBuffersImGuiTableTempDataPtr(arg[0]) if arg.length == 1 && (arg[0].kind_of?(FFI::Pointer))
12882
- $stderr.puts("[Warning] ImGui::TableGcCompactTransientBuffers : No matching functions found (#{arg})")
13136
+ return ImGui_MultiSelectItemFooterEx(arg[0], arg[1], arg[2], 0) if arg.length == 3 && (arg[0].kind_of?(Integer) && arg[1].kind_of?(FFI::Pointer) && arg[2].kind_of?(FFI::Pointer))
13137
+ return ImGui_MultiSelectItemFooterEx(arg[0], arg[1], arg[2], arg[3]) if arg.length == 4 && (arg[0].kind_of?(Integer) && arg[1].kind_of?(FFI::Pointer) && arg[2].kind_of?(FFI::Pointer) && arg[3].kind_of?(Integer))
13138
+ $stderr.puts("[Warning] ImGui::MultiSelectItemFooter : No matching functions found (#{arg})")
12883
13139
  end
12884
13140
 
12885
13141
  def self.TabBarQueueFocus(*arg)
@@ -12977,10 +13233,11 @@ module ImGui
12977
13233
  # arg: 0:bb(ImRect), 1:id(ImGuiID)
12978
13234
  # ret: void
12979
13235
  return ImGui_RenderNavCursor(arg[0], arg[1]) if arg.length == 2 && (arg[0].kind_of?(ImRect) && arg[1].kind_of?(Integer))
12980
- # arg: 0:bb(ImRect), 1:id(ImGuiID), 2:flags(ImGuiNavRenderCursorFlags)
13236
+ # arg: 0:bb(ImRect), 1:id(ImGuiID), 2:flags(ImGuiNavRenderCursorFlags), 3:rounding(float)
12981
13237
  # ret: void
12982
- return ImGui_RenderNavCursorEx(arg[0], arg[1], ImGuiNavRenderCursorFlags_None) if arg.length == 2 && (arg[0].kind_of?(ImRect) && arg[1].kind_of?(Integer))
12983
- return ImGui_RenderNavCursorEx(arg[0], arg[1], arg[2]) if arg.length == 3 && (arg[0].kind_of?(ImRect) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer))
13238
+ return ImGui_RenderNavCursorEx(arg[0], arg[1], arg[2], -1.0) if arg.length == 3 && (arg[0].kind_of?(ImRect) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer))
13239
+ return ImGui_RenderNavCursorEx(arg[0], arg[1], ImGuiNavRenderCursorFlags_None, -1.0) if arg.length == 2 && (arg[0].kind_of?(ImRect) && arg[1].kind_of?(Integer))
13240
+ return ImGui_RenderNavCursorEx(arg[0], arg[1], arg[2], arg[3]) if arg.length == 4 && (arg[0].kind_of?(ImRect) && arg[1].kind_of?(Integer) && arg[2].kind_of?(Integer) && arg[3].kind_of?(Float))
12984
13241
  $stderr.puts("[Warning] ImGui::RenderNavCursor : No matching functions found (#{arg})")
12985
13242
  end
12986
13243