RAII helper to push and pop ImGui item flags.
More...
#include <UI.h>
RAII helper to push and pop ImGui item flags.
◆ ScopedItemFlags() [1/2]
| Raven::UI::ScopedItemFlags::ScopedItemFlags |
( |
const ScopedItemFlags & | | ) |
|
|
delete |
◆ ScopedItemFlags() [2/2]
| Raven::UI::ScopedItemFlags::ScopedItemFlags |
( |
const ImGuiItemFlags | flags, |
|
|
const bool | enable = true ) |
|
inlineexplicit |
Construct and push item flags.
- Parameters
-
| flags | ImGuiItemFlags to push. |
| enable | Whether to enable or disable the flags (default true). |
◆ ~ScopedItemFlags()
| Raven::UI::ScopedItemFlags::~ScopedItemFlags |
( |
| ) |
|
|
inline |
Pops the pushed item flag.
◆ operator=()
The documentation for this class was generated from the following file: