GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
ListBoxAdditionalCreationData.cpp
Go to the documentation of this file.
2
3using namespace std;
4
5namespace 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
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
29 {
30 return make_any<tuple<vector<wstring>, bool>>(values, isSorting);
31 }
32 }
33}
Base templated class for component creators.