GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
IIconListView.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
IBaseListViewOperations.h
"
4
#include "
Holders/LoadableHolders/IconsHolder.h
"
5
6
namespace
gui_framework
7
{
8
namespace
interfaces
9
{
11
class
GUI_FRAMEWORK_API
IIconListView
:
public
IBaseListViewOperations
12
{
13
private
:
14
utility::IconsHolder
& icons;
15
16
public
:
17
IIconListView
(HWND handle,
utility::IconsHolder
& icons);
18
19
virtual
LRESULT addIconItem(
const
std::filesystem::path& pathToIcon);
20
21
virtual
LRESULT insertIconItem(
const
std::filesystem::path& pathToIcon,
size_t
index);
22
23
virtual
std::filesystem::path getIconPath(
size_t
index)
const
;
24
25
virtual
size_t
getIconIndex(
size_t
index)
const
;
26
27
virtual
~IIconListView
() =
default
;
28
};
29
}
30
}
GUI_FRAMEWORK_API
#define GUI_FRAMEWORK_API
Definition
GUIFrameworkConstants.h:103
IBaseListViewOperations.h
IconsHolder.h
gui_framework::interfaces::IBaseListViewOperations
Provides adding, deleting, setting, getting items for other list view interfaces.
Definition
IBaseListViewOperations.h:11
gui_framework::interfaces::IIconListView
Provides adding icon items for list views.
Definition
IIconListView.h:12
gui_framework::interfaces::IIconListView::~IIconListView
virtual ~IIconListView()=default
gui_framework::utility::IconsHolder
Icons loader.
Definition
IconsHolder.h:11
gui_framework
Definition
BaseComponent.cpp:21
GUIFramework
src
Interfaces
Components
ListViews
IIconListView.h
Generated by
1.12.0