NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
IconManager Class Reference

#include <IconManager.h>

Collaboration diagram for IconManager:

Public Member Functions

 IconManager (const wxString &programPath)
 
 ~IconManager ()
 
int GetIconIndex (wxString iconInfo)
 
wxImageList * GetImageList ()
 

Private Member Functions

bool AddIconToList (wxString iconInfo)
 
void CreateDisabledIcon (wxString iconInfo)
 
 IconManager (const IconManager &)=delete
 
IconManageroperator= (const IconManager &)=delete
 

Private Attributes

StringIntHashmap m_iconExtensionMapping
 
wxImageList * m_images
 
double m_imageScaleFactor
 

Detailed Description

Definition at line 10 of file IconManager.h.

Constructor & Destructor Documentation

◆ IconManager() [1/2]

IconManager::IconManager ( const wxString &  programPath)

Definition at line 22 of file IconManager.cpp.

References AddIconToList(), CreateDisabledIcon(), GetIconIndex(), m_iconExtensionMapping, m_images, and m_imageScaleFactor.

Here is the call graph for this function:

◆ ~IconManager()

IconManager::~IconManager ( )

Definition at line 154 of file IconManager.cpp.

References m_images.

◆ IconManager() [2/2]

IconManager::IconManager ( const IconManager )
privatedelete

Member Function Documentation

◆ AddIconToList()

bool IconManager::AddIconToList ( wxString  iconInfo)
private

Definition at line 159 of file IconManager.cpp.

References _T, g_pixelScale, m_iconExtensionMapping, m_images, m_imageScaleFactor, and mu::rint().

Referenced by GetIconIndex(), and IconManager().

Here is the call graph for this function:

◆ CreateDisabledIcon()

void IconManager::CreateDisabledIcon ( wxString  iconInfo)
private

Definition at line 257 of file IconManager.cpp.

References GetIconIndex(), m_iconExtensionMapping, and m_images.

Referenced by IconManager().

Here is the call graph for this function:

◆ GetIconIndex()

◆ GetImageList()

wxImageList * IconManager::GetImageList ( )

Definition at line 281 of file IconManager.cpp.

References m_images.

Referenced by NumeReWindow::NumeReWindow(), and PackageRepoBrowser::PackageRepoBrowser().

◆ operator=()

IconManager & IconManager::operator= ( const IconManager )
privatedelete

Member Data Documentation

◆ m_iconExtensionMapping

StringIntHashmap IconManager::m_iconExtensionMapping
private

Definition at line 27 of file IconManager.h.

Referenced by AddIconToList(), CreateDisabledIcon(), GetIconIndex(), and IconManager().

◆ m_images

wxImageList* IconManager::m_images
private

◆ m_imageScaleFactor

double IconManager::m_imageScaleFactor
private

Definition at line 29 of file IconManager.h.

Referenced by AddIconToList(), and IconManager().


The documentation for this class was generated from the following files: