Rework RA Chrome in preparation for UI scaling.

This commit is contained in:
Paul Chote
2020-01-12 16:58:26 +00:00
committed by abcdefg30
parent d622015b59
commit 1282650274
21 changed files with 413 additions and 423 deletions

View File

@@ -48,7 +48,7 @@ namespace OpenRA.Mods.Common.LoadScreens
sheet = new Sheet(SheetType.BGRA, stream); sheet = new Sheet(SheetType.BGRA, stream);
logo = new Sprite(sheet, new Rectangle(0, 0, 256, 256), TextureChannel.RGBA); logo = new Sprite(sheet, new Rectangle(0, 0, 256, 256), TextureChannel.RGBA);
stripe = new Sprite(sheet, new Rectangle(256, 0, 256, 256), TextureChannel.RGBA); stripe = new Sprite(sheet, new Rectangle(258, 0, 253, 256), TextureChannel.RGBA);
stripeRect = new Rectangle(0, r.Resolution.Height / 2 - 128, r.Resolution.Width, 256); stripeRect = new Rectangle(0, r.Resolution.Height / 2 - 128, r.Resolution.Width, 256);
logoPos = new float2(r.Resolution.Width / 2 - 128, r.Resolution.Height / 2 - 128); logoPos = new float2(r.Resolution.Width / 2 - 128, r.Resolution.Height / 2 - 128);
} }

View File

@@ -119,72 +119,62 @@ Background@ASSETBROWSER_PANEL:
Button@BUTTON_PREV: Button@BUTTON_PREV:
X: 0 X: 0
Y: 0 Y: 0
Width: 25 Width: 26
Height: 25 Height: 26
Key: LEFT Key: LEFT
Children: Children:
Image@IMAGE_PREV: Image@IMAGE_PREV:
X: 0 X: 5
Y: 0 Y: 5
Width: 25
Height: 25
ImageCollection: music ImageCollection: music
ImageName: prev ImageName: prev
Button@BUTTON_PLAY: Button@BUTTON_PLAY:
X: 35 X: 35
Y: 0 Y: 0
Width: 25 Width: 26
Height: 25 Height: 26
Key: SPACE Key: SPACE
Children: Children:
Image@IMAGE_PLAY: Image@IMAGE_PLAY:
X: 0 X: 5
Y: 0 Y: 5
Width: 25
Height: 25
ImageCollection: music ImageCollection: music
ImageName: play ImageName: play
Button@BUTTON_PAUSE: Button@BUTTON_PAUSE:
Visible: false Visible: false
X: 35 X: 35
Y: 0 Y: 0
Width: 25 Width: 26
Height: 25 Height: 26
Key: SPACE Key: SPACE
Children: Children:
Image@IMAGE_PAUSE: Image@IMAGE_PAUSE:
X: 0 X: 5
Y: 0 Y: 5
Width: 25
Height: 25
ImageCollection: music ImageCollection: music
ImageName: pause ImageName: pause
Button@BUTTON_STOP: Button@BUTTON_STOP:
X: 70 X: 70
Y: 0 Y: 0
Width: 25 Width: 26
Height: 25 Height: 26
Key: RETURN Key: RETURN
Children: Children:
Image@IMAGE_STOP: Image@IMAGE_STOP:
X: 0 X: 5
Y: 0 Y: 5
Width: 25
Height: 25
ImageCollection: music ImageCollection: music
ImageName: stop ImageName: stop
Button@BUTTON_NEXT: Button@BUTTON_NEXT:
X: 105 X: 105
Y: 0 Y: 0
Width: 25 Width: 26
Height: 25 Height: 26
Key: RIGHT Key: RIGHT
Children: Children:
Image@IMAGE_NEXT: Image@IMAGE_NEXT:
X: 0 X: 5
Y: 0 Y: 5
Width: 25
Height: 25
ImageCollection: music ImageCollection: music
ImageName: next ImageName: next
Slider@FRAME_SLIDER: Slider@FRAME_SLIDER:

View File

@@ -100,9 +100,8 @@ Container@OBSERVER_WIDGETS:
IgnoreChildMouseOver: true IgnoreChildMouseOver: true
Children: Children:
Image@IMAGE_PAUSE: Image@IMAGE_PAUSE:
Y: 1 X: 5
Width: 25 Y: 5
Height: 25
ImageCollection: music ImageCollection: music
ImageName: pause ImageName: pause
Button@BUTTON_PLAY: Button@BUTTON_PLAY:
@@ -116,8 +115,8 @@ Container@OBSERVER_WIDGETS:
TooltipContainer: TOOLTIP_CONTAINER TooltipContainer: TOOLTIP_CONTAINER
Children: Children:
Image@IMAGE_PLAY: Image@IMAGE_PLAY:
Width: 25 X: 5
Height: 25 Y: 5
ImageCollection: music ImageCollection: music
ImageName: play ImageName: play
Button@BUTTON_SLOW: Button@BUTTON_SLOW:

View File

@@ -59,8 +59,8 @@ Container@LOBBY_MUSIC_BIN:
IgnoreChildMouseOver: true IgnoreChildMouseOver: true
Children: Children:
Image@IMAGE_PREV: Image@IMAGE_PREV:
Width: 25 X: 5
Height: 25 Y: 5
ImageCollection: music ImageCollection: music
ImageName: prev ImageName: prev
Button@BUTTON_PLAY: Button@BUTTON_PLAY:
@@ -70,8 +70,8 @@ Container@LOBBY_MUSIC_BIN:
IgnoreChildMouseOver: true IgnoreChildMouseOver: true
Children: Children:
Image@IMAGE_PLAY: Image@IMAGE_PLAY:
Width: 25 X: 5
Height: 25 Y: 5
ImageCollection: music ImageCollection: music
ImageName: play ImageName: play
Button@BUTTON_PAUSE: Button@BUTTON_PAUSE:
@@ -82,8 +82,8 @@ Container@LOBBY_MUSIC_BIN:
IgnoreChildMouseOver: true IgnoreChildMouseOver: true
Children: Children:
Image@IMAGE_PAUSE: Image@IMAGE_PAUSE:
Width: 25 X: 5
Height: 25 Y: 5
ImageCollection: music ImageCollection: music
ImageName: pause ImageName: pause
Button@BUTTON_STOP: Button@BUTTON_STOP:
@@ -93,8 +93,8 @@ Container@LOBBY_MUSIC_BIN:
IgnoreChildMouseOver: true IgnoreChildMouseOver: true
Children: Children:
Image@IMAGE_STOP: Image@IMAGE_STOP:
Width: 25 X: 5
Height: 25 Y: 5
ImageCollection: music ImageCollection: music
ImageName: stop ImageName: stop
Button@BUTTON_NEXT: Button@BUTTON_NEXT:
@@ -104,8 +104,8 @@ Container@LOBBY_MUSIC_BIN:
IgnoreChildMouseOver: true IgnoreChildMouseOver: true
Children: Children:
Image@IMAGE_NEXT: Image@IMAGE_NEXT:
Width: 25 X: 5
Height: 25 Y: 5
ImageCollection: music ImageCollection: music
ImageName: next ImageName: next
Checkbox@SHUFFLE: Checkbox@SHUFFLE:

View File

@@ -55,68 +55,58 @@ Background@MUSIC_PANEL:
Width: 170 Width: 170
Children: Children:
Button@BUTTON_PREV: Button@BUTTON_PREV:
Width: 25 Width: 26
Height: 25 Height: 26
IgnoreChildMouseOver: true IgnoreChildMouseOver: true
Children: Children:
Image@IMAGE_PREV: Image@IMAGE_PREV:
X: 0 X: 5
Y: 0 Y: 5
Width: 25
Height: 25
ImageCollection: music ImageCollection: music
ImageName: prev ImageName: prev
Button@BUTTON_PLAY: Button@BUTTON_PLAY:
X: 35 X: 35
Width: 25 Width: 26
Height: 25 Height: 26
IgnoreChildMouseOver: true IgnoreChildMouseOver: true
Children: Children:
Image@IMAGE_PLAY: Image@IMAGE_PLAY:
X: 0 X: 5
Y: 0 Y: 5
Width: 25
Height: 25
ImageCollection: music ImageCollection: music
ImageName: play ImageName: play
Button@BUTTON_PAUSE: Button@BUTTON_PAUSE:
Visible: false Visible: false
X: 35 X: 35
Width: 25 Width: 26
Height: 25 Height: 26
IgnoreChildMouseOver: true IgnoreChildMouseOver: true
Children: Children:
Image@IMAGE_PAUSE: Image@IMAGE_PAUSE:
X: 0 X: 5
Y: 0 Y: 5
Width: 25
Height: 25
ImageCollection: music ImageCollection: music
ImageName: pause ImageName: pause
Button@BUTTON_STOP: Button@BUTTON_STOP:
X: 70 X: 70
Width: 25 Width: 26
Height: 25 Height: 26
IgnoreChildMouseOver: true IgnoreChildMouseOver: true
Children: Children:
Image@IMAGE_STOP: Image@IMAGE_STOP:
X: 0 X: 5
Y: 0 Y: 5
Width: 25
Height: 25
ImageCollection: music ImageCollection: music
ImageName: stop ImageName: stop
Button@BUTTON_NEXT: Button@BUTTON_NEXT:
X: 105 X: 105
Width: 25 Width: 26
Height: 25 Height: 26
IgnoreChildMouseOver: true IgnoreChildMouseOver: true
Children: Children:
Image@IMAGE_NEXT: Image@IMAGE_NEXT:
X: 0 X: 5
Y: 0 Y: 5
Width: 25
Height: 25
ImageCollection: music ImageCollection: music
ImageName: next ImageName: next
ExponentialSlider@MUSIC_SLIDER: ExponentialSlider@MUSIC_SLIDER:

View File

@@ -276,13 +276,12 @@ strategic:
music: music:
Inherits: ^Buttons Inherits: ^Buttons
Regions: Regions:
pause: 0, 193, 25, 25 pause: 5, 198, 16, 16
stop: 25, 193, 25, 25 stop: 30, 198, 16, 16
play: 55, 193, 25, 25 play: 59, 198, 16, 16
next: 82, 193, 25, 25 next: 87, 198, 16, 16
prev: 110, 193, 25, 25 prev: 114, 198, 16, 16
fastforward: 131, 193, 25, 25 fastforward: 138, 198, 16, 16
slowmo: 159, 193, 25, 25
scrollbar: scrollbar:
Inherits: ^Buttons Inherits: ^Buttons

View File

@@ -1,62 +1,65 @@
^Chrome: ^Sidebar:
Image: chrome.png Image: sidebar.png
^Dialog: ^Dialog:
Image: dialog.png Image: dialog.png
^Buttons: ^Glyphs:
Image: buttons.png Image: glyphs.png
^LoadScreen: ^LoadScreen:
Image: loadscreen.png Image: loadscreen.png
sidebar-allies: sidebar-allies:
Inherits: ^Chrome Inherits: ^Sidebar
Regions: Regions:
background-top: 0, 167, 238, 290 radar: 290, 67, 222, 222
background-iconrow: 0, 457, 238, 47 background-top: 0, 185, 238, 262
background-bottom: 0, 504, 238, 8 background-moneybin: 0, 85, 238, 28
background-supportoverlay: 0, 75, 64, 48 background-iconbg: 12, 227, 190, 47
background-iconrow: 0, 116, 238, 47
background-bottom: 0, 166, 238, 8
background-supportoverlay: 12, 324, 64, 48
sidebar-button-allies: sidebar-button-allies:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 56, 28, 3, 3, 22, 22, 3, 3 PanelRegion: 260, 281, 5, 5, 18, 18, 5, 5
sidebar-button-allies-hover: sidebar-button-allies-hover:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 56, 0, 3, 3, 22, 22, 3, 3 PanelRegion: 260, 252, 5, 5, 18, 18, 5, 5
sidebar-button-allies-pressed: sidebar-button-allies-pressed:
Inherits: sidebar-button-allies Inherits: sidebar-button-allies
sidebar-button-allies-highlighted: sidebar-button-allies-highlighted:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 84, 28, 3, 3, 22, 22, 3, 3 PanelRegion: 260, 339, 5, 5, 18, 18, 5, 5
sidebar-button-allies-highlighted-hover: sidebar-button-allies-highlighted-hover:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 84, 0, 3, 3, 22, 22, 3, 3 PanelRegion: 260, 310, 5, 5, 18, 18, 5, 5
sidebar-button-allies-highlighted-pressed: sidebar-button-allies-highlighted-pressed:
Inherits: sidebar-button-allies-highlighted Inherits: sidebar-button-allies-highlighted
sidebar-button-allies-disabled: sidebar-button-allies-disabled:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 168, 0, 3, 3, 22, 22, 3, 3 PanelRegion: 260, 484, 5, 5, 18, 18, 5, 5
sidebar-button-allies-highlighted-disabled: sidebar-button-allies-highlighted-disabled:
Inherits: sidebar-button-allies-disabled Inherits: sidebar-button-allies-disabled
command-button-allies: command-button-allies:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 59, 31, 0, 0, 22, 22, 0, 0 PanelRegion: 260, 281, 3, 3, 22, 22, 3, 3
PanelSides: Center PanelSides: Center
command-button-allies-hover: command-button-allies-hover:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 59, 3, 0, 0, 22, 22, 0, 0 PanelRegion: 260, 252, 3, 3, 22, 22, 3, 3
PanelSides: Center PanelSides: Center
command-button-allies-pressed: command-button-allies-pressed:
Inherits: command-button-allies Inherits: command-button-allies
command-button-allies-highlighted: command-button-allies-highlighted:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 87, 31, 0, 0, 22, 22, 0, 0 PanelRegion: 260, 339, 3, 3, 22, 22, 3, 3
PanelSides: Center PanelSides: Center
command-button-allies-highlighted-hover: command-button-allies-highlighted-hover:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 87, 3, 0, 0, 22, 22, 0, 0 PanelRegion: 260, 310, 3, 3, 22, 22, 3, 3
PanelSides: Center PanelSides: Center
command-button-allies-highlighted-pressed: command-button-allies-highlighted-pressed:
Inherits: command-button-allies-highlighted Inherits: command-button-allies-highlighted
@@ -66,52 +69,54 @@ command-button-allies-highlighted-disabled:
Inherits: command-button-allies-highlighted Inherits: command-button-allies-highlighted
sidebar-soviet: sidebar-soviet:
Inherits: ^Chrome Inherits: ^Sidebar
Regions: Regions:
background-top: 274, 167, 238, 290 radar: 290, 290, 222, 222
background-iconrow: 274, 457, 238, 47 background-top: 0, 185, 238, 262
background-bottom: 274, 504, 238, 8 background-moneybin: 0, 54, 238, 28
background-supportoverlay: 64, 75, 64, 48 background-iconbg: 12, 275, 190, 47
background-iconrow: 0, 116, 238, 47
background-bottom: 0, 166, 238, 8
background-supportoverlay: 77, 324, 64, 48
sidebar-button-soviet: sidebar-button-soviet:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 0, 28, 3, 3, 22, 22, 3, 3 PanelRegion: 260, 165, 5, 5, 18, 18, 5, 5
sidebar-button-soviet-hover: sidebar-button-soviet-hover:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 0, 0, 3, 3, 22, 22, 3, 3 PanelRegion: 260, 136, 5, 5, 18, 18, 5, 5
sidebar-button-soviet-pressed: sidebar-button-soviet-pressed:
Inherits: sidebar-button-soviet Inherits: sidebar-button-soviet
sidebar-button-soviet-highlighted: sidebar-button-soviet-highlighted:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 28, 28, 3, 3, 22, 22, 3, 3 PanelRegion: 260, 223, 5, 5, 18, 18, 5, 5
sidebar-button-soviet-highlighted-hover: sidebar-button-soviet-highlighted-hover:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 28, 0, 3, 3, 22, 22, 3, 3 PanelRegion: 260, 194, 5, 5, 18, 18, 5, 5
sidebar-button-soviet-highlighted-pressed: sidebar-button-soviet-highlighted-pressed:
Inherits: sidebar-button-soviet-highlighted Inherits: sidebar-button-soviet-highlighted
sidebar-button-soviet-disabled: sidebar-button-soviet-disabled:
Inherits: ^Chrome Inherits: sidebar-button-allies-disabled
PanelRegion: 168, 0, 3, 3, 22, 22, 3, 3
sidebar-button-soviet-highlighted-disabled: sidebar-button-soviet-highlighted-disabled:
Inherits: sidebar-button-soviet-disabled Inherits: sidebar-button-allies-disabled
command-button-soviet: command-button-soviet:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 3, 31, 0, 0, 22, 22, 0, 0 PanelRegion: 260, 165, 3, 3, 22, 22, 3, 3
PanelSides: Center PanelSides: Center
command-button-soviet-hover: command-button-soviet-hover:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 3, 3, 0, 0, 22, 22, 0, 0 PanelRegion: 260, 136, 3, 3, 22, 22, 3, 3
PanelSides: Center PanelSides: Center
command-button-soviet-pressed: command-button-soviet-pressed:
Inherits: command-button-soviet Inherits: command-button-soviet
command-button-soviet-highlighted: command-button-soviet-highlighted:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 31, 31, 0, 0, 22, 22, 0, 0 PanelRegion: 260, 223, 3, 3, 22, 22, 3, 3
PanelSides: Center PanelSides: Center
command-button-soviet-highlighted-hover: command-button-soviet-highlighted-hover:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 31, 3, 0, 0, 22, 22, 0, 0 PanelRegion: 260, 194, 3, 3, 22, 22, 3, 3
PanelSides: Center PanelSides: Center
command-button-soviet-highlighted-pressed: command-button-soviet-highlighted-pressed:
Inherits: command-button-soviet-highlighted Inherits: command-button-soviet-highlighted
@@ -121,181 +126,179 @@ command-button-soviet-highlighted-disabled:
Inherits: command-button-soviet-highlighted Inherits: command-button-soviet-highlighted
sidebar-bits: sidebar-bits:
Inherits: ^Chrome Inherits: ^Glyphs
Regions: Regions:
production-tooltip-time: 416, 80, 16, 16 production-tooltip-time: 136, 51, 16, 16
production-tooltip-power: 432, 80, 16, 16 production-tooltip-power: 102, 51, 16, 16
production-tooltip-cost: 448, 80, 16, 16 production-tooltip-cost: 68, 51, 16, 16
production-iconoverlay: 128, 75, 238, 48 indicator-muted: 68, 145, 24, 24
commandbar-background: 0, 123, 434, 44
power-icons: commandbar:
Inherits: ^Chrome Inherits: ^Sidebar
Regions: Regions:
power-normal: 350, 0, 12, 18 background: 0, 0, 434, 44
power-critical: 363, 0, 12, 18
production-icons: production-icons:
Inherits: ^Chrome Inherits: ^Glyphs
Regions: Regions:
building: 384, 0, 16, 16 building: 0, 68, 16, 16
building-disabled: 384, 16, 16, 16 building-disabled: 0, 85, 16, 16
building-alert: 384, 32, 16, 16 building-alert: 0, 102, 16, 16
defense: 400, 0, 16, 16 defense: 17, 68, 16, 16
defense-disabled: 400, 16, 16, 16 defense-disabled: 17, 85, 16, 16
defense-alert: 400, 32, 16, 16 defense-alert: 17, 102, 16, 16
infantry: 416, 0, 16, 16 infantry: 34, 68, 16, 16
infantry-disabled: 416, 16, 16, 16 infantry-disabled: 34, 85, 16, 16
infantry-alert: 416, 32, 16, 16 infantry-alert: 34, 102, 16, 16
vehicle: 432, 0, 16, 16 vehicle: 51, 68, 16, 16
vehicle-disabled: 432, 16, 16, 16 vehicle-disabled: 51, 85, 16, 16
vehicle-alert: 432, 32, 16, 16 vehicle-alert: 51, 102, 16, 16
aircraft: 448, 0, 16, 16 aircraft: 68, 68, 16, 16
aircraft-disabled: 448, 16, 16, 16 aircraft-disabled: 68, 85, 16, 16
aircraft-alert: 448, 32, 16, 16 aircraft-alert: 68, 102, 16, 16
ship: 496, 48, 16, 16 ship: 187, 68, 16, 16
ship-disabled: 496, 64, 16, 16 ship-disabled: 187, 85, 16, 16
ship-alert: 496, 80, 16, 16 ship-alert: 187, 102, 16, 16
order-icons: order-icons:
Inherits: ^Chrome Inherits: ^Glyphs
Regions: Regions:
options: 480, 0, 16, 16 repair: 136, 68, 16, 16
options-disabled: 480, 16, 16, 16 repair-disabled: 136, 85, 16, 16
options-active: 480, 32, 16, 16 repair-active: 136, 102, 16, 16
debug: 351, 48, 16, 16 sell: 119, 68, 16, 16
debug-disabled: 351, 64, 16, 16 sell-disabled: 119, 85, 16, 16
debug-active: 351, 80, 16, 16 sell-active: 119, 102, 16, 16
diplomacy: 464, 48, 16, 16 options: 102, 68, 16, 16
diplomacy-disabled: 464, 64, 16, 16 options-disabled: 102, 85, 16, 16
diplomacy-active: 464, 80, 16, 16 options-active: 102, 102, 16, 16
sell: 496, 0, 16, 16 beacon: 153, 68, 16, 16
sell-disabled: 496, 16, 16, 16 beacon-disabled: 153, 85, 16, 16
sell-active: 496, 32, 16, 16 beacon-active: 153, 102, 16, 16
repair: 384, 48, 16, 16 power: 170, 68, 16, 16
repair-disabled: 384, 64, 16, 16 power-disabled: 170, 85, 16, 16
repair-active: 384, 80, 16, 16 power-active: 170, 102, 16, 16
beacon: 400, 48, 16, 16 stats: 204, 68, 16, 16
beacon-disabled: 400, 64, 16, 16 stats-disabled: 204, 85, 16, 16
beacon-active: 400, 80, 16, 16 stats-active: 204, 102, 16, 16
power: 480, 48, 16, 16
power-disabled: 480, 64, 16, 16
power-active: 480, 80, 16, 16
stats: 368, 48, 16, 16
stats-disabled: 368, 64, 16, 16
stats-active: 368, 80, 16, 16
command-icons: power-icons:
Inherits: ^Chrome Inherits: ^Glyphs
Regions: Regions:
attack-move: 512, 0, 24, 24 power-normal: 102, 51, 16, 16
attack-move-disabled: 512, 24, 24, 24 power-critical: 119, 51, 16, 16
force-move: 536, 0, 24, 24
force-move-disabled: 536, 24, 24, 24 cash-icons:
force-attack: 560, 0, 24, 24 Inherits: ^Glyphs
force-attack-disabled: 560, 24, 24, 24 Regions:
guard: 584, 0, 24, 24 cash-normal: 68, 51, 16, 16
guard-disabled: 584, 24, 24, 24 cash-critical: 85, 51, 16, 16
deploy: 608, 0, 24, 24
deploy-disabled: 608, 24, 24, 24
scatter: 632, 0, 24, 24
scatter-disabled: 632, 24, 24, 24
stop: 656, 0, 24, 24
stop-disabled: 656, 24, 24, 24
queue-orders: 680, 0, 24, 24
queue-orders-disabled: 680, 24, 24, 24
stance-icons: stance-icons:
Inherits: ^Chrome Inherits: ^Glyphs
Regions: Regions:
attack-anything: 512, 48, 16, 16 attack-anything: 0, 119, 16, 16
attack-anything-disabled: 528, 48, 16, 16 attack-anything-disabled: 0, 136, 16, 16
attack-anything-active: 544, 48, 16, 16 attack-anything-active: 0, 153, 16, 16
defend: 560, 48, 16, 16 defend: 17, 119, 16, 16
defend-disabled: 576, 48, 16, 16 defend-disabled: 17, 136, 16, 16
defend-active: 592, 48, 16, 16 defend-active: 17, 153, 16, 16
return-fire: 608, 48, 16, 16 return-fire: 34, 119, 16, 16
return-fire-disabled: 624, 48, 16, 16 return-fire-disabled: 34, 136, 16, 16
return-fire-active: 640, 48, 16, 16 return-fire-active: 34, 153, 16, 16
hold-fire: 656, 48, 16, 16 hold-fire: 51, 119, 16, 16
hold-fire-disabled: 672, 48, 16, 16 hold-fire-disabled: 51, 136, 16, 16
hold-fire-active: 688, 48, 16, 16 hold-fire-active: 51, 153, 16, 16
command-icons:
Inherits: ^Glyphs
Regions:
attack-move: 0, 207, 24, 24
attack-move-disabled: 0, 232, 24, 24
force-move: 25, 207, 24, 24
force-move-disabled: 25, 232, 24, 24
force-attack: 50, 207, 24, 24
force-attack-disabled: 50, 232, 24, 24
guard: 75, 207, 24, 24
guard-disabled: 75, 232, 24, 24
deploy: 100, 207, 24, 24
deploy-disabled: 100, 232, 24, 24
scatter: 125, 207, 24, 24
scatter-disabled: 125, 232, 24, 24
stop: 150, 207, 24, 24
stop-disabled: 150, 232, 24, 24
queue-orders: 175, 207, 24, 24
queue-orders-disabled: 175, 232, 24, 24
sidebar-observer: sidebar-observer:
Inherits: ^Chrome Inherits: ^Sidebar
Regions: Regions:
background: 512, 167, 238, 287 background: 0, 185, 238, 287
replay-bottom: 512, 454, 238, 40 replay-bottom: 0, 472, 238, 40
observer-bottom: 512, 495, 238, 8 observer-bottom: 0, 176, 238, 8
sidebar-button-observershroud: sidebar-button-observershroud:
sidebar-button-observershroud-pressed: sidebar-button-observershroud-pressed:
sidebar-button-observershroud-hover: sidebar-button-observershroud-hover:
sidebar-button-observer: sidebar-button-observer:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 112, 28, 5, 5, 18, 18, 5, 5 PanelRegion: 260, 397, 5, 5, 18, 18, 5, 5
sidebar-button-observer-hover: sidebar-button-observer-hover:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 112, 0, 5, 5, 18, 18, 5, 5 PanelRegion: 260, 368, 5, 5, 18, 18, 5, 5
sidebar-button-observer-pressed: sidebar-button-observer-pressed:
Inherits: sidebar-button-observer Inherits: sidebar-button-observer
sidebar-button-observer-highlighted: sidebar-button-observer-highlighted:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 140, 28, 5, 5, 18, 18, 5, 5 PanelRegion: 260, 455, 5, 5, 18, 18, 5, 5
sidebar-button-observer-highlighted-hover: sidebar-button-observer-highlighted-hover:
Inherits: ^Chrome Inherits: ^Sidebar
PanelRegion: 140, 0, 5, 5, 18, 18, 5, 5 PanelRegion: 260, 426, 5, 5, 18, 18, 5, 5
sidebar-button-observer-highlighted-pressed: sidebar-button-observer-highlighted-pressed:
Inherits: ^Chrome Inherits: sidebar-button-observer-highlighted
PanelRegion: 28, 28, 5, 5, 18, 18, 5, 5
sidebar-button-observer-disabled: sidebar-button-observer-disabled:
Inherits: ^Chrome Inherits: sidebar-button-allies-disabled
PanelRegion: 168, 0, 5, 5, 18, 18, 5, 5
sidebar-button-observer-highlighted-disabled: sidebar-button-observer-highlighted-disabled:
Inherits: sidebar-button-observer-disabled Inherits: sidebar-button-allies-disabled
observer-scrollpanel-button: observer-scrollpanel-button:
Inherits: ^Dialog Inherits: ^Dialog
PanelRegion: 768, 256, 1, 1, 126, 126, 1, 1 PanelRegion: 769, 257, 2, 2, 122, 122, 2, 2
observer-scrollpanel-button-hover: observer-scrollpanel-button-hover:
Inherits: ^Dialog Inherits: observer-scrollpanel-button
PanelRegion: 768, 256, 1, 1, 126, 126, 1, 1
observer-scrollpanel-button-pressed: observer-scrollpanel-button-pressed:
Inherits: ^Dialog Inherits: ^Dialog
PanelRegion: 896, 256, 1, 1, 126, 126, 1, 1 PanelRegion: 897, 257, 2, 2, 122, 122, 2, 2
observer-scrollpanel-button-disabled: observer-scrollpanel-button-disabled:
Inherits: ^Dialog Inherits: ^Dialog
PanelRegion: 768, 384, 1, 1, 126, 126, 1, 1 PanelRegion: 769, 385, 2, 2, 122, 122, 2, 2
observer-scrollheader-selected: observer-scrollheader-selected:
Inherits: ^Dialog Inherits: observer-scrollpanel-button-disabled
PanelRegion: 768, 384, 1, 1, 126, 126, 1, 1
observer-scrollitem-selected: observer-scrollitem-selected:
Inherits: ^Dialog Inherits: observer-scrollpanel-button-pressed
PanelRegion: 896, 256, 1, 1, 126, 126, 1, 1
observer-scrollitem-hover: observer-scrollitem-hover:
Inherits: ^Dialog Inherits: observer-scrollpanel-button
PanelRegion: 768, 256, 1, 1, 126, 126, 1, 1
# Used for the main menu frame # Used for the main menu frame
dialog: dialog:
Inherits: ^Dialog Inherits: ^Dialog
Regions: Regions:
background: 0, 0, 480, 480 background: 1, 1, 480, 480
border-r: 489, 0, 9, 192 border-r: 492, 1, 9, 190
border-l: 480, 0, 9, 192 border-l: 483, 1, 9, 190
border-b: 0, 489, 191, 9 border-b: 1, 492, 189, 9
border-t: 0, 480, 191, 9 border-t: 1, 483, 189, 9
corner-tl: 191, 480, 9, 9 corner-tl: 192, 483, 9, 9
corner-tr: 200, 480, 9, 9 corner-tr: 201, 483, 9, 9
corner-bl: 191, 489, 9, 9 corner-bl: 192, 492, 9, 9
corner-br: 200, 489, 9, 9 corner-br: 201, 492, 9, 9
# Used for Music and Map selection (normal button) # Used for Music and Map selection (normal button)
dialog2: dialog2:
@@ -317,83 +320,87 @@ dialog5:
PanelSides: Center PanelSides: Center
lobby-bits: lobby-bits:
Inherits: ^Buttons Inherits: ^Glyphs
Regions: Regions:
spawn-unclaimed: 159, 5, 23, 22 spawn-unclaimed: 91, 119, 22, 22
spawn-claimed: 127, 5, 23, 22 spawn-claimed: 68, 119, 22, 22
admin: 187, 5, 7, 5 admin: 170, 0, 6, 5
colorpicker: 127, 5, 23, 22 colorpicker: 68, 119, 22, 22
huepicker: 194, 0, 7, 15 huepicker: 136, 0, 7, 15
protected: 201, 0, 12, 13 kick: 153, 0, 11, 11
protected-disabled: 212, 0, 12, 13 protected: 0, 17, 12, 13
authentication: 199, 16, 12, 13 protected-disabled: 17, 17, 12, 13
authentication-disabled: 212, 16, 12, 13 authentication: 34, 17, 12, 13
admin-registered: 224, 0, 16, 16 authentication-disabled: 51, 17, 12, 13
admin-anonymous: 240, 0, 16, 16 admin-registered: 0, 51, 16, 16
player-registered: 224, 16, 16, 16 admin-anonymous: 34, 51, 16, 16
player-anonymous: 240, 16, 16, 16 player-registered: 17, 51, 16, 16
player-anonymous: 51, 51, 16, 16
reload-icon: reload-icon:
Inherits: ^Chrome Inherits: ^Glyphs
Regions: Regions:
enabled: 512, 80, 16, 16 enabled: 0, 34, 16, 16
disabled-0: 512, 64, 16, 16 disabled-0: 17, 34, 16, 16
disabled-1: 528, 64, 16, 16 disabled-1: 34, 34, 16, 16
disabled-2: 544, 64, 16, 16 disabled-2: 51, 34, 16, 16
disabled-3: 560, 64, 16, 16 disabled-3: 68, 34, 16, 16
disabled-4: 576, 64, 16, 16 disabled-4: 85, 34, 16, 16
disabled-5: 592, 64, 16, 16 disabled-5: 102, 34, 16, 16
disabled-6: 608, 64, 16, 16 disabled-6: 119, 34, 16, 16
disabled-7: 624, 64, 16, 16 disabled-7: 136, 34, 16, 16
disabled-8: 640, 64, 16, 16 disabled-8: 153, 34, 16, 16
disabled-9: 656, 64, 16, 16 disabled-9: 170, 34, 16, 16
disabled-10: 672, 64, 16, 16 disabled-10: 187, 34, 16, 16
disabled-11: 688, 64, 16, 16 disabled-11: 204, 34, 16, 16
strategic: strategic:
Inherits: ^Buttons Inherits: ^Glyphs
Regions: Regions:
unowned: 127, 5, 23, 22 unowned: 68, 119, 22, 22
critical_unowned: 127, 27, 23, 22 critical_unowned: 114, 119, 22, 22
enemy_owned: 159, 27, 23, 22 enemy_owned: 137, 119, 22, 22
player_owned: 159, 49, 23, 22 player_owned: 183, 119, 22, 22
flags: flags:
Inherits: ^Buttons Inherits: ^Glyphs
Regions: Regions:
soviet: 0, 112, 30, 15 england: 226, 49, 30, 15
allies: 30, 112, 30, 15 germany: 226, 65, 30, 15
Random: 60, 112, 30, 15 france: 226, 81, 30, 15
RandomAllies: 30, 172, 30, 15 spain: 226, 97, 30, 15
RandomSoviet: 0, 172, 30, 15 turkey: 226, 113, 30, 15
spectator: 60, 112, 30, 15 greece: 226, 129, 30, 15
russia: 0, 127, 30, 15 ukraine: 226, 145, 30, 15
ukraine: 30, 127, 30, 15 russia: 226, 161, 30, 15
england: 60, 127, 30, 15 allies: 226, 177, 30, 15
germany: 0, 142, 30, 15 soviet: 226, 193, 30, 15
spain: 30, 142, 30, 15 RandomSoviet: 226, 209, 30, 15
france: 60, 142, 30, 15 RandomAllies: 226, 225, 30, 15
turkey: 0, 157, 30, 15 Random: 226, 241, 30, 15
greece: 30, 157, 30, 15 spectator: 226, 241, 30, 15
music: music:
Inherits: ^Buttons Inherits: ^Glyphs
Regions: Regions:
pause: 0, 193, 25, 25 pause: 0, 0, 16, 16
stop: 25, 193, 25, 25 stop: 17, 0, 16, 16
play: 55, 193, 25, 25 play: 34, 0, 16, 16
next: 82, 193, 25, 25 next: 51, 0, 16, 16
prev: 110, 193, 25, 25 prev: 68, 0, 16, 16
fastforward: 131, 193, 25, 25 fastforward: 85, 0, 16, 16
slowmo: 159, 193, 25, 25
scrollbar: scrollbar:
Inherits: ^Buttons Inherits: ^Glyphs
Regions: Regions:
down_arrow: 116, 140, 16, 16 down_arrow: 68, 17, 16, 16
down_pressed: 116, 140, 16, 16 down_pressed: 85, 17, 16, 16
up_arrow: 132, 140, 16, 16 up_arrow: 102, 17, 16, 16
up_pressed: 132, 140, 16, 16 up_pressed: 119, 17, 16, 16
right_arrow: 136, 17, 16, 16
right_pressed: 153, 17, 16, 16
left_arrow: 170, 17, 16, 16
left_pressed: 187, 17, 16, 16
progressbar-bg: progressbar-bg:
Inherits: button-pressed Inherits: button-pressed
@@ -403,32 +410,32 @@ progressbar-thumb:
button: button:
Inherits: ^Dialog Inherits: ^Dialog
PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 PanelRegion: 513, 1, 2, 2, 122, 122, 2, 2
# 5% lighter than a normal button (mouseover) # 5% lighter than a normal button (mouseover)
button-hover: button-hover:
Inherits: ^Dialog Inherits: ^Dialog
PanelRegion: 512, 128, 1, 1, 126, 126, 1, 1 PanelRegion: 513, 129, 2, 2, 122, 122, 2, 2
button-pressed: button-pressed:
Inherits: ^Dialog Inherits: ^Dialog
PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 PanelRegion: 641, 1, 2, 2, 122, 122, 2, 2
# 50% grey (disabled button) # 50% grey (disabled button)
button-disabled: button-disabled:
Inherits: ^Dialog Inherits: ^Dialog
PanelRegion: 512, 256, 1, 1, 126, 126, 1, 1 PanelRegion: 513, 257, 2, 2, 122, 122, 2, 2
button-highlighted: button-highlighted:
Inherits: ^Dialog Inherits: ^Dialog
PanelRegion: 768, 128, 1, 1, 126, 126, 1, 1 PanelRegion: 769, 129, 2, 2, 122, 122, 2, 2
button-highlighted-hover: button-highlighted-hover:
Inherits: button-highlighted Inherits: button-highlighted
button-highlighted-pressed: button-highlighted-pressed:
Inherits: ^Dialog Inherits: ^Dialog
PanelRegion: 896, 128, 1, 1, 126, 126, 1, 1 PanelRegion: 897, 129, 2, 2, 122, 122, 2, 2
button-highlighted-disabled: button-highlighted-disabled:
Inherits: button-highlighted Inherits: button-highlighted
@@ -441,7 +448,7 @@ newsbutton-hover:
newsbutton-highlighted: newsbutton-highlighted:
Inherits: ^Dialog Inherits: ^Dialog
PanelRegion: 768, 0, 1, 1, 126, 126, 1, 1 PanelRegion: 769, 1, 2, 2, 122, 122, 2, 2
newsbutton-highlighted-hover: newsbutton-highlighted-hover:
Inherits: newsbutton-highlighted Inherits: newsbutton-highlighted
@@ -482,7 +489,7 @@ scrollpanel-button-disabled:
slider: slider:
Inherits: ^Dialog Inherits: ^Dialog
Regions: Regions:
tick: 512, 1, 2, 4 tick: 513, 2, 2, 4
slider-track: slider-track:
Inherits: button Inherits: button
@@ -503,24 +510,24 @@ checkbox:
Inherits: button-pressed Inherits: button-pressed
checkbox-bits: checkbox-bits:
Inherits: ^Buttons Inherits: ^Glyphs
Regions: Regions:
checked: 100, 157, 16, 16 checked: 187, 0, 16, 16
checked-disabled: 100, 173, 16, 16 checked-disabled: 204, 0, 16, 16
crossed: 116, 157, 16, 16 crossed: 221, 0, 16, 16
crossed-disabled: 116, 173, 16, 16 crossed-disabled: 238, 0, 16, 16
checkbox-hover: checkbox-hover:
Inherits: ^Dialog Inherits: ^Dialog
PanelRegion: 640, 128, 1, 1, 126, 126, 1, 1 PanelRegion: 641, 129, 2, 2, 122, 122, 2, 2
checkbox-disabled: checkbox-disabled:
Inherits: ^Dialog Inherits: ^Dialog
PanelRegion: 640, 256, 1, 1, 126, 126, 1, 1 PanelRegion: 641, 257, 2, 2, 122, 122, 2, 2
checkbox-highlighted: checkbox-highlighted:
Inherits: ^Dialog Inherits: ^Dialog
PanelRegion: 896, 0, 1, 1, 126, 126, 1, 1 PanelRegion: 897, 1, 2, 2, 122, 122, 2, 2
scrollitem-selected: scrollitem-selected:
Inherits: button-pressed Inherits: button-pressed
@@ -540,16 +547,16 @@ logos:
loadscreen-stripe: loadscreen-stripe:
Inherits: ^LoadScreen Inherits: ^LoadScreen
PanelRegion: 256, 0, 0, 0, 256, 256, 0, 0 PanelRegion: 258, 0, 0, 0, 253, 256, 0, 0
PanelSides: Center PanelSides: Center
mainmenu-border: mainmenu-border:
Inherits: ^Dialog Inherits: ^Dialog
PanelRegion: 648, 387, 40, 40, 40, 40, 40, 40 PanelRegion: 650, 389, 39, 39, 38, 38, 39, 39
PanelSides: Edges PanelSides: Edges
dropdown: dropdown:
Inherits: ^Dialog Inherits: ^Dialog
Regions: Regions:
separator: 512, 1, 1, 19 separator: 513, 2, 1, 19
observer-separator: 768, 256, 1, 19 observer-separator: 769, 257, 1, 19

View File

@@ -49,6 +49,12 @@ Container@OBSERVER_WIDGETS:
ImageName: options ImageName: options
Container@RADAR: Container@RADAR:
Children: Children:
ColorBlock:
X: 8
Y: 40
Width: 222
Height: 222
Color: 000000
Radar@INGAME_RADAR: Radar@INGAME_RADAR:
WorldInteractionController: INTERACTION_CONTROLLER WorldInteractionController: INTERACTION_CONTROLLER
X: 9 X: 9
@@ -121,8 +127,8 @@ Container@OBSERVER_WIDGETS:
VisualHeight: 0 VisualHeight: 0
Children: Children:
Image@IMAGE_PAUSE: Image@IMAGE_PAUSE:
X: 2 X: 6
Y: 2 Y: 6
ImageCollection: music ImageCollection: music
ImageName: pause ImageName: pause
Button@BUTTON_PLAY: Button@BUTTON_PLAY:
@@ -137,8 +143,8 @@ Container@OBSERVER_WIDGETS:
VisualHeight: 0 VisualHeight: 0
Children: Children:
Image@IMAGE_PLAY: Image@IMAGE_PLAY:
X: 2 X: 6
Y: 1 Y: 6
ImageCollection: music ImageCollection: music
ImageName: play ImageName: play
Button@BUTTON_SLOW: Button@BUTTON_SLOW:

View File

@@ -36,8 +36,8 @@ Container@PLAYER_WIDGETS:
Y: WINDOW_BOTTOM - HEIGHT - 5 Y: WINDOW_BOTTOM - HEIGHT - 5
Width: 416 Width: 416
Height: 44 Height: 44
ImageCollection: sidebar-bits ImageCollection: commandbar
ImageName: commandbar-background ImageName: background
Container@COMMAND_BAR: Container@COMMAND_BAR:
Logic: CommandBarLogic Logic: CommandBarLogic
X: 14 X: 14
@@ -280,7 +280,7 @@ Container@PLAYER_WIDGETS:
X: WINDOW_RIGHT - 250 X: WINDOW_RIGHT - 250
Y: 10 Y: 10
Width: 238 Width: 238
Height: 291 Height: 262
ImageCollection: sidebar ImageCollection: sidebar
ImageName: background-top ImageName: background-top
ClickThrough: false ClickThrough: false
@@ -349,23 +349,6 @@ Container@PLAYER_WIDGETS:
X: 6 X: 6
Y: 6 Y: 6
ImageCollection: order-icons ImageCollection: order-icons
MenuButton@DEBUG_BUTTON:
Logic: AddFactionSuffixLogic
X: 128
Width: 28
Height: 28
Background: sidebar-button
Key: escape Shift
TooltipText: Debug Menu
TooltipContainer: TOOLTIP_CONTAINER
DisableWorldSounds: true
VisualHeight: 0
Children:
Image@ICON:
X: 6
Y: 6
ImageCollection: order-icons
ImageName: debug
MenuButton@OPTIONS_BUTTON: MenuButton@OPTIONS_BUTTON:
Logic: AddFactionSuffixLogic Logic: AddFactionSuffixLogic
X: 192 X: 192
@@ -383,65 +366,32 @@ Container@PLAYER_WIDGETS:
Y: 6 Y: 6
ImageCollection: order-icons ImageCollection: order-icons
ImageName: options ImageName: options
Container@RADAR: Image@RADAR:
Logic: IngameRadarDisplayLogic Logic: AddFactionSuffixLogic, IngameRadarDisplayLogic
X: 8
Y: 40
ImageCollection: sidebar
ImageName: radar
Children: Children:
LogicTicker@RADAR_TICKER: LogicTicker@RADAR_TICKER:
ColorBlock@RADAR_FADETOBLACK: ColorBlock@RADAR_FADETOBLACK:
X: 8
Y: 40
Width: 222 Width: 222
Height: 222 Height: 222
Radar@RADAR_MINIMAP: Radar@RADAR_MINIMAP:
WorldInteractionController: INTERACTION_CONTROLLER WorldInteractionController: INTERACTION_CONTROLLER
X: 9 X: 1
Y: 41 Y: 1
Width: 220 Width: 220
Height: 220 Height: 220
SoundUp: RadarUp SoundUp: RadarUp
SoundDown: RadarDown SoundDown: RadarDown
Children: Children:
VqaPlayer@PLAYER: VqaPlayer@PLAYER:
X: 8 X: 1
Y: 40 Y: 1
Width: 220 Width: 220
Height: 220 Height: 220
Skippable: false Skippable: false
Label@GAME_TIMER:
Logic: GameTimerLogic
X: 3
Y: 264
Width: PARENT_RIGHT
Height: 23
Align: Center
Font: TinyBold
LabelWithTooltip@CASH:
Logic: IngameCashCounterLogic
X: 35
Y: 264
Width: 50
Height: 23
Font: Bold
Text: {0}
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
LabelWithTooltip@POWER:
Logic: IngamePowerCounterLogic
X: PARENT_RIGHT - WIDTH - 30
Y: 264
Width: 50
Height: 23
Align: Right
Font: Bold
Text: {0}
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Children:
Image@POWER_ICON:
X: PARENT_RIGHT + 4
Y: 3
ImageCollection: power-icons
ImageName: power-normal
Container@SIDEBAR_PRODUCTION: Container@SIDEBAR_PRODUCTION:
Logic: ClassicProductionLogic Logic: ClassicProductionLogic
X: WINDOW_RIGHT - 250 X: WINDOW_RIGHT - 250
@@ -453,11 +403,12 @@ Container@PLAYER_WIDGETS:
Children: Children:
Image@ROW_TEMPLATE: Image@ROW_TEMPLATE:
Logic: AddFactionSuffixLogic Logic: AddFactionSuffixLogic
Width: 238 X: 40
Width: 190
Height: 47 Height: 47
ClickThrough: false ClickThrough: false
ImageCollection: sidebar ImageCollection: sidebar
ImageName: background-iconrow ImageName: background-iconbg
Image@BOTTOM_CAP: Image@BOTTOM_CAP:
Logic: AddFactionSuffixLogic Logic: AddFactionSuffixLogic
Width: 238 Width: 238
@@ -478,15 +429,14 @@ Container@PLAYER_WIDGETS:
HotkeyPrefix: Production HotkeyPrefix: Production
HotkeyCount: 24 HotkeyCount: 24
Container@PALETTE_FOREGROUND: Container@PALETTE_FOREGROUND:
X: 40
Y: 0 - 1
Children: Children:
Image@ROW_TEMPLATE: Image@ROW_TEMPLATE:
Logic: AddFactionSuffixLogic
Width: 238 Width: 238
Height: 47 Height: 47
IgnoreMouseOver: true IgnoreMouseOver: true
ImageCollection: sidebar-bits ImageCollection: sidebar
ImageName: production-iconoverlay ImageName: background-iconrow
Container@PRODUCTION_TYPES: Container@PRODUCTION_TYPES:
X: 7 X: 7
Y: 2 Y: 2
@@ -618,3 +568,54 @@ Container@PLAYER_WIDGETS:
Y: 3 Y: 3
ImageCollection: scrollbar ImageCollection: scrollbar
ImageName: down_arrow ImageName: down_arrow
Image@SIDEBAR_MONEYBIN:
Logic: AddFactionSuffixLogic
X: WINDOW_RIGHT - 250
Y: 272
Width: 238
Height: 27
ImageCollection: sidebar
ImageName: background-moneybin
ClickThrough: false
Children:
Label@GAME_TIMER:
Logic: GameTimerLogic
X: 3
Y: 3
Width: PARENT_RIGHT
Height: 23
Align: Center
Font: TinyBold
LabelWithTooltip@CASH:
Logic: IngameCashCounterLogic
X: 35
Y: 2
Width: 50
Height: 23
Font: Bold
Text: {0}
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Children:
Image@CASH_ICON:
X: 0-21
Y: 4
ImageCollection: cash-icons
ImageName: cash-normal
LabelWithTooltip@POWER:
Logic: IngamePowerCounterLogic
X: PARENT_RIGHT - WIDTH - 30
Y: 2
Width: 50
Height: 23
Align: Right
Font: Bold
Text: {0}
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Children:
Image@POWER_ICON:
X: PARENT_RIGHT + 4
Y: 4
ImageCollection: power-icons
ImageName: power-normal

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

BIN
mods/ra/uibits/glyphs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 16 KiB

BIN
mods/ra/uibits/sidebar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

View File

@@ -534,13 +534,12 @@ strategic:
music: music:
Inherits: ^Buttons Inherits: ^Buttons
Regions: Regions:
pause: 0, 193, 25, 25 pause: 5, 198, 16, 16
stop: 25, 193, 25, 25 stop: 30, 198, 16, 16
play: 55, 193, 25, 25 play: 59, 198, 16, 16
next: 82, 193, 25, 25 next: 87, 198, 16, 16
prev: 110, 193, 25, 25 prev: 114, 198, 16, 16
fastforward: 131, 193, 25, 25 fastforward: 138, 198, 16, 16
slowmo: 159, 193, 25, 25
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Other UI stuff # Other UI stuff

View File

@@ -100,9 +100,8 @@ Container@OBSERVER_WIDGETS:
IgnoreChildMouseOver: true IgnoreChildMouseOver: true
Children: Children:
Image@IMAGE_PAUSE: Image@IMAGE_PAUSE:
Y: 1 X: 5
Width: 25 Y: 5
Height: 25
ImageCollection: music ImageCollection: music
ImageName: pause ImageName: pause
Button@BUTTON_PLAY: Button@BUTTON_PLAY:
@@ -116,8 +115,8 @@ Container@OBSERVER_WIDGETS:
IgnoreChildMouseOver: true IgnoreChildMouseOver: true
Children: Children:
Image@IMAGE_PLAY: Image@IMAGE_PLAY:
Width: 25 X: 5
Height: 25 Y: 5
ImageCollection: music ImageCollection: music
ImageName: play ImageName: play
Button@BUTTON_SLOW: Button@BUTTON_SLOW: