diff --git a/mods/cnc/chrome.yaml b/mods/cnc/chrome.yaml index 7939cd7176..d6157c8ea8 100644 --- a/mods/cnc/chrome.yaml +++ b/mods/cnc/chrome.yaml @@ -1,15 +1,18 @@ +^Chrome: + Image: chrome.png + shellmap: Image: reticle.png Regions: reticle: 0, 0, 512, 512 shellmapbits: - Image: chrome.png + Inherits: ^Chrome Regions: record: 944, 0, 16, 16 logos: - Image: chrome.png + Inherits: ^Chrome Regions: eva: 768, 320, 128, 64 nod-load: 0, 256, 256, 256 @@ -21,242 +24,149 @@ logos: # button: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 128, 0, 1, 1, 30, 30, 1, 1 button-nod: - Image: chrome.png - PanelRegion: 128, 0, 1, 1, 30, 30, 1, 1 + Inherits: button button-gdi: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 384, 0, 1, 1, 30, 30, 1, 1 button-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 160, 0, 1, 1, 30, 30, 1, 1 button-nod-hover: - Image: chrome.png - PanelRegion: 160, 0, 1, 1, 30, 30, 1, 1 + Inherits: button-hover button-gdi-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 416, 0, 1, 1, 30, 30, 1, 1 button-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 160, 32, 1, 1, 30, 30, 1, 1 button-nod-disabled: - Image: chrome.png - PanelRegion: 160, 32, 1, 1, 30, 30, 1, 1 + Inherits: button-disabled button-gdi-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 416, 32, 1, 1, 30, 30, 1, 1 button-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 128, 32, 1, 1, 30, 30, 1, 1 button-nod-pressed: - Image: chrome.png - PanelRegion: 128, 32, 1, 1, 30, 30, 1, 1 + Inherits: button-pressed button-gdi-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 384, 32, 1, 1, 30, 30, 1, 1 button-highlighted: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 128, 64, 1, 1, 30, 30, 1, 1 button-nod-highlighted: - Image: chrome.png - PanelRegion: 128, 64, 1, 1, 30, 30, 1, 1 + Inherits: button-highlighted button-gdi-highlighted: - Image: chrome.png - Regions: - background: 385, 65, 30, 30 - border-r: 415, 65, 1, 30 - border-l: 384, 65, 1, 30 - border-b: 385, 95, 30, 1 - border-t: 385, 64, 30, 1 - corner-tl: 354, 64, 1, 1 - corner-tr: 415, 64, 1, 1 - corner-bl: 384, 95, 1, 1 - corner-br: 415, 95, 1, 1 + Inherits: ^Chrome + PanelRegion: 384, 64, 1, 1, 30, 30, 1, 1 button-highlighted-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 160, 64, 1, 1, 30, 30, 1, 1 button-nod-highlighted-hover: - Image: chrome.png - PanelRegion: 160, 64, 1, 1, 30, 30, 1, 1 + Inherits: button-highlighted-hover button-gdi-highlighted-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 416, 64, 1, 1, 30, 30, 1, 1 button-highlighted-pressed: - Image: chrome.png - Regions: - background: 129, 97, 30, 30 - border-r: 159, 97, 1, 30 - border-l: 128, 97, 1, 30 - border-b: 129, 97, 30, 1 - border-t: 129, 96, 30, 1 - corner-tl: 128, 96, 1, 1 - corner-tr: 159, 96, 1, 1 - corner-bl: 128, 97, 1, 1 - corner-br: 159, 97, 1, 1 + Inherits: ^Chrome + PanelRegion: 128, 96, 1, 1, 30, 30, 1, 1 button-nod-highlighted-pressed: - Image: chrome.png - Regions: - background: 129, 97, 30, 30 - border-r: 159, 97, 1, 30 - border-l: 128, 97, 1, 30 - border-b: 129, 97, 30, 1 - border-t: 129, 96, 30, 1 - corner-tl: 128, 96, 1, 1 - corner-tr: 159, 96, 1, 1 - corner-bl: 128, 97, 1, 1 - corner-br: 159, 97, 1, 1 + Inherits: button-highlighted-pressed button-gdi-highlighted-pressed: - Image: chrome.png - Regions: - background: 385, 97, 30, 30 - border-r: 415, 97, 1, 30 - border-l: 384, 97, 1, 30 - border-b: 385, 97, 30, 1 - border-t: 385, 96, 30, 1 - corner-tl: 384, 96, 1, 1 - corner-tr: 415, 96, 1, 1 - corner-bl: 384, 97, 1, 1 - corner-br: 415, 97, 1, 1 + Inherits: ^Chrome + PanelRegion: 384, 96, 1, 1, 30, 30, 1, 1 button-highlighted-disabled: - Image: chrome.png - Regions: - background: 161, 97, 30, 30 - border-r: 191, 97, 1, 30 - border-l: 160, 97, 1, 30 - border-b: 161, 97, 30, 1 - border-t: 161, 96, 30, 1 - corner-tl: 160, 96, 1, 1 - corner-tr: 191, 96, 1, 1 - corner-bl: 160, 97, 1, 1 - corner-br: 191, 97, 1, 1 + Inherits: ^Chrome + PanelRegion: 160, 96, 1, 1, 30, 30, 1, 1 button-nod-highlighted-disabled: - Image: chrome.png - Regions: - background: 161, 97, 30, 30 - border-r: 191, 97, 1, 30 - border-l: 160, 97, 1, 30 - border-b: 161, 97, 30, 1 - border-t: 161, 96, 30, 1 - corner-tl: 160, 96, 1, 1 - corner-tr: 191, 96, 1, 1 - corner-bl: 160, 97, 1, 1 - corner-br: 191, 97, 1, 1 + Inherits: button-highlighted-disabled button-gdi-highlighted-disabled: - Image: chrome.png - Regions: - background: 417, 97, 30, 30 - border-r: 447, 97, 1, 30 - border-l: 416, 97, 1, 30 - border-b: 417, 97, 30, 1 - border-t: 417, 96, 30, 1 - corner-tl: 416, 96, 1, 1 - corner-tr: 447, 96, 1, 1 - corner-bl: 416, 97, 1, 1 - corner-br: 447, 97, 1, 1 + Inherits: ^Chrome + PanelRegion: 416, 96, 1, 1, 30, 30, 1, 1 # # Textfield # === # -# A copy of button textfield: - Image: chrome.png - PanelRegion: 128, 0, 1, 1, 30, 30, 1, 1 + Inherits: button -# A copy of button-hover textfield-hover: - Image: chrome.png - PanelRegion: 160, 0, 1, 1, 30, 30, 1, 1 + Inherits: button-hover -# A copy of button-disabled textfield-disabled: - Image: chrome.png - PanelRegion: 160, 32, 1, 1, 30, 30, 1, 1 + Inherits: button-disabled -# A copy of button-pressed textfield-focused: - Image: chrome.png - PanelRegion: 128, 32, 1, 1, 30, 30, 1, 1 + Inherits: button-pressed # # Progress bar # === # -# A copy of button progressbar-bg: - Image: chrome.png - PanelRegion: 128, 0, 1, 1, 30, 30, 1, 1 + Inherits: button -# A copy of button-hover progressbar-thumb: - Image: chrome.png - PanelRegion: 160, 0, 1, 1, 30, 30, 1, 1 + Inherits: button-hover # # Scroll panel # === # -# A copy of panel-gray scrollpanel-bg: - Image: chrome.png - PanelRegion: 64, 64, 2, 2, 60, 60, 2, 2 + Inherits: panel-gray scrollpanel-button: - Image: chrome.png - PanelRegion: 128, 0, 1, 1, 30, 30, 1, 1 + Inherits: button scrollpanel-button-hover: - Image: chrome.png - PanelRegion: 160, 0, 1, 1, 30, 30, 1, 1 + Inherits: button-hover scrollpanel-button-disabled: - Image: chrome.png - PanelRegion: 160, 32, 1, 1, 30, 30, 1, 1 + Inherits: button-disabled scrollpanel-button-pressed: - Image: chrome.png - PanelRegion: 128, 32, 1, 1, 30, 30, 1, 1 + Inherits: button-pressed -# A copy of button-hover scrollitem-hover: - Image: chrome.png - PanelRegion: 128, 0, 1, 1, 30, 30, 1, 1 + Inherits: button -# A copy of button-pressed scrollitem-selected: - Image: chrome.png - PanelRegion: 128, 32, 1, 1, 30, 30, 1, 1 + Inherits: button-pressed scrollitem-nohover: - Image: chrome.png + Inherits: ^Chrome # @@ -264,65 +174,40 @@ scrollitem-nohover: # === # slider: - Image: chrome.png + Inherits: ^Chrome Regions: tick: 64, 64, 1, 4 -# A copy of panel-gray slider-track: - Image: chrome.png - PanelRegion: 64, 64, 2, 2, 60, 60, 2, 2 + Inherits: panel-gray slider-thumb: - Image: chrome.png - PanelRegion: 128, 0, 1, 1, 30, 30, 1, 1 + Inherits: button slider-thumb-hover: - Image: chrome.png - PanelRegion: 160, 0, 1, 1, 30, 30, 1, 1 + Inherits: button-hover slider-thumb-disabled: - Image: chrome.png - PanelRegion: 160, 32, 1, 1, 30, 30, 1, 1 + Inherits: button-disabled slider-thumb-pressed: - Image: chrome.png - PanelRegion: 128, 32, 1, 1, 30, 30, 1, 1 + Inherits: button-pressed Regions: -# A copy of button checkbox: - Image: chrome.png - PanelRegion: 128, 0, 1, 1, 30, 30, 1, 1 + Inherits: button -# A copy of button-hover checkbox-hover: - Image: chrome.png - PanelRegion: 160, 0, 1, 1, 30, 30, 1, 1 + Inherits: button-hover -# A copy of button-disabled checkbox-disabled: - Image: chrome.png - PanelRegion: 160, 32, 1, 1, 30, 30, 1, 1 + Inherits: button-disabled -# A copy of button-pressed checkbox-pressed: - Image: chrome.png - PanelRegion: 128, 32, 1, 1, 30, 30, 1, 1 + Inherits: button-pressed -# A copy of button-highlighted-pressed checkbox-highlighted: - Image: chrome.png - Regions: - background: 385, 97, 30, 30 - border-r: 415, 97, 1, 30 - border-l: 384, 97, 1, 30 - border-b: 385, 97, 30, 1 - border-t: 385, 96, 30, 1 - corner-tl: 384, 96, 1, 1 - corner-tr: 415, 96, 1, 1 - corner-bl: 384, 97, 1, 1 - corner-br: 415, 97, 1, 1 + Inherits: button-highlighted-pressed # # Panels @@ -330,78 +215,73 @@ checkbox-highlighted: # panel-black: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 64, 0, 2, 2, 60, 60, 2, 2 panel-black-nod: - Image: chrome.png - PanelRegion: 64, 0, 2, 2, 60, 60, 2, 2 + Inherits: panel-black panel-black-gdi: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 320, 0, 2, 2, 60, 60, 2, 2 panel-darkred: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 0, 64, 2, 2, 60, 60, 2, 2 panel-darkred-nod: - Image: chrome.png - PanelRegion: 0, 64, 2, 2, 60, 60, 2, 2 + Inherits: panel-darkred panel-darkred-gdi: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 256, 64, 2, 2, 60, 60, 2, 2 panel-gray: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 64, 64, 2, 2, 60, 60, 2, 2 panel-gray-nod: - Image: chrome.png - PanelRegion: 64, 64, 2, 2, 60, 60, 2, 2 + Inherits: panel-gray panel-gray-gdi: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 320, 64, 2, 2, 60, 60, 2, 2 panel-allblack: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 0, 0, 1, 1, 30, 30, 1, 1 panel-allblack-nod: - Image: chrome.png - PanelRegion: 0, 0, 1, 1, 30, 30, 1, 1 + Inherits: panel-allblack panel-allblack-gdi: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 256, 0, 1, 1, 30, 30, 1, 1 panel-transparent: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 0, 32, 1, 1, 30, 30, 1, 1 PanelSides: Edges panel-transparent-nod: - Image: chrome.png - PanelRegion: 0, 32, 1, 1, 30, 30, 1, 1 + Inherits: panel-transparent panel-transparent-gdi: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 256, 32, 1, 1, 30, 30, 1, 1 + PanelSides: Edges shellmapborder: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 128, 128, 33, 33, 62, 62, 33, 33 PanelSides: Edges shellmapborder-nod: - Image: chrome.png - PanelRegion: 128, 128, 33, 33, 62, 62, 33, 33 + Inherits: shellmapborder PanelSides: Edges shellmapborder-gdi: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 384, 128, 33, 33, 62, 62, 33, 33 PanelSides: Edges @@ -411,7 +291,7 @@ shellmapborder-gdi: # music: - Image: chrome.png + Inherits: ^Chrome Regions: pause: 768, 0, 16, 16 stop: 784, 0, 16, 16 @@ -422,7 +302,7 @@ music: slowmo: 864, 0, 16, 16 lobby-bits: - Image: chrome.png + Inherits: ^Chrome Regions: spawn-unclaimed: 776, 420, 19, 19 spawn-claimed: 776, 440, 19, 19 @@ -440,7 +320,7 @@ lobby-bits: player-anonymous: 816, 48, 16, 16 reload-icon: - Image: chrome.png + Inherits: ^Chrome Regions: enabled: 768, 32, 16, 16 disabled-0: 784, 32, 16, 16 @@ -457,7 +337,7 @@ reload-icon: disabled-11: 960, 32, 16, 16 checkbox-bits: - Image: chrome.png + Inherits: ^Chrome Regions: checked: 960, 16, 16, 16 checked-disabled: 976, 16, 16, 16 @@ -465,7 +345,7 @@ checkbox-bits: crossed-disabled: 1008, 16, 16, 16 scrollbar: - Image: chrome.png + Inherits: ^Chrome Regions: down_arrow: 832, 16, 16, 16 down_pressed: 848, 16, 16, 16 @@ -477,14 +357,14 @@ scrollbar: left_pressed: 944, 16, 16, 16 flags: - Image: chrome.png + Inherits: ^Chrome Regions: nod: 808, 384, 32, 16 gdi: 808, 400, 32, 16 Random: 808, 416, 32, 16 strategic: - Image: chrome.png + Inherits: ^Chrome Regions: unowned: 896, 320, 32, 32 critical_unowned: 896, 352, 32, 32 @@ -492,7 +372,7 @@ strategic: player_owned: 992, 320, 32, 32 dropdown: - Image: chrome.png + Inherits: ^Chrome Regions: separator: 64, 1, 1, 19 @@ -502,13 +382,13 @@ dropdown: # sidebar: - Image: chrome.png + Inherits: ^Chrome Regions: background-sidebar: 512, 0, 230, 315 background-commandbar: 512, 468, 494, 44 sidebar-bits: - Image: chrome.png + Inherits: ^Chrome Regions: indicator-left: 960, 0, 16, 8 indicator-right: 960, 8, 16, 8 @@ -517,13 +397,13 @@ sidebar-bits: production-tooltip-cost: 832, 48, 16, 16 vertical-bars: - Image: chrome.png + Inherits: ^Chrome Regions: power: 743, 0, 10, 190 silo: 754, 0, 10, 190 production-icons: - Image: chrome.png + Inherits: ^Chrome Regions: building: 768, 64, 16, 16 building-disabled: 768, 80, 16, 16 @@ -542,7 +422,7 @@ production-icons: aircraft-alert: 832, 96, 16, 16 order-icons: - Image: chrome.png + Inherits: ^Chrome Regions: repair: 896, 64, 16, 16 repair-disabled: 896, 80, 16, 16 @@ -561,19 +441,19 @@ order-icons: stats-active: 960, 96, 16, 16 power-icons: - Image: chrome.png + Inherits: ^Chrome Regions: power-normal: 864, 48, 16, 16 power-critical: 880, 48, 16, 16 cash-icons: - Image: chrome.png + Inherits: ^Chrome Regions: cash-normal: 832, 48, 16, 16 cash-critical: 848, 48, 16, 16 stance-icons: - Image: chrome.png + Inherits: ^Chrome Regions: attack-anything: 768, 112, 16, 16 attack-anything-disabled: 768, 128, 16, 16 @@ -589,7 +469,7 @@ stance-icons: hold-fire-active: 816, 144, 16, 16 command-icons: - Image: chrome.png + Inherits: ^Chrome Regions: attack-move: 768, 248, 24, 24 attack-move-disabled: 768, 272, 24, 24 @@ -622,45 +502,52 @@ command-icons: # chrome-button-background-nod: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 192, 0, 0, 0, 32, 32, 0, 0 PanelSides: Center + chrome-button-background-nod-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 224, 0, 0, 0, 32, 32, 0, 0 PanelSides: Center + chrome-button-background-nod-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 192, 0, 0, 0, 32, 32, 0, 0 PanelSides: Center + chrome-button-background-nod-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 224, 32, 0, 0, 32, 32, 0, 0 PanelSides: Center + chrome-button-background-nod-highlighted: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 192, 64, 0, 0, 32, 32, 0, 0 PanelSides: Center + chrome-button-background-nod-highlighted-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 224, 64, 0, 0, 32, 32, 0, 0 PanelSides: Center + chrome-button-background-nod-highlighted-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 192, 96, 0, 0, 32, 32, 0, 0 PanelSides: Center + chrome-button-background-nod-highlighted-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 224, 96, 0, 0, 32, 32, 0, 0 PanelSides: Center chrome-button-nod: - Image: chrome.png + Inherits: ^Chrome Regions: separator: 744, 192, 22, 22 chrome-radar-nod: - Image: chrome.png + Inherits: ^Chrome Regions: logo: 512, 320, 132, 132 @@ -670,44 +557,51 @@ chrome-radar-nod: # chrome-button-background-gdi: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 448, 0, 0, 0, 32, 32, 0, 0 PanelSides: Center + chrome-button-background-gdi-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 480, 0, 0, 0, 32, 32, 0, 0 PanelSides: Center + chrome-button-background-gdi-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 448, 0, 0, 0, 32, 32, 0, 0 PanelSides: Center + chrome-button-background-gdi-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 480, 32, 0, 0, 32, 32, 0, 0 PanelSides: Center + chrome-button-background-gdi-highlighted: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 448, 64, 0, 0, 32, 32, 0, 0 PanelSides: Center + chrome-button-background-gdi-highlighted-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 480, 64, 0, 0, 32, 32, 0, 0 PanelSides: Center + chrome-button-background-gdi-highlighted-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 448, 96, 0, 0, 32, 32, 0, 0 PanelSides: Center + chrome-button-background-gdi-highlighted-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 480, 96, 0, 0, 32, 32, 0, 0 PanelSides: Center chrome-button-gdi: - Image: chrome.png + Inherits: ^Chrome Regions: separator: 745, 192, 22, 22 chrome-radar-gdi: - Image: chrome.png + Inherits: ^Chrome Regions: logo: 644, 320, 132, 132 diff --git a/mods/d2k/chrome.yaml b/mods/d2k/chrome.yaml index 0a49173feb..9e780e8e55 100644 --- a/mods/d2k/chrome.yaml +++ b/mods/d2k/chrome.yaml @@ -1,45 +1,47 @@ -sidebar: +^Chrome: Image: chrome.png + +^Dialog: + Image: dialog.png + +^Buttons: + Image: buttons.png + +^LoadScreen: + Image: loadscreen.png + +sidebar: + Inherits: ^Chrome Regions: background-top: 0, 0, 226, 295 background-iconrow: 0, 295, 226, 48 background-bottom: 0, 343, 226, 13 sidebar-button: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 377, 0, 0, 0, 25, 25, 0, 0 PanelSides: Center -sidebar-button-hover: - Image: chrome.png - PanelRegion: 402, 0, 0, 0, 25, 25, 0, 0 - PanelSides: Center sidebar-button-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 402, 0, 0, 0, 25, 25, 0, 0 PanelSides: Center +sidebar-button-hover: + Inherits: sidebar-button-pressed sidebar-button-highlighted: - Image: chrome.png - PanelRegion: 402, 0, 0, 0, 25, 25, 0, 0 - PanelSides: Center + Inherits: sidebar-button-pressed sidebar-button-highlighted-hover: - Image: chrome.png - PanelRegion: 402, 0, 0, 0, 25, 25, 0, 0 - PanelSides: Center + Inherits: sidebar-button-pressed sidebar-button-highlighted-pressed: - Image: chrome.png - PanelRegion: 402, 0, 0, 0, 25, 25, 0, 0 - PanelSides: Center + Inherits: sidebar-button-pressed sidebar-button-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 427, 0, 0, 0, 25, 25, 0, 0 PanelSides: Center sidebar-button-highlighted-disabled: - Image: chrome.png - PanelRegion: 427, 0, 0, 0, 25, 25, 0, 0 - PanelSides: Center + Inherits: sidebar-button-disabled sidebar-bits: - Image: chrome.png + Inherits: ^Chrome Regions: production-tooltip-time: 480, 112, 16, 16 production-tooltip-power: 496, 112, 16, 16 @@ -47,7 +49,7 @@ sidebar-bits: commandbar-background: 0, 469, 454, 43 minimap-overlay: - Image: chrome.png + Inherits: ^Chrome Regions: top-left: 236, 15, 7, 7 top: 236, 0, 141, 4 @@ -58,26 +60,28 @@ minimap-overlay: bottom-right: 243, 8, 7, 7 radar-atreides: - Image: chrome.png + Inherits: ^Chrome Regions: insignia: 226, 25, 100, 100 + radar-ordos: - Image: chrome.png + Inherits: ^Chrome Regions: insignia: 326, 25, 100, 100 + radar-harkonnen: - Image: chrome.png + Inherits: ^Chrome Regions: insignia: 226, 125, 100, 100 power-icons: - Image: chrome.png + Inherits: ^Chrome Regions: power-normal: 496, 112, 16, 16 power-critical: 496, 128, 16, 16 production-icons: - Image: chrome.png + Inherits: ^Chrome Regions: building: 464, 0, 16, 16 building-disabled: 480, 0, 16, 16 @@ -102,7 +106,7 @@ production-icons: starport-alert: 496, 96, 16, 16 order-icons: - Image: chrome.png + Inherits: ^Chrome Regions: debug: 10, 357, 34, 35 debug-disabled: 10, 393, 34, 35 @@ -130,40 +134,30 @@ order-icons: diplomacy-active: 288, 430, 34, 35 command-button: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 332, 428, 0, 0, 34, 41, 0, 0 PanelSides: Center command-button-hover: - Image: chrome.png - PanelRegion: 332, 428, 0, 0, 34, 41, 0, 0 - PanelSides: Center + Inherits: command-button command-button-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 400, 428, 0, 0, 34, 41, 0, 0 PanelSides: Center command-button-highlighted: - Image: chrome.png - PanelRegion: 400, 428, 0, 0, 34, 41, 0, 0 - PanelSides: Center + Inherits: command-button-pressed command-button-highlighted-hover: - Image: chrome.png - PanelRegion: 400, 428, 0, 0, 34, 41, 0, 0 - PanelSides: Center + Inherits: command-button-pressed command-button-highlighted-pressed: - Image: chrome.png - PanelRegion: 400, 428, 0, 0, 34, 41, 0, 0 - PanelSides: Center + Inherits: command-button-pressed command-button-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 366, 428, 0, 0, 34, 41, 0, 0 PanelSides: Center command-button-highlighted-disabled: - Image: chrome.png - PanelRegion: 366, 428, 0, 0, 34, 41, 0, 0 - PanelSides: Center + Inherits: command-button-disabled command-icons: - Image: chrome.png + Inherits: ^Chrome Regions: attack-move: 408, 144, 26, 26 attack-move-disabled: 408, 170, 26, 26 @@ -183,7 +177,7 @@ command-icons: queue-orders-disabled: 486, 222, 26, 26 stance-icons: - Image: chrome.png + Inherits: ^Chrome Regions: attack-anything: 416, 248, 16, 16 attack-anything-disabled: 432, 248, 16, 16 @@ -199,7 +193,7 @@ stance-icons: hold-fire-active: 496, 264, 16, 16 flags: - Image: buttons.png + Inherits: ^Buttons Regions: atreides: 0, 114, 22, 21 harkonnen: 22, 114, 23, 21 @@ -214,7 +208,7 @@ flags: # Used for the menu dialog: - Image: dialog.png + Inherits: ^Dialog Regions: background: 0, 0, 480, 480 border-r: 489, 0, 9, 192 @@ -226,37 +220,19 @@ dialog: corner-bl: 191, 489, 9, 9 corner-br: 200, 489, 9, 9 -# Same as a normal button dialog2: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button -# Same as a pressed button dialog3: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 - -tooltip-separator: - Image: dialog.png - Regions: - border-t: 641, 0, 126, 1 + Inherits: button-pressed # Same as the half transparent frame used in the Asset Browser dialog4: - Image: dialog.png - Regions: - background: 517, 392, 54, 54 - border-t: 517, 387, 54, 6 - border-b: 517, 446, 54, 6 - border-l: 512, 392, 6, 54 - border-r: 571, 392, 6, 54 - corner-tl: 512, 387, 6, 6 - corner-tr: 571, 387, 6, 6 - corner-bl: 512, 446, 6, 6 - corner-br: 571, 446, 6, 6 + Inherits: ^Dialog + PanelRegion: 512, 387, 6, 6, 52, 52, 6, 6 lobby-bits: - Image: buttons.png + Inherits: ^Buttons Regions: spawn-unclaimed: 158, 5, 23, 22 spawn-claimed: 126, 5, 23, 22 @@ -273,7 +249,7 @@ lobby-bits: player-anonymous: 240, 16, 16, 16 reload-icon: - Image: chrome.png + Inherits: ^Chrome Regions: enabled: 416, 312, 16, 16 disabled-0: 416, 280, 16, 16 @@ -290,7 +266,7 @@ reload-icon: disabled-11: 496, 296, 16, 16 strategic: - Image: buttons.png + Inherits: ^Buttons Regions: unowned: 127, 5, 23, 22 critical_unowned: 127, 27, 23, 22 @@ -298,7 +274,7 @@ strategic: player_owned: 159, 49, 23, 22 music: - Image: buttons.png + Inherits: ^Buttons Regions: pause: 0, 193, 25, 25 stop: 25, 193, 25, 25 @@ -309,159 +285,104 @@ music: slowmo: 159, 193, 25, 25 scrollbar: - Image: buttons.png + Inherits: ^Buttons Regions: down_arrow: 16, 140, 16, 16 down_pressed: 16, 140, 16, 16 up_arrow: 32, 140, 16, 16 up_pressed: 32, 140, 16, 16 -# A copy of dialog3 (pressed button) progressbar-bg: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog2 (normal button) progressbar-thumb: - Image: dialog.png + Inherits: button + +button: + Inherits: ^Dialog PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 -# A copy of dialog2 (normal button) -button: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 - Regions: - # 5% lighter than a normal button button-hover: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 512, 128, 1, 1, 126, 126, 1, 1 -# A copy of dialog3 (pressed button) button-pressed: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 - Regions: - + # 10% darker than a normal button button-disabled: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 512, 256, 1, 1, 126, 126, 1, 1 # A yellow (normal) button button-highlighted: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 768, 0, 1, 1, 126, 126, 1, 1 - Regions: - -# A copy of button-highlighted + button-highlighted-hover: - Image: dialog.png - PanelRegion: 768, 0, 1, 1, 126, 126, 1, 1 - Regions: - + Inherits: button-highlighted + button-highlighted-pressed: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 896, 0, 1, 1, 126, 126, 1, 1 -# A copy of button-highlighted button-highlighted-disabled: - Image: dialog.png - Regions: - background: 769, 1, 126, 126 - border-r: 639, 1, 1, 126 - border-l: 768, 1, 1, 126 - border-b: 769, 127, 126, 1 - border-t: 769, 0, 126, 1 - corner-tl: 768, 0, 1, 1 - corner-tr: 639, 0, 1, 1 - corner-bl: 768, 127, 1, 1 - corner-br: 639, 127, 1, 1 + Inherits: button-highlighted -# A copy of dialog3 (pressed button) textfield: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of checkbox-hover textfield-hover: - Image: dialog.png - PanelRegion: 640, 128, 1, 1, 126, 126, 1, 1 + Inherits: checkbox-hover -# A copy of dialog3 (pressed button) textfield-disabled: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog3 (pressed button) textfield-focused: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog3 (pressed button) scrollpanel-bg: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog2 (normal button) scrollpanel-button: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button -# A copy of button-hover scrollpanel-button-hover: - Image: dialog.png - PanelRegion: 512, 128, 1, 1, 126, 126, 1, 1 + Inherits: button-hover -# A copy of dialog3 (pressed button) scrollpanel-button-pressed: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog2 (normal button) scrollpanel-button-disabled: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button slider: - Image: dialog.png + Inherits: ^Dialog Regions: tick: 512, 1, 2, 4 -# A copy of dialog3 (pressed button) slider-track: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 - Regions: - -# A copy of dialog2 (normal button) + Inherits: button + slider-thumb: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button -# A copy of button-hover slider-thumb-hover: - Image: dialog.png - PanelRegion: 512, 128, 1, 1, 126, 126, 1, 1 + Inherits: button-hover -# A copy of dialog3 (pressed button) slider-thumb-pressed: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog2 (normal button) slider-thumb-disabled: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 - Regions: - -# A copy of dialog3 (pressed button) + Inherits: button + checkbox: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed checkbox-bits: - Image: buttons.png + Inherits: ^Buttons Regions: checked: 0, 157, 16, 16 checked-disabled: 0, 173, 16, 16 @@ -469,48 +390,40 @@ checkbox-bits: crossed-disabled: 16, 173, 16, 16 checkbox-hover: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 640, 128, 1, 1, 126, 126, 1, 1 # Same as a button-disabled-pressed checkbox-disabled: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 640, 256, 1, 1, 126, 126, 1, 1 -# Same as button-highlighted-pressed checkbox-highlighted: - Image: dialog.png - PanelRegion: 896, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-highlighted-pressed -# A copy of dialog3 (pressed button) scrollitem-selected: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog2 (normal button) scrollitem-hover: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button -# A copy of dialog2 (normal button) scrollheader-selected: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button scrollitem-nohover: - Image: dialog.png + Inherits: ^Dialog dropdown: - Image: dialog.png + Inherits: ^Dialog Regions: separator: 512, 1, 1, 19 logos: - Image: loadscreen.png + Inherits: ^LoadScreen Regions: logo: 0, 0, 256, 256 loadscreen-stripe: - Image: loadscreen.png + Inherits: ^LoadScreen PanelRegion: 256, 0, 0, 0, 256, 256, 0, 0 PanelSides: Center diff --git a/mods/modcontent/chrome.yaml b/mods/modcontent/chrome.yaml index f853d0189a..8745488541 100644 --- a/mods/modcontent/chrome.yaml +++ b/mods/modcontent/chrome.yaml @@ -1,106 +1,84 @@ -panel-header: +^Chrome: Image: chrome.png + +panel-header: + Inherits: ^Chrome PanelRegion: 0, 512, 3, 3, 58, 58, 3, 3 panel-bg: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 64, 512, 3, 3, 58, 58, 3, 3 panel-thinborder: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 1, 513, 2, 2, 58, 58, 2, 2 panel-thinborder-light: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 641, 513, 2, 2, 58, 58, 2, 2 button: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 128, 512, 10, 10, 44, 44, 10, 10 button-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 192, 512, 10, 10, 44, 44, 10, 10 button-disabled: Inherits: button - Image: chrome.png button-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 320, 512, 10, 10, 44, 44, 10, 10 button-highlighted: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 256, 512, 10, 10, 44, 44, 10, 10 button-highlighted-hover: Inherits: button-pressed - Image: chrome.png button-highlighted-pressed: Inherits: button-pressed - Image: chrome.png button-highlighted-disabled: Inherits: button-highlighted - Image: chrome.png button-highlighted-thin: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 512, 512, 10, 10, 44, 44, 10, 10 button-highlighted-thin-hover: Inherits: button-highlighted-thin-pressed - Image: chrome.png button-highlighted-thin-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 576, 512, 10, 10, 44, 44, 10, 10 button-highlighted-thin-disabled: Inherits: button-highlighted-thin - Image: chrome.png - progressbar-bg: - Image: chrome.png - Regions: - background: 453, 565, 56, 6 - border-r: 507, 565, 5, 6 - border-l: 448, 565, 5, 6 - border-b: 453, 571, 54, 5 - border-t: 453, 560, 54, 5 - corner-tl: 448, 560, 5, 5 - corner-tr: 507, 560, 5, 5 - corner-bl: 448, 571, 5, 5 - corner-br: 507, 571, 5, 5 + Inherits: ^Chrome + PanelRegion: 448, 560, 6, 6, 52, 4, 6, 6 progressbar-thumb: - Image: chrome.png - Regions: - background: 453, 549, 56, 6 - border-r: 507, 549, 5, 6 - border-l: 448, 549, 5, 6 - border-b: 453, 555, 54, 5 - border-t: 453, 544, 54, 5 - corner-tl: 448, 544, 5, 5 - corner-tr: 507, 544, 5, 5 - corner-bl: 448, 555, 5, 5 - corner-br: 507, 555, 5, 5 + Inherits: ^Chrome + PanelRegion: 448, 544, 6, 6, 52, 4, 6, 6 panel-rule: - Image: chrome.png + Inherits: ^Chrome Regions: border-t: 64, 512, 64, 2 background: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 0, 0, 0, 0, 1024, 480, 0, 0 PanelSides: Center modcontent: - Image: chrome.png + Inherits: ^Chrome Regions: logo: 0, 576, 280, 128 leftarrow: 384, 512, 20, 64 @@ -109,26 +87,21 @@ modcontent: scrollpanel-bg: Inherits: panel-thinborder - Image: chrome.png scrollpanel-button: Inherits: panel-thinborder - Image: chrome.png scrollpanel-button-hover: Inherits: panel-thinborder-light - Image: chrome.png scrollpanel-button-disabled: Inherits: panel-thinborder - Image: chrome.png scrollpanel-button-pressed: Inherits: panel-thinborder-light - Image: chrome.png scrollbar: - Image: chrome.png + Inherits: ^Chrome Regions: down_arrow: 480, 512, 16, 16 down_pressed: 480, 512, 16, 16 diff --git a/mods/ra/chrome.yaml b/mods/ra/chrome.yaml index 5a83e36f81..18fd57c182 100644 --- a/mods/ra/chrome.yaml +++ b/mods/ra/chrome.yaml @@ -1,5 +1,17 @@ -sidebar-allies: +^Chrome: Image: chrome.png + +^Dialog: + Image: dialog.png + +^Buttons: + Image: buttons.png + +^LoadScreen: + Image: loadscreen.png + +sidebar-allies: + Inherits: ^Chrome Regions: background-top: 0, 167, 238, 290 background-iconrow: 0, 457, 238, 47 @@ -7,65 +19,54 @@ sidebar-allies: background-supportoverlay: 0, 75, 64, 48 sidebar-button-allies: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 56, 28, 3, 3, 22, 22, 3, 3 sidebar-button-allies-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 56, 0, 3, 3, 22, 22, 3, 3 sidebar-button-allies-pressed: - Image: chrome.png - PanelRegion: 56, 28, 3, 3, 22, 22, 3, 3 + Inherits: sidebar-button-allies sidebar-button-allies-highlighted: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 84, 28, 3, 3, 22, 22, 3, 3 sidebar-button-allies-highlighted-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 84, 0, 3, 3, 22, 22, 3, 3 sidebar-button-allies-highlighted-pressed: - Image: chrome.png - PanelRegion: 84, 28, 3, 3, 22, 22, 3, 3 + Inherits: sidebar-button-allies-highlighted sidebar-button-allies-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 168, 0, 3, 3, 22, 22, 3, 3 sidebar-button-allies-highlighted-disabled: - Image: chrome.png - PanelRegion: 168, 0, 3, 3, 22, 22, 3, 3 + Inherits: sidebar-button-allies-disabled command-button-allies: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 59, 31, 0, 0, 22, 22, 0, 0 PanelSides: Center command-button-allies-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 59, 3, 0, 0, 22, 22, 0, 0 PanelSides: Center command-button-allies-pressed: - Image: chrome.png - PanelRegion: 59, 31, 0, 0, 22, 22, 0, 0 - PanelSides: Center + Inherits: command-button-allies command-button-allies-highlighted: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 87, 31, 0, 0, 22, 22, 0, 0 PanelSides: Center command-button-allies-highlighted-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 87, 3, 0, 0, 22, 22, 0, 0 PanelSides: Center command-button-allies-highlighted-pressed: - Image: chrome.png - PanelRegion: 87, 31, 0, 0, 22, 22, 0, 0 - PanelSides: Center + Inherits: command-button-allies-highlighted command-button-allies-disabled: - Image: chrome.png - PanelRegion: 59, 31, 0, 0, 22, 22, 0, 0 - PanelSides: Center + Inherits: command-button-allies command-button-allies-highlighted-disabled: - Image: chrome.png - PanelRegion: 87, 31, 0, 0, 22, 22, 0, 0 - PanelSides: Center + Inherits: command-button-allies-highlighted sidebar-soviet: - Image: chrome.png + Inherits: ^Chrome Regions: background-top: 274, 167, 238, 290 background-iconrow: 274, 457, 238, 47 @@ -73,65 +74,54 @@ sidebar-soviet: background-supportoverlay: 64, 75, 64, 48 sidebar-button-soviet: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 0, 28, 3, 3, 22, 22, 3, 3 sidebar-button-soviet-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 0, 0, 3, 3, 22, 22, 3, 3 sidebar-button-soviet-pressed: - Image: chrome.png - PanelRegion: 0, 28, 3, 3, 22, 22, 3, 3 + Inherits: sidebar-button-soviet sidebar-button-soviet-highlighted: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 28, 28, 3, 3, 22, 22, 3, 3 sidebar-button-soviet-highlighted-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 28, 0, 3, 3, 22, 22, 3, 3 sidebar-button-soviet-highlighted-pressed: - Image: chrome.png - PanelRegion: 28, 28, 3, 3, 22, 22, 3, 3 + Inherits: sidebar-button-soviet-highlighted sidebar-button-soviet-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 168, 0, 3, 3, 22, 22, 3, 3 sidebar-button-soviet-highlighted-disabled: - Image: chrome.png - PanelRegion: 168, 0, 3, 3, 22, 22, 3, 3 + Inherits: sidebar-button-soviet-disabled command-button-soviet: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 3, 31, 0, 0, 22, 22, 0, 0 PanelSides: Center command-button-soviet-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 3, 3, 0, 0, 22, 22, 0, 0 PanelSides: Center command-button-soviet-pressed: - Image: chrome.png - PanelRegion: 3, 31, 0, 0, 22, 22, 0, 0 - PanelSides: Center + Inherits: command-button-soviet command-button-soviet-highlighted: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 31, 31, 0, 0, 22, 22, 0, 0 PanelSides: Center command-button-soviet-highlighted-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 31, 3, 0, 0, 22, 22, 0, 0 PanelSides: Center command-button-soviet-highlighted-pressed: - Image: chrome.png - PanelRegion: 31, 31, 0, 0, 22, 22, 0, 0 - PanelSides: Center + Inherits: command-button-soviet-highlighted command-button-soviet-disabled: - Image: chrome.png - PanelRegion: 3, 31, 0, 0, 22, 22, 0, 0 - PanelSides: Center + Inherits: command-button-soviet command-button-soviet-highlighted-disabled: - Image: chrome.png - PanelRegion: 31, 31, 0, 0, 22, 22, 0, 0 - PanelSides: Center + Inherits: command-button-soviet-highlighted sidebar-bits: - Image: chrome.png + Inherits: ^Chrome Regions: production-tooltip-time: 416, 80, 16, 16 production-tooltip-power: 432, 80, 16, 16 @@ -140,13 +130,13 @@ sidebar-bits: commandbar-background: 0, 123, 434, 44 power-icons: - Image: chrome.png + Inherits: ^Chrome Regions: power-normal: 350, 0, 12, 18 power-critical: 363, 0, 12, 18 production-icons: - Image: chrome.png + Inherits: ^Chrome Regions: building: 384, 0, 16, 16 building-disabled: 384, 16, 16, 16 @@ -168,7 +158,7 @@ production-icons: ship-alert: 496, 80, 16, 16 order-icons: - Image: chrome.png + Inherits: ^Chrome Regions: options: 480, 0, 16, 16 options-disabled: 480, 16, 16, 16 @@ -196,7 +186,7 @@ order-icons: stats-active: 368, 80, 16, 16 command-icons: - Image: chrome.png + Inherits: ^Chrome Regions: attack-move: 512, 0, 24, 24 attack-move-disabled: 512, 24, 24, 24 @@ -216,7 +206,7 @@ command-icons: queue-orders-disabled: 680, 24, 24, 24 stance-icons: - Image: chrome.png + Inherits: ^Chrome Regions: attack-anything: 512, 48, 16, 16 attack-anything-disabled: 528, 48, 16, 16 @@ -232,76 +222,70 @@ stance-icons: hold-fire-active: 688, 48, 16, 16 sidebar-observer: - Image: chrome.png - PanelRegion: 512, 167, 0, 0, 238, 287, 0, 0 - PanelSides: Center + Inherits: ^Chrome Regions: + background: 512, 167, 238, 287 replay-bottom: 512, 454, 238, 40 observer-bottom: 512, 495, 238, 8 sidebar-button-observershroud: - Image: chrome.png sidebar-button-observershroud-pressed: - Image: chrome.png sidebar-button-observershroud-hover: - Image: chrome.png sidebar-button-observer: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 112, 28, 5, 5, 18, 18, 5, 5 sidebar-button-observer-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 112, 0, 5, 5, 18, 18, 5, 5 sidebar-button-observer-pressed: - Image: chrome.png - PanelRegion: 112, 28, 5, 5, 18, 18, 5, 5 + Inherits: sidebar-button-observer sidebar-button-observer-highlighted: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 140, 28, 5, 5, 18, 18, 5, 5 sidebar-button-observer-highlighted-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 140, 0, 5, 5, 18, 18, 5, 5 sidebar-button-observer-highlighted-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 28, 28, 5, 5, 18, 18, 5, 5 sidebar-button-observer-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 168, 0, 5, 5, 18, 18, 5, 5 sidebar-button-observer-highlighted-disabled: - Image: chrome.png - PanelRegion: 168, 0, 5, 5, 18, 18, 5, 5 + Inherits: sidebar-button-observer-disabled observer-scrollpanel-button: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 768, 256, 1, 1, 126, 126, 1, 1 observer-scrollpanel-button-hover: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 768, 256, 1, 1, 126, 126, 1, 1 observer-scrollpanel-button-pressed: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 896, 256, 1, 1, 126, 126, 1, 1 observer-scrollpanel-button-disabled: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 768, 384, 1, 1, 126, 126, 1, 1 observer-scrollheader-selected: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 768, 384, 1, 1, 126, 126, 1, 1 observer-scrollitem-selected: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 896, 256, 1, 1, 126, 126, 1, 1 observer-scrollitem-hover: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 768, 256, 1, 1, 126, 126, 1, 1 # Used for the main menu frame dialog: - Image: dialog.png + Inherits: ^Dialog Regions: background: 0, 0, 480, 480 border-r: 489, 0, 9, 192 @@ -315,49 +299,25 @@ dialog: # Used for Music and Map selection (normal button) dialog2: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button # It's a Container, used in various places, like Hotkeys, ColorPicker, Asset Browser frames (looks like a pressed button) dialog3: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed # Used for tooltips and the video player dialog4: - Image: dialog.png - Regions: - background: 517, 392, 54, 54 - border-t: 517, 387, 54, 6 - border-b: 517, 446, 54, 6 - border-l: 512, 392, 6, 54 - border-r: 571, 392, 6, 54 - corner-tl: 512, 387, 6, 6 - corner-tr: 571, 387, 6, 6 - corner-bl: 512, 446, 6, 6 - corner-br: 571, 446, 6, 6 - -tooltip-separator: - Image: dialog.png - Regions: - border-t: 517, 387, 54, 1 + Inherits: ^Dialog + PanelRegion: 512, 387, 6, 6, 52, 52, 6, 6 # completely black tile dialog5: - Image: dialog.png - Regions: - background: 579, 387, 64, 64 - border-t: 579, 387, 64, 1 - border-b: 579, 451, 64, 1 - border-l: 579, 387, 1, 64 - border-r: 643, 387, 1, 64 - corner-tl: 579, 387, 1, 1 - corner-tr: 643, 387, 1, 1 - corner-bl: 579, 446, 1, 1 - corner-br: 643, 446, 1, 1 + Inherits: ^Dialog + PanelRegion: 579, 387, 0, 0, 64, 64, 0, 0 + PanelSides: Center lobby-bits: - Image: buttons.png + Inherits: ^Buttons Regions: spawn-unclaimed: 159, 5, 23, 22 spawn-claimed: 127, 5, 23, 22 @@ -374,7 +334,7 @@ lobby-bits: player-anonymous: 240, 16, 16, 16 reload-icon: - Image: chrome.png + Inherits: ^Chrome Regions: enabled: 512, 80, 16, 16 disabled-0: 512, 64, 16, 16 @@ -391,7 +351,7 @@ reload-icon: disabled-11: 688, 64, 16, 16 strategic: - Image: buttons.png + Inherits: ^Buttons Regions: unowned: 127, 5, 23, 22 critical_unowned: 127, 27, 23, 22 @@ -399,7 +359,7 @@ strategic: player_owned: 159, 49, 23, 22 flags: - Image: buttons.png + Inherits: ^Buttons Regions: soviet: 0, 112, 30, 15 allies: 30, 112, 30, 15 @@ -407,20 +367,17 @@ flags: RandomAllies: 30, 172, 30, 15 RandomSoviet: 0, 172, 30, 15 spectator: 60, 112, 30, 15 - russia: 0, 127, 30, 15 ukraine: 30, 127, 30, 15 england: 60, 127, 30, 15 - germany: 0, 142, 30, 15 spain: 30, 142, 30, 15 france: 60, 142, 30, 15 - turkey: 0, 157, 30, 15 greece: 30, 157, 30, 15 music: - Image: buttons.png + Inherits: ^Buttons Regions: pause: 0, 193, 25, 25 stop: 25, 193, 25, 25 @@ -431,178 +388,122 @@ music: slowmo: 159, 193, 25, 25 scrollbar: - Image: buttons.png + Inherits: ^Buttons Regions: down_arrow: 116, 140, 16, 16 down_pressed: 116, 140, 16, 16 up_arrow: 132, 140, 16, 16 up_pressed: 132, 140, 16, 16 -# A copy of dialog3 (pressed button) progressbar-bg: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog2 (normal button) progressbar-thumb: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button -# A copy of dialog2 (normal button) button: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 # 5% lighter than a normal button (mouseover) button-hover: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 512, 128, 1, 1, 126, 126, 1, 1 - Regions: - -# A copy of dialog3 (pressed button) + button-pressed: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 # 50% grey (disabled button) button-disabled: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 512, 256, 1, 1, 126, 126, 1, 1 - Regions: -# 10% darker than a normal button - Used in Settings when you select Display Audio Input or Advanced button-highlighted: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 768, 128, 1, 1, 126, 126, 1, 1 -# A copy of button-highlighted - Used in Settings when you select Display Audio Input or Advanced button-highlighted-hover: - Image: dialog.png - PanelRegion: 768, 128, 1, 1, 126, 126, 1, 1 + Inherits: button-highlighted -# Used in Settings when you select Display Audio Input or Advanced button-highlighted-pressed: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 896, 128, 1, 1, 126, 126, 1, 1 -# A copy of button-highlighted - Used in Settings when you select Display Audio Input or Advanced button-highlighted-disabled: - Image: dialog.png - PanelRegion: 768, 128, 1, 1, 126, 126, 1, 1 - Regions: - -# vivid red - Used for the Battlefields News button + Inherits: button-highlighted + newsbutton: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button newsbutton-hover: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 - Regions: - + Inherits: button + newsbutton-highlighted: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 768, 0, 1, 1, 126, 126, 1, 1 - Regions: - + newsbutton-highlighted-hover: - Image: dialog.png - PanelRegion: 768, 0, 1, 1, 126, 126, 1, 1 - Regions: - + Inherits: newsbutton-highlighted + newsbutton-highlighted-pressed: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed newsbutton-pressed: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog3 (pressed button) textfield: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of checkbox-hover textfield-hover: - Image: dialog.png - PanelRegion: 640, 128, 1, 1, 126, 126, 1, 1 + Inherits: checkbox-hover -# Same as button-disabled-pressed textfield-disabled: - Image: dialog.png - PanelRegion: 640, 256, 1, 1, 126, 126, 1, 1 + Inherits: checkbox-disabled -# A copy of dialog3 (pressed button) textfield-focused: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog3 (pressed button) scrollpanel-bg: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed - -# A copy of dialog2 (normal button) scrollpanel-button: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button -# A copy of button-hover scrollpanel-button-hover: - Image: dialog.png - PanelRegion: 512, 128, 1, 1, 126, 126, 1, 1 + Inherits: button-hover -# A copy of dialog3 (pressed button) scrollpanel-button-pressed: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog2 (normal button) scrollpanel-button-disabled: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button slider: - Image: dialog.png + Inherits: ^Dialog Regions: tick: 512, 1, 2, 4 -# A copy of dialog3 (pressed button) slider-track: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 - Regions: - -# A copy of dialog2 (normal button) + Inherits: button + slider-thumb: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button -# A copy of button-hover slider-thumb-hover: - Image: dialog.png - PanelRegion: 512, 128, 1, 1, 126, 126, 1, 1 + Inherits: button-hover -# A copy of dialog3 (pressed button) slider-thumb-pressed: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog2 (normal button) slider-thumb-disabled: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button -# A copy of dialog3 (pressed button) checkbox: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed checkbox-bits: - Image: buttons.png + Inherits: ^Buttons Regions: checked: 100, 157, 16, 16 checked-disabled: 100, 173, 16, 16 @@ -610,54 +511,45 @@ checkbox-bits: crossed-disabled: 116, 173, 16, 16 checkbox-hover: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 640, 128, 1, 1, 126, 126, 1, 1 -# Same as button-disabled-pressed checkbox-disabled: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 640, 256, 1, 1, 126, 126, 1, 1 -# Same as button-highlighted-pressed checkbox-highlighted: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 896, 0, 1, 1, 126, 126, 1, 1 -# A copy of dialog3 (pressed button) scrollitem-selected: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog2 (normal button) scrollitem-hover: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button -# A copy of dialog2 (normal button) scrollheader-selected: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button scrollitem-nohover: - Image: dialog.png logos: - Image: loadscreen.png + Inherits: ^LoadScreen Regions: logo: 0, 0, 256, 256 loadscreen-stripe: - Image: loadscreen.png + Inherits: ^LoadScreen PanelRegion: 256, 0, 0, 0, 256, 256, 0, 0 PanelSides: Center mainmenu-border: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 648, 387, 40, 40, 40, 40, 40, 40 PanelSides: Edges dropdown: - Image: dialog.png + Inherits: ^Dialog Regions: separator: 512, 1, 1, 19 observer-separator: 768, 256, 1, 19 diff --git a/mods/ts/chrome.yaml b/mods/ts/chrome.yaml index 78df8f6d1d..1fa677b65e 100644 --- a/mods/ts/chrome.yaml +++ b/mods/ts/chrome.yaml @@ -1,9 +1,21 @@ +^Chrome: + Image: chrome.png + +^Dialog: + Image: dialog.png + +^Buttons: + Image: buttons.png + +^LoadScreen: + Image: loadscreen.png + # ---------------------------------------------------------------------- # GDI # ---------------------------------------------------------------------- sidebar-gdi: - Image: chrome.png + Inherits: ^Chrome Regions: background-top: 0, 0, 235, 260 background-iconrow: 0, 260, 235, 52 @@ -11,111 +23,99 @@ sidebar-gdi: background-commandbar: 87, 461, 425, 51 sidebar-button-gdi: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 235, 119, 0, 0, 30, 31, 0, 0 PanelSides: Center sidebar-button-gdi-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 235, 150, 0, 0, 30, 31, 0, 0 PanelSides: Center sidebar-button-gdi-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 235, 181, 0, 0, 30, 31, 0, 0 PanelSides: Center sidebar-button-gdi-highlighted: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 235, 212, 0, 0, 30, 31, 0, 0 PanelSides: Center sidebar-button-gdi-highlighted-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 235, 243, 0, 0, 30, 31, 0, 0 PanelSides: Center sidebar-button-gdi-highlighted-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 235, 274, 0, 0, 30, 31, 0, 0 PanelSides: Center sidebar-button-gdi-highlighted-disabled: - Image: chrome.png - PanelRegion: 235, 305, 0, 0, 30, 31, 0, 0 - PanelSides: Center + Inherits: sidebar-button-gdi-disabled sidebar-button-gdi-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 235, 305, 0, 0, 30, 31, 0, 0 PanelSides: Center scrollup-buttons-gdi: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 0, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrollup-buttons-gdi-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 34, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrollup-buttons-gdi-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 66, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrollup-buttons-gdi-highlighted: - Image: chrome.png - PanelRegion: 34, 338, 0, 0, 34, 27, 0, 0 - PanelSides: Center + Inherits: scrollup-buttons-gdi-hover scrollup-buttons-gdi-highlighted-hover: - Image: chrome.png - PanelRegion: 34, 338, 0, 0, 34, 27, 0, 0 - PanelSides: Center + Inherits: scrollup-buttons-gdi-hover scrollup-buttons-gdi-highlighted-pressed: - Image: chrome.png - PanelRegion: 66, 338, 0, 0, 34, 27, 0, 0 - PanelSides: Center + Inherits: scrollup-buttons-gdi-pressed scrollup-button-gdi-highlighted-disabled: - Image: chrome.png - PanelRegion: 0, 338, 0, 0, 34, 27, 0, 0 - PanelSides: Center + Inherits: scrollup-buttons-gdi-disabled scrollup-buttons-gdi-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 0, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrolldown-buttons-gdi: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 102, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrolldown-buttons-gdi-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 136, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrolldown-buttons-gdi-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 170, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrolldown-buttons-gdi-highlighted: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 136, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrolldown-buttons-gdi-highlighted-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 136, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrolldown-buttons-gdi-highlighted-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 170, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrolldown-button-gdi-highlighted-disabled: - Image: chrome.png - PanelRegion: 102, 338, 0, 0, 34, 27, 0, 0 - PanelSides: Center + Inherits: scrolldown-buttons-gdi-disabled scrolldown-buttons-gdi-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 102, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center radar-gdi: - Image: chrome.png + Inherits: ^Chrome Regions: insignia: 235, 0, 164, 119 production-icons-gdi: - Image: chrome.png + Inherits: ^Chrome Regions: building: 416, 0, 16, 16 building-disabled: 432, 0, 16, 16 @@ -134,7 +134,7 @@ production-icons-gdi: air-alert: 448, 64, 16, 16 order-icons-gdi: - Image: chrome.png + Inherits: ^Chrome Regions: debug: 265, 119, 30, 31 debug-disabled: 295, 119, 30, 31 @@ -156,19 +156,19 @@ order-icons-gdi: power-active: 265, 274, 30, 31 power-icons-gdi: - Image: chrome.png + Inherits: ^Chrome Regions: power-normal: 480, 160, 16, 16 power-critical: 496, 160, 16, 16 cash-icons-gdi: - Image: chrome.png + Inherits: ^Chrome Regions: cash-normal: 480, 144, 16, 16 cash-critical: 496, 144, 16, 16 command-icons-gdi: - Image: chrome.png + Inherits: ^Chrome Regions: attack-move: 304, 331, 26, 26 attack-move-disabled: 304, 357, 26, 26 @@ -212,7 +212,7 @@ command-icons-gdi: queue-orders-active-hover: 486, 435, 26, 26 stance-icons-gdi: - Image: chrome.png + Inherits: ^Chrome Regions: attack-anything: 424, 176, 22, 22 attack-anything-disabled: 424, 198, 22, 22 @@ -240,7 +240,7 @@ stance-icons-gdi: # ---------------------------------------------------------------------- sidebar-nod: - Image: chrome.png + Inherits: ^Chrome Regions: background-top: 512, 0, 235, 260 background-iconrow: 512, 260, 235, 52 @@ -248,111 +248,97 @@ sidebar-nod: background-commandbar: 599, 461, 425, 51 sidebar-button-nod: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 747, 119, 0, 0, 30, 31, 0, 0 PanelSides: Center sidebar-button-nod-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 747, 150, 0, 0, 30, 31, 0, 0 PanelSides: Center sidebar-button-nod-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 747, 181, 0, 0, 30, 31, 0, 0 PanelSides: Center sidebar-button-nod-highlighted: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 747, 212, 0, 0, 30, 31, 0, 0 PanelSides: Center sidebar-button-nod-highlighted-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 747, 243, 0, 0, 30, 31, 0, 0 PanelSides: Center sidebar-button-nod-highlighted-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 747, 274, 0, 0, 30, 31, 0, 0 PanelSides: Center sidebar-button-nod-highlighted-disabled: - Image: chrome.png - PanelRegion: 747, 305, 0, 0, 30, 31, 0, 0 - PanelSides: Center + Inherits: sidebar-button-nod-disabled sidebar-button-nod-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 747, 305, 0, 0, 30, 31, 0, 0 PanelSides: Center scrollup-buttons-nod: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 512, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrollup-buttons-nod-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 546, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrollup-buttons-nod-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 580, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrollup-buttons-nod-highlighted: - Image: chrome.png - PanelRegion: 546, 338, 0, 0, 34, 27, 0, 0 - PanelSides: Center + Inherits: scrollup-buttons-nod-hover scrollup-buttons-nod-highlighted-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 546, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrollup-buttons-nod-highlighted-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 580, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrollup-button-nod-highlighted-disabled: - Image: chrome.png - PanelRegion: 512, 338, 0, 0, 34, 27, 0, 0 - PanelSides: Center + Inherits: scrollup-buttons-nod-disabled scrollup-buttons-nod-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 512, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrolldown-buttons-nod: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 614, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrolldown-buttons-nod-hover: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 648, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrolldown-buttons-nod-pressed: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 682, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center scrolldown-buttons-nod-highlighted: - Image: chrome.png - PanelRegion: 648, 338, 0, 0, 34, 27, 0, 0 - PanelSides: Center + Inherits: scrolldown-buttons-nod-hover scrolldown-buttons-nod-highlighted-hover: - Image: chrome.png - PanelRegion: 648, 338, 0, 0, 34, 27, 0, 0 - PanelSides: Center + Inherits: scrolldown-buttons-nod-hover scrolldown-buttons-nod-highlighted-pressed: - Image: chrome.png - PanelRegion: 682, 338, 0, 0, 34, 27, 0, 0 - PanelSides: Center + Inherits: scrolldown-buttons-nod-pressed scrolldown-button-nod-highlighted-disabled: - Image: chrome.png - PanelRegion: 614, 338, 0, 0, 34, 27, 0, 0 - PanelSides: Center + Inherits: scrolldown-buttons-nod-disabled scrolldown-buttons-nod-disabled: - Image: chrome.png + Inherits: ^Chrome PanelRegion: 614, 338, 0, 0, 34, 27, 0, 0 PanelSides: Center radar-nod: - Image: chrome.png + Inherits: ^Chrome Regions: insignia: 747, 0, 164, 119 production-icons-nod: - Image: chrome.png + Inherits: ^Chrome Regions: building: 928, 0, 16, 16 building-disabled: 944, 0, 16, 16 @@ -371,7 +357,7 @@ production-icons-nod: air-alert: 960, 64, 16, 16 order-icons-nod: - Image: chrome.png + Inherits: ^Chrome Regions: debug: 777, 119, 30, 31 debug-disabled: 807, 119, 30, 31 @@ -396,19 +382,19 @@ order-icons-nod: diplomacy-active: 777, 305, 30, 31 power-icons-nod: - Image: chrome.png + Inherits: ^Chrome Regions: power-normal: 992, 160, 16, 16 power-critical: 1008, 160, 16, 16 cash-icons-nod: - Image: chrome.png + Inherits: ^Chrome Regions: cash-normal: 992, 144, 16, 16 cash-critical: 1008, 144, 16, 16 command-icons-nod: - Image: chrome.png + Inherits: ^Chrome Regions: attack-move: 816, 331, 26, 26 attack-move-disabled: 816, 357, 26, 26 @@ -452,7 +438,7 @@ command-icons-nod: queue-orders-active-hover: 998, 435, 26, 26 stance-icons-nod: - Image: chrome.png + Inherits: ^Chrome Regions: attack-anything: 936, 176, 22, 22 attack-anything-disabled: 936, 198, 22, 22 @@ -481,14 +467,14 @@ stance-icons-nod: # make this paragraph AddFactionSuffixLogic compatible sidebar-bits: - Image: chrome.png + Inherits: ^Chrome Regions: production-tooltip-time: 464, 128, 16, 16 production-tooltip-power: 480, 160, 16, 16 production-tooltip-cost: 480, 144, 16, 16 scrollbar: - Image: buttons.png + Inherits: ^Buttons Regions: down_arrow: 16, 140, 16, 16 down_pressed: 16, 140, 16, 16 @@ -496,7 +482,7 @@ scrollbar: up_pressed: 32, 140, 16, 16 flags: - Image: buttons.png + Inherits: ^Buttons Regions: gdi: 30, 112, 30, 15 nod: 0, 112, 30, 15 @@ -504,7 +490,7 @@ flags: spectator: 60, 112, 30, 15 lobby-bits: - Image: buttons.png + Inherits: ^Buttons Regions: spawn-unclaimed: 159, 5, 23, 22 spawn-claimed: 127, 5, 23, 22 @@ -521,7 +507,7 @@ lobby-bits: player-anonymous: 240, 16, 16, 16 reload-icon: - Image: dialog.png + Inherits: ^Dialog Regions: enabled: 160, 480, 16, 16 disabled-0: 176, 480, 16, 16 @@ -538,7 +524,7 @@ reload-icon: disabled-11: 352, 480, 16, 16 strategic: - Image: buttons.png + Inherits: ^Buttons Regions: unowned: 127, 5, 23, 22 critical_unowned: 127, 27, 23, 22 @@ -546,7 +532,7 @@ strategic: player_owned: 159, 49, 23, 22 music: - Image: buttons.png + Inherits: ^Buttons Regions: pause: 0, 193, 25, 25 stop: 25, 193, 25, 25 @@ -562,7 +548,7 @@ music: # Used for the menu dialog: - Image: dialog.png + Inherits: ^Dialog Regions: background: 0, 0, 480, 480 border-r: 483, 0, 9, 153 @@ -574,193 +560,124 @@ dialog: corner-bl: 437, 481, 21, 21 corner-br: 459, 481, 21, 21 -# Same as a normal button dialog2: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button -# Same as a pressed button dialog3: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed # Same as the half transparent frame used in the Asset Browser dialog4: - Image: dialog.png - Regions: - background: 517, 392, 54, 54 - border-t: 517, 387, 54, 6 - border-b: 517, 446, 54, 6 - border-l: 512, 392, 6, 54 - border-r: 571, 392, 6, 54 - corner-tl: 512, 387, 6, 6 - corner-tr: 571, 387, 6, 6 - corner-bl: 512, 446, 6, 6 - corner-br: 571, 446, 6, 6 + Inherits: ^Dialog + PanelRegion: 512, 387, 6, 6, 52, 52, 6, 6 -tooltip-separator: - Image: dialog.png - Regions: - border-t: 517, 387, 54, 1 - -# A copy of dialog3 (pressed button) progressbar-bg: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog2 (normal button) progressbar-thumb: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button -# A copy of dialog2 (normal button) button: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 -# 5% lighter than a normal button (mouseover) button-hover: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 512, 128, 1, 1, 126, 126, 1, 1 -# A copy of dialog3 (pressed button) button-pressed: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 -# 10% darker than a normal button button-disabled: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 512, 256, 1, 1, 126, 126, 1, 1 -# 10% darker than a normal button - Used in Settings when you select Display Audio Input or Advanced button-highlighted: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 768, 128, 1, 1, 126, 126, 1, 1 -# A copy of button-highlighted - Used in Settings when you select Display Audio Input or Advanced button-highlighted-hover: - Image: dialog.png - PanelRegion: 768, 128, 1, 1, 126, 126, 1, 1 + Inherits: button-highlighted -# Used in Settings when you select Display Audio Input or Advanced button-highlighted-pressed: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 896, 128, 1, 1, 126, 126, 1, 1 -# A copy of button-highlighted - Used in Settings when you select Display Audio Input or Advanced button-highlighted-disabled: - Image: dialog.png - PanelRegion: 768, 128, 1, 1, 126, 126, 1, 1 + Inherits: button-highlighted -# vivid color - Used for the Battlefields News button newsbutton: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button newsbutton-hover: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button newsbutton-highlighted: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 768, 0, 1, 1, 126, 126, 1, 1 newsbutton-highlighted-hover: - Image: dialog.png - PanelRegion: 768, 0, 1, 1, 126, 126, 1, 1 + Inherits: newsbutton-highlighted newsbutton-highlighted-pressed: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed newsbutton-pressed: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog3 (pressed button) textfield: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of checkbox-hover textfield-hover: - Image: dialog.png - PanelRegion: 640, 128, 1, 1, 126, 126, 1, 1 + Inherits: checkbox-hover -# A copy of dialog3 (pressed button) textfield-disabled: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog3 (pressed button) textfield-focused: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog3 (pressed button) scrollpanel-bg: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog2 (normal button) scrollpanel-button: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button -# A copy of button-hover scrollpanel-button-hover: - Image: dialog.png - PanelRegion: 512, 128, 1, 1, 126, 126, 1, 1 + Inherits: button-hover -# A copy of dialog3 (pressed button) scrollpanel-button-pressed: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog2 (normal button) scrollpanel-button-disabled: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button slider: - Image: dialog.png + Inherits: ^Dialog Regions: tick: 512, 1, 1, 4 -# A copy of dialog3 (pressed button) slider-track: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 - Regions: - + Inherits: button-pressed slider-thumb: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button -# A copy of button-hover slider-thumb-hover: - Image: dialog.png - PanelRegion: 512, 128, 1, 1, 126, 126, 1, 1 + Inherits: button-hover -# A copy of dialog3 (pressed button) slider-thumb-pressed: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog2 (normal button) slider-thumb-disabled: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button -# A copy of dialog3 (pressed button) checkbox: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed checkbox-bits: - Image: buttons.png + Inherits: ^Buttons Regions: checked: 0, 157, 16, 16 checked-disabled: 0, 173, 16, 16 @@ -768,57 +685,48 @@ checkbox-bits: crossed-disabled: 16, 173, 16, 16 checkbox-hover: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 640, 128, 1, 1, 126, 126, 1, 1 -# Same as a button-disabled-pressed checkbox-disabled: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 640, 256, 1, 1, 126, 126, 1, 1 -# Same as a button-highlighted-pressed checkbox-highlighted: - Image: dialog.png + Inherits: ^Dialog PanelRegion: 896, 0, 1, 1, 126, 126, 1, 1 -# A copy of dialog3 (pressed button) scrollitem-selected: - Image: dialog.png - PanelRegion: 640, 0, 1, 1, 126, 126, 1, 1 + Inherits: button-pressed -# A copy of dialog2 (normal button) scrollitem-hover: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button scrollitem-nohover: - Image: dialog.png + Inherits: ^Dialog -# A copy of dialog2 (normal button) scrollheader-selected: - Image: dialog.png - PanelRegion: 512, 0, 1, 1, 126, 126, 1, 1 + Inherits: button logos: - Image: loadscreen.png + Inherits: ^LoadScreen Regions: logo: 0, 0, 256, 256 mainmenu-border: - Image: dialog.png - PanelRegion: 648, 387, 40, 40, 40, 40, 40, 40 + Inherits: ^Dialog dropdown: - Image: dialog.png + Inherits: ^Dialog Regions: separator: 512, 1, 1, 19 logos: - Image: loadscreen.png + Inherits: ^LoadScreen Regions: logo: 0, 0, 256, 256 loadscreen-stripe: - Image: loadscreen.png + Inherits: ^LoadScreen PanelRegion: 256, 0, 0, 0, 256, 256, 0, 0 PanelSides: Center