NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
IconManager.h
Go to the documentation of this file.
1#ifndef ICONMANAGER_H
2#define ICONMANAGER_H
3
4#include <wx/string.h>
5#include <wx/imaglist.h>
6
7#include "../common/CommonHeaders.h"
8#include "../common/datastructures.h"
9
11{
12public:
13 IconManager(const wxString& programPath);
15
16 int GetIconIndex(wxString iconInfo);
17 wxImageList* GetImageList();
18
19private:
20 bool AddIconToList(wxString iconInfo);
21 void CreateDisabledIcon(wxString iconInfo);
22
23 IconManager(const IconManager&) = delete;
25
26
27 StringIntHashmap m_iconExtensionMapping;
28 wxImageList* m_images;
30
31};
32
33
34#endif
IconManager(const wxString &programPath)
Definition: IconManager.cpp:22
IconManager & operator=(const IconManager &)=delete
IconManager(const IconManager &)=delete
wxImageList * m_images
Definition: IconManager.h:28
void CreateDisabledIcon(wxString iconInfo)
bool AddIconToList(wxString iconInfo)
int GetIconIndex(wxString iconInfo)
wxImageList * GetImageList()
StringIntHashmap m_iconExtensionMapping
Definition: IconManager.h:27
double m_imageScaleFactor
Definition: IconManager.h:29