GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
DropDownMenuItem.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Interfaces/Menu/IMenuItem.h
"
4
5
namespace
gui_framework
6
{
8
class
GUI_FRAMEWORK_API
DropDownMenuItem
:
public
interfaces::IMenuItem
9
{
10
protected
:
11
HMENU
popupMenuHandle
;
12
13
public
:
14
DropDownMenuItem
(
const
std::wstring& text, HMENU popupMenuHandle);
15
16
virtual
void
processMessage() final;
17
18
virtual std::tuple<uint32_t, uint64_t> getCreationData() const final override;
19
20
virtual json::JSONBuilder getStructure() const final override;
21
22
virtual ~
DropDownMenuItem
() = default;
23
};
24
}
GUI_FRAMEWORK_API
#define GUI_FRAMEWORK_API
Definition
GUIFrameworkConstants.h:103
IMenuItem.h
gui_framework::DropDownMenuItem
Standard drop-down menu item.
Definition
DropDownMenuItem.h:9
gui_framework::DropDownMenuItem::popupMenuHandle
HMENU popupMenuHandle
Definition
DropDownMenuItem.h:11
gui_framework::interfaces::IMenuItem
Interface for all menu items.
Definition
IMenuItem.h:11
gui_framework
Definition
BaseComponent.cpp:21
GUIFramework
src
MenuItems
DropDownMenuItem.h
Generated by
1.12.0