mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 03:58:47 +02:00
Update version number, added IMGUI_VERSION, ImGui::GetVersion() (#127)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
// ImGui library v1.35
|
||||
// ImGui library v1.36 wip
|
||||
// See ImGui::ShowTestWindow() for sample code.
|
||||
// Read 'Programmer guide' below for notes on how to setup ImGui in your codebase.
|
||||
// Get latest version at https://github.com/ocornut/imgui
|
||||
@ -1713,6 +1713,11 @@ static void MarkSettingsDirty()
|
||||
g.SettingsDirtyTimer = g.IO.IniSavingRate;
|
||||
}
|
||||
|
||||
const char* ImGui::GetVersion()
|
||||
{
|
||||
return IMGUI_VERSION;
|
||||
}
|
||||
|
||||
// Internal state access - if you want to share ImGui state between modules (e.g. DLL) or allocate it yourself
|
||||
// Note that we still point to some static data and members (such as GFontAtlas), so the state instance you end up using will point to the static data within its module
|
||||
void* ImGui::GetInternalState()
|
||||
|
Reference in New Issue
Block a user