![]() |
Raven Engine v0.1
|
RAII helper to push and pop ImGui item flags. More...
#include <UI.h>
Public Member Functions | |
| ScopedItemFlags (const ScopedItemFlags &)=delete | |
| ScopedItemFlags | operator= (const ScopedItemFlags &)=delete |
| ScopedItemFlags (const ImGuiItemFlags flags, const bool enable=true) | |
| Construct and push item flags. | |
| ~ScopedItemFlags () | |
| Pops the pushed item flag. | |
RAII helper to push and pop ImGui item flags.
|
delete |
|
inlineexplicit |
Construct and push item flags.
| flags | ImGuiItemFlags to push. |
| enable | Whether to enable or disable the flags (default true). |
|
inline |
Pops the pushed item flag.
|
delete |