GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
ListBoxAdditionalCreationData.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace gui_framework
8{
9 namespace utility
10 {
12 template<>
14 {
15 protected:
16 std::vector<std::wstring> values;
18
19 public:
21
22 AdditionalCreationData(const std::vector<std::wstring>& values, bool isSorting = false);
23
24 virtual std::any getData() const;
25
26 virtual ~AdditionalCreationData() = default;
27 };
28
30 template<>
32 {
33 protected:
34 std::vector<std::wstring> values;
36
37 public:
39
40 AdditionalCreationData(const std::vector<std::wstring>& values, bool isSorting = false);
41
42 virtual std::any getData() const;
43
44 virtual ~AdditionalCreationData() = default;
45 };
46 }
47}
#define GUI_FRAMEWORK_API
Standard list box.
Definition ListBox.h:9
Standard multiple select list box.
AdditionalCreationData(const std::vector< std::wstring > &values, bool isSorting=false)
AdditionalCreationData(const std::vector< std::wstring > &values, bool isSorting=false)
Base templated class for component creators.