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