Differences From Artifact [59ecd06578]:
- File src/OFColor.h — part of check-in [a4acd52c17] at 2020-05-21 16:57:31 on branch trunk — OFColor: Add singletons for the 16 HTML 4 colors (user: js, size: 5742) [annotate] [blame] [check-ins using] [more...]
To Artifact [63607b4bf0]:
- File
src/OFColor.h
— part of check-in
[ef614a225d]
at
2020-09-26 21:58:39
on branch trunk
— Don't require __COUNTER__ for OF_RESERVE_IVARS
__COUNTER__ does not exist in GCC 4.2, and Apple GCC 4.2 is still the
newest compiler available for macOS 10.5. (user: js, size: 5751) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
23 24 25 26 27 28 29 | * @class OFColor OFColor.h ObjFW/OFColor.h * * @brief A class for storing a color. */ @interface OFColor: OFObject { float _red, _green, _blue, _alpha; | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | * @class OFColor OFColor.h ObjFW/OFColor.h * * @brief A class for storing a color. */ @interface OFColor: OFObject { float _red, _green, _blue, _alpha; OF_RESERVE_IVARS(OFColor, 4) } #ifdef OF_HAVE_CLASS_PROPERTIES @property (class, readonly, nonatomic) OFColor *black; @property (class, readonly, nonatomic) OFColor *silver; @property (class, readonly, nonatomic) OFColor *grey; @property (class, readonly, nonatomic) OFColor *white; |
︙ | ︙ |