XDGKit v0.1.0-1
XDG Utilities for C++
|
Group of icons with shared properties. More...
#include <XDGIconDirectory.h>
Public Types | |
enum | Type |
Represents the type of the directory. More... | |
enum | SizeType |
Describes the algorithm used to determine if an icon matches a given size. More... | |
enum | Context |
Defines the context to which icons belong. More... | |
Public Member Functions | |
XDGKit & | kit () const noexcept |
Handle to the parent kit. | |
int32_t | size () const noexcept |
Retrieves the nominal (unscaled) size of icons in the directory. | |
int32_t | maxSize () const noexcept |
Retrieves the maximum nominal size of scalable icons. | |
int32_t | minSize () const noexcept |
Retrieves the minimum nominal size of scalable icons. | |
int32_t | scale () const noexcept |
Retrieves the scale factor of the icons. | |
int32_t | threshold () const noexcept |
Retrieves the nominal size threshold for icons in the directory. | |
Type | type () const noexcept |
Retrieves the type of the directory. | |
SizeType | sizeType () const noexcept |
Retrieves the size type of the icons. | |
Context | context () const noexcept |
Retrieves the context associated with the icons in the directory. | |
const char * | dirName () const noexcept |
Retrieves the directory name. | |
std::filesystem::path | dir () const noexcept |
Retrieves the absolute path to the icon directory. | |
const std::map< const char *, std::shared_ptr< XDGIcon > > & | icons () const noexcept |
Retrieves the icons located in the directory. | |
XDGIconTheme & | theme () const noexcept |
Retrieves the theme to which this directory belongs. | |
Group of icons with shared properties.
This class encapsulates properties of an icon directory, including its size type, scaling information, context, and the icons it contains.
enum Type |
enum SizeType |
enum Context |
|
noexcept |
Handle to the parent kit.
|
inlinenoexcept |
Retrieves the nominal (unscaled) size of icons in the directory.
|
inlinenoexcept |
Retrieves the maximum nominal size of scalable icons.
|
inlinenoexcept |
Retrieves the minimum nominal size of scalable icons.
|
inlinenoexcept |
Retrieves the scale factor of the icons.
|
inlinenoexcept |
Retrieves the nominal size threshold for icons in the directory.
|
inlinenoexcept |
Retrieves the type of the directory.
|
inlinenoexcept |
Retrieves the size type of the icons.
|
inlinenoexcept |
Retrieves the context associated with the icons in the directory.
|
inlinenoexcept |
Retrieves the directory name.
|
noexcept |
Retrieves the absolute path to the icon directory.
|
inlinenoexcept |
Retrieves the icons located in the directory.
|
inlinenoexcept |
Retrieves the theme to which this directory belongs.