use the new modular UI
This commit is contained in:
@@ -3,128 +3,366 @@ Container@PLAYER_WIDGETS:
|
||||
LogicKeyListener@CONTROLGROUP_KEYHANDLER:
|
||||
Logic: ControlGroupLogic
|
||||
LogicTicker@SIDEBAR_TICKER:
|
||||
MenuButton@OPTIONS_BUTTON:
|
||||
Logic: OrderButtonsChromeLogic
|
||||
X: 0
|
||||
Y: 0
|
||||
Width: 160
|
||||
Height: 25
|
||||
Text: Options (Esc)
|
||||
Font: Bold
|
||||
Key: escape
|
||||
MenuButton@DIPLOMACY_BUTTON:
|
||||
Logic: OrderButtonsChromeLogic
|
||||
MenuContainer: INGAME_DIPLOMACY_BG
|
||||
HideIngameUI: False
|
||||
X: 162
|
||||
Y: 0
|
||||
Width: 160
|
||||
Height: 25
|
||||
Text: Diplomacy (P)
|
||||
Font: Bold
|
||||
Key: p
|
||||
MenuButton@DEBUG_BUTTON:
|
||||
Logic: OrderButtonsChromeLogic
|
||||
MenuContainer: INGAME_MENU
|
||||
X: 324
|
||||
Y: 0
|
||||
Width: 160
|
||||
Height: 25
|
||||
Text: Debug (Shift + Esc)
|
||||
Font: Bold
|
||||
Key: escape Shift
|
||||
SlidingContainer@INGAME_RADAR_BIN:
|
||||
Logic: SlidingRadarBinLogic
|
||||
X: WINDOW_RIGHT-215
|
||||
Y: 0
|
||||
OpenOffset: 0,29
|
||||
ClosedOffset: 0,-166
|
||||
AnimationLength: 15
|
||||
Container@SUPPORT_POWERS:
|
||||
Logic: SupportPowerBinLogic
|
||||
X: 10
|
||||
Y: 10
|
||||
Children:
|
||||
LogicTicker@RADAR_TICKER:
|
||||
Image@RADAR_BIN_BG:
|
||||
ImageName: radar
|
||||
Radar@RADAR_MINIMAP:
|
||||
WorldInteractionController: INTERACTION_CONTROLLER
|
||||
X: 9
|
||||
Width: 192
|
||||
Height: 192
|
||||
ResourceBar@POWERBAR:
|
||||
Logic: IngamePowerBarLogic
|
||||
X: 42
|
||||
Y: 205
|
||||
Width: 138
|
||||
Height: 5
|
||||
SupportPowers@SUPPORT_PALETTE:
|
||||
IconSize: 60, 48
|
||||
IconSpriteOffset: -1, -1
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ReadyText: READY
|
||||
HoldText: ON HOLD
|
||||
Container@PALETTE_FOREGROUND:
|
||||
Children:
|
||||
Image@ICON_TEMPLATE:
|
||||
X:0-2
|
||||
Y:0-2
|
||||
Width: 60
|
||||
Height: 48
|
||||
IgnoreMouseOver: true
|
||||
ImageCollection: sidebar
|
||||
ImageName: background-supportoverlay
|
||||
Image@SIDEBAR_BACKGROUND_TOP:
|
||||
X: WINDOW_RIGHT - 226
|
||||
Y: 0
|
||||
Width: 226
|
||||
Height: 295
|
||||
ImageCollection: sidebar
|
||||
ImageName: background-top
|
||||
ClickThrough: false
|
||||
Children:
|
||||
Container@TOP_BUTTONS:
|
||||
Logic: OrderButtonsChromeLogic
|
||||
X: 16
|
||||
Y: 236
|
||||
Children:
|
||||
MenuButton@DEBUG_BUTTON:
|
||||
Key: escape Shift
|
||||
X: 4
|
||||
Width: 34
|
||||
Height: 35
|
||||
Background:
|
||||
TooltipText: Debug Menu
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 0
|
||||
Y: 0
|
||||
ImageCollection: order-icons
|
||||
ImageName: debug
|
||||
Button@REPAIR_BUTTON:
|
||||
X: 29
|
||||
Width: 34
|
||||
Height: 35
|
||||
Background:
|
||||
TooltipText: Repair
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 0
|
||||
Y: 0
|
||||
ImageCollection: order-icons
|
||||
Button@SELL_BUTTON:
|
||||
X: 54
|
||||
Width: 34
|
||||
Height: 35
|
||||
Background:
|
||||
TooltipText: Sell
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 0
|
||||
Y: 0
|
||||
ImageCollection: order-icons
|
||||
Button@BEACON_BUTTON:
|
||||
X: 108
|
||||
Width: 36
|
||||
Height: 35
|
||||
Background:
|
||||
TooltipText: Place Beacon
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 0
|
||||
Y: 0
|
||||
ImageCollection: order-icons
|
||||
|
||||
Button@POWER_BUTTON:
|
||||
X: 133
|
||||
Width: 36
|
||||
Height: 35
|
||||
Background:
|
||||
TooltipText: Power Down
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 0
|
||||
Y: 0
|
||||
ImageCollection: order-icons
|
||||
MenuButton@DIPLOMACY_BUTTON:
|
||||
MenuContainer: INGAME_DIPLOMACY_BG
|
||||
HideIngameUI: false
|
||||
Pause: false
|
||||
Key: P
|
||||
X: 159
|
||||
Width: 25
|
||||
Height: 25
|
||||
Background:
|
||||
TooltipText: Diplomacy
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 0
|
||||
Y: 0
|
||||
ImageCollection: order-icons
|
||||
ImageName: diplomacy
|
||||
MenuButton@OPTIONS_BUTTON:
|
||||
Key: escape
|
||||
X: 78
|
||||
Y: 1
|
||||
Width: 40
|
||||
Height: 38
|
||||
Background:
|
||||
TooltipText: Options
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 0
|
||||
Y: 0
|
||||
ImageCollection: order-icons
|
||||
ImageName: options
|
||||
Container@RADAR:
|
||||
Logic: IngameRadarDisplayLogic
|
||||
Children:
|
||||
LogicTicker@RADAR_TICKER:
|
||||
ColorBlock@RADAR_FADETOBLACK:
|
||||
X: 12
|
||||
Y: 34
|
||||
Width: 202
|
||||
Height: 202
|
||||
Radar@RADAR_MINIMAP:
|
||||
WorldInteractionController: INTERACTION_CONTROLLER
|
||||
X: 12
|
||||
Y: 34
|
||||
Width: 202
|
||||
Height: 202
|
||||
Children:
|
||||
Image@MINIMAP:
|
||||
X: 12
|
||||
Y: 34
|
||||
ImageName: overlapping-elements
|
||||
ImageCollection: minimap
|
||||
Image@INSIGNIA:
|
||||
Logic: AddRaceSuffixLogic
|
||||
X: 60
|
||||
Y: 75
|
||||
ImageCollection: radar
|
||||
ImageName: insignia
|
||||
Label@GAME_TIMER:
|
||||
Logic: GameTimerLogic
|
||||
X: 10
|
||||
Y: 2
|
||||
Width: PARENT_RIGHT
|
||||
Height: 22
|
||||
Align: Center
|
||||
Font: TinyBold
|
||||
LabelWithTooltip@CASH:
|
||||
Logic: IngameCashCounterLogic
|
||||
X: 29
|
||||
Y: 2
|
||||
Width: 50
|
||||
Height: 22
|
||||
Font: Bold
|
||||
Text: {0}
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
TooltipTemplate: SIMPLE_TOOLTIP
|
||||
IndicatorImage: power-indicator
|
||||
Orientation: Horizontal
|
||||
Style: Bevelled
|
||||
MoneyBin@INGAME_MONEY_BIN:
|
||||
Logic: OrderButtonsChromeLogic
|
||||
X: WINDOW_RIGHT - WIDTH
|
||||
Width: 320
|
||||
Height: 32
|
||||
LabelWithTooltip@POWER:
|
||||
Logic: IngamePowerCounterLogic
|
||||
X: PARENT_RIGHT - WIDTH - 30
|
||||
Y: 2
|
||||
Width: 50
|
||||
Height: 22
|
||||
Align: Right
|
||||
Font: Bold
|
||||
Text: {0}
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
TooltipTemplate: SIMPLE_TOOLTIP
|
||||
Children:
|
||||
Image@POWER_ICON:
|
||||
X: PARENT_RIGHT + 0
|
||||
Y: 5
|
||||
ImageCollection: power-icons
|
||||
ImageName: power-normal
|
||||
Container@SIDEBAR_PRODUCTION:
|
||||
Logic: ClassicProductionLogic
|
||||
X: WINDOW_RIGHT - 226
|
||||
Y: 279
|
||||
Width: 226
|
||||
Height: 250
|
||||
Children:
|
||||
Button@BEACON_BUTTON:
|
||||
X: 3-36
|
||||
Width: 34
|
||||
Height: 28
|
||||
TooltipText: Place Beacon
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Container@PALETTE_BACKGROUND:
|
||||
Children:
|
||||
Image@ICON:
|
||||
ImageCollection: order-icons
|
||||
Button@SELL_BUTTON:
|
||||
X: 3
|
||||
Width: 34
|
||||
Height: 28
|
||||
TooltipText: Sell
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Children:
|
||||
Image@ICON:
|
||||
ImageCollection: order-icons
|
||||
Button@POWER_BUTTON:
|
||||
Image@ROW_TEMPLATE:
|
||||
Width: 226
|
||||
Height: 48
|
||||
ClickThrough: false
|
||||
ImageCollection: sidebar
|
||||
ImageName: background-iconrow
|
||||
Image@BOTTOM_CAP:
|
||||
Width: 250
|
||||
Height: 13
|
||||
ClickThrough: false
|
||||
ImageCollection: sidebar
|
||||
ImageName: background-bottom
|
||||
LogicTicker@PRODUCTION_TICKER:
|
||||
ProductionPalette@PRODUCTION_PALETTE:
|
||||
X: 39
|
||||
Width: 34
|
||||
Height: 28
|
||||
TooltipText: Power Down
|
||||
Y: 1
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
ReadyText: READY
|
||||
HoldText: ON HOLD
|
||||
IconSize: 58, 48
|
||||
IconMargin: 2, 0
|
||||
IconSpriteOffset: 0, 0
|
||||
Container@PALETTE_FOREGROUND:
|
||||
X: 64
|
||||
Y: 0
|
||||
Children:
|
||||
Image@ICON:
|
||||
ImageCollection: order-icons
|
||||
Button@REPAIR_BUTTON:
|
||||
X: 75
|
||||
Width: 34
|
||||
Height: 28
|
||||
TooltipText: Repair
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Image@ROW_TEMPLATE:
|
||||
Width: 226
|
||||
Height: 48
|
||||
IgnoreMouseOver: true
|
||||
ImageCollection: sidebar-bits
|
||||
ImageName: production-iconoverlay
|
||||
Container@PRODUCTION_TYPES:
|
||||
X: 6
|
||||
Y: 2
|
||||
Width: 25
|
||||
Height: 243
|
||||
Children:
|
||||
Image@ICON:
|
||||
ImageCollection: order-icons
|
||||
SupportPowerBin@INGAME_POWERS_BIN:
|
||||
X: 0
|
||||
Y: 25
|
||||
IconWidth: 60
|
||||
IconHeight: 47
|
||||
ReadyText: READY
|
||||
HoldText: ON HOLD
|
||||
BuildPalette@INGAME_BUILD_PALETTE:
|
||||
X: WINDOW_RIGHT - 250
|
||||
Y: 280
|
||||
Width: 238
|
||||
Height: 500
|
||||
ReadyText: READY
|
||||
ReadyTextStyle: AlternatingColor
|
||||
ReadyTextAltColor: 50,205,50
|
||||
HoldText: ON HOLD
|
||||
RequiresText: Requires {0}
|
||||
IconWidth: 60
|
||||
IconHeight: 47
|
||||
Columns: 3
|
||||
Rows: 4
|
||||
|
||||
ProductionTypeButton@BUILDING:
|
||||
Key: e
|
||||
Width: 25
|
||||
Height: 25
|
||||
VisualHeight: 0
|
||||
Background: sidebar-button
|
||||
TooltipText: Buildings
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Building
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 5
|
||||
Y: 5
|
||||
ImageCollection: production-icons
|
||||
ProductionTypeButton@INFANTRY:
|
||||
Key: t
|
||||
Y: 31
|
||||
Width: 25
|
||||
Height: 25
|
||||
VisualHeight: 0
|
||||
Background: sidebar-button
|
||||
TooltipText: Infantry
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Infantry
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 5
|
||||
Y: 5
|
||||
ImageCollection: production-icons
|
||||
ProductionTypeButton@VEHICLE:
|
||||
Key: y
|
||||
Y: 62
|
||||
Width: 25
|
||||
Height: 25
|
||||
VisualHeight: 0
|
||||
Background: sidebar-button
|
||||
TooltipText: Vehicles
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Vehicle
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 5
|
||||
Y: 5
|
||||
ImageCollection: production-icons
|
||||
ProductionTypeButton@TANKS:
|
||||
Key: y
|
||||
Y: 93
|
||||
Width: 25
|
||||
Height: 25
|
||||
VisualHeight: 0
|
||||
Background: sidebar-button
|
||||
TooltipText: Tanks
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Armor
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 5
|
||||
Y: 5
|
||||
ImageCollection: production-icons
|
||||
ProductionTypeButton@AIRCRAFT:
|
||||
Key: y
|
||||
Y: 124
|
||||
Width: 25
|
||||
Height: 25
|
||||
VisualHeight: 0
|
||||
Background: sidebar-button
|
||||
TooltipText: Aircraft
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Aircraft
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 5
|
||||
Y: 5
|
||||
ImageCollection: production-icons
|
||||
ProductionTypeButton@STARPORT:
|
||||
Key: y
|
||||
Y: 155
|
||||
Width: 25
|
||||
Height: 25
|
||||
VisualHeight: 0
|
||||
Background: sidebar-button
|
||||
TooltipText: Starport
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Starport
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 5
|
||||
Y: 5
|
||||
ImageCollection: production-icons
|
||||
Button@SCROLL_UP_BUTTON:
|
||||
Y: 186
|
||||
Width: 25
|
||||
Height: 25
|
||||
VisualHeight: 0
|
||||
Background: sidebar-button
|
||||
TooltipText: Scroll up
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 5
|
||||
Y: 5
|
||||
ImageCollection: scrollbar
|
||||
ImageName: up_arrow
|
||||
Button@SCROLL_DOWN_BUTTON:
|
||||
Y: 217
|
||||
Width: 25
|
||||
Height: 25
|
||||
VisualHeight: 0
|
||||
Background: sidebar-button
|
||||
TooltipText: Scroll down
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 5
|
||||
Y: 5
|
||||
ImageCollection: scrollbar
|
||||
ImageName: down_arrow
|
||||
|
||||
@@ -108,3 +108,81 @@ Background@CLIENT_TOOLTIP:
|
||||
Height: 10
|
||||
Font: TinyBold
|
||||
|
||||
Background@PRODUCTION_TOOLTIP:
|
||||
Logic: ProductionTooltipLogic
|
||||
Background: dialog4
|
||||
Width: 200
|
||||
Height: 65
|
||||
Children:
|
||||
Label@NAME:
|
||||
X: 7
|
||||
Y: 2
|
||||
Height: 23
|
||||
Font: Bold
|
||||
Label@HOTKEY:
|
||||
Visible: false
|
||||
Y: 2
|
||||
Height: 23
|
||||
TextColor: 255,255,0
|
||||
Font: Bold
|
||||
Label@REQUIRES:
|
||||
X: 7
|
||||
Y: 21
|
||||
Height: 23
|
||||
Font: TinyBold
|
||||
Text: Requires {0}
|
||||
Label@DESC:
|
||||
X: 7
|
||||
Y: 41
|
||||
Height: 23
|
||||
Font: TinyBold
|
||||
VAlign: Top
|
||||
Image@COST_ICON:
|
||||
Y: 5
|
||||
Width: 16
|
||||
ImageCollection: sidebar-bits
|
||||
ImageName: production-tooltip-cost
|
||||
Label@COST:
|
||||
Height: 23
|
||||
Font: Bold
|
||||
Image@TIME_ICON:
|
||||
X: 3
|
||||
Y: 26
|
||||
Width: 16
|
||||
ImageCollection: sidebar-bits
|
||||
ImageName: production-tooltip-time
|
||||
Label@TIME:
|
||||
Y: 21
|
||||
Height: 23
|
||||
Font: Bold
|
||||
Image@POWER_ICON:
|
||||
Y: 46
|
||||
Width: 16
|
||||
ImageCollection: sidebar-bits
|
||||
ImageName: production-tooltip-power
|
||||
Label@POWER:
|
||||
Y: 41
|
||||
Height: 23
|
||||
Font: Bold
|
||||
|
||||
Background@SUPPORT_POWER_TOOLTIP:
|
||||
Logic: SupportPowerTooltipLogic
|
||||
Background: dialog4
|
||||
Width: 200
|
||||
Height: 29
|
||||
Children:
|
||||
Label@NAME:
|
||||
X: 7
|
||||
Y: 2
|
||||
Height: 20
|
||||
Font: Bold
|
||||
Label@TIME:
|
||||
X: 20
|
||||
Y: 8
|
||||
Font: TinyBold
|
||||
VAlign: Top
|
||||
Label@DESC:
|
||||
X: 7
|
||||
Y: 22
|
||||
Font: TinyBold
|
||||
VAlign: Top
|
||||
Reference in New Issue
Block a user