Files
Aurora.3/code/__defines/vueui.dm
2019-05-11 21:33:11 +02:00

13 lines
549 B
Plaintext

#define VUEUI_SET_CHECK(a, b, c, d) if (a != b) { a = b; c = d; }
#define VUEUI_SET_CHECK_IFNOTSET(a, b, c, d) if (a == null && a != b) { a = b; c = d; }
#define VUEUI_SET_IFNOTSET(a, b, c, d) if (a == null) { a = b; c = d; }
#define THEME_TYPE_DARK 1
#define THEME_TYPE_LIGHT 0
#define VUEUI_MONITOR_VARS(type, monitor_name) \
/datum/vueui_var_monitor/##monitor_name { subject_type = type; }; \
\
/datum/vueui_var_monitor/##monitor_name/populate_var_holders()