Sync Zupa dialog colors

Heights on the trader menu filter search box and amount box have also
been fixed.
Old: https://imgur.com/a/ld4XF
New: https://imgur.com/a/9T8VP
This commit is contained in:
ebayShopper
2017-12-08 18:03:23 -05:00
parent b35b49bd90
commit 13c90993fc
14 changed files with 192 additions and 305 deletions

View File

@@ -1,35 +1,33 @@
class AT_Zupa_BlueButton: ZSC_RscButtonMenu {
colorBackground[] = {0.2,0.75,1,1};
colorText[] = {1,1,1,1};
class Attributes
{
align = "center";
};
};
class AdvancedTrading
{
idd = 711197;
class Controls {
class RscText_ATBackground1: ZSC_RscText
class RscText_ATBackground1
{
idc = -1;
x = 0.20 * safezoneW + safezoneX;
y = 0.15 * safezoneH + safezoneY;
w = 0.40 * safezoneW;
h = 0.70 * safezoneH;
colorBackground[] = {0.2,0.2,0.2,1};
colorBackground[] = {0,0,0,0.8};
type = 0;
colorText[] = {0.8784,0.8471,0.651,1};
text = "";
fixedWidth = 0;
style = 0;
shadow = 2;
font = "Zeppelin32";
SizeEx = 0.03921;
};
class RscText_ATBackground2: ZSC_RscText
class RscText_ATBackground2: RscText_ATBackground1
{
idc = -1;
x = 0.60 * safezoneW + safezoneX;
y = 0.15 * safezoneH + safezoneY;
w = 0.20 * safezoneW;
h = 0.70 * safezoneH;
colorBackground[] = {0.1,0.1,0.1,1};
};
class RscText_AT2: ZSC_RscText
class RscText_AT2: ZSC_RscText
{
idc = -1;
text = $STR_EPOCH_PLAYER_289;
@@ -37,11 +35,10 @@ class AdvancedTrading
y = 0.15 * safezoneH + safezoneY;
w = 0.60 * safezoneW;
h = 0.04 * safezoneH;
colorBackground[] = {0.2,0.75,1,1};
colorBackground[] = {ZSC_DARK_BLUE, 0.5};
colorText[] = {1,1,1,1};
};
class RscText_Zupa_1: ZSC_RscText
class RscText_Zupa_1: ZSC_RscText
{
idc = 7408;
text = $STR_EPOCH_TRADE_SELLING_GEAR;
@@ -51,7 +48,7 @@ class AdvancedTrading
h = 0.05 * safezoneH;
colorText[] = {1,1,1,1};
};
class ZSC_RscButtonMenu_Z1: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_Z1: ZSC_RscButtonMenu
{
idc = -1;
text = $STR_UI_GEAR;
@@ -59,10 +56,8 @@ class AdvancedTrading
y = 0.26 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
onButtonClick = "[2] call Z_getContainer;";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class ZSC_RscButtonMenu_Z2: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_Z2: ZSC_RscButtonMenu
{
idc = -1;
text = $STR_EPOCH_TRADE_BACKPACK;
@@ -70,10 +65,8 @@ class AdvancedTrading
y = 0.26 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
onButtonClick = "[0] call Z_getContainer;";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class ZSC_RscButtonMenu_Z3: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_Z3: ZSC_RscButtonMenu
{
idc = -1;
text = $STR_DN_VEHICLE;
@@ -81,10 +74,8 @@ class AdvancedTrading
y = 0.26 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
onButtonClick = "[1] call Z_getContainer;";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class ZSC_RscButtonMenu_Z4: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_Z4: ZSC_RscButtonMenu
{
idc = 7416;
text = $STR_EPOCH_PLAYER_292;
@@ -92,8 +83,6 @@ class AdvancedTrading
y = 0.26 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
onButtonClick = "Z_CategoryView = true; Z_ResetContainer = true; call Z_ChangeBuySell;";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class RscText_AT6: ZSC_RscText
{
@@ -115,7 +104,7 @@ class AdvancedTrading
h = 0.03 * safezoneH;
colorText[] = {1,1,1,1};
};
class ZSC_RscButtonMenu_BACK: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_BACK: ZSC_RscButtonMenu
{
idc = 7449;
text = $STR_DISP_BACK;
@@ -123,8 +112,6 @@ class AdvancedTrading
y = 0.33 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
onButtonClick = "Z_Selling = true; Z_CategoryView = true; call Z_ChangeBuySell;"; //Z_Selling is flipped in ChangeBuySell
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class RscText_AT8: ZSC_RscText
{
@@ -146,54 +133,18 @@ class AdvancedTrading
h = 0.03 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscBackgroundText_Zupa_1: ZSC_RscText
{
idc = -1;
text = "";
x = 0.21* safezoneW + safezoneX;
y = 0.41 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.30 * safezoneH;
colorText[] = {1,1,1,1};
colorBackground[] = {0.1,0.1,0.1,1};
};
class RscBackgroundText_Zupa_2: ZSC_RscText
{
idc = -1;
text = "";
x = 0.46 * safezoneW + safezoneX;
y = 0.41* safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.30 * safezoneH;
colorText[] = {1,1,1,1};
colorBackground[] = {0.1,0.1,0.1,1};
};
class RscListbox_AT10: ZSC_RscListBox
{
idc = 7401;
type = 5;
idcLeft = -1;
idcRight = -1;
idcRight = -1;
x = 0.21* safezoneW + safezoneX;
y = 0.41 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.30 * safezoneH;
soundSelect[] = {"",0.1,1};
colorBackground[] = {0.1,0.1,0.1,0.8};
onLBSelChanged = "['sellable',(lbCurSel 7401)] call Z_getItemInfo";
class ListScrollBar: ZSC_RscScrollBar{};
class ScrollBar
{
color[] = {1,1,1,0.6};
colorActive[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.3};
shadow = 0;
thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
border = "\ca\ui\data\ui_border_scroll_ca.paa";
};
};
class RscListbox_AT11: ZSC_RscListBox
{
@@ -203,48 +154,23 @@ class AdvancedTrading
w = 0.13 * safezoneW;
h = 0.30 * safezoneH;
soundSelect[] = {"",0.1,1};
colorBackground[] = {0.1,0.1,0.1,0.8};
onLBSelChanged = "['selling',(lbCurSel 7402)] call Z_getItemInfo";
class ListScrollBar: ZSC_RscScrollBar{};
class ScrollBar
{
color[] = {1,1,1,0.6};
colorActive[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.3};
shadow = 0;
thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
border = "\ca\ui\data\ui_border_scroll_ca.paa";
};
};
class RscListbox_AT20: ZSC_RscListBox
{
idc = 7421;
type = 5;
idcLeft = -1;
idcRight = -1;
idcRight = -1;
x = 0.21* safezoneW + safezoneX;
y = 0.41 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.30 * safezoneH;
soundSelect[] = {"",0.1,1};
colorBackground[] = {0.1,0.1,0.1,0.8};
onload = "ctrlShow [_this,false]";
onLBDblClick = "if (Z_CategoryView) then {(lbCurSel 7421) call Z_fillCategoryList;};";
onLBSelChanged = "if (!Z_CategoryView) then {['buyable',(lbCurSel 7421)] call Z_getItemInfo;};";
class ListScrollBar: ZSC_RscScrollBar{};
class ScrollBar
{
color[] = {1,1,1,0.6};
colorActive[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.3};
shadow = 0;
thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
border = "\ca\ui\data\ui_border_scroll_ca.paa";
};
};
class RscListbox_AT21: ZSC_RscListBox
{
@@ -254,30 +180,18 @@ class AdvancedTrading
w = 0.13 * safezoneW;
h = 0.30 * safezoneH;
soundSelect[] = {"",0.1,1};
colorBackground[] = {0.1,0.1,0.1,0.8};
onload = "ctrlShow [_this,false]";
onLBSelChanged = "['buying',(lbCurSel 7422)] call Z_getItemInfo";
class ScrollBar
{
color[] = {1,1,1,0.6};
colorActive[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.3};
shadow = 0;
thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
border = "\ca\ui\data\ui_border_scroll_ca.paa";
};
};
class RscSearchBackground: ZSC_RscText
class RscSearchBackground: ZSC_RscListBox
{
idc = -1;
x = 0.21 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.03 * safezoneH;
colorText[] = {1,1,1,1};
colorBackground[] = {0.1,0.1,0.1,1};
soundSelect[] = {"",0.1,1};
class ListScrollBar: ZSC_RscScrollBar{};
};
class Zupa_Filter_Edit : ZSC_RscEdit {
idc = 7444;
@@ -287,20 +201,18 @@ class AdvancedTrading
x = 0.21 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.04;
h = 0.03 * safezoneH;
};
class ZSC_RscButtonMenu_ATTFilter: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_ATTFilter: ZSC_RscButtonMenu
{
idc = 7498;
text = $STR_UI_FILTER;
x = 0.21 * safezoneW + safezoneX;
x = 0.21 * safezoneW + safezoneX;
y = 0.77 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
onButtonClick = "if (Z_CategoryView && !Z_Selling) then {(lbCurSel 7421) call Z_fillCategoryList} else {[(ctrlText 7444)] call Z_filterList};";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class ZSC_RscButtonMenu_AT12: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_AT12: ZSC_RscButtonMenu
{
idc = 7430;
text = " > ";
@@ -308,10 +220,8 @@ class AdvancedTrading
y = 0.41 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
onButtonClick = "[(lbCurSel 7401)] call Z_pushItemToList;";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class ZSC_RscButtonMenu_AT14: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_AT14: ZSC_RscButtonMenu
{
idc = 7431;
text = " >> ";
@@ -319,10 +229,8 @@ class AdvancedTrading
y = 0.49 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
onButtonClick = "call Z_pushAllToList;";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class ZSC_RscButtonMenu_AT13: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_AT13: ZSC_RscButtonMenu
{
idc = 7432;
text = " < ";
@@ -330,10 +238,8 @@ class AdvancedTrading
y = 0.57 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
onButtonClick = "[(lbCurSel 7402)] call Z_removeItemFromList;";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class ZSC_RscButtonMenu_AT15: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_AT15: ZSC_RscButtonMenu
{
idc = 7433;
text = " << ";
@@ -341,10 +247,8 @@ class AdvancedTrading
y = 0.65 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
onButtonClick = "call Z_removeAllToList;";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class ZSC_RscButtonMenu_ATT1: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_ATT1: ZSC_RscButtonMenu
{
idc = 7440;
@@ -354,10 +258,8 @@ class AdvancedTrading
w = 0.08 * safezoneW;
onButtonClick = "[(lbCurSel 7421),(ctrlText 7441)] call Z_toBuyingList;";
onload = "ctrlShow [_this,false]";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class Zupa_Ammount_Edit : ZSC_RscEdit {
class Zupa_Amount_Edit : ZSC_RscEdit {
idc = 7441;
colorText[] = {1,1,1,1};
text = "1";
@@ -365,10 +267,10 @@ class AdvancedTrading
x = 0.36 * safezoneW + safezoneX;
y = 0.49 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
h = 0.03;
h = 0.03 * safezoneH;
onload = "ctrlShow [_this,false]";
};
class ZSC_RscButtonMenu_ATT3: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_ATT3: ZSC_RscButtonMenu
{
idc = 7442;
text = " < ";
@@ -377,10 +279,8 @@ class AdvancedTrading
w = 0.08 * safezoneW;
onButtonClick = "[(lbCurSel 7422)] call Z_removeItemFromBuyingList;";
onload = "ctrlShow [_this,false]";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class ZSC_RscButtonMenu_ATT4: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_ATT4: ZSC_RscButtonMenu
{
idc = 7443;
text = " << ";
@@ -389,8 +289,6 @@ class AdvancedTrading
w = 0.08 * safezoneW;
onButtonClick = "call Z_removeAllFromBuyingList;";
onload = "ctrlShow [_this,false]";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class RscText_ATT8: ZSC_RscStructuredText
{
@@ -403,16 +301,15 @@ class AdvancedTrading
colorText[] = {1,1,1,1};
onload = "ctrlShow [_this,false]";
};
class RscSearchBackground2: ZSC_RscText
class RscSearchBackground2: ZSC_RscListBox
{
idc = -1;
text = "";
x = 0.46 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.03 * safezoneH;
colorText[] = {1,1,1,1};
colorBackground[] = {0.1,0.1,0.1,1};
soundSelect[] = {"",0.1,1};
class ListScrollBar: ZSC_RscScrollBar{};
};
class RscText_AT18: ZSC_RscText
{
@@ -424,7 +321,7 @@ class AdvancedTrading
h = 0.03 * safezoneH;
colorText[] = {1,1,1,1};
};
class ZSC_RscButtonMenu_AT16: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_AT16: ZSC_RscButtonMenu
{
idc = 7435;
text = $STR_EPOCH_PLAYER_292;
@@ -432,10 +329,8 @@ class AdvancedTrading
y = 0.77 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
onButtonClick = "call Z_SellItems;";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class ZSC_RscButtonMenu_AT27: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_AT27: ZSC_RscButtonMenu
{
idc = 7436;
text = $STR_EPOCH_PLAYER_291;
@@ -444,29 +339,23 @@ class AdvancedTrading
w = 0.13 * safezoneW;
onload = "ctrlShow [_this,false]";
onButtonClick = "call Z_BuyItems;";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class ZSC_RscButtonMenu_AT28: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_AT28: ZSC_RscButtonMenu
{
idc = -1;
x = 0.63 * safezoneW + safezoneX;
y = 0.77 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
onButtonClick = "[[],0,false,0,[],[],true] call Z_returnChange; ((ctrlParent (_this select 0)) closeDisplay 2); localize ""STR_EPOCH_PLAYER_307"" call dayz_rollingMessages;";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
text = $STR_EPOCH_PLAYER_306;
};
class ZSC_RscButtonMenu_AT29: AT_Zupa_BlueButton
class ZSC_RscButtonMenu_AT29: ZSC_RscButtonMenu
{
idc = -1;
x = 0.63 * safezoneW + safezoneX;
y = 0.80 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 2);";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
text = $STR_UI_CLOSE;
};
class RscStrText_AT_PriceInfo: ZSC_RscStructuredText // todo
@@ -487,28 +376,28 @@ class AdvancedTrading
y = 0.38 * safezoneH + safezoneY;
w = 0.20 * safezoneW;
h = 0.03 * safezoneH;
colorBackground[] = {0.2,0.75,1,1};
colorBackground[] = {ZSC_DARK_BLUE, 0.5};
colorText[] = {1,1,1,1};
};
class RscText_AT_BreakLine: ZSC_RscText
{
idc = -1;
x = 0.60 * safezoneW + safezoneX;
y = 0.15 * safezoneH + safezoneY;
w = 0.0005 * safezoneW;
h = 0.70 * safezoneH;
colorBackground[] = {0.2,0.75,1,1};
idc = -1;
x = 0.60 * safezoneW + safezoneX;
y = 0.15 * safezoneH + safezoneY;
w = 0.0005 * safezoneW;
h = 0.70 * safezoneH;
colorBackground[] = {ZSC_DARK_BLUE, 0.5};
};
class RscStrText_AT_ItemInfo: ZSC_RscStructuredText
{
idc = 7445;
text = "";
x = 0.61 * safezoneW + safezoneX;
y = 0.43 * safezoneH + safezoneY;
w = 0.19 * safezoneW;
h = 0.59 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscStrText_AT_ItemInfo: ZSC_RscStructuredText
{
idc = 7445;
text = "";
x = 0.61 * safezoneW + safezoneX;
y = 0.43 * safezoneH + safezoneY;
w = 0.19 * safezoneW;
h = 0.59 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscStrText_AT_ContainerInfo: ZSC_RscStructuredText
{
idc = 7446;