Files
Aurora.3/code/__defines/vueui.dm
Karolis 4065e29e86 Vue.js UI implementation (#4868)
This UI is going to be more integrated with BYOND host objects. It's update principal is very different from nanoui's. It is based around state that is being synchronized with server and client (browser). Such synchronization has it's problems, like it can't handle rapid changes, what could cause client and server to become out of sync and client state to be discard.
2018-08-04 20:19:29 +03:00

12 lines
477 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 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()