From 6cb43d61eb25d0990e6699d2a5dbd92ccbbb5394 Mon Sep 17 00:00:00 2001 From: SilentSpike Date: Tue, 8 May 2018 13:45:32 +0100 Subject: [PATCH] Fix icon paths --- addons/medical_gui/InteractionBodyParts.hpp | 12 ++++++------ addons/medical_gui/ui/menu.hpp | 14 +++++++------- addons/medical_gui/ui/ui/RscTitles.hpp | 14 +++++++------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/addons/medical_gui/InteractionBodyParts.hpp b/addons/medical_gui/InteractionBodyParts.hpp index 0cee9281ff..c632e486df 100644 --- a/addons/medical_gui/InteractionBodyParts.hpp +++ b/addons/medical_gui/InteractionBodyParts.hpp @@ -1,7 +1,7 @@ class ACE_Head { displayName = ECSTRING(interaction,Head); distance = MEDICAL_ACTION_DISTANCE; - icon = QPATHTOEF(medical,UI\icons\medical_cross.paa); + icon = QPATHTOF(ui\ui\icons\medical_cross.paa); exceptions[] = {"isNotInside", "isNotSitting"}; ACTION_CONDITION statement = QUOTE([ARR_3(_target,1,0)] call EFUNC(medical,displayPatientInformation)); @@ -11,7 +11,7 @@ class ACE_Head { class ACE_Torso { displayName = ECSTRING(interaction,Torso); distance = MEDICAL_ACTION_DISTANCE; - icon = QPATHTOEF(medical,UI\icons\medical_cross.paa); + icon = QPATHTOF(ui\ui\icons\medical_cross.paa); exceptions[] = {"isNotInside", "isNotSitting"}; ACTION_CONDITION statement = QUOTE([ARR_3(_target,1,1)] call EFUNC(medical,displayPatientInformation)); @@ -21,7 +21,7 @@ class ACE_Torso { class ACE_ArmLeft { displayName = ECSTRING(interaction,ArmLeft); distance = MEDICAL_ACTION_DISTANCE; - icon = QPATHTOEF(medical,UI\icons\medical_cross.paa); + icon = QPATHTOF(ui\ui\icons\medical_cross.paa); exceptions[] = {"isNotInside", "isNotSitting"}; ACTION_CONDITION statement = QUOTE([ARR_3(_target,1,2)] call EFUNC(medical,displayPatientInformation)); @@ -31,7 +31,7 @@ class ACE_ArmLeft { class ACE_ArmRight { displayName = ECSTRING(interaction,ArmRight); distance = MEDICAL_ACTION_DISTANCE; - icon = QPATHTOEF(medical,UI\icons\medical_cross.paa); + icon = QPATHTOF(ui\ui\icons\medical_cross.paa); exceptions[] = {"isNotInside", "isNotSitting"}; ACTION_CONDITION statement = QUOTE([ARR_3(_target,1,3)] call EFUNC(medical,displayPatientInformation)); @@ -41,7 +41,7 @@ class ACE_ArmRight { class ACE_LegLeft { displayName = ECSTRING(interaction,LegLeft); distance = MEDICAL_ACTION_DISTANCE; - icon = QPATHTOEF(medical,UI\icons\medical_cross.paa); + icon = QPATHTOF(ui\ui\icons\medical_cross.paa); exceptions[] = {"isNotInside", "isNotSitting"}; ACTION_CONDITION statement = QUOTE([ARR_3(_target,1,4)] call EFUNC(medical,displayPatientInformation)); @@ -51,7 +51,7 @@ class ACE_LegLeft { class ACE_LegRight { displayName = ECSTRING(interaction,LegRight); distance = MEDICAL_ACTION_DISTANCE; - icon = QPATHTOEF(medical,UI\icons\medical_cross.paa); + icon = QPATHTOF(ui\ui\icons\medical_cross.paa); exceptions[] = {"isNotInside", "isNotSitting"}; ACTION_CONDITION statement = QUOTE([ARR_3(_target,1,5)] call EFUNC(medical,displayPatientInformation)); diff --git a/addons/medical_gui/ui/menu.hpp b/addons/medical_gui/ui/menu.hpp index 16c79e7c6a..7efae3af8f 100644 --- a/addons/medical_gui/ui/menu.hpp +++ b/addons/medical_gui/ui/menu.hpp @@ -274,7 +274,7 @@ class GVAR(medicalMenu) { colorBackground[] = {1,1,1,1}; colorPicture[] = {1,1,1,1}; colorText[] = {1,1,1,1}; - text = QPATHTOEF(medical,ui\body_background.paa); + text = QPATHTOF(ui\ui\body_background.paa); }; class bodyImgHead: bodyImgBackground { idc = 50; @@ -286,28 +286,28 @@ class GVAR(medicalMenu) { colorBackground[] = {1,1,1,1}; colorPicture[] = {1,1,1,0.75}; colorText[] = {1,1,1,0.75}; - text = QPATHTOEF(medical,ui\body_head.paa); + text = QPATHTOF(ui\ui\body_head.paa); }; class bodyImgTorso: bodyImgHead { idc = 51; - text = QPATHTOEF(medical,ui\body_torso.paa); + text = QPATHTOF(ui\ui\body_torso.paa); }; class bodyImgArms_l: bodyImgHead { idc = 52; - text = QPATHTOEF(medical,ui\body_arm_left.paa); + text = QPATHTOF(ui\ui\body_arm_left.paa); }; class bodyImgArms_r: bodyImgHead { idc = 53; - text = QPATHTOEF(medical,ui\body_arm_right.paa); + text = QPATHTOF(ui\ui\body_arm_right.paa); }; class bodyImgLegs_l: bodyImgHead { idc = 54; - text = QPATHTOEF(medical,ui\body_leg_left.paa); + text = QPATHTOF(ui\ui\body_leg_left.paa); }; class bodyImgLegs_r: bodyImgHead { idc = 55; - text = QPATHTOEF(medical,ui\body_leg_right.paa); + text = QPATHTOF(ui\ui\body_leg_right.paa); }; diff --git a/addons/medical_gui/ui/ui/RscTitles.hpp b/addons/medical_gui/ui/ui/RscTitles.hpp index 3f9113a9d2..99aaa5980a 100644 --- a/addons/medical_gui/ui/ui/RscTitles.hpp +++ b/addons/medical_gui/ui/ui/RscTitles.hpp @@ -19,34 +19,34 @@ class Rsctitles { colorBackground[] = {1,1,1,1}; colorPicture[] = {1,1,1,1}; colorText[] = {1,1,1,1}; - text = QPATHTOF(ui\body_background.paa); + text = QPATHTOF(ui\ui\body_background.paa); }; class bodyImgHead: bodyImgBackground { idc = 50; colorBackground[] = {1,1,1,1}; colorPicture[] = {1,1,1,1}; colorText[] = {1,1,1,1}; - text = QPATHTOF(ui\body_head.paa); + text = QPATHTOF(ui\ui\body_head.paa); }; class bodyImgTorso: bodyImgHead { idc = 51; - text = QPATHTOF(ui\body_torso.paa); + text = QPATHTOF(ui\ui\body_torso.paa); }; class bodyImgArms_l: bodyImgHead { idc = 52; - text = QPATHTOF(ui\body_arm_left.paa); + text = QPATHTOF(ui\ui\body_arm_left.paa); }; class bodyImgArms_r: bodyImgHead { idc = 53; - text = QPATHTOF(ui\body_arm_right.paa); + text = QPATHTOF(ui\ui\body_arm_right.paa); }; class bodyImgLegs_l: bodyImgHead { idc = 54; - text = QPATHTOF(ui\body_leg_left.paa); + text = QPATHTOF(ui\ui\body_leg_left.paa); }; class bodyImgLegs_r: bodyImgHead { idc = 55; - text = QPATHTOF(ui\body_leg_right.paa); + text = QPATHTOF(ui\ui\body_leg_right.paa); }; class InjuryListLabel { idc = 199;