mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Changed font sizes and removed animation button.
This commit is contained in:
parent
50bdc1d4c7
commit
8687f8d073
@ -4,7 +4,7 @@ class ACE_settingsMenu {
|
|||||||
onLoad = QUOTE(uiNamespace setVariable [ARR_2('ACE_settingsMenu', _this select 0)]; [] call FUNC(onSettingsMenuOpen););
|
onLoad = QUOTE(uiNamespace setVariable [ARR_2('ACE_settingsMenu', _this select 0)]; [] call FUNC(onSettingsMenuOpen););
|
||||||
onUnload = QUOTE(uiNamespace setVariable [ARR_2('ACE_settingsMenu', nil)]; saveProfileNamespace;);
|
onUnload = QUOTE(uiNamespace setVariable [ARR_2('ACE_settingsMenu', nil)]; saveProfileNamespace;);
|
||||||
|
|
||||||
#define SIZEX ((0.70 * safezoneW) max 1.0)
|
#define SIZEX (((safezoneW / safezoneH) min 1.2))
|
||||||
#define SIZEY (SIZEX / 1.2)
|
#define SIZEY (SIZEX / 1.2)
|
||||||
#define UNITX (SIZEX / 40)
|
#define UNITX (SIZEX / 40)
|
||||||
#define UNITY (SIZEY / 25)
|
#define UNITY (SIZEY / 25)
|
||||||
@ -42,6 +42,10 @@ class ACE_settingsMenu {
|
|||||||
x = 26.1 * UNITX + OFFSETX;
|
x = 26.1 * UNITX + OFFSETX;
|
||||||
w = 12.9 * UNITX;
|
w = 12.9 * UNITX;
|
||||||
};
|
};
|
||||||
|
class RightBackgroundHeader: RightBackground {
|
||||||
|
h = 1.4 * UNITY;
|
||||||
|
colorBackground[] = {0,0,0,1};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
class controls {
|
class controls {
|
||||||
@ -85,7 +89,7 @@ class ACE_settingsMenu {
|
|||||||
colorBackgroundFocused[] = {1,1,1,1};
|
colorBackgroundFocused[] = {1,1,1,1};
|
||||||
colorBackground[] = {1,1,1,1};
|
colorBackground[] = {1,1,1,1};
|
||||||
colorbackground2[] = {1,1,1,1};
|
colorbackground2[] = {1,1,1,1};
|
||||||
colorDisabled[] = {0.5,0.5,0.5,0.8};
|
colorDisabled[] = {1,1,1,1};
|
||||||
colorFocused[] = {0,0,0,1};
|
colorFocused[] = {0,0,0,1};
|
||||||
periodFocus = 1;
|
periodFocus = 1;
|
||||||
periodOver = 1;
|
periodOver = 1;
|
||||||
@ -99,13 +103,13 @@ class ACE_settingsMenu {
|
|||||||
};
|
};
|
||||||
class selectionAction_3: selectionAction_1 {
|
class selectionAction_3: selectionAction_1 {
|
||||||
idc = 1002;
|
idc = 1002;
|
||||||
text = "---";
|
text = "";
|
||||||
x = 20 * UNITX + OFFSETX;
|
x = 20 * UNITX + OFFSETX;
|
||||||
action = "";
|
action = "";
|
||||||
};
|
};
|
||||||
class selectionAction_4: selectionAction_1 {
|
class selectionAction_4: selectionAction_1 {
|
||||||
idc = 1003;
|
idc = 1003;
|
||||||
text = "---";
|
text = "";
|
||||||
x = 29.5 * UNITX + OFFSETX;
|
x = 29.5 * UNITX + OFFSETX;
|
||||||
action = "";
|
action = "";
|
||||||
};
|
};
|
||||||
@ -115,7 +119,7 @@ class ACE_settingsMenu {
|
|||||||
y = 5.5 * UNITY + OFFSETY;
|
y = 5.5 * UNITY + OFFSETY;
|
||||||
w = 23 * UNITX;
|
w = 23 * UNITX;
|
||||||
h = 15 * UNITY;
|
h = 15 * UNITY;
|
||||||
SizeEx = (UNITY * 0.7);
|
SizeEx = (UNITY * 0.8);
|
||||||
colorBackground[] = {0, 0, 0, 0.9};
|
colorBackground[] = {0, 0, 0, 0.9};
|
||||||
colorSelectBackground[] = {0, 0, 0, 0.9};
|
colorSelectBackground[] = {0, 0, 0, 0.9};
|
||||||
columns[] = {0.0, 0.6};
|
columns[] = {0.0, 0.6};
|
||||||
@ -128,7 +132,7 @@ class ACE_settingsMenu {
|
|||||||
w = 11 * UNITX;
|
w = 11 * UNITX;
|
||||||
h = 1 * UNITY;
|
h = 1 * UNITY;
|
||||||
text = "";
|
text = "";
|
||||||
SizeEx = (UNITY * 0.75);
|
SizeEx = (UNITY *1);
|
||||||
};
|
};
|
||||||
class labelKey: ACE_gui_staticBase { //Variable Name
|
class labelKey: ACE_gui_staticBase { //Variable Name
|
||||||
idc = 300;
|
idc = 300;
|
||||||
@ -137,13 +141,13 @@ class ACE_settingsMenu {
|
|||||||
w = 11 * UNITX;
|
w = 11 * UNITX;
|
||||||
h = 1 * UNITY;
|
h = 1 * UNITY;
|
||||||
text = "";
|
text = "";
|
||||||
SizeEx = (UNITY * 0.60);
|
SizeEx = (UNITY * 0.65);
|
||||||
};
|
};
|
||||||
class Label2: labelKey {
|
class Label2: labelKey {
|
||||||
idc = 301;
|
idc = 301;
|
||||||
y = 7.3 * UNITY + OFFSETY;
|
y = 7.3 * UNITY + OFFSETY;
|
||||||
text = "$STR_ACE_OptionsMenu_Setting";
|
text = "$STR_ACE_OptionsMenu_Setting";
|
||||||
SizeEx = (UNITY * 0.75);
|
SizeEx = (UNITY * 1);
|
||||||
};
|
};
|
||||||
class comboBox1: ACE_gui_comboBoxBase {
|
class comboBox1: ACE_gui_comboBoxBase {
|
||||||
idc = 400;
|
idc = 400;
|
||||||
@ -152,7 +156,7 @@ class ACE_settingsMenu {
|
|||||||
w = 7 * UNITX;
|
w = 7 * UNITX;
|
||||||
h = 1 * UNITY;
|
h = 1 * UNITY;
|
||||||
onLBSelChanged = QUOTE( call FUNC(onListBoxSettingsChanged));
|
onLBSelChanged = QUOTE( call FUNC(onListBoxSettingsChanged));
|
||||||
SizeEx = (UNITY * 0.75);
|
SizeEx = (UNITY * 0.9);
|
||||||
};
|
};
|
||||||
class sliderBar1: RscXSliderH {
|
class sliderBar1: RscXSliderH {
|
||||||
idc = 410;
|
idc = 410;
|
||||||
@ -191,15 +195,16 @@ class ACE_settingsMenu {
|
|||||||
text = "";
|
text = "";
|
||||||
style = ST_LEFT + ST_MULTI;
|
style = ST_LEFT + ST_MULTI;
|
||||||
lineSpacing = 1;
|
lineSpacing = 1;
|
||||||
SizeEx = (UNITY * 0.60);
|
SizeEx = (UNITY * 0.8);
|
||||||
};
|
};
|
||||||
class actionClose: ACE_gui_buttonBase {
|
class actionClose: ACE_gui_buttonBase {
|
||||||
idc = 10;
|
idc = 10;
|
||||||
text = "$STR_DISP_CLOSE";
|
text = "$STR_DISP_CLOSE";
|
||||||
x = 1 * UNITX + OFFSETX;
|
x = 1 * UNITX + OFFSETX;
|
||||||
y = 22.3 * UNITY + OFFSETY;
|
y = 22.3 * UNITY + OFFSETY;
|
||||||
w = 6 * UNITX;
|
w = 7.5 * UNITX;
|
||||||
h = 1 * UNITY;
|
h = 1 * UNITY;
|
||||||
|
style = ST_LEFT;
|
||||||
animTextureNormal = "#(argb,8,8,3)color(0,0,0,0.8)";
|
animTextureNormal = "#(argb,8,8,3)color(0,0,0,0.8)";
|
||||||
animTextureDisabled = "#(argb,8,8,3)color(0,0,0,0.5)";
|
animTextureDisabled = "#(argb,8,8,3)color(0,0,0,0.5)";
|
||||||
animTextureOver = "#(argb,8,8,3)color(1,1,1,1)";
|
animTextureOver = "#(argb,8,8,3)color(1,1,1,1)";
|
||||||
@ -217,17 +222,10 @@ class ACE_settingsMenu {
|
|||||||
periodOver = 1;
|
periodOver = 1;
|
||||||
action = "closedialog 0;";
|
action = "closedialog 0;";
|
||||||
};
|
};
|
||||||
class action_animation: actionClose {
|
|
||||||
idc = 1100;
|
|
||||||
text = "$STR_ACE_OptionsMenu_FixAnimation";
|
|
||||||
x = 7.5 * UNITX + OFFSETX;
|
|
||||||
// action = "if ([player] call ACE_fnc_canInteract && {animationState player == 'deadState' || animationState player == 'unconscious'} && {(vehicle player == player)}) then { [player, 'amovppnemstpsnonwnondnon'] call ACE_fnc_broadcastAnim; };";
|
|
||||||
action = "hint 'todo???'";
|
|
||||||
};
|
|
||||||
class action_reset: actionClose {
|
class action_reset: actionClose {
|
||||||
idc = 1100;
|
idc = 1100;
|
||||||
text = "$STR_ACE_OptionsMenu_ResetAll";
|
text = "$STR_ACE_OptionsMenu_ResetAll";
|
||||||
x = 14 * (SIZEX / 40) + OFFSETX;
|
x = 26.1 * (SIZEX / 40) + OFFSETX;
|
||||||
action = QUOTE([] call FUNC(resetSettings));
|
action = QUOTE([] call FUNC(resetSettings));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user