forked from townforge/townforge
127 lines
5.3 KiB
Plaintext
127 lines
5.3 KiB
Plaintext
WindowInfo
|
|
title Trade
|
|
centered-relative-size: 0.9 0.9
|
|
modal: 1
|
|
|
|
TBLayout: axis: y, distribution-position: "left top", distribution: "available"
|
|
|
|
TBLayout: axis x, distribution-position: "left top", distribution: "available"
|
|
|
|
TBLayout: axis: y
|
|
TBLayout: axis: x, distribution-position: "left"
|
|
TBTextField: text: "Balance:"
|
|
TBTextField: id: "balance", text: ""
|
|
TBLayout: axis: x, distribution-position: "left"
|
|
TBTextField: id: "item", text: ""
|
|
TBTextField: id: "item-balance", text: ""
|
|
TBLayout: axis: x, distribution-position: "left"
|
|
TBTextField: id: "item-supply-label", text: ""
|
|
TBTextField: id: "item-supply", text: ""
|
|
|
|
TBLayout: axis: x, position: "left"
|
|
TBClickLabel: text: "Blocks"
|
|
TBCheckBox: id: "show-blocks", value: 1
|
|
TBClickLabel: text: "Patents"
|
|
TBCheckBox: id: "show-patents"
|
|
TBClickLabel: text: "Land"
|
|
TBCheckBox: id: "show-land"
|
|
TBClickLabel: text: "Cities"
|
|
TBCheckBox: id: "show-cities"
|
|
TBClickLabel: text: "Gemstones"
|
|
TBCheckBox: id: "show-gemstones"
|
|
TBClickLabel: text: "Player-made items"
|
|
TBCheckBox: id: "show-custom"
|
|
TBSelectDropdown: id: "activity-filter"
|
|
items
|
|
item: id: "activity-all", text: "All"
|
|
item: id: "activity-my-orders", text: "My orders"
|
|
item: id: "activity-my-sell-orders", text: "My sell orders"
|
|
item: id: "activity-my-buy-orders", text: "My buy orders"
|
|
item: id: "activity-with-orders", text: "With orders"
|
|
item: id: "activity-with-sell-orders", text: "With sell orders"
|
|
item: id: "activity-with-buy-orders", text: "With buy orders"
|
|
|
|
TBLayout: axis: x, distribution: "available"
|
|
|
|
TBLayout: axis: y, distribution: "available"
|
|
TBTextField: text: "Market"
|
|
TBSelectList: id: "markets", gravity: "all"
|
|
TBEditField: id: "search", placeholder: "search", type: "search", gravity: "left right", autofocus: 1
|
|
|
|
TBLayout: axis: y, id: "left-layout", distribution: "available"
|
|
TBTextField: text: "Sell orders"
|
|
TBSelectList: id: "sell-orders", gravity: "all"
|
|
|
|
TBContainer: id: "sell-widgets-container"
|
|
TBLayout: axis: y
|
|
TBLayout: axis: x
|
|
TBLayout: axis: y, distribution: "available"
|
|
TBTextField: text: "Amount", skin: "TBTextField.tradelabel"
|
|
TBTextField: text: "Price", skin: "TBTextField.tradelabel"
|
|
TBToggleContainer: connection: advanced, toggle: expanded
|
|
TBLayout: axis: y, distribution: "available"
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Accrual", skin: "TBTextField.tradelabel"
|
|
TBButton: id: "accrual-help", text: "?"
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Accrual limit", skin: "TBTextField.tradelabel"
|
|
TBButton: id: "accrual-help", text: "?"
|
|
TBTextField: text: "Total", skin: "TBTextField.tradelabel"
|
|
TBLayout: axis: y, distribution: "available"
|
|
TBEditField: id: "buy-amount", text: "0"
|
|
TBEditField: id: "buy-price", text: "0"
|
|
TBToggleContainer: connection: advanced, toggle: expanded
|
|
TBLayout: axis: y, distribution: "available"
|
|
TBEditField: id: "buy-accrual", text: "0"
|
|
TBEditField: id: "buy-accrual-limit", text: "0", state: disabled
|
|
TBEditField: id: "buy-total", text: "0", readonly: 1, state: disabled
|
|
TBLayout: axis: x
|
|
TBButton: id: "buy", text: " Buy "
|
|
font: size: 24px
|
|
|
|
TBLayout: axis: y, id: "right-layout", distribution: "available"
|
|
TBTextField: text: "Buy orders"
|
|
TBSelectList: id: "buy-orders", gravity: "all"
|
|
|
|
TBContainer: id: "buy-widgets-container"
|
|
TBLayout: axis: y
|
|
TBLayout: axis: x
|
|
TBLayout: axis: y, distribution: "available"
|
|
TBTextField: text: "Amount", skin: "TBTextField.tradelabel"
|
|
TBTextField: text: "Price", skin: "TBTextField.tradelabel"
|
|
TBToggleContainer: connection: advanced, toggle: expanded
|
|
TBLayout: axis: y, distribution: "available"
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Accrual", skin: "TBTextField.tradelabel"
|
|
TBButton: id: "accrual-help", text: "?"
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Accrual limit", skin: "TBTextField.tradelabel"
|
|
TBButton: id: "accrual-help", text: "?"
|
|
TBTextField: text: "Total", skin: "TBTextField.tradelabel"
|
|
TBLayout: axis: y, distribution: "available"
|
|
TBEditField: id: "sell-amount", text: "0"
|
|
TBEditField: id: "sell-price", text: "0"
|
|
TBToggleContainer: connection: advanced, toggle: expanded
|
|
TBLayout: axis: y, distribution: "available"
|
|
TBEditField: id: "sell-accrual", text: "0"
|
|
TBEditField: id: "sell-accrual-limit", text: "0", state: disabled
|
|
TBEditField: id: "sell-total", text: "0", readonly: 1, state: disabled
|
|
TBLayout: axis: x
|
|
TBButton: id: "sell", text: " Sell "
|
|
font: size: 24px
|
|
|
|
TBLayout: axis: x, gravity: "left right", distribution: "available"
|
|
TBLayout: axis: x, gravity: "left"
|
|
TBClickLabel: text: "Advanced"
|
|
TBCheckBox: connection: advanced
|
|
TBLayout: axis: x, gravity: "left"
|
|
TBClickLabel: text: "Swap buy/sell"
|
|
TBCheckBox: id: "swap-buy-sell"
|
|
TBLayout: axis: x, gravity: "right"
|
|
TBTextField: text: "Orders cannot be cancelled manually after creation:"
|
|
TBClickLabel: text: "Expire in"
|
|
TBCheckBox: id: "expire"
|
|
TBEditField: id: "expiration", text: "30.0"
|
|
TBTextField: id: "expiration-error", text: "!", visibility: "invisible", text-color: #ff4040
|
|
TBTextField: text: "day(s)"
|