summaryrefslogtreecommitdiff
path: root/resource/ui/econ
diff options
context:
space:
mode:
authorCriticalFlaw <[email protected]>2018-07-08 15:42:11 -0400
committerCriticalFlaw <[email protected]>2018-07-08 15:42:11 -0400
commit5828cf09bfcfa8781c1c734b7fe4c9488fa76c29 (patch)
tree1228f5c3d362d89b241a3ad650c9e6de3d6fcbfd /resource/ui/econ
parent29e5aed51cd50bbb04ed62ebac6f1a0538d19dff (diff)
Added a Store Cart Page
Diffstat (limited to 'resource/ui/econ')
-rw-r--r--resource/ui/econ/store/v2/storeviewcartpanel.res536
1 files changed, 536 insertions, 0 deletions
diff --git a/resource/ui/econ/store/v2/storeviewcartpanel.res b/resource/ui/econ/store/v2/storeviewcartpanel.res
new file mode 100644
index 0000000..325ce7d
--- /dev/null
+++ b/resource/ui/econ/store/v2/storeviewcartpanel.res
@@ -0,0 +1,536 @@
+"Resource/UI/StoreViewCartPanel.res"
+{
+ "store_viewcart_panel"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "store_viewcart_panel"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "480"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "tabPosition" "0"
+ "settitlebarvisible" "1"
+ "PaintBackgroundType" "0"
+ "bgcolor_override" "25 25 25 255"
+ "infocus_bgcolor_override" "25 25 25 255"
+ "outoffocus_bgcolor_override" "25 25 25 255"
+
+ "title" "#StoreTitle"
+ "title_font" "HudFontMediumBold"
+ "titletextinsetX" "40"
+ "titletextinsetY" "0"
+ "titlebarfgcolor_override" "200 187 161 255"
+ "titlebardisabledfgcolor_override" "200 187 161 255"
+ "titlebarbgcolor_override" "27 27 27 255"
+
+ "clientinsetx_override" "0"
+ "sheetinset_bottom" "40"
+
+ "item_entry_kv"
+ {
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "580"
+ "tall" "60"
+
+ "itempanel"
+ {
+ "ControlName" "CItemModelPanel"
+ "fieldname" "itempanel"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "400"
+ "tall" "58"
+ "visible" "1"
+ "bgcolor_override" "0 0 0 255"
+ "noitem_textcolor" "117 107 94 255"
+ "PaintBackgroundType" "2"
+ "paintborder" "0"
+
+ "model_xpos" "3"
+ "model_ypos" "3"
+ "model_wide" "80"
+ "model_tall" "53"
+
+ "text_xpos" "110"
+ "text_ypos" "24"
+ "text_wide" "250"
+ "text_center" "0"
+ "text_forcesize" "1"
+
+ "name_only" "1"
+
+ "itemmodelpanel"
+ {
+ "use_item_rendertarget" "0"
+ "allow_rot" "0"
+ "inventory_image_type" "1"
+ }
+ }
+
+ "quantitylabel"
+ {
+ "ControlName" "Label"
+ "fieldname" "quantitylabel"
+ "font" "HudFontSmallestBold"
+ "textAlignment" "north-east"
+ "xpos" "70"
+ "ypos" "45"
+ "zpos" "15"
+ "wide" "16"
+ "tall" "10"
+ "autoResize" "1"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" "%quantity%"
+ }
+
+ "SeparatorLine"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "SeparatorLine"
+ "xpos" "0"
+ "ypos" "58"
+ "zpos" "5"
+ "wide" "580"
+ "tall" "5"
+ "visible" "1"
+ "enabled" "1"
+ "image" "loadout_solid_line"
+ "tileImage" "1"
+ }
+
+ "RemoveButton"
+ {
+ "ControlName" "CExButton"
+ "fieldName" "RemoveButton"
+ "xpos" "375"
+ "ypos" "17"
+ "zpos" "5"
+ "wide" "100"
+ "tall" "25"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "tabPosition" "0"
+ "labelText" "#Store_Remove"
+ "font" "HudFontSmallBold"
+ "textAlignment" "center"
+ "dulltext" "0"
+ "brighttext" "0"
+ "default" "1"
+ "Command" "remove"
+ "sound_depressed" "UI/buttonclick.wav"
+ "sound_released" "UI/buttonclickrelease.wav"
+ }
+
+ "PriceLabel"
+ {
+ "ControlName" "Label"
+ "fieldname" "PriceLabel"
+ "font" "FontCartPrice"
+ "textAlignment" "east"
+ "xpos" "475"
+ "ypos" "0"
+ "zpos" "15"
+ "wide" "95"
+ "tall" "60"
+ "autoResize" "1"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" "%price%"
+ "fgcolor_override" "130 120 104 255"
+ }
+ }
+ }
+
+ "BackgroundHeader"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "BackgroundHeader"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "-2"
+ "wide" "f0"
+ "tall" "120"
+ "visible" "1"
+ "enabled" "1"
+ "image" "loadout_header"
+ "tileImage" "1"
+ }
+
+ "BackgroundHeader2"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "BackgroundHeader2"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "-2"
+ "wide" "f0"
+ "tall" "120"
+ "visible" "1"
+ "enabled" "1"
+ "fillcolor" "15 15 15 175"
+ "tileImage" "1"
+ }
+
+ "BackgroundFooter"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "BackgroundFooter"
+ "xpos" "0"
+ "ypos" "420"
+ "zpos" "0"
+ "wide" "f0"
+ "tall" "60"
+ "visible" "1"
+ "enabled" "1"
+ "image" "loadout_header"
+ "tileImage" "1"
+ }
+
+ "BackgroundFooter2"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "BackgroundFooter2"
+ "xpos" "0"
+ "ypos" "420"
+ "zpos" "1"
+ "wide" "f0"
+ "tall" "60"
+ "visible" "1"
+ "enabled" "1"
+ "fillcolor" "15 15 15 220"
+ "tileImage" "1"
+ }
+
+ "FooterLine"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "HeaderLine"
+ "xpos" "0"
+ "ypos" "420"
+ "zpos" "2"
+ "wide" "f0"
+ "tall" "2"
+ "visible" "1"
+ "enabled" "1"
+ "autoResize" "0"
+ "PaintBackgroundType" "2"
+ "border" "NoBorder"
+ "bgcolor_override" "Base Color"
+ }
+
+ "ClientArea"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "ClientArea"
+ "xpos" "0"
+ "ypos" "55"
+ "wide" "f0"
+ "tall" "368"
+ "bgcolor_override" "27 27 27 255"
+
+ "HeaderLine"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "HeaderLine"
+ "xpos" "0"
+ "ypos" "420"
+ "zpos" "2"
+ "wide" "f0"
+ "tall" "2"
+ "visible" "1"
+ "enabled" "1"
+ "autoResize" "0"
+ "PaintBackgroundType" "2"
+ "border" "NoBorder"
+ "bgcolor_override" "Base Color"
+ }
+
+ "CartItemsLabel"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "CartItemsLabel"
+ "font" "HudFontMediumBold"
+ "labelText" "%storecart%"
+ "textAlignment" "west"
+ "xpos" "c-300"
+ "ypos" "25"
+ "zpos" "1"
+ "wide" "350"
+ "tall" "20"
+ "autoResize" "1"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ }
+
+ "SeparatorLine"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "SeparatorLine"
+ "xpos" "c-300"
+ "ypos" "60"
+ "zpos" "5"
+ "wide" "600"
+ "tall" "5"
+ "visible" "1"
+ "enabled" "1"
+ "image" "loadout_solid_line"
+ "tileImage" "1"
+ }
+
+ "EmptyCartLabel"
+ {
+ "ControlName" "Label"
+ "fieldName" "EmptyCartLabel"
+ "font" "HudFontSmallBold"
+ "labelText" "#Store_CartIsEmpty"
+ "textAlignment" "center"
+ "xpos" "c-300"
+ "ypos" "62"
+ "zpos" "6"
+ "wide" "600"
+ "tall" "240"
+ "autoResize" "1"
+ "pinCorner" "0"
+ "visible" "0"
+ "enabled" "1"
+ }
+
+ "ItemListContainerScroller"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "ItemListContainerScroller"
+ "xpos" "c-300"
+ "ypos" "62"
+ "zpos" "5"
+ "wide" "600"
+ "tall" "240"
+ "PaintBackgroundType" "2"
+ "fgcolor_override" "118 107 94 255" // Gets copied to the scrollbar fgcolor as part of ScrollableEditablePanel
+ "bgcolor_override" "27 27 27 255"
+ "autohide_buttons" "1"
+
+ "Scrollbar"
+ {
+ "xpos" "586"
+ "wide" "11"
+ "tall" "240"
+ "zpos" "1000"
+
+ "Slider"
+ {
+ "PaintBackgroundType" "2"
+ }
+
+ "nobuttons" "1"
+ "UpButton"
+ {
+ "ControlName" "Button"
+ "FieldName" "UpButton"
+ "visible" "0"
+ "tall" "0"
+ "wide" "0"
+ }
+
+ "DownButton"
+ {
+ "ControlName" "Button"
+ "FieldName" "DownButton"
+ "visible" "0"
+ "tall" "0"
+ "wide" "0"
+ }
+ }
+
+ "ItemListContainer"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "ItemListContainer"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "5"
+ "wide" "500"
+ "tall" "240"
+ "PaintBackgroundType" "2"
+ "bgcolor_override" "200 187 161 0"
+
+ "FeaturedItemSymbol"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "FeaturedItemSymbol"
+ "xpos" "c-225"
+ "ypos" "243"
+ "zpos" "99"
+ "wide" "32"
+ "tall" "32"
+ "visible" "1"
+ "enabled" "1"
+ "image" "store_special"
+ "scaleImage" "1"
+ }
+
+ "PurchaseFooter"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "PurchaseFooter"
+ "wide" "580"
+ "tall" "110"
+ "bgcolor_override" "Transparent"
+
+ "EstimatedTotalLabel"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "EstimatedTotalLabel"
+ "font" "HudFontSmall"
+ "labelText" "#Store_EstimatedTotal"
+ "textAlignment" "south-east"
+ "xpos" "0"
+ "ypos" "15"
+ "zpos" "100"
+ "wide" "425"
+ "tall" "15"
+ "autoResize" "1"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ }
+
+ "WashingtonStateSalesTaxLabel"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "WashingtonStateSalesTaxLabel"
+ "font" "HudFontSmallest"
+ "labelText" "#Store_WAStateSalesTax"
+ "textAlignment" "north-east"
+ "xpos" "0"
+ "ypos" "29"
+ "zpos" "100"
+ "wide" "425"
+ "tall" "12"
+ "autoResize" "1"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "fgcolor_override" "130 120 104 255"
+ }
+
+ "TotalSubtextLabelB"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "TotalSubtextLabelB"
+ "font" "HudFontSmallest"
+ "labelText" "#Store_TotalSubtextB"
+ "textAlignment" "north-east"
+ "xpos" "0"
+ "ypos" "39"
+ "zpos" "100"
+ "wide" "425"
+ "tall" "12"
+ "autoResize" "1"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "fgcolor_override" "130 120 104 255"
+ }
+
+ "TotalPriceLabel"
+ {
+ "ControlName" "Label"
+ "fieldname" "TotalPriceLabel"
+ "font" "FontCartPrice"
+ "textAlignment" "east"
+ "xpos" "475"
+ "ypos" "0"
+ "zpos" "15"
+ "wide" "100"
+ "tall" "60"
+ "autoResize" "1"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" "%totalprice%"
+ "fgcolor_override" "130 120 104 255"
+ }
+ }
+ }
+ }
+ }
+
+ "CloseButton"
+ {
+ "ControlName" "CExButton"
+ "fieldName" "CloseButton"
+ "xpos" "c-300"
+ "ypos" "437"
+ "zpos" "2"
+ "wide" "200"
+ "tall" "25"
+ "autoResize" "0"
+ "pinCorner" "3"
+ "visible" "1"
+ "enabled" "1"
+ "tabPosition" "0"
+ "labelText" "#Store_ContinueShopping"
+ "font" "HudFontSmallBold"
+ "textAlignment" "center"
+ "dulltext" "0"
+ "brighttext" "0"
+ "default" "1"
+ "Command" "close"
+ "sound_depressed" "UI/buttonclick.wav"
+ "sound_released" "UI/buttonclickrelease.wav"
+
+ "defaultBgColor_override" "15 15 15 255"
+ "armedBgColor_override" "25 25 25 255"
+ "depressedBgColor_override" "25 25 25 255"
+ "defaultFgColor_override" "TanLight"
+ "armedFgColor_override" "TanLight"
+ "depressedFgColor_override" "TanLight"
+ "border_default" "ButtonHover"
+ "border_armed" "ButtonHover"
+ }
+
+ "CheckoutButton"
+ {
+ "ControlName" "CExButton"
+ "fieldName" "CheckoutButton"
+ "xpos" "c170"
+ "ypos" "437"
+ "zpos" "2"
+ "wide" "130"
+ "tall" "25"
+ "autoResize" "0"
+ "pinCorner" "3"
+ "visible" "1"
+ "enabled" "1"
+ "tabPosition" "0"
+ "labelText" "#Store_Checkout"
+ "font" "HudFontSmallBold"
+ "textAlignment" "center"
+ "dulltext" "0"
+ "brighttext" "0"
+ "default" "1"
+ "Command" "checkout"
+ "sound_depressed" "UI/buttonclick.wav"
+ "sound_released" "UI/buttonclickrelease.wav"
+
+ "defaultBgColor_override" "15 15 15 255"
+ "armedBgColor_override" "25 25 25 255"
+ "depressedBgColor_override" "25 25 25 255"
+ "defaultFgColor_override" "TanLight"
+ "armedFgColor_override" "TanLight"
+ "depressedFgColor_override" "TanLight"
+ "border_default" "ButtonHover"
+ "border_armed" "ButtonHover"
+ }
+} \ No newline at end of file