Added io.MetricsActiveWindows counter (#213)

This commit is contained in:
ocornut
2015-05-12 16:08:34 +01:00
parent 5df542c3c0
commit 1e4c22c206
2 changed files with 3 additions and 0 deletions

View File

@ -700,6 +700,7 @@ struct ImGuiIO
bool WantCaptureKeyboard; // Widget is active (= ImGui will use your keyboard input)
float Framerate; // Framerate estimation, in frame per second. Rolling average estimation based on IO.DeltaTime over 120 frames
int MetricsRenderVertices; // Vertices processed during last call to Render()
int MetricsActiveWindows; // Number of visible windows (exclude child windows)
//------------------------------------------------------------------
// [Internal] ImGui will maintain those fields for you