GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
|
Base class for all menu items. More...
#include <BaseMenuItem.h>
Public Member Functions | |
BaseMenuItem (const std::wstring &text) | |
virtual void | processMessage ()=0 |
virtual std::tuple< uint32_t, uint64_t > | getCreationData () const final override |
virtual | ~BaseMenuItem ()=default |
Public Member Functions inherited from gui_framework::interfaces::IMenuItem | |
IMenuItem (const std::wstring &text, const std::string &type) | |
virtual void | createMenuItem (HMENU parent) final |
virtual void | setParent (HMENU parent) final |
virtual void | setIndex (uint32_t index) final |
virtual const std::wstring & | getText () const final |
virtual const std::string & | getType () const final |
virtual json::JSONBuilder | getStructure () const override |
virtual | ~IMenuItem () |
Public Member Functions inherited from gui_framework::interfaces::ISerializable | |
ISerializable ()=default | |
virtual | ~ISerializable ()=default |
Additional Inherited Members | |
Static Public Member Functions inherited from gui_framework::interfaces::ISerializable | |
static uint32_t | getCodepage () |
Protected Attributes inherited from gui_framework::interfaces::IMenuItem | |
std::wstring | text |
std::string | type |
HMENU | parent |
uint32_t | index |
Base class for all menu items.
Definition at line 8 of file BaseMenuItem.h.
gui_framework::BaseMenuItem::BaseMenuItem | ( | const std::wstring & | text | ) |
Definition at line 7 of file BaseMenuItem.cpp.
|
virtualdefault |
|
finaloverridevirtual |
Implements gui_framework::interfaces::IMenuItem.
Definition at line 17 of file BaseMenuItem.cpp.
|
pure virtual |
Implements gui_framework::interfaces::IMenuItem.
Implemented in gui_framework::MenuItem.