Advanced trading by Zupa @Windmolders

Stock configuration and basic integration. WE still need config based
trader setups.
This commit is contained in:
icomrade
2016-04-27 18:23:55 -04:00
parent 1a6593d198
commit 1585765ca6
53 changed files with 3343 additions and 1 deletions

View File

@@ -0,0 +1,644 @@
class ZSC_RscScrollBar
{
color[] = {1,1,1,0.6};
colorActive[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.3};
shadow = 0;
scrollSpeed = 0.06;
width = 0;
height = 0;
autoScrollEnabled = 0;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
};
class ZSC_RscControlsGroup {
type = 15;
idc = -1;
x = 0;
y = 0;
w = 1;
h = 1;
shadow = 0;
style = 16;
class VScrollBar : ZSC_RscScrollBar
{
width = 0.021;
autoScrollEnabled = 1;
};
class HScrollBar : ZSC_RscScrollBar
{
height = 0.028;
};
class Controls {};
};
class ZSC_RscControlsGroupNoScrollbars : ZSC_RscControlsGroup {
class VScrollbar : VScrollbar {
width = 0;
};
class HScrollbar : HScrollbar {
height = 0;
};
};
class ZSC_RscHud
{
idc = -1;
type = 0;
style = 0x00;
colorBackground[] = { 1 , 1 , 1 , 0 };
colorText[] = { 1 , 1 , 1 , 1 };
font = "Zeppelin32";
sizeEx = 0.025;
h = 0.25;
text = "";
};
class ZSC_RscListNBox
{
style = 16;
type = 102;
shadow = 0;
font = "Zeppelin32";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
color[] = {0.95,0.95,0.95,1};
colorText[] = {1,1,1,1.0};
colorDisabled[] = {1,1,1,0.25};
colorScrollbar[] = {0.95,0.95,0.95,1};
colorSelect[] = {0,0,0,1};
colorSelect2[] = {0,0,0,1};
colorSelectBackground[] = {0.95,0.95,0.95,1};
colorSelectBackground2[] = {1,1,1,0.5};
period = 1.2;
class ListScrollBar: ZSC_RscScrollBar{};
class ScrollBar: ZSC_RscScrollBar{};
};
class ZSC_RscText {
x = 0;
y = 0;
h = 0.037;
w = 0.3;
type = 0;
style = 0;
shadow = 1;
colorShadow[] = {0, 0, 0, 0.5};
font = "Zeppelin32";
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
text = "";
colorText[] = {1, 1, 1, 1.0};
colorBackground[] = {0, 0, 0, 0};
linespacing = 1;
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
};
class ZSC_RscLine : ZSC_RscText {
idc = -1;
style = 176;
x = 0.17;
y = 0.48;
w = 0.66;
h = 0;
text = "";
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1.0};
};
class ZSC_RscTree {
style = 2;
font = "Zeppelin32";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
rowHeight = 0.0439091;
color[] = {1, 1, 1, 1};
colorSelect[] = {0.7, 0.7, 0.7, 1};
colorBackground[] = {0, 0, 0, 0};
colorSelectBackground[] = {0, 0, 0, 0.5};
colorBorder[] = {0, 0, 0, 0};
borderSize = 0;
};
class ZSC_RscTitle : ZSC_RscText {
style = 0;
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
colorText[] = {0.95, 0.95, 0.95, 1};
};
class ZSC_RscPicture {
shadow = 0;
type = 0;
style = 48;
sizeEx = 0.023;
font = "Zeppelin32";
colorBackground[] = {};
colorText[] = {};
x = 0;
y = 0;
w = 0.2;
h = 0.15;
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
};
class ZSC_RscTextMulti : ZSC_RscText
{
linespacing = 1;
style = 0 + 16 + 0x200;
};
class ZSC_RscPictureKeepAspect : ZSC_RscPicture
{
style = 0x30 + 0x800;
};
class ZSC_RscStructuredText {
type = 13;
style = 0;
x = 0;
y = 0;
h = 0.035;
w = 0.1;
text = "";
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
colorText[] = {1, 1, 1, 1.0};
shadow = 1;
class Attributes {
font = "Zeppelin32";
color = "#ffffff";
align = "left";
shadow = 1;
};
};
class ZSC_RscActiveText {
idc = -1;
type = 11;
style = 0;
x = 0;
y = 0;
h = 0.037;
w = 0.3;
sizeEx = 0.040;
font = "Zeppelin32";
color[] = {1, 1, 1, 1};
colorActive[] = {1, 0.2, 0.2, 1};
action = "";
text = "";
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
};
class ZSC_RscButton
{
style = 2;
x = 0;
y = 0;
w = 0.095589;
h = 0.039216;
shadow = 2;
font = "Zeppelin32";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
colorText[] = {1,1,1,1.0};
colorDisabled[] = {0.4,0.4,0.4,1};
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",0.7};
colorBackgroundActive[] = {"(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};
colorBackgroundDisabled[] = {0.95,0.95,0.95,1};
offsetX = 0.003;
offsetY = 0.003;
offsetPressedX = 0.002;
offsetPressedY = 0.002;
colorFocused[] = {"(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};
colorShadow[] = {0,0,0,1};
colorBorder[] = {0,0,0,1};
borderSize = 0.0;
soundPush[] = { "", 0, 1 };
soundEnter[] = { "", 0, 1 };
soundClick[] ={ "", 0, 1 };
soundEscape[] ={ "", 0, 1 };
sound[] ={ "", 0, 1 };
};
class ZSC_RscButtonTextOnly : ZSC_RscButton {
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
colorBackground[] = {1, 1, 1, 0};
colorBackgroundActive[] = {1, 1, 1, 0};
colorBackgroundDisabled[] = {1, 1, 1, 0};
colorFocused[] = {1, 1, 1, 0};
colorShadow[] = {1, 1, 1, 0};
borderSize = 0.0;
};
class ZSC_RscShortcutButton {
idc = -1;
style = 0;
default = 0;
shadow = 1;
w = 0.183825;
h = "((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)";
color[] = {1,1,1,1.0};
colorFocused[] = {1,1,1,1.0};
color2[] = {0.95,0.95,0.95,1};
colorDisabled[] = {1,1,1,0.25};
colorBackground[] = {"(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};
colorBackgroundFocused[] = {"(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};
colorBackground2[] = {1,1,1,1};
periodFocus = 1.2;
periodOver = 0.8;
class HitZone
{
left = 0.0;
top = 0.0;
right = 0.0;
bottom = 0.0;
};
class ShortcutPos
{
left = 0;
top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
};
class TextPos
{
left = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
right = 0.005;
bottom = 0.0;
};
period = 0.4;
font = "Zeppelin32";
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
text = "";
action = "";
class Attributes
{
font = "Zeppelin32";
color = "#E5E5E5";
align = "left";
shadow = "true";
};
class AttributesImage
{
font = "Zeppelin32";
color = "#E5E5E5";
align = "left";
};
soundPush[] = { "", 0, 1 };
soundEnter[] = { "", 0, 1 };
soundClick[] = { "", 0, 1 };
soundEscape[] = { "", 0, 1 };
sound[] = { "", 0, 1 };
};
class ZSC_RscButtonMenu : ZSC_RscShortcutButton {
idc = -1;
type = 16;
style = "0x02 + 0xC0";
default = 0;
shadow = 0;
x = 0;
y = 0;
w = 0.095589;
h = 0.039216;
animTextureNormal = "#(argb,8,8,3)color(1,1,1,1)";
animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)";
animTextureOver = "#(argb,8,8,3)color(1,1,1,1)";
animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";
animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)";
animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
colorBackground[] = {0,0,0,0.8};
colorBackgroundFocused[] = {1,1,1,1};
colorBackground2[] = {0.75,0.75,0.75,1};
color[] = {1,1,1,1};
colorFocused[] = {0,0,0,1};
color2[] = {0,0,0,1};
colorText[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.25};
period = 1.2;
periodFocus = 1.2;
periodOver = 1.2;
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
class TextPos
{
left = "0.25 * (((safezoneW / safezoneH) min 1.2) / 40)";
top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
right = 0.005;
bottom = 0.0;
};
class Attributes
{
font = "Zeppelin32";
color = "#E5E5E5";
align = "left";
shadow = "false";
};
class ShortcutPos
{
left = "(6.25 * (((safezoneW / safezoneH) min 1.2) / 40)) - 0.0225 - 0.005";
top = 0.005;
w = 0.0225;
h = 0.03;
};
textureNoShortcut = "";
};
class ZSC_RscShortcutButtonMain : ZSC_RscShortcutButton {
idc = -1;
style = 0;
default = 0;
w = 0.313726;
h = 0.104575;
color[] = {1, 1, 1, 1.0};
colorDisabled[] = {1, 1, 1, 0.25};
class HitZone {
left = 0.0;
top = 0.0;
right = 0.0;
bottom = 0.0;
};
class ShortcutPos {
left = 0.0145;
top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)) / 2";
w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2) * (3/4)";
h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
};
class TextPos {
left = "(((safezoneW / safezoneH) min 1.2) / 32) * 1.5";
top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)*2 - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)) / 2";
right = 0.005;
bottom = 0.0;
};
period = 0.5;
font = "Zeppelin32";
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
text = "";
action = "";
class Attributes {
font = "Zeppelin32";
color = "#E5E5E5";
align = "left";
shadow = "false";
};
class AttributesImage {
font = "Zeppelin32";
color = "#E5E5E5";
align = "false";
};
};
class ZSC_RscCheckbox {
idc = -1;
type = 7;
style = 0;
x = "LINE_X(XVAL)";
y = LINE_Y;
w = "LINE_W(WVAL)";
h = 0.029412;
colorText[] = {1, 0, 0, 1};
color[] = {0, 0, 0, 0};
colorBackground[] = {0, 0, 1, 1};
colorTextSelect[] = {0, 0.8, 0, 1};
colorSelectedBg[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 1};
colorSelect[] = {0, 0, 0, 1};
colorTextDisable[] = {0.4, 0.4, 0.4, 1};
colorDisable[] = {0.4, 0.4, 0.4, 1};
font = "Zeppelin32";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
rows = 1;
5ns = 1;
strings[] = {UNCHECKED};
checked_strings[] = {CHECKED};
soundPush[] = { "", 0, 1 };
soundEnter[] = { "", 0, 1 };
soundClick[] ={ "", 0, 1 };
soundEscape[] ={ "", 0, 1 };
sound[] ={ "", 0, 1 };
};
class ZSC_RscProgress
{
type = 8;
style = 0;
x = 0.344;
y = 0.619;
w = 0.313726;
h = 0.0261438;
texture = "";
shadow = 2;
colorFrame[] = {0, 0, 0, 1};
colorBackground[] = {0,0,0,0.7};
colorBar[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
};
class ZSC_RscListBox
{
style = 16;
idc = -1;
type = 5;
w = 0.275;
h = 0.04;
font = "Zeppelin32";
colorSelect[] = {1, 1, 1, 1};
colorText[] = {1, 1, 1, 1};
colorBackground[] = {0.28,0.28,0.28,0.28};
colorSelect2[] = {1, 1, 1, 1};
colorSelectBackground[] = {0.95, 0.95, 0.95, 0.5};
colorSelectBackground2[] = {1, 1, 1, 0.5};
colorScrollbar[] = {0.2, 0.2, 0.2, 1};
wholeHeight = 0.45;
rowHeight = 0.04;
color[] = {0.7, 0.7, 0.7, 1};
colorActive[] = {0,0,0,1};
colorDisabled[] = {0,0,0,0.3};
sizeEx = 0.023;
maxHistoryDelay = 1;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
class ListScrollBar: ZSC_RscScrollBar
{
color[] = {1,1,1,1};
autoScrollEnabled = 1;
};
soundPush[] = { "", 0, 1 };
soundEnter[] = { "", 0, 1 };
soundClick[] ={ "", 0, 1 };
soundEscape[] ={ "", 0, 1 };
sound[] ={ "", 0, 1 };
};
class ZSC_RscEdit {
type = 2;
style = 0x00 + 0x40;
font = "Zeppelin32";
shadow = 2;
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
colorBackground[] = {0, 0, 0, 1};
colorText[] = {0.95, 0.95, 0.95, 1};
colorDisabled[] = {1, 1, 1, 0.25};
autocomplete = false;
colorSelection[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 1};
canModify = 1;
soundPush[] = { "", 0, 1 };
soundEnter[] = { "", 0, 1 };
soundClick[] ={ "", 0, 1 };
soundEscape[] ={ "", 0, 1 };
sound[] ={ "", 0, 1 };
};
class ZSC_RscSlider {
h = 0.025;
color[] = {1, 1, 1, 0.8};
colorActive[] = {1, 1, 1, 1};
};
class ZSC_RscXSliderH
{
style = 1024;
type = 43;
shadow = 2;
x = 0;
y = 0;
h = 0.029412;
w = 0.400000;
color[] = {
1, 1, 1, 0.7
};
colorActive[] = {
1, 1, 1, 1
};
colorDisabled[] = {
1, 1, 1, 0.500000
};
};
class ZSC_RscFrame {
type = 0;
idc = -1;
style = 64;
shadow = 2;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
font = "Zeppelin32";
sizeEx = 0.02;
text = "";
};
class ZSC_RscBackground : ZSC_RscText {
type = 0;
IDC = -1;
style = 512;
shadow = 0;
x = 0.0;
y = 0.0;
w = 1.0;
h = 1.0;
text = "";
ColorBackground[] = {0.48, 0.5, 0.35, 1};
ColorText[] = {0.1, 0.1, 0.1, 1};
font = "Zeppelin32";
SizeEx = 1;
};
class ZSC_RscHTML {
colorText[] = {1, 1, 1, 1.0};
colorBold[] = {1, 1, 1, 1.0};
colorLink[] = {1, 1, 1, 0.75};
colorLinkActive[] = {1, 1, 1, 1.0};
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
shadow = 2;
class H1 {
font = "Zeppelin32";
fontBold = "Zeppelin32";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
align = "left";
};
class H2 {
font = "Zeppelin32";
fontBold = "Zeppelin32";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
align = "right";
};
class H3 {
font = "Zeppelin32";
fontBold = "Zeppelin32";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
align = "left";
};
class H4 {
font = "Zeppelin32";
fontBold = "Zeppelin32";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
align = "left";
};
class H5 {
font = "Zeppelin32";
fontBold = "Zeppelin32";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
align = "left";
};
class H6 {
font = "Zeppelin32";
fontBold = "Zeppelin32";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
align = "left";
};
class P {
font = "Zeppelin32";
fontBold = "Zeppelin32";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
align = "left";
};
};
class ZSC_RscCombo {
style = 16;
type = 4;
x = 0;
y = 0;
w = 0.12;
h = 0.035;
shadow = 0;
colorSelect[] = {0, 0, 0, 1};
colorText[] = {0.95, 0.95, 0.95, 1};
maxHistoryDelay = 1;
colorBackground[] = {0.4,0.4,0.4,0.4};
colorSelectBackground[] = {1, 1, 1, 0.7};
colow_Rscrollbar[] = {1, 0, 0, 1};
wholeHeight = 0.45;
color[] = {1, 1, 1, 1};
colorActive[] = {1, 0, 0, 1};
colorDisabled[] = {1, 1, 1, 0.25};
font = "Zeppelin32";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
class ComboScrollBar : ZSC_RscScrollBar {};
};
class ZSC_RscToolbox {
colorText[] = {0.95, 0.95, 0.95, 1};
color[] = {0.95, 0.95, 0.95, 1};
colorTextSelect[] = {0.95, 0.95, 0.95, 1};
colorSelect[] = {0.95, 0.95, 0.95, 1};
colorTextDisable[] = {0.4, 0.4, 0.4, 1};
colorDisable[] = {0.4, 0.4, 0.4, 1};
colorSelectedBg[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
font = "Zeppelin32";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
};

View File

@@ -0,0 +1,501 @@
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;
onLoad = "uiNamespace setVariable ['AdvancedTrading', _this select 0]";
class Controls {
class RscText_ATBackground1: ZSC_RscText
{
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};
};
class RscText_ATBackground2: ZSC_RscText
{
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
{
idc = -1;
text = "Advanced Trading";
x = 0.20 * safezoneW + safezoneX;
y = 0.15 * safezoneH + safezoneY;
w = 0.60 * safezoneW;
h = 0.04 * safezoneH;
colorBackground[] = {0.2,0.75,1,1};
colorText[] = {1,1,1,1};
};
class RscText_Zupa_1: ZSC_RscText
{
idc = 7408;
text = "Selling from gear.";
x = 0.21 * safezoneW + safezoneX;
y = 0.22 * safezoneH + safezoneY;
w = 0.38 * safezoneW;
h = 0.05 * safezoneH;
colorText[] = {1,1,1,1};
};
class ZSC_RscButtonMenu_Z1: AT_Zupa_BlueButton
{
idc = -1;
text = "Gear";
x = 0.21 * safezoneW + safezoneX;
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
{
idc = -1;
text = "Backpack";
x = 0.31 * safezoneW + safezoneX;
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
{
idc = -1;
text = "Vehicle";
x = 0.41 * safezoneW + safezoneX;
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
{
idc = 7416;
text = "Sell";
x = 0.51 * safezoneW + safezoneX;
y = 0.26 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
onButtonClick = "call Z_ChangeBuySell;";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class RscText_AT6: ZSC_RscText
{
idc = 7412;
text = "";
x = 0.21 * safezoneW + safezoneX;
y = 0.30 * safezoneH + safezoneY;
w = 0.30 * safezoneW;
h = 0.03 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscText_AT7: ZSC_RscText
{
idc = 7413;
text = "";
x = 0.21 * safezoneW + safezoneX;
y = 0.33 * safezoneH + safezoneY;
w = 0.30 * safezoneW;
h = 0.03 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscText_AT8: ZSC_RscText
{
idc = -1;
text = "Inventory";
x = 0.21 * safezoneW + safezoneX;
y = 0.38 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.03 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscText_AT9: ZSC_RscText
{
idc = 7409;
text = "Selling";
x = 0.46 * safezoneW + safezoneX;
y = 0.38 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
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;
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
{
idc = 7402;
x = 0.46 * 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 = "['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;
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]";
onLBSelChanged = "['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
{
idc = 7422;
x = 0.46 * 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]";
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
{
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};
};
class Zupa_Filter_Edit : ZSC_RscEdit {
idc = 7444;
colorText[] = {1,1,1,1};
text = "";
sizeEx = 0.030;
x = 0.21 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.04;
};
class ZSC_RscButtonMenu_ATTFilter: AT_Zupa_BlueButton
{
idc = -1;
text = "Filter";
x = 0.21 * safezoneW + safezoneX;
y = 0.77 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
onButtonClick = "[(ctrlText 7444)] call Z_filterList;";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
};
class ZSC_RscButtonMenu_AT12: AT_Zupa_BlueButton
{
idc = 7430;
text = " > ";
x = 0.36 * safezoneW + safezoneX;
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
{
idc = 7431;
text = " >> ";
x = 0.36 * safezoneW + safezoneX;
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
{
idc = 7432;
text = " < ";
x = 0.36 * safezoneW + safezoneX;
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
{
idc = 7433;
text = " << ";
x = 0.36 * safezoneW + safezoneX;
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
{
idc = 7440;
text = " > ";
x = 0.36 * safezoneW + safezoneX;
y = 0.41 * safezoneH + safezoneY;
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 {
idc = 7441;
colorText[] = {1,1,1,1};
text = "1";
sizeEx = 0.030;
x = 0.36 * safezoneW + safezoneX;
y = 0.49 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
h = 0.03;
onload = "ctrlShow [_this,false]";
};
class ZSC_RscButtonMenu_ATT3: AT_Zupa_BlueButton
{
idc = 7442;
text = " < ";
x = 0.36 * safezoneW + safezoneX;
y = 0.57 * safezoneH + safezoneY;
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
{
idc = 7443;
text = " << ";
x = 0.36 * safezoneW + safezoneX;
y = 0.65 * safezoneH + safezoneY;
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_RscText
{
idc = 7404;
text = "0/0/0";
x = 0.45 * safezoneW + safezoneX;
y = 0.32 * safezoneH + safezoneY;
w = 0.15 * safezoneW;
h = 0.03 * safezoneH;
colorText[] = {1,1,1,1};
onload = "ctrlShow [_this,false]";
};
class RscSearchBackground2: ZSC_RscText
{
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};
};
class RscText_AT18: ZSC_RscText
{
idc = 7410;
text = "Nothing";
x = 0.46 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.03 * safezoneH;
colorText[] = {1,1,1,1};
};
class ZSC_RscButtonMenu_AT16: AT_Zupa_BlueButton
{
idc = 7435;
text = "Sell";
x = 0.46 * safezoneW + safezoneX;
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
{
idc = 7436;
text = "Buy";
x = 0.46 * safezoneW + safezoneX;
y = 0.77 * safezoneH + safezoneY;
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
{
idc = -1;
x = 0.63 * safezoneW + safezoneX;
y = 0.77 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 9000);";
colorBackground[] = {1,1,1,1};
color[] = {0,0,0,1};
text = "Close";
};
class RscStrText_AT_PriceInfo: ZSC_RscStructuredText // todo
{
idc = 7451;
text = "";
x = 0.46 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.03 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscText_AT_InfoLabel: ZSC_RscText
{
idc = -1;
text = " Item info";
x = 0.60 * safezoneW + safezoneX;
y = 0.38 * safezoneH + safezoneY;
w = 0.20 * safezoneW;
h = 0.03 * safezoneH;
colorBackground[] = {0.2,0.75,1,1};
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};
};
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;
text = "";
x = 0.61 * safezoneW + safezoneX;
y = 0.24 * safezoneH + safezoneY;
w = 0.19 * safezoneW;
h = 0.35 * safezoneH;
colorText[] = {1,1,1,1};
};
};
};

View File

@@ -281,3 +281,7 @@ class TraderDialog
};
};
};
//Include advanced trading dialogue
#include "ZSCdefines.hpp"
#include "advancedTrading.hpp"