openMSX
Public Member Functions | List of all members
openmsx::PersistentElement< C, gl::ivec2 > Struct Template Reference

#include <ImGuiPartInterface.hh>

Inheritance diagram for openmsx::PersistentElement< C, gl::ivec2 >:
Inheritance graph
[legend]
Collaboration diagram for openmsx::PersistentElement< C, gl::ivec2 >:
Collaboration graph
[legend]

Public Member Functions

void save (ImGuiTextBuffer &buf, C &c) const
 
void load (C &c, zstring_view value) const
 
- Public Member Functions inherited from openmsx::PersistentElementBase< C, gl::ivec2 >
constexpr PersistentElementBase (zstring_view name_, gl::ivec2 C::*p_)
 
gl::ivec2get (C &c) const
 

Additional Inherited Members

- Public Attributes inherited from openmsx::PersistentElementBase< C, gl::ivec2 >
zstring_view name
 
gl::ivec2 C::* p
 

Detailed Description

template<typename C>
struct openmsx::PersistentElement< C, gl::ivec2 >

Definition at line 151 of file ImGuiPartInterface.hh.

Member Function Documentation

◆ load()

template<typename C >
void openmsx::PersistentElement< C, gl::ivec2 >::load ( C c,
zstring_view  value 
) const
inline

Definition at line 157 of file ImGuiPartInterface.hh.

References zstring_view::c_str(), and t.

◆ save()

template<typename C >
void openmsx::PersistentElement< C, gl::ivec2 >::save ( ImGuiTextBuffer &  buf,
C c 
) const
inline

Definition at line 153 of file ImGuiPartInterface.hh.


The documentation for this struct was generated from the following file: