openMSX
|
#include <ImGuiPartInterface.hh>
Public Member Functions | |
constexpr | PersistentElementEnum (zstring_view name_, int C::*p_, std::initializer_list< int > valid_) |
void | load (C &c, std::string_view value) const |
Public Member Functions inherited from openmsx::PersistentElement< C, int > | |
void | save (ImGuiTextBuffer &buf, C &c) const |
void | load (C &c, zstring_view value) const |
Public Member Functions inherited from openmsx::PersistentElementBase< C, int > | |
constexpr | PersistentElementBase (zstring_view name_, int C::*p_) |
int & | get (C &c) const |
Public Attributes | |
std::initializer_list< int > | valid |
Public Attributes inherited from openmsx::PersistentElementBase< C, int > | |
zstring_view | name |
int C::* | p |
Definition at line 92 of file ImGuiPartInterface.hh.
|
inlineconstexpr |
Definition at line 94 of file ImGuiPartInterface.hh.
|
inline |
Definition at line 97 of file ImGuiPartInterface.hh.
References contains(), openmsx::PersistentElementBase< C, int >::get(), and openmsx::PersistentElementEnum< C >::valid.
std::initializer_list<int> openmsx::PersistentElementEnum< C >::valid |
Definition at line 93 of file ImGuiPartInterface.hh.
Referenced by openmsx::PersistentElementEnum< C >::load().