mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
751ddb64ac
* Handle old public funcs, fix strings * Update addons/medical/XEH_preInit.sqf Co-Authored-By: PabstMirror <pabstmirror@gmail.com>
615 lines
20 KiB
C++
615 lines
20 KiB
C++
class RscText;
|
|
class RscButton;
|
|
class RscPicture;
|
|
class RscListBox;
|
|
class RscActivePicture;
|
|
class RscButtonMenu;
|
|
class RscControlsGroupNoScrollbars;
|
|
|
|
class GVAR(BodyImage): RscControlsGroupNoScrollbars {
|
|
idc = IDC_BODY_GROUP;
|
|
x = POS_X(13.33);
|
|
y = POS_Y(2.73);
|
|
w = POS_W(12.33);
|
|
h = POS_H(12.33);
|
|
class controls {
|
|
class Background: RscPicture {
|
|
idc = -1;
|
|
text = QPATHTOF(data\body_image\background.paa);
|
|
x = 0;
|
|
y = 0;
|
|
w = POS_W(12.33);
|
|
h = POS_H(12.33);
|
|
};
|
|
class Head: Background {
|
|
idc = IDC_BODY_HEAD;
|
|
text = QPATHTOF(data\body_image\head.paa);
|
|
};
|
|
class Torso: Background {
|
|
idc = IDC_BODY_TORSO;
|
|
text = QPATHTOF(data\body_image\torso.paa);
|
|
};
|
|
class ArmLeft: Background {
|
|
idc = IDC_BODY_ARMLEFT;
|
|
text = QPATHTOF(data\body_image\arm_left.paa);
|
|
};
|
|
class ArmRight: Background {
|
|
idc = IDC_BODY_ARMRIGHT;
|
|
text = QPATHTOF(data\body_image\arm_right.paa);
|
|
};
|
|
class LegLeft: Background {
|
|
idc = IDC_BODY_LEGLEFT;
|
|
text = QPATHTOF(data\body_image\leg_left.paa);
|
|
};
|
|
class LegRight: Background {
|
|
idc = IDC_BODY_LEGRIGHT;
|
|
text = QPATHTOF(data\body_image\leg_right.paa);
|
|
};
|
|
class ArmLeftT: Background {
|
|
idc = IDC_BODY_ARMLEFT_T;
|
|
text = QPATHTOF(data\body_image\arm_left_t.paa);
|
|
colorText[] = {0, 0, 0.8, 1};
|
|
show = 0;
|
|
};
|
|
class ArmRightT: ArmLeftT {
|
|
idc = IDC_BODY_ARMRIGHT_T;
|
|
text = QPATHTOF(data\body_image\arm_right_t.paa);
|
|
};
|
|
class LegLeftT: ArmLeftT {
|
|
idc = IDC_BODY_LEGLEFT_T;
|
|
text = QPATHTOF(data\body_image\leg_left_t.paa);
|
|
};
|
|
class LegRightT: ArmLeftT {
|
|
idc = IDC_BODY_LEGRIGHT_T;
|
|
text = QPATHTOF(data\body_image\leg_right_t.paa);
|
|
};
|
|
};
|
|
};
|
|
|
|
class GVAR(TriageToggle): RscButton {
|
|
idc = -1;
|
|
onButtonClick = QUOTE([ctrlParent (_this select 0)] call FUNC(toggleTriageSelect));
|
|
x = POS_X(13.33);
|
|
y = POS_Y(15.5);
|
|
w = POS_W(12.33);
|
|
h = POS_H(1.1);
|
|
colorFocused[] = {0, 0, 0, 0};
|
|
colorBackground[] = {0, 0, 0, 0};
|
|
colorBackgroundActive[] = {0, 0, 0, 0};
|
|
};
|
|
|
|
class GVAR(TriageSelect): RscControlsGroupNoScrollbars {
|
|
idc = IDC_TRIAGE_SELECT;
|
|
x = POS_X(13.33);
|
|
y = POS_Y(16.6);
|
|
w = POS_W(12.33);
|
|
h = POS_H(5.5);
|
|
class controls {
|
|
class None: RscButton {
|
|
idc = -1;
|
|
onButtonClick = QUOTE([ARR_3(ctrlParent (_this select 0),GVAR(target),0)] call FUNC(handleTriageSelect));
|
|
style = ST_CENTER;
|
|
text = ECSTRING(medical_treatment,Triage_Status_None);
|
|
x = 0;
|
|
y = 0;
|
|
w = POS_W(12.33);
|
|
h = POS_H(1.1);
|
|
shadow = 0;
|
|
colorText[] = {TRIAGE_TEXT_COLOR_NONE};
|
|
colorFocused[] = {TRIAGE_COLOR_NONE};
|
|
colorBackground[] = {TRIAGE_COLOR_NONE};
|
|
colorBackgroundActive[] = {TRIAGE_COLOR_NONE};
|
|
};
|
|
class Minimal: None {
|
|
onButtonClick = QUOTE([ARR_3(ctrlParent (_this select 0),GVAR(target),1)] call FUNC(handleTriageSelect));
|
|
text = ECSTRING(medical_treatment,Triage_Status_Minimal);
|
|
y = POS_H(1.1);
|
|
colorText[] = {TRIAGE_TEXT_COLOR_MINIMAL};
|
|
colorFocused[] = {TRIAGE_COLOR_MINIMAL};
|
|
colorBackground[] = {TRIAGE_COLOR_MINIMAL};
|
|
colorBackgroundActive[] = {TRIAGE_COLOR_MINIMAL};
|
|
};
|
|
class Delayed: None {
|
|
onButtonClick = QUOTE([ARR_3(ctrlParent (_this select 0),GVAR(target),2)] call FUNC(handleTriageSelect));
|
|
text = ECSTRING(medical_treatment,Triage_Status_Delayed);
|
|
y = POS_H(2.2);
|
|
colorText[] = {TRIAGE_TEXT_COLOR_DELAYED};
|
|
colorFocused[] = {TRIAGE_COLOR_DELAYED};
|
|
colorBackground[] = {TRIAGE_COLOR_DELAYED};
|
|
colorBackgroundActive[] = {TRIAGE_COLOR_DELAYED};
|
|
};
|
|
class Immediate: None {
|
|
onButtonClick = QUOTE([ARR_3(ctrlParent (_this select 0),GVAR(target),3)] call FUNC(handleTriageSelect));
|
|
text = ECSTRING(medical_treatment,Triage_Status_Immediate);
|
|
y = POS_H(3.3);
|
|
colorText[] = {TRIAGE_TEXT_COLOR_IMMEDIATE};
|
|
colorFocused[] = {TRIAGE_COLOR_IMMEDIATE};
|
|
colorBackground[] = {TRIAGE_COLOR_IMMEDIATE};
|
|
colorBackgroundActive[] = {TRIAGE_COLOR_IMMEDIATE};
|
|
};
|
|
class Deceased: None {
|
|
onButtonClick = QUOTE([ARR_3(ctrlParent (_this select 0),GVAR(target),4)] call FUNC(handleTriageSelect));
|
|
text = ECSTRING(medical_treatment,Triage_Status_Deceased);
|
|
y = POS_H(4.4);
|
|
colorText[] = {TRIAGE_TEXT_COLOR_DECEASED};
|
|
colorFocused[] = {TRIAGE_COLOR_DECEASED};
|
|
colorBackground[] = {TRIAGE_COLOR_DECEASED};
|
|
colorBackgroundActive[] = {TRIAGE_COLOR_DECEASED};
|
|
};
|
|
};
|
|
};
|
|
|
|
class ACE_Medical_Menu {
|
|
idd = IDD_MEDICAL_MENU;
|
|
movingEnable = 1;
|
|
enableSimulation = 1;
|
|
onLoad = QUOTE(_this call FUNC(onMenuOpen));
|
|
onUnload = QUOTE(_this call FUNC(onMenuClose));
|
|
class controlsBackground {
|
|
class Title: RscText {
|
|
idc = IDC_TITLE;
|
|
x = POS_X(1);
|
|
y = POS_Y(0);
|
|
w = POS_W(38);
|
|
h = POS_H(1);
|
|
colorBackground[] = GUI_BCG_COLOR;
|
|
moving = 1;
|
|
};
|
|
class Center: RscText {
|
|
idc = -1;
|
|
x = POS_X(1);
|
|
y = POS_Y(1.1);
|
|
w = POS_W(38);
|
|
h = POS_H(16);
|
|
colorBackground[] = {0, 0, 0, 0.7};
|
|
};
|
|
class Bottom: Center {
|
|
y = POS_Y(17.6);
|
|
h = POS_H(9);
|
|
};
|
|
};
|
|
class controls {
|
|
class TreatmentHeader: RscText {
|
|
idc = -1;
|
|
style = ST_CENTER;
|
|
text = CSTRING(EXAMINE_TREATMENT);
|
|
x = POS_X(1);
|
|
y = POS_Y(1.5);
|
|
w = POS_W(12.33);
|
|
h = POS_H(1);
|
|
sizeEx = POS_H(1.2);
|
|
colorText[] = {1, 1, 1, 0.9};
|
|
};
|
|
class StatusHeader: TreatmentHeader {
|
|
text = CSTRING(STATUS);
|
|
x = POS_X(13.33);
|
|
};
|
|
class OverviewHeader: TreatmentHeader {
|
|
text = CSTRING(OVERVIEW);
|
|
x = POS_X(25.66);
|
|
};
|
|
class HeaderLine: RscText {
|
|
idc = -1;
|
|
x = POS_X(1.5);
|
|
y = POS_Y(2.6);
|
|
w = POS_W(37);
|
|
h = POS_H(0.03);
|
|
colorBackground[] = {1, 1, 1, 0.5};
|
|
};
|
|
class Triage: RscActivePicture {
|
|
idc = IDC_TRIAGE;
|
|
onButtonClick = QUOTE(GVAR(selectedCategory) = 'triage');
|
|
text = QPATHTOF(data\categories\triage_card.paa);
|
|
tooltip = CSTRING(ViewTriageCard);
|
|
x = POS_X(1.5);
|
|
y = POS_Y(2.73);
|
|
w = POS_W(1.5);
|
|
h = POS_H(1.5);
|
|
color[] = {1, 1, 1, 1};
|
|
soundClick[] = {"\a3\ui_f\data\sound\rscbutton\soundClick", 0.09, 1};
|
|
soundEnter[] = {"\a3\ui_f\data\sound\rscbutton\soundEnter", 0.09, 1};
|
|
soundEscape[] = {"\a3\ui_f\data\sound\rscbutton\soundEscape", 0.09, 1};
|
|
soundPush[] = {"\a3\ui_f\data\sound\rscbutton\soundPush", 0.09, 1};
|
|
};
|
|
class Examine: Triage {
|
|
idc = IDC_EXAMINE;
|
|
onButtonClick = QUOTE(GVAR(selectedCategory) = 'examine');
|
|
text = QPATHTOF(data\categories\examine_patient.paa);
|
|
tooltip = CSTRING(ExaminePatient);
|
|
x = POS_X(3);
|
|
};
|
|
class Bandage: Triage {
|
|
idc = IDC_BANDAGE;
|
|
onButtonClick = QUOTE(GVAR(selectedCategory) = 'bandage');
|
|
text = QPATHTOF(data\categories\bandage_fracture.paa);
|
|
tooltip = CSTRING(BandageFractures);
|
|
x = POS_X(4.5);
|
|
};
|
|
class Medication: Triage {
|
|
idc = IDC_MEDICATION;
|
|
onButtonClick = QUOTE(GVAR(selectedCategory) = 'medication');
|
|
text = QPATHTOF(data\categories\medication.paa);
|
|
tooltip = CSTRING(Medication);
|
|
x = POS_X(6);
|
|
};
|
|
class Airway: Triage {
|
|
idc = IDC_AIRWAY;
|
|
onButtonClick = QUOTE(GVAR(selectedCategory) = 'airway');
|
|
text = QPATHTOF(data\categories\airway_management.paa);
|
|
tooltip = CSTRING(AirwayManagement);
|
|
x = POS_X(7.5);
|
|
};
|
|
class Advanced: Triage {
|
|
idc = IDC_ADVANCED;
|
|
onButtonClick = QUOTE(GVAR(selectedCategory) = 'advanced');
|
|
text = QPATHTOF(data\categories\advanced_treatment.paa);
|
|
tooltip = CSTRING(AdvancedTreatment);
|
|
x = POS_X(9);
|
|
};
|
|
class Drag: Triage {
|
|
idc = IDC_DRAG;
|
|
onButtonClick = QUOTE(GVAR(selectedCategory) = 'drag');
|
|
text = QPATHTOF(data\categories\carry.paa);
|
|
tooltip = CSTRING(DragCarry);
|
|
x = POS_X(10.5);
|
|
};
|
|
class Toggle: Triage {
|
|
idc = IDC_TOGGLE;
|
|
onButtonClick = QUOTE(call FUNC(handleToggle));
|
|
text = QPATHTOF(data\categories\toggle_self.paa);
|
|
tooltip = CSTRING(ToggleSelf);
|
|
x = POS_X(12);
|
|
};
|
|
class TriageCard: RscListBox {
|
|
idc = IDC_TRIAGE_CARD;
|
|
x = POS_X(1.5);
|
|
y = POS_Y(4.4);
|
|
w = POS_W(12);
|
|
h = POS_H(10);
|
|
sizeEx = POS_H(0.7);
|
|
colorSelect[] = {1, 1, 1, 1};
|
|
colorSelect2[] = {1, 1, 1, 1};
|
|
colorBackground[] = {0, 0, 0, 0.2};
|
|
colorSelectBackground[] = {0, 0, 0, 0};
|
|
colorSelectBackground2[] = {0, 0, 0, 0};
|
|
colorScrollbar[] = {0.9, 0.9, 0.9, 1};
|
|
};
|
|
class Action1: RscButtonMenu {
|
|
idc = IDC_ACTION_1;
|
|
style = ST_LEFT;
|
|
x = POS_X(1.5);
|
|
y = POS_Y(4.4);
|
|
w = POS_W(12);
|
|
h = POS_H(1);
|
|
size = POS_H(0.9);
|
|
class Attributes {
|
|
align = "center";
|
|
color = "#E5E5E5";
|
|
font = "RobotoCondensed";
|
|
shadow = "false";
|
|
};
|
|
};
|
|
class Action2: Action1 {
|
|
idc = IDC_ACTION_2;
|
|
y = POS_Y(5.5);
|
|
};
|
|
class Action3: Action1 {
|
|
idc = IDC_ACTION_3;
|
|
y = POS_Y(6.6);
|
|
};
|
|
class Action4: Action1 {
|
|
idc = IDC_ACTION_4;
|
|
y = POS_Y(7.7);
|
|
};
|
|
class Action5: Action1 {
|
|
idc = IDC_ACTION_5;
|
|
y = POS_Y(8.8);
|
|
};
|
|
class Action6: Action1 {
|
|
idc = IDC_ACTION_6;
|
|
y = POS_Y(9.9);
|
|
};
|
|
class Action7: Action1 {
|
|
idc = IDC_ACTION_7;
|
|
y = POS_Y(11);
|
|
};
|
|
class Action8: Action1 {
|
|
idc = IDC_ACTION_8;
|
|
y = POS_Y(12.1);
|
|
};
|
|
class Action9: Action1 {
|
|
idc = IDC_ACTION_9;
|
|
y = POS_Y(13.2);
|
|
};
|
|
class BodyImage: GVAR(BodyImage) {};
|
|
class SelectHead: RscButton {
|
|
idc = -1;
|
|
onButtonClick = QUOTE(GVAR(selectedBodyPart) = 0);
|
|
tooltip = CSTRING(SelectHead);
|
|
x = POS_X(18.8);
|
|
y = POS_Y(3.2);
|
|
w = POS_W(1.4);
|
|
h = POS_H(1.8);
|
|
colorFocused[] = {0, 0, 0, 0};
|
|
colorBackground[] = {0, 0, 0, 0};
|
|
colorBackgroundActive[] = {0, 0, 0, 0};
|
|
};
|
|
class SelectTorso: SelectHead {
|
|
onButtonClick = QUOTE(GVAR(selectedBodyPart) = 1);
|
|
tooltip = CSTRING(SelectTorso);
|
|
x = POS_X(18.4);
|
|
y = POS_Y(5);
|
|
w = POS_W(2.2);
|
|
h = POS_H(3.8);
|
|
};
|
|
class SelectArmLeft: SelectHead {
|
|
onButtonClick = QUOTE(GVAR(selectedBodyPart) = 2);
|
|
tooltip = CSTRING(SelectLeftArm);
|
|
x = POS_X(20.6);
|
|
y = POS_Y(5.1);
|
|
w = POS_W(1.1);
|
|
h = POS_H(4.6);
|
|
};
|
|
class SelectArmRight: SelectArmLeft {
|
|
onButtonClick = QUOTE(GVAR(selectedBodyPart) = 3);
|
|
tooltip = CSTRING(SelectRightArm);
|
|
x = POS_X(17.4);
|
|
};
|
|
class SelectLegLeft: SelectHead {
|
|
onButtonClick = QUOTE(GVAR(selectedBodyPart) = 4);
|
|
tooltip = CSTRING(SelectLeftLeg);
|
|
x = POS_X(19.5);
|
|
y = POS_Y(8.8);
|
|
w = POS_W(1.1);
|
|
h = POS_H(5.8);
|
|
};
|
|
class SelectLegRight: SelectLegLeft {
|
|
onButtonClick = QUOTE(GVAR(selectedBodyPart) = 5);
|
|
tooltip = CSTRING(SelectRightLeg);
|
|
x = POS_X(18.4);
|
|
};
|
|
class Injuries: TriageCard {
|
|
idc = IDC_INJURIES;
|
|
x = POS_X(25.66);
|
|
w = POS_W(12.33);
|
|
};
|
|
class ActivityHeader: TreatmentHeader {
|
|
text = CSTRING(ACTIVITY_LOG);
|
|
y = POS_Y(17.6);
|
|
w = POS_W(18.5);
|
|
sizeEx = POS_H(1);
|
|
colorText[] = {0.6, 0.7, 1, 1};
|
|
};
|
|
class QuickViewHeader: ActivityHeader {
|
|
text = CSTRING(QUICK_VIEW);
|
|
x = POS_X(19.5);
|
|
};
|
|
class LowerLine: HeaderLine {
|
|
y = POS_Y(18.5);
|
|
};
|
|
class Activity: Injuries {
|
|
idc = IDC_ACTIVITY;
|
|
x = POS_X(1.5);
|
|
y = POS_Y(18.5);
|
|
w = POS_W(18.5);
|
|
h = POS_H(6.5);
|
|
colorBackground[] = {0, 0, 0, 0};
|
|
};
|
|
class QuickView: Activity {
|
|
idc = IDC_QUICKVIEW;
|
|
x = POS_X(21.5);
|
|
};
|
|
class TriageStatus: RscText {
|
|
idc = IDC_TRIAGE_STATUS;
|
|
style = ST_CENTER;
|
|
x = POS_X(13.33);
|
|
y = POS_Y(15.5);
|
|
w = POS_W(12.33);
|
|
h = POS_H(1.1);
|
|
shadow = 0;
|
|
};
|
|
class TriageToggle: GVAR(TriageToggle) {};
|
|
class TriageSelect: GVAR(TriageSelect) {};
|
|
};
|
|
};
|
|
|
|
class GVAR(RscTriageCard) {
|
|
idd = -1;
|
|
movingEnable = 1;
|
|
onLoad = QUOTE(uiNamespace setVariable [ARR_2(QQGVAR(RscTriageCard), _this select 0)]);
|
|
class controls {
|
|
class Background: RscText {
|
|
idc = -1;
|
|
x = POS_X(12.5);
|
|
y = POS_Y(0);
|
|
w = POS_W(15);
|
|
h = POS_H(19);
|
|
colorBackground[] = {1, 1, 1, 1};
|
|
moving = 1;
|
|
};
|
|
class CornerLeft: RscPicture {
|
|
idc = -1;
|
|
text = QPATHTOF(data\triage_card\corner_left.paa);
|
|
x = POS_X(12.5);
|
|
y = POS_Y(0);
|
|
w = POS_W(5);
|
|
h = POS_H(5);
|
|
colorText[] = {1, 1, 0, 1};
|
|
};
|
|
class CornerRight: CornerLeft {
|
|
text = QPATHTOF(data\triage_card\corner_right.paa);
|
|
x = POS_X(22.5);
|
|
};
|
|
class Title: RscText {
|
|
idc = -1;
|
|
style = ST_CENTER;
|
|
text = CSTRING(Actions_TriageCard);
|
|
x = POS_X(12.5);
|
|
y = POS_Y(3);
|
|
w = POS_W(15);
|
|
h = POS_H(0.9);
|
|
sizeEx = POS_H(0.9);
|
|
shadow = 0;
|
|
colorText[] = {0, 0, 0, 1};
|
|
};
|
|
class TriageCard: RscListBox {
|
|
idc = IDC_TRIAGE_CARD;
|
|
x = POS_X(13.5);
|
|
y = POS_Y(5);
|
|
w = POS_W(13);
|
|
h = POS_H(13);
|
|
sizeEx = POS_H(0.7);
|
|
colorText[] = {0, 0, 0, 1};
|
|
colorSelect[] = {0, 0, 0, 1};
|
|
colorSelect2[] = {0, 0, 0, 1};
|
|
colorBackground[] = {0, 0, 0, 0};
|
|
colorSelectBackground[] = {0, 0, 0, 0};
|
|
colorSelectBackground2[] = {0, 0, 0, 0};
|
|
colorScrollbar[] = {0, 0, 0, 1};
|
|
};
|
|
class TriageStatus: RscText {
|
|
idc = IDC_TRIAGE_STATUS;
|
|
style = ST_CENTER;
|
|
x = POS_X(12.5);
|
|
y = POS_Y(19);
|
|
w = POS_W(15);
|
|
h = POS_H(1.1);
|
|
shadow = 0;
|
|
};
|
|
class TriageToggle: GVAR(TriageToggle) {
|
|
x = POS_X(12.5);
|
|
y = POS_Y(19);
|
|
w = POS_W(15);
|
|
};
|
|
class TriageSelect: GVAR(TriageSelect) {
|
|
x = POS_X(12.5);
|
|
y = POS_Y(20);
|
|
w = POS_W(15);
|
|
class controls: controls {
|
|
class None: None {
|
|
w = POS_W(15);
|
|
};
|
|
class Minimal: Minimal {
|
|
w = POS_W(15);
|
|
};
|
|
class Delayed: Delayed {
|
|
w = POS_W(15);
|
|
};
|
|
class Immediate: Immediate {
|
|
w = POS_W(15);
|
|
};
|
|
class Deceased: Deceased {
|
|
w = POS_W(15);
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
class RscTitles {
|
|
class GVAR(RscPatientInfo) {
|
|
idd = -1;
|
|
fadeIn = 0.3;
|
|
fadeOut = 0.3;
|
|
duration = 999999;
|
|
movingEnable = 0;
|
|
onLoad = QUOTE(uiNamespace setVariable [ARR_2(QQGVAR(RscPatientInfo), _this select 0)]);
|
|
class controls {
|
|
class BodyImage: GVAR(BodyImage) {
|
|
x = safeZoneX + POS_W(2.25);
|
|
y = safeZoneY + POS_H(1.5);
|
|
w = POS_W(8.5);
|
|
h = POS_H(8.5);
|
|
class controls: controls {
|
|
class Background: Background {
|
|
w = POS_W(8.5);
|
|
h = POS_H(8.5);
|
|
};
|
|
class Head: Head {
|
|
w = POS_W(8.5);
|
|
h = POS_H(8.5);
|
|
};
|
|
class Torso: Torso {
|
|
w = POS_W(8.5);
|
|
h = POS_H(8.5);
|
|
};
|
|
class ArmLeft: ArmLeft {
|
|
w = POS_W(8.5);
|
|
h = POS_H(8.5);
|
|
};
|
|
class ArmRight: ArmRight {
|
|
w = POS_W(8.5);
|
|
h = POS_H(8.5);
|
|
};
|
|
class LegLeft: LegLeft {
|
|
w = POS_W(8.5);
|
|
h = POS_H(8.5);
|
|
};
|
|
class LegRight: LegRight {
|
|
w = POS_W(8.5);
|
|
h = POS_H(8.5);
|
|
};
|
|
class ArmLeftT: ArmLeftT {
|
|
w = POS_W(8.5);
|
|
h = POS_H(8.5);
|
|
};
|
|
class ArmRightT: ArmRightT {
|
|
w = POS_W(8.5);
|
|
h = POS_H(8.5);
|
|
};
|
|
class LegLeftT: LegLeftT {
|
|
w = POS_W(8.5);
|
|
h = POS_H(8.5);
|
|
};
|
|
class LegRightT: LegRightT {
|
|
w = POS_W(8.5);
|
|
h = POS_H(8.5);
|
|
};
|
|
};
|
|
};
|
|
class InjuriesLabel: RscText {
|
|
idc = -1;
|
|
text = CSTRING(INJURIES);
|
|
x = safeZoneX + POS_W(2);
|
|
y = safeZoneY + POS_H(10.2);
|
|
w = POS_W(9);
|
|
h = POS_H(0.7);
|
|
sizeEx = POS_H(0.7);
|
|
colorBackground[] = GUI_BCG_COLOR;
|
|
};
|
|
class Injuries: RscListBox {
|
|
idc = IDC_INJURIES;
|
|
x = safeZoneX + POS_W(2);
|
|
y = safeZoneY + POS_H(11);
|
|
w = POS_W(9);
|
|
h = POS_H(9);
|
|
sizeEx = POS_H(0.7);
|
|
colorSelect[] = {1, 1, 1, 1};
|
|
colorSelect2[] = {1, 1, 1, 1};
|
|
colorBackground[] = {0, 0, 0, 0.2};
|
|
colorSelectBackground[] = {0, 0, 0, 0};
|
|
colorSelectBackground2[] = {0, 0, 0, 0};
|
|
colorScrollbar[] = {0.9, 0.9, 0.9, 1};
|
|
};
|
|
class TriageStatus: RscText {
|
|
idc = IDC_TRIAGE_STATUS;
|
|
x = safeZoneX + POS_W(2);
|
|
y = safeZoneY + POS_H(20.2);
|
|
w = POS_W(9);
|
|
h = POS_H(0.7);
|
|
sizeEx = POS_H(0.7);
|
|
shadow = 0;
|
|
};
|
|
class Activity: Injuries {
|
|
idc = IDC_ACTIVITY;
|
|
x = safeZoneX + POS_W(1.75);
|
|
y = safeZoneY + POS_H(21);
|
|
w = POS_W(15);
|
|
h = POS_H(7);
|
|
shadow = 2;
|
|
colorBackground[] = {0, 0, 0, 0};
|
|
};
|
|
};
|
|
};
|
|
};
|