//---- Don't define obsolete functions/enums names. Consider enabling from time to time after updating to avoid using soon-to-be obsolete function/names.
//---- Don't define obsolete functions/enums/behaviors. Consider enabling from time to time after updating to avoid using soon-to-be obsolete function/names.
//#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS
//---- Don't implement demo windows functionality (ShowDemoWindow()/ShowStyleEditor()/ShowUserGuide() methods will be empty)
IM_ASSERT(IM_ARRAYSIZE(ImGuiIO::MouseDown)==ImGuiMouseButton_COUNT&&IM_ARRAYSIZE(ImGuiIO::MouseClicked)==ImGuiMouseButton_COUNT);// Our pre-C++11 IM_STATIC_ASSERT() macros triggers warning on modern compilers so we don't use it here.
ImGuiTreeNodeFlags_NavLeftJumpsBackHere=1<<13,// (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop)
//ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 14, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible
,ImGuiTreeNodeFlags_AllowOverlapMode=ImGuiTreeNodeFlags_AllowItemOverlap// [renamed in 1.53]
#endif
};
// Flags for ImGui::Selectable()
@ -1095,9 +1090,7 @@ enum ImGuiCol_
// Obsolete names (will be removed)
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
,ImGuiCol_ModalWindowDarkening=ImGuiCol_ModalWindowDimBg// [renamed in 1.63]
,ImGuiCol_ChildWindowBg=ImGuiCol_ChildBg// [renamed in 1.53]
//ImGuiCol_CloseButton, ImGuiCol_CloseButtonActive, ImGuiCol_CloseButtonHovered, // [unused since 1.60+] the close button now uses regular button colors.
//ImGuiCol_ComboBg, // [unused since 1.53+] ComboBg has been merged with PopupBg, so a redirect isn't accurate.
//, ImGuiCol_CloseButton, ImGuiCol_CloseButtonActive, ImGuiCol_CloseButtonHovered// [unused since 1.60+] the close button now uses regular button colors.
#endif
};
@ -1134,8 +1127,7 @@ enum ImGuiStyleVar_
// Obsolete names (will be removed)
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
,ImGuiStyleVar_Count_=ImGuiStyleVar_COUNT// [renamed in 1.60]
,ImGuiStyleVar_ChildWindowRounding=ImGuiStyleVar_ChildRounding// [renamed in 1.53]
,ImGuiStyleVar_Count_=ImGuiStyleVar_COUNT// [renamed in 1.60]
#endif
};
@ -1410,9 +1402,9 @@ struct ImGuiIO
// Optional: Platform/Renderer back-end name (informational only! will be displayed in About Window) + User data for back-end/wrappers to store their own stuff.
constchar*BackendPlatformName;// = NULL
constchar*BackendRendererName;// = NULL
void*BackendPlatformUserData;// = NULL
void*BackendRendererUserData;// = NULL
void*BackendLanguageUserData;// = NULL
void*BackendPlatformUserData;// = NULL // User data for platform back-end
void*BackendRendererUserData;// = NULL // User data for renderer back-end
void*BackendLanguageUserData;// = NULL // User data for non C++ programming language back-end
// Optional: Access OS clipboard
// (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures)
@ -1474,7 +1466,7 @@ struct ImGuiIO
ImVec2MouseDelta;// Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta.