diff options
author | zaaarf <zaaarf@proton.me> | 2023-12-01 20:03:03 +0100 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-12-01 20:03:03 +0100 |
commit | 2d76e0766f0d65ffd8c9eb19eaec705445f91af0 (patch) | |
tree | a3ba37c2d652b95085ac8cf72a25941da26498ad /src/openvic-simulation/misc/Modifier.hpp | |
parent | a54898b7770e0d66b729216173960686c67e58bb (diff) |
feat: replaced REF_GETTERS with PROPERTY_REF, added PROPERTY_CUSTOM_PREFIX
Diffstat (limited to 'src/openvic-simulation/misc/Modifier.hpp')
-rw-r--r-- | src/openvic-simulation/misc/Modifier.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/misc/Modifier.hpp b/src/openvic-simulation/misc/Modifier.hpp index 34acd9d..c1c532a 100644 --- a/src/openvic-simulation/misc/Modifier.hpp +++ b/src/openvic-simulation/misc/Modifier.hpp @@ -19,7 +19,7 @@ namespace OpenVic { /* If true, positive values will be green and negative values will be red. * If false, the colours will be switced. */ - const bool PROPERTY_CUSTOM_NAME(positive_good, is_positive_good); + const bool PROPERTY_CUSTOM_PREFIX(positive_good, is); const format_t PROPERTY(format); // TODO - format/precision, e.g. 80% vs 0.8 vs 0.800, 2 vs 2.0 vs 200% |