#include <elm_Menu.hpp>
◆ OnKeyCallback
◆ MenuItem()
pu::ui::elm::MenuItem::MenuItem |
( |
const std::string & |
name | ) |
|
|
inline |
◆ AddOnKey()
void pu::ui::elm::MenuItem::AddOnKey |
( |
OnKeyCallback |
on_key_cb, |
|
|
const u64 |
key = HidNpadButton_A |
|
) |
| |
◆ GetColor()
Color pu::ui::elm::MenuItem::GetColor |
( |
| ) |
|
|
inline |
◆ GetIconPath()
std::string pu::ui::elm::MenuItem::GetIconPath |
( |
| ) |
|
|
inline |
◆ GetName()
std::string pu::ui::elm::MenuItem::GetName |
( |
| ) |
|
|
inline |
◆ GetOnKeyCallback()
◆ GetOnKeyCallbackCount()
i32 pu::ui::elm::MenuItem::GetOnKeyCallbackCount |
( |
| ) |
|
|
inline |
◆ GetOnKeyCallbackKey()
u64 pu::ui::elm::MenuItem::GetOnKeyCallbackKey |
( |
const i32 |
idx | ) |
|
|
inline |
◆ HasIcon()
bool pu::ui::elm::MenuItem::HasIcon |
( |
| ) |
|
|
inline |
◆ SetColor()
void pu::ui::elm::MenuItem::SetColor |
( |
const Color |
items_clr | ) |
|
|
inline |
◆ SetIcon()
void pu::ui::elm::MenuItem::SetIcon |
( |
const std::string & |
icon_path | ) |
|
◆ SetName()
void pu::ui::elm::MenuItem::SetName |
( |
const std::string & |
name | ) |
|
|
inline |
◆ DefaultColor
constexpr Color pu::ui::elm::MenuItem::DefaultColor = { 10, 10, 10, 0xFF } |
|
staticconstexpr |
The documentation for this class was generated from the following file: