ACE3/addons/optionsmenu/gui/pauseMenu.hpp

171 lines
7.1 KiB
C++
Raw Normal View History

class ACE_Open_SettingsMenu_BtnBase : ACE_gui_buttonBase {
class Attributes {
font = "PuristaMedium";
color = "#E5E5E5";
align = "left";
shadow = "true";
};
class AttributesImage {
font = "PuristaMedium";
color = "#E5E5E5";
align = "left";
};
class HitZone {
left = 0.0;
top = 0.0;
right = 0.0;
bottom = 0.0;
};
class ShortcutPos {
left = 0;
top = 0;
w = 0;
h = 0;
};
class TextPos {
left = 0.01;
top = 0;
right = 0;
bottom = 0;
};
animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)";
animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";
animTextureNormal = "#(argb,8,8,3)color(1,1,1,1)";
animTextureOver = "#(argb,8,8,3)color(1,1,1,1)";
animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)";
color2[] = {0,0,0,1};
color[] = {1,1,1,1};
//colorBackground2[] = {0.75,0.75,0.75,1};
//colorBackground[] = {0,0,0,0.8};
colorBackground[] = {1, 0.647, 0, 0.5};
colorBackground2[] = {1, 0.647, 0, 0.5};
colorBackgroundFocused[] = {1, 1, 1, 0};
colorDisabled[] = {1,1,1,0.25};
colorFocused[] = {0,0,0,1};
colorText[] = {1,1,1,1};
default = 0;
font = "PuristaMedium";
idc = -1;
period = 1.2;
periodFocus = 1.2;
periodOver = 1.2;
shadow = 0;
shortcuts[] = {};
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
soundClick[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundClick",0.09,1};
soundEnter[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundEnter",0.09,1};
soundEscape[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundEscape",0.09,1};
soundPush[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundPush",0.09,1};
style = "0x02 + 0xC0";
text = CSTRING(OpenConfigMenu);
textureNoShortcut = "#(argb,8,8,3)color(0,0,0,0)";
tooltip = "";
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
tooltipColorText[] = {1,1,1,1};
type = 16;
x = "1 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX)";
y = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + safezoneY";
w = "15 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
action = "(findDisplay 49) closeDisplay 0; createDialog 'ACE_settingsMenu';";
2015-01-12 22:19:55 +00:00
};
class RscStandardDisplay;
class RscDisplayMPInterrupt: RscStandardDisplay {
class controls {
class ACE_Open_settingsMenu_Btn : ACE_Open_SettingsMenu_BtnBase {};
};
2015-01-12 22:19:55 +00:00
};
class RscDisplayInterruptEditorPreview: RscStandardDisplay {
class controls {
class ACE_Open_settingsMenu_Btn : ACE_Open_SettingsMenu_BtnBase {};
};
2015-01-12 22:19:55 +00:00
};
class RscDisplayInterrupt: RscStandardDisplay {
class controls {
class ACE_Open_settingsMenu_Btn : ACE_Open_SettingsMenu_BtnBase {};
};
2015-01-12 22:19:55 +00:00
};
class RscDisplayInterruptEditor3D: RscStandardDisplay {
class controls {
class ACE_Open_settingsMenu_Btn : ACE_Open_SettingsMenu_BtnBase {};
};
};
class RscDisplayMain: RscStandardDisplay {
//Hide the button if there is no world (-world=empty)
//Seems odd to use onMouseMoving, but I don't want to overload onLoad
2015-05-13 19:05:13 +00:00
onMouseMoving = QUOTE(((_this select 0) displayCtrl 80085) ctrlShow (missionName != ''); _this execVM QUOTE(QUOTE(PATHTOF(script_loadMainMenuBox.sqf))););
class controls {
class ACE_Open_settingsMenu_Btn : ACE_Open_SettingsMenu_BtnBase {
action = "if (missionName != '') then {createDialog 'ACE_settingsMenu';};";
y = "4 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + safezoneY";
idc = 80085;
};
2015-05-13 19:05:13 +00:00
class ACE_news: RscControlsGroupNoScrollbars {
2015-06-05 22:23:51 +00:00
idc = 80086;
2015-06-12 04:59:51 +00:00
x = "safezoneX + safezoneW - (16 *(((safezoneW / safezoneH) min 1.2) / 40))";
y = "safezoneY + (18.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25))";
2015-05-13 19:19:28 +00:00
w = "15 * (((safezoneW / safezoneH) min 1.2) / 40)";
2015-06-05 22:23:51 +00:00
h = "8.25 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
class controls {
2015-05-13 19:05:13 +00:00
class ACE_NewsTitle: RscText {
2015-06-05 22:23:51 +00:00
text = CSTRING(aceNews);
2015-05-13 19:05:13 +00:00
colorBackground[] = {(162/255),(28/255),(28/255),0.8};
idc = -1;
2015-06-12 04:59:51 +00:00
x = "0 * (((safezoneW / safezoneH) min 1.2) / 40)";
y = "0 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
w = "15 *(((safezoneW / safezoneH) min 1.2) / 40)";
h = "1 *((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
2015-05-13 19:05:13 +00:00
};
2015-06-05 22:23:51 +00:00
class ACE_VersionInfo: RscText {
2015-05-13 19:05:13 +00:00
idc = 68;
2015-06-12 04:59:51 +00:00
x = "0 * (((safezoneW / safezoneH) min 1.2) / 40)";
y = "1.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
w = "15 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
colorBackground[] = {0,0,0,0.5};
2015-05-13 19:05:13 +00:00
};
class ACE_NewsBackground: RscText {
idc = -1;
2015-06-12 04:59:51 +00:00
x = "0 * (((safezoneW / safezoneH) min 1.2) / 40)";
y = "2.2 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
w = "15 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "5.75 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
colorBackground[] = {0,0,0,0.5};
2015-05-13 19:05:13 +00:00
};
class ACE_NewsText: RscHTML {
idc = 69;
2015-06-12 04:59:51 +00:00
x = "0.5 * (((safezoneW / safezoneH) min 1.2) / 40)";
y = "2.2 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
w = "14 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "5.75 *((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
2015-05-13 19:05:13 +00:00
shadow = 0;
class H1 {
font = "PuristaMedium";
fontBold = "PuristaLight";
2015-06-12 04:59:51 +00:00
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.4)";
2015-05-13 19:05:13 +00:00
};
class H2: H1 {
2015-06-12 04:59:51 +00:00
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
2015-05-13 19:05:13 +00:00
font = "PuristaLight";
};
class P: H1 {
2015-06-12 04:59:51 +00:00
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
2015-05-13 19:05:13 +00:00
fontBold = "PuristaLight";
};
colorBold[] = {0.6,0.6,0.6,1};
colorLink[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1};
colorLinkActive[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1};
};
};
};
};
};