IconId class
#include <Jazz2/UI/Windows/Icons.h>
Icon of the interface, a StockIcon or one of an application.
Public static variables
-
static std::
uint16_t FirstCustom constexpr - First value of icons of an application.
Public static functions
-
static auto FromValue(std::
uint16_t value) -> IconId constexpr noexcept - Returns the icon of a value.
Constructors, destructors, conversion operators
- IconId() constexpr noexcept
- IconId(StockIcon icon) constexpr noexcept
-
template<class T, class = std::IconId(T icon) constexpr noexcept
enable_if_t<IsIconEnum<T>::value>> - operator bool() const explicit constexpr noexcept
- Returns
trueif it's not StockIcon::None.
Public functions
-
auto GetValue() const -> std::
uint16_t constexpr noexcept - Returns the value.
Friends
- auto operator==(IconId a, IconId b) -> bool constexpr noexcept
- auto operator!=(IconId a, IconId b) -> bool constexpr noexcept