IconProviderBase

Base class for icon provider.

Members

Functions

getIconForFilePath
DrawBufRef getIconForFilePath(string filePath, DrawBufRef fallback)

Get image of icon associated with file path. If icon was not found use fallback.

getIconForFilePath
DrawBufRef getIconForFilePath(string filePath)

Get image of icon associated with file path. Return null image if icon was not found in the system. Default implementation detects icon for a directory and for a file using the list of hardcoded extensions.

getStandardIcon
DrawBufRef getStandardIcon(StandardIcon icon, DrawBufRef fallback)

Get image of standard icon. If icon was not found use fallback.

getStandardIcon
DrawBufRef getStandardIcon(StandardIcon icon)

Get image of standard icon. Return the null image if icon was not found in the system.

Meta