Unravel Engine C++ Reference
Loading...
Searching...
No Matches
imgui_context_menu_style.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <imgui/imgui.h>
4
5
namespace
ImGui
6
{
7
8
void
PushContextMenuStyle
();
9
void
PopContextMenuStyle
();
10
11
struct
ContextMenuStyleScope
12
{
13
ContextMenuStyleScope
()
14
{
15
PushContextMenuStyle
();
16
}
17
18
~ContextMenuStyleScope
()
19
{
20
PopContextMenuStyle
();
21
}
22
23
ContextMenuStyleScope
(
const
ContextMenuStyleScope
&) =
delete
;
24
ContextMenuStyleScope
&
operator=
(
const
ContextMenuStyleScope
&) =
delete
;
25
};
26
27
auto
MenuItemIcon
(
const
char
*
icon
,
28
const
char
* label,
29
const
char
* shortcut =
nullptr
,
30
bool
enabled
=
true
) -> bool;
31
auto
BeginMenuIcon
(
const
char
*
icon
,
const
char
* label,
bool
enabled
=
true
) -> bool;
32
33
}
// namespace ImGui
icon
const char * icon
Definition
create_scene_modal.cpp:16
ImGui
Definition
inspector.cpp:13
ImGui::BeginMenuIcon
auto BeginMenuIcon(const char *icon, const char *label, bool enabled) -> bool
Definition
imgui_context_menu_style.cpp:60
ImGui::PushContextMenuStyle
void PushContextMenuStyle()
Definition
imgui_context_menu_style.cpp:15
ImGui::PopContextMenuStyle
void PopContextMenuStyle()
Definition
imgui_context_menu_style.cpp:42
ImGui::MenuItemIcon
auto MenuItemIcon(const char *icon, const char *label, const char *shortcut, bool enabled) -> bool
Definition
imgui_context_menu_style.cpp:48
ImGui::ContextMenuStyleScope
Definition
imgui_context_menu_style.h:12
ImGui::ContextMenuStyleScope::operator=
ContextMenuStyleScope & operator=(const ContextMenuStyleScope &)=delete
ImGui::ContextMenuStyleScope::ContextMenuStyleScope
ContextMenuStyleScope()
Definition
imgui_context_menu_style.h:13
ImGui::ContextMenuStyleScope::ContextMenuStyleScope
ContextMenuStyleScope(const ContextMenuStyleScope &)=delete
ImGui::ContextMenuStyleScope::~ContextMenuStyleScope
~ContextMenuStyleScope()
Definition
imgui_context_menu_style.h:18
enabled
bool enabled
Definition
volume_resolver.cpp:43
editor
editor
imgui
integration
imgui_context_menu_style.h
Generated by
1.12.0