mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
79ca6f5141
* 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>
31 lines
897 B
C++
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;
|
|
};
|
|
};
|
|
};
|
|
};
|