GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
IconListViewAdditionalCreationData.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:
17 std::vector<std::filesystem::path> pathToIcons;
18
19 public:
21
22 AdditionalCreationData(iconListViewType type, const std::vector<std::filesystem::path>& pathToIcons);
23
24 virtual std::any getData() const;
25
26 virtual ~AdditionalCreationData() = default;
27 };
28
30 template<>
32 {
33 protected:
35 std::vector<std::filesystem::path> pathToIcons;
36
37 public:
39
40 AdditionalCreationData(iconListViewType type, const std::vector<std::filesystem::path>& pathToIcons);
41
42 virtual std::any getData() const;
43
44 virtual ~AdditionalCreationData() = default;
45 };
46 }
47}
#define GUI_FRAMEWORK_API
Standard list view with icon items.
Definition IconListView.h:9
Standard list view in list mode with icon items.
AdditionalCreationData(iconListViewType type, const std::vector< std::filesystem::path > &pathToIcons)
AdditionalCreationData(iconListViewType type, const std::vector< std::filesystem::path > &pathToIcons)
Base templated class for component creators.