7#ifndef __HDI_CORE_SVG_IDS__
8#define __HDI_CORE_SVG_IDS__
68 SVGIDs(
const int16_t light2x_,
const int16_t dark2x_);
110 typedef std::unique_ptr<SVGIDs> SVGIDsUP;
111 typedef std::shared_ptr<SVGIDs> SVGIDsSP;
112 typedef std::weak_ptr<SVGIDs> SVGIDsWP;
177 const int16_t light2x_,
178 const int16_t lightOver2x_,
179 const int16_t dark2x_,
180 const int16_t darkOver2x_
224 typedef std::unique_ptr<SVGWithRolloverIDs> SVGWithRolloverIDsUP;
225 typedef std::shared_ptr<SVGWithRolloverIDs> SVGWithRolloverIDsSP;
226 typedef std::weak_ptr<SVGWithRolloverIDs> SVGWithRolloverIDsWP;
Stores both light and dark SVG resource IDs, such that app UI brightness changes can be properly hand...
Definition: hdicoreSVGIDs.h:21
static const int16_t noneID
Default image ID to indicate that no image has been set.
Definition: hdicoreSVGIDs.h:28
int16_t lightID_2x
ID of the SVG resource that should be used when the UI is light in color (and Adobe expects the nativ...
Definition: hdicoreSVGIDs.h:34
virtual ~SVGIDs()
Destructs a SVGIDs object.
int16_t darkID_2x
ID of the SVG resource that should be used when the UI is dark in color (and Adobe expects the native...
Definition: hdicoreSVGIDs.h:40
bool operator!=(const SVGIDs &rhs_) const
Overloaded inequality operator to compare two SVGIDs objects with one another.
SVGIDs()
Constructs a new SVGIDs object with default values (i.e. noneID)
bool operator==(const SVGIDs &rhs_) const
Overloaded equality operator to compare two SVGIDs objects with one another.
SVGIDs(const SVGIDs &svg_)
Constructs a new SVGIDs object with the same values as an existing object.
SVGIDs(const int16_t light2x_, const int16_t dark2x_)
Constructs a new SVGIDs object from light and dark image IDs.
SVGIDs & operator=(const SVGIDs &rhs_)
Overloaded assignment operator to copy values from one SVGIDs object to another.
Allows for image rollover support.
Definition: hdicoreSVGIDs.h:120
SVGWithRolloverIDs(const SVGWithRolloverIDs &ids_)
SVGWithRolloverIDs copy constructor, using values from an existing object.
bool operator==(const SVGWithRolloverIDs &rhs_) const
Overloaded equality operator to compare two SVGWithRolloverIDs objects with one another.
bool operator!=(const SVGWithRolloverIDs &rhs_) const
Overloaded inequality operator to compare two SVGWithRolloverIDs objects with one another.
SVGWithRolloverIDs(const int16_t light2x_, const int16_t lightOver2x_, const int16_t dark2x_, const int16_t darkOver2x_)
Constructs a SVGWithRolloverIDs object from light-UI, light-UI rollover, dark-UI, and dark-UI resourc...
SVGWithRolloverIDs()
Default SVGWithRolloverIDs constructor, setting all ID values to noneID.
int16_t lightOverID_2x
ID of the SVG resource that should be used for rollover when the UI is light in color (and Adobe expe...
Definition: hdicoreSVGIDs.h:127
int16_t darkOverID_2x
ID of the SVG resource that should be used for rollover when the UI is dark in color (and Adobe expec...
Definition: hdicoreSVGIDs.h:133
SVGWithRolloverIDs(const int16_t light2x_, const int16_t dark2x_)
Constructs a SVGWithRolloverIDs object from light and dark image IDs (without any rollovers)
virtual ~SVGWithRolloverIDs()
SVGWithRolloverIDs destructor.
SVGWithRolloverIDs & operator=(const SVGWithRolloverIDs &rhs_)
Overloaded assignment operator to copy values from one SVGWithRolloverIDs object to another.
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.