mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added corners to triage card
This commit is contained in:
parent
7c30127ffb
commit
77210581f5
@ -24,11 +24,9 @@ _pos = [0,0,0,0];
|
||||
if (_show) then {
|
||||
_pos = ctrlPosition (_display displayCtrl 2001);
|
||||
};
|
||||
for "_idc" from 2002 to 2006 step 1 do
|
||||
{
|
||||
for "_idc" from 2002 to 2006 step 1 do {
|
||||
_pos set [1, (_pos select 1) + (_pos select 3)];
|
||||
_ctrl = (_display displayCtrl _idc);
|
||||
_ctrl ctrlSetPosition _pos;
|
||||
_ctrl ctrlCommit 0;
|
||||
};
|
||||
|
||||
|
BIN
addons/medical/ui/triage_card_corner_l.paa
Normal file
BIN
addons/medical/ui/triage_card_corner_l.paa
Normal file
Binary file not shown.
BIN
addons/medical/ui/triage_card_corner_r.paa
Normal file
BIN
addons/medical/ui/triage_card_corner_r.paa
Normal file
Binary file not shown.
@ -20,6 +20,22 @@ class GVAR(triageCard) {
|
||||
colorBackground[] = {1,1,1,1};
|
||||
text = "";
|
||||
};
|
||||
class cornor_top_l: ACE_gui_backgroundBase {
|
||||
idc = -1;
|
||||
x = "10 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
||||
y = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/2)";
|
||||
w = "5 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
||||
h = "5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
||||
font = "PuristaMedium";
|
||||
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
||||
colorText[] = {1,1,0,1};
|
||||
colorBackground[] = {0,0,0,0};
|
||||
text = QUOTE(PATHTOF(ui\triage_card_corner_l.paa));
|
||||
};
|
||||
class cornor_top_r: cornor_top_l {
|
||||
x = "20 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2)";
|
||||
text = QUOTE(PATHTOF(ui\triage_card_corner_r.paa));
|
||||
};
|
||||
|
||||
class TriageCardLabel {
|
||||
idc = 199;
|
||||
|
Loading…
Reference in New Issue
Block a user