|
XDGKit v1.0.0-1
C++ XDG Utilities
|
Group of icons with shared properties. More...
#include <XDGIconDirectory.h>
Public Types | |
| enum | Type : uint32_t |
| Represents the type of the directory. More... | |
| enum | SizeType : uint32_t |
| Describes the algorithm used to determine if an icon matches a given size. More... | |
| enum | Context : uint32_t |
| 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 std::string_view & | dirName () const noexcept |
| Retrieves the directory name. | |
| std::filesystem::path | dir () const noexcept |
| Retrieves the absolute path to the icon directory. | |
| const XDGMap< std::string_view, XDGIcon > & | icons () const noexcept |
| Retrieves the icons located in the directory. | |
| XDGIconTheme & | theme () const noexcept |
| Retrieves the theme to which this directory belongs. | |
| bool | usingCache () const noexcept |
| Indicates whether the parent theme was loaded from cache. | |
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 : uint32_t |
| enum SizeType : uint32_t |
| enum Context : uint32_t |
|
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.
Retrieves the icons located in the directory.
|
inlinenoexcept |
Retrieves the theme to which this directory belongs.
|
noexcept |
Indicates whether the parent theme was loaded from cache.