You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TreeLinesSize = 1.0f; // Thickness of outlines when using ImGuiTreeNodeFlags_DrawLines.
1438
1438
TreeLinesRounding = 0.0f; // Radius of lines connecting child nodes to the vertical line.
1439
+
DragDropTargetRounding = 0.0f; // Radius of the drag and drop target frame.
1440
+
DragDropTargetBorderSize = 2.0f; // Thickness of the drag and drop target border.
1441
+
DragDropTargetPadding = 3.0f; // Size to expand the drag and drop target from actual target item size.
1439
1442
ColorButtonPosition = ImGuiDir_Right; // Side of the color button in the ColorEdit4 widget (left/right). Defaults to ImGuiDir_Right.
1440
1443
ButtonTextAlign = ImVec2(0.5f,0.5f);// Alignment of button text when button is larger than text.
1441
1444
SelectableTextAlign = ImVec2(0.0f,0.0f);// Alignment of selectable text. Defaults to (0.0f, 0.0f) (top-left aligned). It's generally important to keep this left-aligned if you want to lay multiple items on a same line.
CurveTessellationTol = 1.25f; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality.
1452
1455
CircleTessellationMaxError = 0.30f; // Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified. Decrease for higher quality but more geometry.
1453
-
DragDropTargetRectRounding = 0.0f; // Corner radius of the drag-drop hover frame
1454
-
DragDropTargetRectLineThickness = 2.0f; // Thickness of the drop-drop hover frame lines
1455
-
DragDropTargetRectExpansionSize = 3.5f; // The size in which the drag-drop hover rect will expand over the target
1456
1456
1457
1457
// Behaviors
1458
1458
HoverStationaryDelay = 0.15f; // Delay for IsItemHovered(ImGuiHoveredFlags_Stationary). Time required to consider mouse stationary.
Copy file name to clipboardExpand all lines: imgui.h
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2309,6 +2309,9 @@ struct ImGuiStyle
2309
2309
ImGuiTreeNodeFlags TreeLinesFlags; // Default way to draw lines connecting TreeNode hierarchy. ImGuiTreeNodeFlags_DrawLinesNone or ImGuiTreeNodeFlags_DrawLinesFull or ImGuiTreeNodeFlags_DrawLinesToNodes.
2310
2310
float TreeLinesSize; // Thickness of outlines when using ImGuiTreeNodeFlags_DrawLines.
2311
2311
float TreeLinesRounding; // Radius of lines connecting child nodes to the vertical line.
2312
+
float DragDropTargetRounding; // Radius of the drag and drop target frame.
2313
+
float DragDropTargetBorderSize; // Thickness of the drag and drop target border.
2314
+
float DragDropTargetPadding; // Size to expand the drag and drop target from actual target item size.
2312
2315
ImGuiDir ColorButtonPosition; // Side of the color button in the ColorEdit4 widget (left/right). Defaults to ImGuiDir_Right.
2313
2316
ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f, 0.5f) (centered).
2314
2317
ImVec2 SelectableTextAlign; // Alignment of selectable text. Defaults to (0.0f, 0.0f) (top-left aligned). It's generally important to keep this left-aligned if you want to lay multiple items on a same line.
@@ -2323,9 +2326,6 @@ struct ImGuiStyle
2323
2326
bool AntiAliasedFill; // Enable anti-aliased edges around filled shapes (rounded rectangles, circles, etc.). Disable if you are really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList).
2324
2327
float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality.
2325
2328
float CircleTessellationMaxError; // Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified. Decrease for higher quality but more geometry.
2326
-
float DragDropTargetRectRounding; // Corner radius of the drag-drop target rect
2327
-
float DragDropTargetRectLineThickness; // Thickness of the drop-drop target rect lines
2328
-
float DragDropTargetRectExpansionSize; // The size in which the drag-drop target rect will expand over the target
0 commit comments