Files
Aurora.3/code/__defines/vueui.dm
2019-09-24 00:42:15 +04:00

15 lines
602 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 FALLBACK_HTML_THEME "theme-nano dark-theme"
#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()