Files
OpenRA/mods/modcontent/chrome.yaml
Paul Chote fd64ad7c89 Support rendering at non-integer display scales:
* 2x and 3x DPI artwork can be specified using
  Image2x and Image3x in chrome.yaml.
* Images are rendered using bilinear interpolation.
* For non-integer screen scales, prefer downscaling
  the next biggest resolution image over upscaling.
2020-01-26 20:22:49 +01:00

112 lines
2.1 KiB
YAML

^Chrome:
Image: chrome.png
Image2x: chrome-2x.png
Image3x: chrome-3x.png
panel-header:
Inherits: ^Chrome
PanelRegion: 0, 512, 4, 4, 56, 56, 4, 4
panel-bg:
Inherits: ^Chrome
PanelRegion: 65, 512, 4, 4, 56, 56, 4, 4
panel-thinborder:
Inherits: ^Chrome
PanelRegion: 1, 513, 3, 3, 56, 56, 3, 3
panel-thinborder-light:
Inherits: ^Chrome
PanelRegion: 643, 513, 3, 3, 56, 56, 3, 3
button:
Inherits: ^Chrome
PanelRegion: 130, 512, 10, 10, 44, 44, 10, 10
button-hover:
Inherits: ^Chrome
PanelRegion: 195, 512, 10, 10, 44, 44, 10, 10
button-disabled:
Inherits: button
button-pressed:
Inherits: ^Chrome
PanelRegion: 325, 512, 10, 10, 44, 44, 10, 10
button-highlighted:
Inherits: ^Chrome
PanelRegion: 260, 512, 10, 10, 44, 44, 10, 10
button-highlighted-hover:
Inherits: button-pressed
button-highlighted-pressed:
Inherits: button-pressed
button-highlighted-disabled:
Inherits: button-highlighted
button-highlighted-thin:
Inherits: ^Chrome
PanelRegion: 513, 512, 10, 10, 44, 44, 10, 10
button-highlighted-thin-hover:
Inherits: button-highlighted-thin-pressed
button-highlighted-thin-pressed:
Inherits: ^Chrome
PanelRegion: 576, 512, 10, 10, 44, 44, 10, 10
button-highlighted-thin-disabled:
Inherits: button-highlighted-thin
progressbar-bg:
Inherits: ^Chrome
PanelRegion: 447, 560, 6, 6, 52, 4, 6, 6
progressbar-thumb:
Inherits: ^Chrome
PanelRegion: 447, 543, 6, 6, 52, 4, 6, 6
panel-rule:
Inherits: ^Chrome
Regions:
border-t: 66, 512, 62, 2
background:
Inherits: ^Chrome
PanelRegion: 0, 0, 0, 0, 1024, 480, 0, 0
PanelSides: Center
modcontent:
Inherits: ^Chrome
Regions:
logo: 0, 577, 280, 128
leftarrow: 390, 512, 20, 64
rightarrow: 411, 512, 20, 64
cdicon: 432, 512, 20, 20
scrollpanel-bg:
Inherits: panel-thinborder
scrollpanel-button:
Inherits: panel-thinborder
scrollpanel-button-hover:
Inherits: panel-thinborder-light
scrollpanel-button-disabled:
Inherits: panel-thinborder
scrollpanel-button-pressed:
Inherits: panel-thinborder-light
scrollbar:
Inherits: ^Chrome
Regions:
down_arrow: 453, 512, 16, 16
down_pressed: 453, 512, 16, 16
up_arrow: 470, 512, 16, 16
up_pressed: 470, 512, 16, 16