GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
ListBoxAdditionalCreationData.cpp
Go to the documentation of this file.
1
#include "
ListBoxAdditionalCreationData.h
"
2
3
using namespace
std;
4
5
namespace
gui_framework
6
{
7
namespace
utility
8
{
9
AdditionalCreationData<ListBox>::AdditionalCreationData
(
const
vector<wstring>& values,
bool
isSorting) :
10
values(values),
11
isSorting(isSorting)
12
{
13
14
}
15
16
any
AdditionalCreationData<ListBox>::getData
()
const
17
{
18
return
make_any<tuple<vector<wstring>,
bool
>>(values, isSorting);
19
}
20
21
AdditionalCreationData<MultipleSelectListBox>::AdditionalCreationData
(
const
vector<wstring>& values,
bool
isSorting) :
22
values(values),
23
isSorting(isSorting)
24
{
25
26
}
27
28
any
AdditionalCreationData<MultipleSelectListBox>::getData
()
const
29
{
30
return
make_any<tuple<vector<wstring>,
bool
>>(values, isSorting);
31
}
32
}
33
}
ListBoxAdditionalCreationData.h
gui_framework::utility::AdditionalCreationData
Base templated class for component creators.
Definition
AdditionalCreationData.h:12
gui_framework::utility::AdditionalCreationData::getData
virtual std::any getData() const
Definition
AdditionalCreationData.h:22
gui_framework::utility::AdditionalCreationData::AdditionalCreationData
AdditionalCreationData()=default
gui_framework
Definition
BaseComponent.cpp:21
GUIFramework
src
Utility
AdditionalCreationData
ListBoxAdditionalCreationData.cpp
Generated by
1.12.0