2023-02-02 05:28:55 +00:00
|
|
|
// Workaround required for new HEMTT, vanilla macros requires the use of auto-quote
|
|
|
|
#undef IGUI_GRID_STANCE_X
|
|
|
|
#undef IGUI_GRID_STANCE_Y
|
|
|
|
#define ace_IGUI_GRID_STANCE_X (profilenamespace getvariable ['IGUI_GRID_STANCE_X',IGUI_GRID_STANCE_XDef])
|
|
|
|
#define ace_IGUI_GRID_STANCE_Y (profilenamespace getvariable ['IGUI_GRID_STANCE_Y',IGUI_GRID_STANCE_YDef])
|
|
|
|
|
2020-02-22 20:42:59 +00:00
|
|
|
class RscPictureKeepAspect;
|
|
|
|
class RscInGameUI {
|
|
|
|
class RscStanceInfo {
|
2021-10-12 12:16:30 +00:00
|
|
|
controls[] += {
|
|
|
|
QGVAR(bloodVolumeIndicator),
|
|
|
|
QGVAR(stateIndicator1),
|
|
|
|
QGVAR(stateIndicator2),
|
|
|
|
QGVAR(stateIndicator3)
|
|
|
|
};
|
2020-02-22 20:42:59 +00:00
|
|
|
class GVAR(bloodVolumeIndicator): RscPictureKeepAspect {
|
|
|
|
onLoad = QUOTE(uiNamespace setVariable [ARR_2(QQGVAR(bloodVolumeIndicator),_this select 0)]);
|
2023-02-02 05:28:55 +00:00
|
|
|
x = QUOTE(ace_IGUI_GRID_STANCE_X);
|
|
|
|
y = QUOTE(ace_IGUI_GRID_STANCE_Y);
|
|
|
|
w = QUOTE(IGUI_GRID_STANCE_WAbs / 4);
|
|
|
|
h = QUOTE(IGUI_GRID_STANCE_HAbs / 4);
|
2020-02-22 20:42:59 +00:00
|
|
|
};
|
2021-10-12 12:16:30 +00:00
|
|
|
|
|
|
|
class GVAR(stateIndicator1): RscPictureKeepAspect {
|
2023-11-05 18:36:00 +00:00
|
|
|
onLoad = QUOTE(uiNamespace setVariable [ARR_2(QQGVAR(stateIndicator1),_this select 0)]);
|
2023-02-02 05:28:55 +00:00
|
|
|
x = QUOTE(ace_IGUI_GRID_STANCE_X + IGUI_GRID_STANCE_WAbs * 3 / 4);
|
|
|
|
y = QUOTE(ace_IGUI_GRID_STANCE_Y);
|
|
|
|
w = QUOTE(IGUI_GRID_STANCE_WAbs / 4);
|
|
|
|
h = QUOTE(IGUI_GRID_STANCE_HAbs / 4);
|
2021-10-12 12:16:30 +00:00
|
|
|
};
|
|
|
|
class GVAR(stateIndicator2): GVAR(stateIndicator1) {
|
2023-11-05 18:36:00 +00:00
|
|
|
onLoad = QUOTE(uiNamespace setVariable [ARR_2(QQGVAR(stateIndicator2),_this select 0)]);
|
2023-02-02 05:28:55 +00:00
|
|
|
y = QUOTE(ace_IGUI_GRID_STANCE_Y + IGUI_GRID_STANCE_HAbs / 4);
|
2021-10-12 12:16:30 +00:00
|
|
|
};
|
|
|
|
class GVAR(stateIndicator3): GVAR(stateIndicator1) {
|
2023-11-05 18:36:00 +00:00
|
|
|
onLoad = QUOTE(uiNamespace setVariable [ARR_2(QQGVAR(stateIndicator3),_this select 0)]);
|
2023-02-02 05:28:55 +00:00
|
|
|
y = QUOTE(ace_IGUI_GRID_STANCE_Y + IGUI_GRID_STANCE_HAbs * 2 / 4);
|
2021-10-12 12:16:30 +00:00
|
|
|
};
|
2020-02-22 20:42:59 +00:00
|
|
|
};
|
|
|
|
};
|