Skip to content

Commit

Permalink
fixes minor inconsistencies between imgui and ags enums.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericoporto committed Jun 7, 2020
1 parent 20d9e28 commit 5fa5b43
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions agsimgui/agsimgui.cpp
Expand Up @@ -387,30 +387,30 @@ const unsigned int SaveMagic = Magic + Version;
" \r\n"
" enum ImGuiCond \r\n"
" { \r\n"
" ImGuiCond_Always = 1, // Set the variable \r\n"
" ImGuiCond_Once = 2, // Set the variable once per runtime session (only the first call with succeed) \r\n"
" ImGuiCond_FirstUseEver = 4, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) \r\n"
" ImGuiCond_Appearing = 8, // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) \r\n"
" eImGuiCond_Always = 1, // Set the variable \r\n"
" eImGuiCond_Once = 2, // Set the variable once per runtime session (only the first call with succeed) \r\n"
" eImGuiCond_FirstUseEver = 4, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) \r\n"
" eImGuiCond_Appearing = 8, // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) \r\n"
" }; \r\n"
" \r\n"
" enum ImGuiTreeNodeFlags \r\n"
" { \r\n"
" ImGuiTreeNodeFlags_None = 0, \r\n"
" ImGuiTreeNodeFlags_Selected = 1, // Draw as selected \r\n"
" ImGuiTreeNodeFlags_Framed = 2, // Full colored frame (e.g. for CollapsingHeader) \r\n"
" ImGuiTreeNodeFlags_AllowItemOverlap = 4, // Hit testing to allow subsequent widgets to overlap this one \r\n"
" ImGuiTreeNodeFlags_NoTreePushOnOpen = 8, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack \r\n"
" ImGuiTreeNodeFlags_NoAutoOpenOnLog = 16, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) \r\n"
" ImGuiTreeNodeFlags_DefaultOpen = 32, // Default node to be open \r\n"
" ImGuiTreeNodeFlags_OpenOnDoubleClick = 64, // Need double-click to open node \r\n"
" ImGuiTreeNodeFlags_OpenOnArrow = 128, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. \r\n"
" ImGuiTreeNodeFlags_Leaf = 256, // No collapsing, no arrow (use as a convenience for leaf nodes). \r\n"
" ImGuiTreeNodeFlags_Bullet = 512, // Display a bullet instead of arrow \r\n"
" ImGuiTreeNodeFlags_FramePadding = 1024, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. \r\n"
" ImGuiTreeNodeFlags_SpanAvailWidth = 2048, // 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. \r\n"
" ImGuiTreeNodeFlags_SpanFullWidth = 4096, // Extend hit box to the left-most and right-most edges (bypass the indented area). \r\n"
" ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 8192, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) \r\n"
" ImGuiTreeNodeFlags_CollapsingHeader = 26, \r\n"
" eImGuiTreeNodeFlags_None = 0, \r\n"
" eImGuiTreeNodeFlags_Selected = 1, // Draw as selected \r\n"
" eImGuiTreeNodeFlags_Framed = 2, // Full colored frame (e.g. for CollapsingHeader) \r\n"
" eImGuiTreeNodeFlags_AllowItemOverlap = 4, // Hit testing to allow subsequent widgets to overlap this one \r\n"
" eImGuiTreeNodeFlags_NoTreePushOnOpen = 8, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack \r\n"
" eImGuiTreeNodeFlags_NoAutoOpenOnLog = 16, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) \r\n"
" eImGuiTreeNodeFlags_DefaultOpen = 32, // Default node to be open \r\n"
" eImGuiTreeNodeFlags_OpenOnDoubleClick = 64, // Need double-click to open node \r\n"
" eImGuiTreeNodeFlags_OpenOnArrow = 128, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. \r\n"
" eImGuiTreeNodeFlags_Leaf = 256, // No collapsing, no arrow (use as a convenience for leaf nodes). \r\n"
" eImGuiTreeNodeFlags_Bullet = 512, // Display a bullet instead of arrow \r\n"
" eImGuiTreeNodeFlags_FramePadding = 1024, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. \r\n"
" eImGuiTreeNodeFlags_SpanAvailWidth = 2048, // 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. \r\n"
" eImGuiTreeNodeFlags_SpanFullWidth = 4096, // Extend hit box to the left-most and right-most edges (bypass the indented area). \r\n"
" eImGuiTreeNodeFlags_NavLeftJumpsBackHere = 8192, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) \r\n"
" eImGuiTreeNodeFlags_CollapsingHeader = 26, \r\n"
" }; \r\n"
" \r\n"
"builtin managed struct ImVec4 { \r\n"
Expand Down

0 comments on commit 5fa5b43

Please sign in to comment.