forked from townforge/townforge
ffc4e2198f
for 150% of the incremental cost
35 lines
865 B
Plaintext
35 lines
865 B
Plaintext
WindowInfo
|
|
title Upgrade building
|
|
centered-relative-size: 0.5 0.25
|
|
modal: 1
|
|
|
|
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
|
|
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Building type:"
|
|
TBTextField: id: "type"
|
|
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Current economic power:"
|
|
TBTextField: id: "current-ep"
|
|
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Maximim economic power:"
|
|
TBTextField: id: "maximum-ep"
|
|
|
|
TBSeparator
|
|
|
|
TBLayout: axis: x
|
|
TBTextField: text: "New repair level:"
|
|
TBTextField: id: "new-ep"
|
|
|
|
TBSlider: id: "upgrade-slider"
|
|
|
|
TBLayout: axis: y
|
|
TBTextField: text: "Upgrade cost:"
|
|
TBEditField: id: "upgrade-cost", adapt-to-content: 1, is-focusable: 0, multiline: 1, text: "1\n2\n3", readonly: 1, styling: 1, skin: ""
|
|
|
|
TBLayout: axis: x
|
|
TBButton: text: "OK", id: "ok"
|
|
TBButton: text: "Cancel", id: "cancel"
|