GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
DropDownMenuItemDeserializer.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
MenuItems/DropDownMenuItem.h
"
4
#include "
BaseComposites/StandardComposites/BaseSeparateWindow.h
"
5
6
namespace
gui_framework
7
{
8
namespace
deserializers
9
{
11
class
GUI_FRAMEWORK_API
DropDownMenuItemDeserializer
12
{
13
private
:
14
BaseSeparateWindow
* menuHolder;
15
16
public
:
17
DropDownMenuItemDeserializer
(
BaseSeparateWindow
* menuHolder);
18
26
std::unique_ptr<DropDownMenuItem> deserializeDropDownMenuItem(
const
std::wstring& text, uint64_t popupId,
const
std::vector<json::utility::jsonObject>& popupItems,
Menu
& menu);
27
28
~DropDownMenuItemDeserializer
() =
default
;
29
};
30
}
31
}
BaseSeparateWindow.h
DropDownMenuItem.h
GUI_FRAMEWORK_API
#define GUI_FRAMEWORK_API
Definition
GUIFrameworkConstants.h:103
gui_framework::BaseSeparateWindow
Base class for separate windows.
Definition
BaseSeparateWindow.h:14
gui_framework::Menu
Menu class.
Definition
Menu.h:9
gui_framework::deserializers::DropDownMenuItemDeserializer
Deserialize DropDownMenuItem from JSON.
Definition
DropDownMenuItemDeserializer.h:12
gui_framework::deserializers::DropDownMenuItemDeserializer::~DropDownMenuItemDeserializer
~DropDownMenuItemDeserializer()=default
gui_framework
Definition
BaseComponent.cpp:21
GUIFramework
src
Deserialization
Deserializers
DropDownMenuItemDeserializer.h
Generated by
1.12.0