ACE3/addons/medical_gui/CfgUIGrids.hpp
Filip Maciejewski 79ca6f5141
Medical - Add Patient Info to Layout Editor (#7745)
* Move GVAR(RscPatientInfo) contents into ControlsGroup

* Add CfgUIGrids for Medical PatientInfo

* Move Medical PatientInfo to Layout Editor position

* Uniform macro names

* Apply suggestions from code review

* Add IGUI category translation

* Update addons/medical_gui/stringtable.xml

Co-authored-by: Blutze <37950828+Blutze@users.noreply.github.com>

* Update addons/medical_gui/CfgUIGrids.hpp

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* Remove redundant translations

Co-authored-by: Blutze <37950828+Blutze@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2020-06-13 15:53:50 -05:00

31 lines
897 B
C++

class CfgUIGrids {
class IGUI {
class Presets {
class Arma3 {
class Variables {
GVAR(patientInfo)[] = {
{
PATIENT_INFO_IGUI_BASE_X,
PATIENT_INFO_IGUI_BASE_Y,
POS_W(9),
POS_H(20)
},
GUI_GRID_W,
GUI_GRID_H
};
};
};
};
class Variables {
class GVAR(patientInfo) {
displayName = ECSTRING(medical,Category);
description = CSTRING(IGUI_PatientInfo);
preview = QPATHTOF(ui\patient_info_preview_ca.paa);
saveToProfile[] = {0, 1};
canResize = 0;
};
};
};
};