diff --git a/addons/interact_menu/XEH_clientInit.sqf b/addons/interact_menu/XEH_clientInit.sqf
index 5714b77e16..039bccfe25 100644
--- a/addons/interact_menu/XEH_clientInit.sqf
+++ b/addons/interact_menu/XEH_clientInit.sqf
@@ -5,11 +5,11 @@ if (!hasInterface) exitWith {};
GVAR(ParsedTextCached) = [];
-//Setup text/shadow color matrix
+//Setup text/shadow/size/color settings matrix
[] call FUNC(setupTextColors);
["SettingChanged", {
PARAMS_1(_name);
- if ((_name == QGVAR(colorTextMax)) || {_name == QGVAR(colorTextMin)} || {_name == QGVAR(colorShadowMax)} || {_name == QGVAR(colorShadowMin)}) then {
+ if (_name in [QGVAR(colorTextMax), QGVAR(colorTextMin), QGVAR(colorShadowMax), QGVAR(colorShadowMin), QGVAR(textSize), QGVAR(shadowSetting)]) then {
[] call FUNC(setupTextColors);
};
}] call EFUNC(common,addEventhandler);
diff --git a/addons/interact_menu/config.cpp b/addons/interact_menu/config.cpp
index 04a7db9791..1b654531e9 100644
--- a/addons/interact_menu/config.cpp
+++ b/addons/interact_menu/config.cpp
@@ -72,17 +72,16 @@ class ACE_Settings {
value = 2;
typeName = "SCALAR";
isClientSettable = 1;
- displayName = "Interaction Text Size";
- description = "Interaction Text Size 2";
+ displayName = "$STR_ACE_Interact_textSize";
values[] = {"$str_very_small", "$str_small", "$str_medium", "$str_large", "$str_very_large"};
};
class GVAR(shadowSetting) {
- value = 1;
+ value = 2;
typeName = "SCALAR";
isClientSettable = 1;
- displayName = "Text Shadow";
- description = "Interaction Text Size 2";
- values[] = {"Disabled", "Enabled", "Outline"};
+ displayName = "$STR_ACE_Interact_shadowSetting";
+ description = "$STR_ACE_Interact_shadowSettingDescription";
+ values[] = {"$STR_A3_OPTIONS_DISABLED", "$STR_A3_OPTIONS_ENABLED", "$STR_ACE_Interact_shadowOutline"};
};
};
diff --git a/addons/interact_menu/functions/fnc_renderMenu.sqf b/addons/interact_menu/functions/fnc_renderMenu.sqf
index 29759557c5..c4615d8337 100644
--- a/addons/interact_menu/functions/fnc_renderMenu.sqf
+++ b/addons/interact_menu/functions/fnc_renderMenu.sqf
@@ -15,7 +15,7 @@
*/
#include "script_component.hpp"
-private ["_menuInSelectedPath", "_path", "_menuDepth", "_x", "_offset", "_newPos", "_forEachIndex", "_player", "_pos", "_shadowColor", "_target", "_textColor"];
+private ["_menuInSelectedPath", "_path", "_menuDepth", "_x", "_offset", "_newPos", "_forEachIndex", "_player", "_pos", "_target", "_textSettings"];
EXPLODE_4_PVT(_this,_parentPath,_action,_sPos,_angles);
EXPLODE_3_PVT(_action,_actionData,_activeChildren,_actionObject);
diff --git a/addons/interact_menu/functions/fnc_setupTextColors.sqf b/addons/interact_menu/functions/fnc_setupTextColors.sqf
index ed45f4799f..0183e9e50b 100644
--- a/addons/interact_menu/functions/fnc_setupTextColors.sqf
+++ b/addons/interact_menu/functions/fnc_setupTextColors.sqf
@@ -12,6 +12,7 @@
*/
#include "script_component.hpp"
+private ["_menuDepth", "_mixColor", "_pathCount", "_row", "_shadowColor", "_textColor", "_textSize"];
//Mixes 2 colors (number arrays) and makes a color string "#AARRGGBB" for structured text
_mixColor = {
diff --git a/addons/interact_menu/stringtable.xml b/addons/interact_menu/stringtable.xml
index b8913ce1c9..5f3f26f1f1 100644
--- a/addons/interact_menu/stringtable.xml
+++ b/addons/interact_menu/stringtable.xml
@@ -115,5 +115,17 @@
Keeps cursor centered and pans the option menu around. Useful if screen size is limited.
Garde le curseur au milieu et dispose le menu des options autour. Utile si la taille de l'écran est limitée.
+
+ Interaction Text Size
+
+
+ Interaction Text Shadow
+
+
+ Allows controlling the text's shadow. Outline ignores custom shadow colors.
+
+
+ Outline
+
-
+
\ No newline at end of file