Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
ImGuiOnceUponAFrame Struct Reference

#include <src/imgui/imgui.h>

Public Member Functions

 ImGuiOnceUponAFrame ()
 
 operator bool () const
 

Public Attributes

int RefFrame
 

Detailed Description

Constructor & Destructor Documentation

◆ ImGuiOnceUponAFrame()

ImGuiOnceUponAFrame::ImGuiOnceUponAFrame ( )
inline
2017{ RefFrame = -1; }
int RefFrame
Definition imgui.h:2018

Member Function Documentation

◆ operator bool()

ImGuiOnceUponAFrame::operator bool ( ) const
inline
2019{ int current_frame = ImGui::GetFrameCount(); if (RefFrame == current_frame) return false; RefFrame = current_frame; return true; }
IMGUI_API int GetFrameCount()
Definition imgui.cpp:3458

References ImGui::GetFrameCount().

+ Here is the call graph for this function:

Member Data Documentation

◆ RefFrame

int ImGuiOnceUponAFrame::RefFrame
mutable

The documentation for this struct was generated from the following file: