From 06322ac7265d5e2d2a476b7234fc0b4842c30cab Mon Sep 17 00:00:00 2001 From: Silent Orb Date: Sat, 17 Oct 2020 02:18:54 -0600 Subject: [PATCH] [API] Fixed four of the ImGuiTreeNodeFlags that were all set to Framed (#26) --- .../src/main/java/imgui/flag/ImGuiTreeNodeFlags.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/imgui-binding/src/main/java/imgui/flag/ImGuiTreeNodeFlags.java b/imgui-binding/src/main/java/imgui/flag/ImGuiTreeNodeFlags.java index b8b919f..9c6199b 100644 --- a/imgui-binding/src/main/java/imgui/flag/ImGuiTreeNodeFlags.java +++ b/imgui-binding/src/main/java/imgui/flag/ImGuiTreeNodeFlags.java @@ -51,21 +51,21 @@ public final class ImGuiTreeNodeFlags { /** * Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). */ - public static final int FramePadding = 1 << 1; + public static final int FramePadding = 1 << 10; /** * Extend hit box to the right-most edge, even if not framed. * This is not the default in order to allow adding other items on the same line. * In the future we may refactor the hit system to be front-to-back, allowing natural overlaps and then this can become the default. */ - public static final int SpanAvailWidth = 1 << 1; + public static final int SpanAvailWidth = 1 << 11; /** * Extend hit box to the left-most and right-most edges (bypass the indented area). */ - public static final int SpanFullWidth = 1 << 1; + public static final int SpanFullWidth = 1 << 12; /** * (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) */ - public static final int NavLeftJumpsBackHere = 1 << 1; + public static final int NavLeftJumpsBackHere = 1 << 13; //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 14; // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible public static final int CollapsingHeader = Framed | NoTreePushOnOpen | NoAutoOpenOnLog; }