GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
gui_framework::deserializers::DropDownMenuItemDeserializer Class Reference

Deserialize DropDownMenuItem from JSON. More...

#include <DropDownMenuItemDeserializer.h>

Public Member Functions

 DropDownMenuItemDeserializer (BaseSeparateWindow *menuHolder)
 
std::unique_ptr< DropDownMenuItemdeserializeDropDownMenuItem (const std::wstring &text, uint64_t popupId, const std::vector< json::utility::jsonObject > &popupItems, Menu &menu)
 
 ~DropDownMenuItemDeserializer ()=default
 

Detailed Description

Deserialize DropDownMenuItem from JSON.

Definition at line 11 of file DropDownMenuItemDeserializer.h.

Constructor & Destructor Documentation

◆ DropDownMenuItemDeserializer()

gui_framework::deserializers::DropDownMenuItemDeserializer::DropDownMenuItemDeserializer ( BaseSeparateWindow * menuHolder)

Definition at line 15 of file DropDownMenuItemDeserializer.cpp.

◆ ~DropDownMenuItemDeserializer()

gui_framework::deserializers::DropDownMenuItemDeserializer::~DropDownMenuItemDeserializer ( )
default

Member Function Documentation

◆ deserializeDropDownMenuItem()

unique_ptr< DropDownMenuItem > gui_framework::deserializers::DropDownMenuItemDeserializer::deserializeDropDownMenuItem ( const std::wstring & text,
uint64_t popupId,
const std::vector< json::utility::jsonObject > & popupItems,
Menu & menu )
Parameters
text
popupId
popupItems
menu
Returns
Exceptions
WrongMenuTypeException

Definition at line 21 of file DropDownMenuItemDeserializer.cpp.


The documentation for this class was generated from the following files: