diff --git a/mods/cnc/chrome/assetbrowser.yaml b/mods/cnc/chrome/assetbrowser.yaml index 73cb7518d3..9c0c974b03 100644 --- a/mods/cnc/chrome/assetbrowser.yaml +++ b/mods/cnc/chrome/assetbrowser.yaml @@ -1,191 +1,192 @@ Container@ASSETBROWSER_PANEL: - Logic:AssetBrowserLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:695 - Height:435 + Logic: AssetBrowserLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 695 + Height: 435 Children: LogicTicker@ANIMATION_TICKER: ColorPreviewManager@COLOR_MANAGER: Label@ASSETBROWSER_TITLE: - Width:PARENT_RIGHT - Y:0-25 - Font:BigBold - Contrast:true - Align:Center - Text:Asset Browser + Width: PARENT_RIGHT + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center + Text: Asset Browser Background@bg: - Width:PARENT_RIGHT - Height:435 - Background:panel-black + Width: PARENT_RIGHT + Height: 435 + Background: panel-black Children: Label@SOURCE_SELECTOR_DESC: - X:15 - Y:5 - Width:160 - Height:25 - Font:TinyBold - Align:Center - Text:Select asset source + X: 15 + Y: 5 + Width: 160 + Height: 25 + Font: TinyBold + Align: Center + Text: Select asset source DropDownButton@SOURCE_SELECTOR: - X:15 - Y:35 - Width:160 - Height:25 - Font:Bold - Text:Folders + X: 15 + Y: 35 + Width: 160 + Height: 25 + Font: Bold + Text: Folders ScrollPanel@ASSET_LIST: - X:15 - Y:65 - Width:160 - Height:275 + X: 15 + Y: 65 + Width: 160 + Height: 275 Children: ScrollItem@ASSET_TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Label@TITLE: - X:10 - Width:PARENT_RIGHT-15 - Height:25 + X: 10 + Width: PARENT_RIGHT-15 + Height: 25 Label@FILENAME_DESC: - X:15 - Y:340 - Width:160 - Height:25 - Font:TinyBold - Align:Center - Text:Search for file + X: 15 + Y: 340 + Width: 160 + Height: 25 + Font: TinyBold + Align: Center + Text: Search for file TextField@FILENAME_INPUT: - X:15 - Y:365 - Width:160 - Height:25 + X: 15 + Y: 365 + Width: 160 + Height: 25 Button@LOAD_BUTTON: - X:15 - Y:395 - Width:160 - Height:25 - Text:Load - Font:Bold - Key:return + X: 15 + Y: 395 + Width: 160 + Height: 25 + Text: Load + Font: Bold + Key: return Label@PALETTE_DESC: - X:PARENT_RIGHT-WIDTH-270 - Y:30 - Width:150 - Height:25 - Font:Bold - Align:Right - Text:Palette: + X: PARENT_RIGHT-WIDTH-270 + Y: 30 + Width: 150 + Height: 25 + Font: Bold + Align: Right + Text: Palette: DropDownButton@PALETTE_SELECTOR: - X:PARENT_RIGHT-WIDTH-110 - Y:30 - Width:150 - Height:25 - Font:Bold + X: PARENT_RIGHT-WIDTH-110 + Y: 30 + Width: 150 + Height: 25 + Font: Bold DropDownButton@COLOR: - X:PARENT_RIGHT-WIDTH-15 - Y:30 - Width:80 - Height:25 + X: PARENT_RIGHT-WIDTH-15 + Y: 30 + Width: 80 + Height: 25 Children: ColorBlock@COLORBLOCK: - X:5 - Y:6 - Width:PARENT_RIGHT-35 - Height:PARENT_BOTTOM-12 + X: 5 + Y: 6 + Width: PARENT_RIGHT-35 + Height: PARENT_BOTTOM-12 Background@SPRITE_BG: - X:190 - Y:65 - Width:490 - Height:325 - Background:scrollpanel-bg + X: 190 + Y: 65 + Width: 490 + Height: 325 + Background: scrollpanel-bg Children: Sprite@SPRITE: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Container@FRAME_SELECTOR: - X:190 - Y:395 + X: 190 + Y: 395 Children: Button@BUTTON_PREV: - Width:26 - Height:26 + Width: 26 + Height: 26 Children: Image@IMAGE_PREV: - X:5 - Y:5 - Width:16 - Height:16 - ImageCollection:music - ImageName:prev + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: music + ImageName: prev Button@BUTTON_PLAY: - X:35 - Width:26 - Height:26 + X: 35 + Width: 26 + Height: 26 Children: Image@IMAGE_PLAY: - X:5 - Y:5 - Width:16 - Height:16 - ImageCollection:music - ImageName:play + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: music + ImageName: play Button@BUTTON_PAUSE: - Visible:false - X:35 - Width:26 - Height:26 + Visible: false + X: 35 + Width: 26 + Height: 26 Children: Image@IMAGE_PAUSE: - X:5 - Y:5 - Width:16 - Height:16 - ImageCollection:music - ImageName:pause + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: music + ImageName: pause Button@BUTTON_STOP: - X:70 - Width:26 - Height:26 + X: 70 + Width: 26 + Height: 26 Children: Image@IMAGE_STOP: - X:5 - Y:5 - Width:16 - Height:16 - ImageCollection:music - ImageName:stop + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: music + ImageName: stop Button@BUTTON_NEXT: - X:105 - Width:26 - Height:26 + X: 105 + Width: 26 + Height: 26 Children: Image@IMAGE_NEXT: - X:5 - Y:5 - Width:16 - Height:16 - ImageCollection:music - ImageName:next + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: music + ImageName: next Slider@FRAME_SLIDER: - X:140 - Y:3 - Width:300 - Height:20 + X: 140 + Y: 3 + Width: 300 + Height: 20 MinimumValue: 0 Label@FRAME_COUNT: - X:445 - Width:40 - Height:25 - Font:TinyBold - Align:Left + X: 445 + Width: 40 + Height: 25 + Font: TinyBold + Align: Left Button@CLOSE_BUTTON: - Key:escape - Y:434 - Width:140 - Height:35 - Text:Back \ No newline at end of file + Key: escape + Y: 434 + Width: 140 + Height: 35 + Text: Back + diff --git a/mods/cnc/chrome/cheats.yaml b/mods/cnc/chrome/cheats.yaml index a8ce0f4e0c..cd26081602 100644 --- a/mods/cnc/chrome/cheats.yaml +++ b/mods/cnc/chrome/cheats.yaml @@ -1,123 +1,124 @@ Container@CHEATS_PANEL: - Logic:CheatsLogic - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Logic: CheatsLogic + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@TITLE: - Width:PARENT_RIGHT - Y:0-25 - Font:BigBold - Contrast:true - Align:Center - Text:Debug Options + Width: PARENT_RIGHT + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center + Text: Debug Options Background@bg: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM - Background:panel-black + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Background: panel-black Children: Label@CHEATS_TITLE: - Y:25 - Font:Bold - Text:Cheats - Align:Center - Width:PARENT_RIGHT + Y: 25 + Font: Bold + Text: Cheats + Align: Center + Width: PARENT_RIGHT Checkbox@INSTANT_BUILD: - X:45 - Y:45 - Width:200 - Height:20 - Font:Regular - Text:Instant Build Speed + X: 45 + Y: 45 + Width: 200 + Height: 20 + Font: Regular + Text: Instant Build Speed Checkbox@ENABLE_TECH: - X:45 - Y:75 - Width:200 - Height:20 - Font:Regular - Text:Build Everything + X: 45 + Y: 75 + Width: 200 + Height: 20 + Font: Regular + Text: Build Everything Checkbox@BUILD_ANYWHERE: - X:45 - Y:105 - Width:200 - Height:20 - Font:Regular - Text:Build Anywhere + X: 45 + Y: 105 + Width: 200 + Height: 20 + Font: Regular + Text: Build Anywhere Checkbox@UNLIMITED_POWER: - X:290 - Y:45 - Width:200 - Height:20 - Font:Regular - Text:Unlimited Power + X: 290 + Y: 45 + Width: 200 + Height: 20 + Font: Regular + Text: Unlimited Power Checkbox@INSTANT_CHARGE: - X:290 - Y:75 - Width:200 - Height:20 - Font:Regular - Text:Instant Charge Time + X: 290 + Y: 75 + Width: 200 + Height: 20 + Font: Regular + Text: Instant Charge Time Checkbox@DISABLE_SHROUD: - X:290 - Y:105 - Height:20 - Width:200 - Font:Regular - Text:Disable Shroud & Fog + X: 290 + Y: 105 + Height: 20 + Width: 200 + Font: Regular + Text: Disable Shroud & Fog Button@GIVE_CASH: - X:90 - Y:145 - Width:140 - Height:35 - Text:Give $20,000 + X: 90 + Y: 145 + Width: 140 + Height: 35 + Text: Give $20,000 Button@GROW_RESOURCES: - X:271 - Y:145 - Width:140 - Height:35 - Text:Grow Resources + X: 271 + Y: 145 + Width: 140 + Height: 35 + Text: Grow Resources Button@GIVE_EXPLORATION: - X:90 - Y:195 - Width:140 - Height:35 - Text:Clear Shroud + X: 90 + Y: 195 + Width: 140 + Height: 35 + Text: Clear Shroud Button@RESET_EXPLORATION: - X:271 - Y:195 - Width:140 - Height:35 - Text:Reset Shroud + X: 271 + Y: 195 + Width: 140 + Height: 35 + Text: Reset Shroud Label@VISUALIZATIONS_TITLE: - Y:255 - Font:Bold - Text:Visualizations - Align:Center - Width:PARENT_RIGHT + Y: 255 + Font: Bold + Text: Visualizations + Align: Center + Width: PARENT_RIGHT Checkbox@SHOW_UNIT_PATHS: - X:45 - Y:285 - Width:200 - Height:20 - Font:Regular - Text:Show Unit Paths + X: 45 + Y: 285 + Width: 200 + Height: 20 + Font: Regular + Text: Show Unit Paths Checkbox@SHOW_ASTAR: - X:45 - Y:315 - Height:20 - Width:200 - Font:Regular - Text:Show A* Cost + X: 45 + Y: 315 + Height: 20 + Width: 200 + Font: Regular + Text: Show A* Cost Checkbox@SHOW_COMBATOVERLAY: - X:290 - Y:285 - Height:20 - Width:200 - Font:Regular - Text:Show Combat Geometry + X: 290 + Y: 285 + Height: 20 + Width: 200 + Font: Regular + Text: Show Combat Geometry Checkbox@SHOW_GEOMETRY: - X:290 - Y:315 - Height:20 - Width:200 - Font:Regular - Text:Show Render Geometry \ No newline at end of file + X: 290 + Y: 315 + Height: 20 + Width: 200 + Font: Regular + Text: Show Render Geometry + diff --git a/mods/cnc/chrome/color-picker.yaml b/mods/cnc/chrome/color-picker.yaml index 4084b7e437..a659b56bc7 100644 --- a/mods/cnc/chrome/color-picker.yaml +++ b/mods/cnc/chrome/color-picker.yaml @@ -1,47 +1,48 @@ Background@COLOR_CHOOSER: - Logic:ColorPickerLogic - Background:panel-black - Width:234 - Height:105 + Logic: ColorPickerLogic + Background: panel-black + Width: 234 + Height: 105 Children: LogicTicker@ANIMATE_PREVIEW: Background@HUEBG: - Background:panel-black - X:5 - Y:5 - Width:148 - Height:13 + Background: panel-black + X: 5 + Y: 5 + Width: 148 + Height: 13 Children: HueSlider@HUE: - X:2 - Y:2 - Width:144 - Height:9 - Ticks:5 + X: 2 + Y: 2 + Width: 144 + Height: 9 + Ticks: 5 Background@MIXERBG: - Background:panel-black - X:5 - Y:23 - Width:148 - Height:76 + Background: panel-black + X: 5 + Y: 23 + Width: 148 + Height: 76 Children: ColorMixer@MIXER: - X:2 - Y:2 - Width:144 - Height:72 + X: 2 + Y: 2 + Width: 144 + Height: 72 SpriteSequence@PREVIEW: - X:153 - Y:1 - Width:80 - Height:73 - Palette:colorpicker - Unit:fact - Sequence:idle + X: 153 + Y: 1 + Width: 80 + Height: 73 + Palette: colorpicker + Unit: fact + Sequence: idle Button@RANDOM_BUTTON: - Key:tab - X:158 - Y:74 - Width:70 - Height:25 - Text:Random \ No newline at end of file + Key: tab + X: 158 + Y: 74 + Width: 70 + Height: 25 + Text: Random + diff --git a/mods/cnc/chrome/connection.yaml b/mods/cnc/chrome/connection.yaml index 5f41bb0039..069044ead9 100644 --- a/mods/cnc/chrome/connection.yaml +++ b/mods/cnc/chrome/connection.yaml @@ -1,94 +1,95 @@ Container@CONNECTING_PANEL: - Logic:ConnectionLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 90)/2 - Width:370 - Height:125 + Logic: ConnectionLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 90)/2 + Width: 370 + Height: 125 Children: Label@TITLE: - Width:PARENT_RIGHT - Y:0-25 - Font:BigBold - Contrast:true - Align:Center - Text:Connecting + Width: PARENT_RIGHT + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center + Text: Connecting Background@bg: - Width:370 - Height:90 - Background:panel-black + Width: 370 + Height: 90 + Background: panel-black Children: Label@CONNECTING_DESC: - Y:(PARENT_BOTTOM-HEIGHT)/2 - Width:PARENT_RIGHT - Height:25 - Text:Connecting... - Font:Bold - Align:Center + Y: (PARENT_BOTTOM-HEIGHT)/2 + Width: PARENT_RIGHT + Height: 25 + Text: Connecting... + Font: Bold + Align: Center Button@ABORT_BUTTON: - Key:escape - X:230 - Y:89 - Width:140 - Height:35 - Text:Abort + Key: escape + X: 230 + Y: 89 + Width: 140 + Height: 35 + Text: Abort Container@CONNECTIONFAILED_PANEL: - Logic:ConnectionFailedLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 90)/2 - Width:370 - Height:129 + Logic: ConnectionFailedLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 90)/2 + Width: 370 + Height: 129 Children: LogicTicker@CONNECTION_FAILED_TICKER: Label@TITLE: - Width:PARENT_RIGHT - Y:0-25 - Font:BigBold - Contrast:true - Align:Center - Text:Connection Failed + Width: PARENT_RIGHT + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center + Text: Connection Failed Background@CONNECTION_BACKGROUND: - Width:370 - Height:85 - Background:panel-black + Width: 370 + Height: 85 + Background: panel-black Children: Label@CONNECTING_DESC: - Y:15 - Width:PARENT_RIGHT - Height:25 - Text:Failed to connect - Font:Bold - Align:Center + Y: 15 + Width: PARENT_RIGHT + Height: 25 + Text: Failed to connect + Font: Bold + Align: Center Label@CONNECTION_ERROR: - Y:40 - Width:PARENT_RIGHT - Height:25 - Align:Center - Font:Bold + Y: 40 + Width: PARENT_RIGHT + Height: 25 + Align: Center + Font: Bold Label@PASSWORD_LABEL: - X:40 - Y:79 - Width:95 - Height:25 - Align:Right - Text:Password: - Font:Bold + X: 40 + Y: 79 + Width: 95 + Height: 25 + Align: Right + Text: Password: + Font: Bold PasswordField@PASSWORD: - X:140 - Y:80 - Width:155 - MaxLength:20 - Height:25 + X: 140 + Y: 80 + Width: 155 + MaxLength: 20 + Height: 25 Button@RETRY_BUTTON: - Key:return - Y:84 - Width:140 - Height:35 - Text:Retry + Key: return + Y: 84 + Width: 140 + Height: 35 + Text: Retry Button@ABORT_BUTTON: - Key:escape - X:230 - Y:84 - Width:140 - Height:35 - Text:Abort + Key: escape + X: 230 + Y: 84 + Width: 140 + Height: 35 + Text: Abort + diff --git a/mods/cnc/chrome/createserver.yaml b/mods/cnc/chrome/createserver.yaml index 707ab2c338..8888069335 100644 --- a/mods/cnc/chrome/createserver.yaml +++ b/mods/cnc/chrome/createserver.yaml @@ -1,134 +1,135 @@ Container@CREATESERVER_PANEL: - Logic:ServerCreationLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 260)/2 - Width:521 - Height:250 + Logic: ServerCreationLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 260)/2 + Width: 521 + Height: 250 Children: Label@TITLE: - Text:Create Server - Width:PARENT_RIGHT - Y:0-25 - Font:BigBold - Contrast:true - Align:Center + Text: Create Server + Width: PARENT_RIGHT + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center Background@bg: - Width:PARENT_RIGHT - Height:215 - Background:panel-black + Width: PARENT_RIGHT + Height: 215 + Background: panel-black Children: Background@MAP_BG: - X:PARENT_RIGHT-WIDTH-15 - Y:15 - Width:162 - Height:162 - Background:panel-gray + X: PARENT_RIGHT-WIDTH-15 + Y: 15 + Width: 162 + Height: 162 + Background: panel-gray Children: MapPreview@MAP_PREVIEW: - X:1 - Y:1 - Width:160 - Height:160 + X: 1 + Y: 1 + Width: 160 + Height: 160 Label@MAP_NAME: - X:PARENT_RIGHT-WIDTH-15 - Y:PARENT_BOTTOM - 33 - Width:162 - Height:25 - Align:Center - Font:Bold + X: PARENT_RIGHT-WIDTH-15 + Y: PARENT_BOTTOM - 33 + Width: 162 + Height: 25 + Align: Center + Font: Bold Label@SERVER_NAME_LABEL: - X:15 - Y:14 - Width:90 - Height:25 - Align:Right - Text:Server Name: - TextField@SERVER_NAME: - X:110 - Y:15 - Width:215 - MaxLength:50 - Height:25 - Text:My OpenRA Server - Label@PASSWORD_LABEL: - X:10 - Y:49 - Width:95 - Height:25 - Align:Right - Text:Password: - PasswordField@PASSWORD: - X:110 - Y:50 - Width:145 - MaxLength:20 - Height:25 - Label@AFTER_PASSWORD_LABEL: - X:265 - Y:49 - Width:95 - Height:25 - Align:Left - Text:(optional) - Label@LISTEN_PORT_LABEL: - X:15 - Y:84 - Width:90 - Height:25 + X: 15 + Y: 14 + Width: 90 + Height: 25 Align: Right - Text:Port: + Text: Server Name: + TextField@SERVER_NAME: + X: 110 + Y: 15 + Width: 215 + MaxLength: 50 + Height: 25 + Text: My OpenRA Server + Label@PASSWORD_LABEL: + X: 10 + Y: 49 + Width: 95 + Height: 25 + Align: Right + Text: Password: + PasswordField@PASSWORD: + X: 110 + Y: 50 + Width: 145 + MaxLength: 20 + Height: 25 + Label@AFTER_PASSWORD_LABEL: + X: 265 + Y: 49 + Width: 95 + Height: 25 + Align: Left + Text: (optional) + Label@LISTEN_PORT_LABEL: + X: 15 + Y: 84 + Width: 90 + Height: 25 + Align: Right + Text: Port: TextField@LISTEN_PORT: - X:110 - Y:85 - Width:50 - MaxLength:5 - Height:25 - Text:1234 + X: 110 + Y: 85 + Width: 50 + MaxLength: 5 + Height: 25 + Text: 1234 Label@EXTERNAL_PORT_LABEL: - X:180 - Y:84 - Width:90 - Height:25 - Align:Right - Text:External Port: + X: 180 + Y: 84 + Width: 90 + Height: 25 + Align: Right + Text: External Port: TextField@EXTERNAL_PORT: - X:275 - Y:85 - Width:50 - MaxLength:5 - Height:25 - Text:1234 + X: 275 + Y: 85 + Width: 50 + MaxLength: 5 + Height: 25 + Text: 1234 Checkbox@ADVERTISE_CHECKBOX: - X:110 - Y:135 - Width:150 - Height:20 - Font:Regular - Text:Advertise Online + X: 110 + Y: 135 + Width: 150 + Height: 20 + Font: Regular + Text: Advertise Online Checkbox@UPNP_CHECKBOX: - X:110 - Y:165 - Width:300 - Height:20 - Font:Regular - Text:Automatic port forwarding + X: 110 + Y: 165 + Width: 300 + Height: 20 + Font: Regular + Text: Automatic port forwarding Button@BACK_BUTTON: - Key:escape - X:0 - Y:214 - Width:140 - Height:35 - Text:Back + Key: escape + X: 0 + Y: 214 + Width: 140 + Height: 35 + Text: Back Button@MAP_BUTTON: - X:231 - Y:214 - Width:140 - Height:35 - Text:Choose Map + X: 231 + Y: 214 + Width: 140 + Height: 35 + Text: Choose Map Button@CREATE_BUTTON: - Key:return - X:381 - Y:214 - Width:140 - Height:35 - Text:Create + Key: return + X: 381 + Y: 214 + Width: 140 + Height: 35 + Text: Create + diff --git a/mods/cnc/chrome/credits.yaml b/mods/cnc/chrome/credits.yaml index 4dd40d3393..771feff94f 100644 --- a/mods/cnc/chrome/credits.yaml +++ b/mods/cnc/chrome/credits.yaml @@ -1,35 +1,36 @@ Container@CREDITS_PANEL: - Logic:CreditsLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 400)/2 - Width:400 - Height:435 + Logic: CreditsLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 400)/2 + Width: 400 + Height: 435 Children: Label@CREDITS_TITLE: - Width:PARENT_RIGHT - Y:0-25 - Font:BigBold - Contrast:true - Align:Center - Text:Credits + Width: PARENT_RIGHT + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center + Text: Credits Background@bg: - Width:PARENT_RIGHT - Height:400 - Background:panel-black + Width: PARENT_RIGHT + Height: 400 + Background: panel-black Children: ScrollPanel@CREDITS_DISPLAY: - X:15 - Y:15 - Width:PARENT_RIGHT - 30 - Height:PARENT_BOTTOM - 30 + X: 15 + Y: 15 + Width: PARENT_RIGHT - 30 + Height: PARENT_BOTTOM - 30 Children: Label@CREDITS_TEMPLATE: - X:8 - Height:16 - VAlign:Top + X: 8 + Height: 16 + VAlign: Top Button@BACK_BUTTON: - Y:399 - Width:140 - Height:35 - Text:Back - Key:escape + Y: 399 + Width: 140 + Height: 35 + Text: Back + Key: escape + diff --git a/mods/cnc/chrome/dialogs.yaml b/mods/cnc/chrome/dialogs.yaml index c10968cc89..28ac34187d 100644 --- a/mods/cnc/chrome/dialogs.yaml +++ b/mods/cnc/chrome/dialogs.yaml @@ -1,139 +1,140 @@ ScrollPanel@LABEL_DROPDOWN_TEMPLATE: - Width:DROPDOWN_WIDTH - Background:panel-black + Width: DROPDOWN_WIDTH + Background: panel-black Children: ScrollItem@HEADER: - Width:PARENT_RIGHT-27 - Height:13 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 13 + X: 2 + Y: 0 + Visible: false Children: Label@LABEL: - Font:TinyBold - Width:PARENT_RIGHT - Height:10 - Align:Center + Font: TinyBold + Width: PARENT_RIGHT + Height: 10 + Align: Center ScrollItem@TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Label@LABEL: - X:10 - Width:PARENT_RIGHT-20 - Height:25 + X: 10 + Width: PARENT_RIGHT-20 + Height: 25 ScrollPanel@RACE_DROPDOWN_TEMPLATE: - Width:DROPDOWN_WIDTH - Background:panel-black + Width: DROPDOWN_WIDTH + Background: panel-black Children: ScrollItem@TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Image@FLAG: - X:4 - Y:4 - Width:32 - Height:16 + X: 4 + Y: 4 + Width: 32 + Height: 16 Label@LABEL: - X:40 - Width:60 - Height:25 + X: 40 + Width: 60 + Height: 25 ScrollPanel@TEAM_DROPDOWN_TEMPLATE: - Width:DROPDOWN_WIDTH - Background:panel-black + Width: DROPDOWN_WIDTH + Background: panel-black Children: ScrollItem@TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Label@LABEL: - X:0 - Width:PARENT_RIGHT - Height:25 - Align:Center + X: 0 + Width: PARENT_RIGHT + Height: 25 + Align: Center ScrollPanel@SPECTATOR_DROPDOWN_TEMPLATE: - Width:DROPDOWN_WIDTH - Background:panel-black + Width: DROPDOWN_WIDTH + Background: panel-black Children: ScrollItem@HEADER: - Width:PARENT_RIGHT-27 - Height:13 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 13 + X: 2 + Y: 0 + Visible: false Children: Label@LABEL: - Font:TinyBold - Width:PARENT_RIGHT - Height:10 - Align:Center + Font: TinyBold + Width: PARENT_RIGHT + Height: 10 + Align: Center ScrollItem@TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Image@FLAG: - X:4 - Y:4 - Width:32 - Height:16 + X: 4 + Y: 4 + Width: 32 + Height: 16 Label@LABEL: - X:40 - Width:60 - Height:25 + X: 40 + Width: 60 + Height: 25 Label@NOFLAG_LABEL: - X:5 - Width:PARENT_RIGHT - Height:25 + X: 5 + Width: PARENT_RIGHT + Height: 25 Container@CONFIRM_PROMPT: - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 90)/2 - Width:370 - Height:125 + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 90)/2 + Width: 370 + Height: 125 Children: Label@PROMPT_TITLE: - Width:PARENT_RIGHT - Y:0-25 - Font:BigBold - Contrast:true - Align:Center + Width: PARENT_RIGHT + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center Background@bg: - Width:370 - Height:90 - Background:panel-black + Width: 370 + Height: 90 + Background: panel-black Children: Label@PROMPT_TEXT: - Y:(PARENT_BOTTOM-HEIGHT)/2 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + Y: (PARENT_BOTTOM-HEIGHT)/2 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Button@CANCEL_BUTTON: - Key:escape - Y:89 - Width:140 - Height:35 - Text:Cancel + Key: escape + Y: 89 + Width: 140 + Height: 35 + Text: Cancel Button@CONFIRM_BUTTON: - Key:return - X:230 - Y:89 - Width:140 - Height:35 - Text:Confirm + Key: return + X: 230 + Y: 89 + Width: 140 + Height: 35 + Text: Confirm + diff --git a/mods/cnc/chrome/directconnect.yaml b/mods/cnc/chrome/directconnect.yaml index a314afbf63..a7918dfe40 100644 --- a/mods/cnc/chrome/directconnect.yaml +++ b/mods/cnc/chrome/directconnect.yaml @@ -1,57 +1,58 @@ Container@DIRECTCONNECT_PANEL: - Logic:DirectConnectLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 90)/2 - Width:370 - Height:130 + Logic: DirectConnectLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 90)/2 + Width: 370 + Height: 130 Children: Label@TITLE: - Width:PARENT_RIGHT - Y:0-25 - Font:BigBold - Contrast:true - Align:Center - Text:Connect to Server + Width: PARENT_RIGHT + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center + Text: Connect to Server Background@bg: - Width:370 - Height:95 - Background:panel-black + Width: 370 + Height: 95 + Background: panel-black Children: Label@ADDRESS_LABEL: - X:50 - Y:14 - Width:95 - Height:25 - Align:Right - Text:Address: + X: 50 + Y: 14 + Width: 95 + Height: 25 + Align: Right + Text: Address: TextField@IP: - X:150 - Y:15 - Width:200 - Height:25 - Label@ADDRESS_LABEL: - X:50 - Y:49 - Width:95 - Height:25 - Align:Right - Text:Port: + X: 150 + Y: 15 + Width: 200 + Height: 25 + Label@PORT_LABEL: + X: 50 + Y: 49 + Width: 95 + Height: 25 + Align: Right + Text: Port: TextField@PORT: - X:150 - Y:50 - Width:200 - Height:25 + X: 150 + Y: 50 + Width: 200 + Height: 25 Button@BACK_BUTTON: - Key:escape - X:0 - Y:94 - Width:140 - Height:35 - Text:Back + Key: escape + X: 0 + Y: 94 + Width: 140 + Height: 35 + Text: Back Button@JOIN_BUTTON: - Key:return - X:230 - Y:94 - Width:140 - Height:35 - Text:Join + Key: return + X: 230 + Y: 94 + Width: 140 + Height: 35 + Text: Join + diff --git a/mods/cnc/chrome/ingame-chat.yaml b/mods/cnc/chrome/ingame-chat.yaml index ce6b1e1c1f..6fdcc04bbb 100644 --- a/mods/cnc/chrome/ingame-chat.yaml +++ b/mods/cnc/chrome/ingame-chat.yaml @@ -1,66 +1,67 @@ Container@CHAT_PANEL: - X:(WINDOW_RIGHT - WIDTH) / 2 - Y:WINDOW_BOTTOM - HEIGHT - 15 - Width:550 - Height:194 - Logic:IngameChatLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: WINDOW_BOTTOM - HEIGHT - 15 + Width: 550 + Height: 194 + Logic: IngameChatLogic Children: Container@CHAT_OVERLAY: - Width:PARENT_RIGHT-24 - Height:PARENT_BOTTOM-25 - Visible:false + Width: PARENT_RIGHT-24 + Height: PARENT_BOTTOM-25 + Visible: false Children: ChatDisplay@CHAT_DISPLAY: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM - RemoveTime:250 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + RemoveTime: 250 UseContrast: yes Container@CHAT_CHROME: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Button@CHAT_MODE: - Y:PARENT_BOTTOM - HEIGHT - Width:50 - Height:25 - Text:Team - Font:Bold + Y: PARENT_BOTTOM - HEIGHT + Width: 50 + Height: 25 + Text: Team + Font: Bold TextField@CHAT_TEXTFIELD: - X:55 - Y:PARENT_BOTTOM - HEIGHT - Width:466 - Height:25 + X: 55 + Y: PARENT_BOTTOM - HEIGHT + Width: 466 + Height: 25 Button@CHAT_CLOSE: - X:526 - Y:PARENT_BOTTOM - HEIGHT - Width:24 - Height:25 + X: 526 + Y: PARENT_BOTTOM - HEIGHT + Width: 24 + Height: 25 Children: Image: - ImageCollection:lobby-bits - ImageName:kick - X:6 - Y:8 + ImageCollection: lobby-bits + ImageName: kick + X: 6 + Y: 8 ScrollPanel@CHAT_SCROLLPANEL: - Y:PARENT_BOTTOM - HEIGHT - 30 - Width:550 - Height:164 - ItemSpacing:4 - Align:Bottom + Y: PARENT_BOTTOM - HEIGHT - 30 + Width: 550 + Height: 164 + ItemSpacing: 4 + Align: Bottom Children: Container@CHAT_TEMPLATE: - X:2 - Width:PARENT_RIGHT-27 - Height:16 + X: 2 + Width: PARENT_RIGHT-27 + Height: 16 Children: Label@NAME: - X:3 - Width:50 - Height:15 - VAlign:Top + X: 3 + Width: 50 + Height: 15 + VAlign: Top Label@TEXT: - X:12 - Width:PARENT_RIGHT - 17 - Height:15 - WordWrap:true - VAlign:Top + X: 12 + Width: PARENT_RIGHT - 17 + Height: 15 + WordWrap: true + VAlign: Top + diff --git a/mods/cnc/chrome/ingame.yaml b/mods/cnc/chrome/ingame.yaml index 8d53f5ac7b..17d9a09f36 100644 --- a/mods/cnc/chrome/ingame.yaml +++ b/mods/cnc/chrome/ingame.yaml @@ -1,395 +1,397 @@ Container@INGAME_ROOT: - Logic:CncIngameChromeLogic + Logic: CncIngameChromeLogic Children: LogicTicker@DISCONNECT_WATCHER: - Logic:DisconnectWatcherLogic + Logic: DisconnectWatcherLogic Container@GAME_TIMER_BLOCK: - Logic:GameTimerLogic - X:WINDOW_RIGHT/2 - WIDTH - Width:100 - Height:55 + Logic: GameTimerLogic + X: WINDOW_RIGHT/2 - WIDTH + Width: 100 + Height: 55 Children: Label@GAME_TIMER: - Width:PARENT_RIGHT - Height:30 - Align:Center - Font:Title - Contrast:true + Width: PARENT_RIGHT + Height: 30 + Align: Center + Font: Title + Contrast: true Label@GAME_TIMER_STATUS: - Y:35 - Width:PARENT_RIGHT - Height:15 - Align:Center - Font:Bold - Contrast:true + Y: 35 + Width: PARENT_RIGHT + Height: 15 + Align: Center + Font: Bold + Contrast: true StrategicProgress@STRATEGIC_PROGRESS: X: WINDOW_RIGHT/2 Y: 40 Container@PERFORMANCE_INFO: - Logic:PerfDebugLogic + Logic: PerfDebugLogic Children: Label@PERF_TEXT: - X:WINDOW_RIGHT - 200 - Y:WINDOW_BOTTOM - 70 - Width:170 - Height:40 - Contrast:true - VAlign:Top + X: WINDOW_RIGHT - 200 + Y: WINDOW_BOTTOM - 70 + Width: 170 + Height: 40 + Contrast: true + VAlign: Top Background@GRAPH_BG: - X:10 - Y:WINDOW_BOTTOM-HEIGHT-10 - Width:220 - Height:220 - Background:panel-black + X: 10 + Y: WINDOW_BOTTOM-HEIGHT-10 + Width: 220 + Height: 220 + Background: panel-black Children: PerfGraph@GRAPH: - X:10 - Y:10 - Width:200 - Height:200 + X: 10 + Y: 10 + Width: 200 + Height: 200 WorldInteractionController@INTERACTION_CONTROLLER: - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM ViewportController: - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM - TooltipContainer:TOOLTIP_CONTAINER + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + TooltipContainer: TOOLTIP_CONTAINER Container@PLAYER_ROOT: TooltipContainer@TOOLTIP_CONTAINER: Container@OBSERVER_WIDGETS: Children: Button@OPTIONS_BUTTON: - Key:escape - X:WINDOW_RIGHT-202 - Y:5 - Width:30 - Height:25 - Font:Bold + Key: escape + X: WINDOW_RIGHT-202 + Y: 5 + Width: 30 + Height: 25 + Font: Bold TooltipText: Menu - TooltipContainer:TOOLTIP_CONTAINER + TooltipContainer: TOOLTIP_CONTAINER Children: Image: - X:7 - Y:5 - ImageCollection:order-icons - ImageName:options + X: 7 + Y: 5 + ImageCollection: order-icons + ImageName: options Background@RADAR: - X:WINDOW_RIGHT-173 - Y:5 - Width:168 - Height:168 - Background:panel-gray + X: WINDOW_RIGHT-173 + Y: 5 + Width: 168 + Height: 168 + Background: panel-gray Children: Radar: - X:1 - Y:1 - Width:PARENT_RIGHT-2 - Height:PARENT_BOTTOM-2 + X: 1 + Y: 1 + Width: PARENT_RIGHT-2 + Height: PARENT_BOTTOM-2 Background@REPLAY_PLAYER: - Logic:ReplayControlBarLogic - X:WINDOW_RIGHT-173 - Y:195 - Width:168 - Height:46 - Background:panel-black - Visible:false + Logic: ReplayControlBarLogic + X: WINDOW_RIGHT-173 + Y: 195 + Width: 168 + Height: 46 + Background: panel-black + Visible: false Children: Button@BUTTON_PAUSE: - X:14 - Y:10 - Width:26 - Height:26 - IgnoreChildMouseOver:true + X: 14 + Y: 10 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true Children: Image@IMAGE_PAUSE: - X:5 - Y:5 - Width:16 - Height:16 - ImageCollection:music - ImageName:pause + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: music + ImageName: pause Button@BUTTON_SLOW: - X:14 + 38 - Y:10 - Width:26 - Height:26 - IgnoreChildMouseOver:true + X: 14 + 38 + Y: 10 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true Children: Image@IMAGE_SLOW: - X:5 - Y:5 - Width:16 - Height:16 - ImageCollection:music - ImageName:slowmo + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: music + ImageName: slowmo Button@BUTTON_NORMALSPEED: - X:14 + 38*2 - Y:10 - Width:26 - Height:26 - IgnoreChildMouseOver:true + X: 14 + 38*2 + Y: 10 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true Children: Image@IMAGE_PLAY: - X:5 - Y:5 - Width:16 - Height:16 - ImageCollection:music - ImageName:play + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: music + ImageName: play Button@BUTTON_FASTFORWARD: - X:14 + 38*3 - Y:10 - Width:26 - Height:26 - IgnoreChildMouseOver:true + X: 14 + 38*3 + Y: 10 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true Children: Image@IMAGE_FASTFORWARD: - X:5 - Y:5 - Width:16 - Height:16 - ImageCollection:music - ImageName:fastforward + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: music + ImageName: fastforward DropDownButton@SHROUD_SELECTOR: - Logic:ObserverShroudSelectorLogic - X:WINDOW_RIGHT-173 - Y:172 - Width:168 - Height:25 - Font:Bold + Logic: ObserverShroudSelectorLogic + X: WINDOW_RIGHT-173 + Y: 172 + Width: 168 + Height: 25 + Font: Bold Children: LogicKeyListener@SHROUD_KEYHANDLER: Image@FLAG: - X:4 - Y:4 - Width:32 - Height:16 + X: 4 + Y: 4 + Width: 32 + Height: 16 Label@LABEL: - X:40 - Width:60 - Height:25 + X: 40 + Width: 60 + Height: 25 Label@NOFLAG_LABEL: - X:5 - Width:PARENT_RIGHT - Height:25 + X: 5 + Width: PARENT_RIGHT + Height: 25 Container@PLAYER_WIDGETS: Children: LogicKeyListener@CONTROLGROUP_KEYHANDLER: - Logic:ControlGroupLogic + Logic: ControlGroupLogic LogicTicker@SIDEBAR_TICKER: WorldCommand: - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM SupportPowers: - TooltipContainer:TOOLTIP_CONTAINER - X:10 - Y:10 - ReadyText:Ready - HoldText:On Hold + TooltipContainer: TOOLTIP_CONTAINER + X: 10 + Y: 10 + ReadyText: Ready + HoldText: On Hold Background@SIDEBAR_BACKGROUND: - Logic:OrderButtonsChromeLogic - X:WINDOW_RIGHT - 204 - Y:30 - Width:194 - Height:240 - Background:panel-black + Logic: OrderButtonsChromeLogic + X: WINDOW_RIGHT - 204 + Y: 30 + Width: 194 + Height: 240 + Background: panel-black Children: Button@OPTIONS_BUTTON: - Key:escape - X:22 - Y:0-24 - Width:30 - Height:25 - Font:Bold + Key: escape + X: 22 + Y: 0-24 + Width: 30 + Height: 25 + Font: Bold TooltipText: Menu - TooltipContainer:TOOLTIP_CONTAINER + TooltipContainer: TOOLTIP_CONTAINER Children: Image@ICON: - X:7 - Y:5 - ImageCollection:order-icons - ImageName:options + X: 7 + Y: 5 + ImageCollection: order-icons + ImageName: options Button@BEACON_BUTTON: - X:62 - Y:0-24 - Width:30 - Height:25 - Font:Bold + X: 62 + Y: 0-24 + Width: 30 + Height: 25 + Font: Bold TooltipText: Place Beacon - TooltipContainer:TOOLTIP_CONTAINER + TooltipContainer: TOOLTIP_CONTAINER Children: Image@ICON: - X:7 - Y:5 - ImageCollection:order-icons + X: 7 + Y: 5 + ImageCollection: order-icons Button@SELL_BUTTON: - X:102 - Y:0-24 - Width:30 - Height:25 - Font:Bold + X: 102 + Y: 0-24 + Width: 30 + Height: 25 + Font: Bold TooltipText: Sell - TooltipContainer:TOOLTIP_CONTAINER + TooltipContainer: TOOLTIP_CONTAINER Children: Image@ICON: - X:7 - Y:5 - ImageCollection:order-icons + X: 7 + Y: 5 + ImageCollection: order-icons Button@REPAIR_BUTTON: - X:142 - Y:0-24 - Width:30 - Height:25 - Font:Bold + X: 142 + Y: 0-24 + Width: 30 + Height: 25 + Font: Bold TooltipText: Repair - TooltipContainer:TOOLTIP_CONTAINER + TooltipContainer: TOOLTIP_CONTAINER Children: Image@ICON: - X:7 - Y:5 - ImageCollection:order-icons + X: 7 + Y: 5 + ImageCollection: order-icons Background@RADAR: - X:13 - Y:5 - Width:168 - Height:168 - Background:panel-gray + X: 13 + Y: 5 + Width: 168 + Height: 168 + Background: panel-gray Children: Radar@RADAR_MINIMAP: - X:1 - Y:1 - Width:PARENT_RIGHT-2 - Height:PARENT_BOTTOM-2 - WorldInteractionController:INTERACTION_CONTROLLER + X: 1 + Y: 1 + Width: PARENT_RIGHT-2 + Height: PARENT_BOTTOM-2 + WorldInteractionController: INTERACTION_CONTROLLER Background@POWERBAR_PANEL: - X:4 - Y:5 - Width:10 - Height:168 - Background:panel-black + X: 4 + Y: 5 + Width: 10 + Height: 168 + Background: panel-black Children: ResourceBar@POWERBAR: - X:1 - Y:1 - Width:PARENT_RIGHT-2 - Height:PARENT_BOTTOM-2 - TooltipContainer:TOOLTIP_CONTAINER - TooltipTemplate:SIMPLE_TOOLTIP - IndicatorImage:indicator-left + X: 1 + Y: 1 + Width: PARENT_RIGHT-2 + Height: PARENT_BOTTOM-2 + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + IndicatorImage: indicator-left Background@SILOBAR_PANEL: - X:180 - Y:5 - Width:10 - Height:168 - Background:panel-black + X: 180 + Y: 5 + Width: 10 + Height: 168 + Background: panel-black Children: ResourceBar@SILOBAR: - X:1 - Y:1 - Width:PARENT_RIGHT-2 - Height:PARENT_BOTTOM-2 - TooltipContainer:TOOLTIP_CONTAINER - TooltipTemplate:SIMPLE_TOOLTIP - IndicatorImage:indicator-right + X: 1 + Y: 1 + Width: PARENT_RIGHT-2 + Height: PARENT_BOTTOM-2 + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + IndicatorImage: indicator-right Label@CASH: - Y:170 - Width:PARENT_RIGHT - Height:25 - Align:Center - Font:Bold + Y: 170 + Width: PARENT_RIGHT + Height: 25 + Align: Center + Font: Bold Container@PRODUCTION_TYPES: - X:12 - Y:197 - Width:170 - Height:30 + X: 12 + Y: 197 + Width: 170 + Height: 30 Children: ProductionTypeButton@BUILDING: - Width:30 - Height:30 + Width: 30 + Height: 30 Key: q TooltipText: Buildings - TooltipContainer:TOOLTIP_CONTAINER - ProductionGroup:Building + TooltipContainer: TOOLTIP_CONTAINER + ProductionGroup: Building Children: Image@ICON: - X:7 - Y:7 - ImageCollection:production-icons + X: 7 + Y: 7 + ImageCollection: production-icons ProductionTypeButton@DEFENSE: - X:35 - Width:30 - Height:30 + X: 35 + Width: 30 + Height: 30 Key: w TooltipText: Defense - TooltipContainer:TOOLTIP_CONTAINER - ProductionGroup:Defense + TooltipContainer: TOOLTIP_CONTAINER + ProductionGroup: Defense Children: Image@ICON: - X:7 - Y:7 - ImageCollection:production-icons + X: 7 + Y: 7 + ImageCollection: production-icons ProductionTypeButton@INFANTRY: - X:70 - Width:30 - Height:30 + X: 70 + Width: 30 + Height: 30 Key: e TooltipText: Infantry - TooltipContainer:TOOLTIP_CONTAINER - ProductionGroup:Infantry + TooltipContainer: TOOLTIP_CONTAINER + ProductionGroup: Infantry Children: Image@ICON: - X:7 - Y:7 - ImageCollection:production-icons + X: 7 + Y: 7 + ImageCollection: production-icons ProductionTypeButton@VEHICLE: - X:105 - Width:30 - Height:30 + X: 105 + Width: 30 + Height: 30 Key: r TooltipText: Vehicles - TooltipContainer:TOOLTIP_CONTAINER - ProductionGroup:Vehicle + TooltipContainer: TOOLTIP_CONTAINER + ProductionGroup: Vehicle Children: Image@ICON: - X:7 - Y:7 - ImageCollection:production-icons + X: 7 + Y: 7 + ImageCollection: production-icons ProductionTypeButton@AIRCRAFT: - X:140 - Width:30 - Height:30 + X: 140 + Width: 30 + Height: 30 Key: t TooltipText: Aircraft - TooltipContainer:TOOLTIP_CONTAINER - ProductionGroup:Aircraft + TooltipContainer: TOOLTIP_CONTAINER + ProductionGroup: Aircraft Children: Image@ICON: - X:7 - Y:7 - ImageCollection:production-icons + X: 7 + Y: 7 + ImageCollection: production-icons ProductionTabs@PRODUCTION_TABS: - Logic:ProductionTabsLogic - PaletteWidget:PRODUCTION_PALETTE - TypesContainer:PRODUCTION_TYPES - X:WINDOW_RIGHT - 204 - Y:268 - Width:194 - Height:20 + Logic: ProductionTabsLogic + PaletteWidget: PRODUCTION_PALETTE + TypesContainer: PRODUCTION_TYPES + X: WINDOW_RIGHT - 204 + Y: 268 + Width: 194 + Height: 20 ProductionPalette@PRODUCTION_PALETTE: - X:WINDOW_RIGHT - 204 - Y:287 - TooltipContainer:TOOLTIP_CONTAINER - ReadyText:@ready@ - HoldText:@on-hold@ + X: WINDOW_RIGHT - 204 + Y: 287 + TooltipContainer: TOOLTIP_CONTAINER + ReadyText: Ready + HoldText: On Hold + Background@FMVPLAYER: - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM - Background:panel-black + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + Background: panel-black Children: VqaPlayer@PLAYER: - X:0 - Y:0 - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM + X: 0 + Y: 0 + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + diff --git a/mods/cnc/chrome/ingamemenu.yaml b/mods/cnc/chrome/ingamemenu.yaml index c1cbb08689..606e1789a9 100644 --- a/mods/cnc/chrome/ingamemenu.yaml +++ b/mods/cnc/chrome/ingamemenu.yaml @@ -1,78 +1,80 @@ Container@INGAME_MENU_PANEL: - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:512 - Height:370 + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 512 + Height: 370 Children: Button@OBJECTIVES_BUTTON: - Y:PARENT_BOTTOM - 1 - Width:140 - Height:35 - Text:Objectives + Y: PARENT_BOTTOM - 1 + Width: 140 + Height: 35 + Text: Objectives Visible: false Button@DEBUG_BUTTON: - X:150 - Y:PARENT_BOTTOM - 1 - Width:140 - Height:35 - Text:Debug + X: 150 + Y: PARENT_BOTTOM - 1 + Width: 140 + Height: 35 + Text: Debug Visible: false + Container@INGAME_MENU: - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM - Logic:CncIngameMenuLogic + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + Logic: CncIngameMenuLogic Children: Image@EVA: - X:WINDOW_RIGHT-128-43 - Y:43 - Width:128 - Height:64 - ImageCollection:logos - ImageName:eva + X: WINDOW_RIGHT-128-43 + Y: 43 + Width: 128 + Height: 64 + ImageCollection: logos + ImageName: eva Label@VERSION_LABEL: - X:WINDOW_RIGHT-128-43 - Y:115 - Width:128 - Align:Center - Contrast:true + X: WINDOW_RIGHT-128-43 + Y: 115 + Width: 128 + Align: Center + Contrast: true Background@BORDER: - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM - Background:shellmapborder + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + Background: shellmapborder Container@MENU_BUTTONS: - X:(WINDOW_RIGHT-WIDTH)/2 - Y:WINDOW_BOTTOM-33-HEIGHT-10 - Width:740 - Height:35 + X: (WINDOW_RIGHT-WIDTH)/2 + Y: WINDOW_BOTTOM-33-HEIGHT-10 + Width: 740 + Height: 35 Children: Button@QUIT_BUTTON: - X:0 - Y:0 - Width:140 - Height:35 - Text:Abort Mission + X: 0 + Y: 0 + Width: 140 + Height: 35 + Text: Abort Mission Button@SURRENDER_BUTTON: - X:150 - Y:0 - Width:140 - Height:35 - Text:Surrender + X: 150 + Y: 0 + Width: 140 + Height: 35 + Text: Surrender Button@MUSIC_BUTTON: - X:300 - Y:0 - Width:140 - Height:35 - Text:Music + X: 300 + Y: 0 + Width: 140 + Height: 35 + Text: Music Button@SETTINGS_BUTTON: - X:450 - Y:0 - Width:140 - Height:35 - Text:Settings + X: 450 + Y: 0 + Width: 140 + Height: 35 + Text: Settings Button@RESUME_BUTTON: - Key:escape - X:600 - Y:0 - Width:140 - Height:35 - Text:Resume \ No newline at end of file + Key: escape + X: 600 + Y: 0 + Width: 140 + Height: 35 + Text: Resume + diff --git a/mods/cnc/chrome/install.yaml b/mods/cnc/chrome/install.yaml index bd07e6bab3..25c2d85913 100644 --- a/mods/cnc/chrome/install.yaml +++ b/mods/cnc/chrome/install.yaml @@ -1,206 +1,207 @@ Container@INSTALL_BACKGROUND: - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM Children: Image@NOD: - X:WINDOW_RIGHT/2-384 - Y:(WINDOW_BOTTOM-256)/2 - ImageCollection:logos - ImageName:nod-load + X: WINDOW_RIGHT/2-384 + Y: (WINDOW_BOTTOM-256)/2 + ImageCollection: logos + ImageName: nod-load Image@GDI: - X:WINDOW_RIGHT/2+128 - Y:(WINDOW_BOTTOM-256)/2 - ImageCollection:logos - ImageName:gdi-load + X: WINDOW_RIGHT/2+128 + Y: (WINDOW_BOTTOM-256)/2 + ImageCollection: logos + ImageName: gdi-load Image@EVA: - X:WINDOW_RIGHT-128-43 - Y:43 - Width:128 - Height:64 - ImageCollection:logos - ImageName:eva + X: WINDOW_RIGHT-128-43 + Y: 43 + Width: 128 + Height: 64 + ImageCollection: logos + ImageName: eva Background: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM - Background:shellmapborder + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Background: shellmapborder Container@INSTALL_PANEL: - Logic:InstallLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 150)/2 - Width:640 - Height:150 + Logic: InstallLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 150)/2 + Width: 640 + Height: 150 Children: Label@TITLE: - Width:PARENT_RIGHT - Y:0-25 - Font:BigBold - Contrast:true - Align:Center - Text:Install Game Content + Width: PARENT_RIGHT + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center + Text: Install Game Content Background@bg: - Width:640 - Height:150 - Background:panel-black + Width: 640 + Height: 150 + Background: panel-black Children: Image@INSTALL: - X:11 - Y:11 - ImageCollection:logos - ImageName:install + X: 11 + Y: 11 + ImageCollection: logos + ImageName: install Label@INFO: - X:170 - Y:35 - Width:PARENT_RIGHT-30 - Height:25 - Text:OpenRA requires the original C&C content files. - Font:Bold + X: 170 + Y: 35 + Width: PARENT_RIGHT-30 + Height: 25 + Text: OpenRA requires the original C&C content files. + Font: Bold Label@INFO2: - X:170 - Y:70 - Width:PARENT_RIGHT-185 - Height:25 - WordWrap:true - Text:OpenRA can download these files (excluding music and videos) from the internet, or you can install from the original C&C CDs. - Font:Bold + X: 170 + Y: 70 + Width: PARENT_RIGHT-185 + Height: 25 + WordWrap: true + Text: OpenRA can download these files (excluding music and videos) from the internet, or you can install from the original C&C CDs. + Font: Bold Button@BACK_BUTTON: - Y:149 - Width:140 - Height:35 - Text:Back + Y: 149 + Width: 140 + Height: 35 + Text: Back Button@DOWNLOAD_BUTTON: - X:350 - Y:149 - Width:140 - Height:35 - Text:Download + X: 350 + Y: 149 + Width: 140 + Height: 35 + Text: Download Button@INSTALL_BUTTON: - X:500 - Y:149 - Width:140 - Height:35 - Text:Use CD + X: 500 + Y: 149 + Width: 140 + Height: 35 + Text: Use CD Container@INSTALL_FROMCD_PANEL: - Logic:CncInstallFromCDLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 150)/2 - Width:640 - Height:150 + Logic: CncInstallFromCDLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 150)/2 + Width: 640 + Height: 150 Children: Label@TITLE: - Width:PARENT_RIGHT - Y:0-25 - Font:BigBold - Contrast:true - Align:Center - Text:Installing from CD + Width: PARENT_RIGHT + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center + Text: Installing from CD Background@bg: - Width:640 - Height:150 - Background:panel-black + Width: 640 + Height: 150 + Background: panel-black Children: Image@INSTALL: - X:11 - Y:11 - ImageCollection:logos - ImageName:install + X: 11 + Y: 11 + ImageCollection: logos + ImageName: install Container@INSTALLING: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Visible: false Children: ProgressBar@PROGRESS_BAR: - X:170 - Y:45 - Width:PARENT_RIGHT - 185 - Height:35 + X: 170 + Y: 45 + Width: PARENT_RIGHT - 185 + Height: 35 Label@STATUS_LABEL: - X:170 - Y:85 - Width:PARENT_RIGHT - 185 - Height:25 - Align:Left + X: 170 + Y: 85 + Width: PARENT_RIGHT - 185 + Height: 25 + Align: Left Container@INSERT_DISK: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Visible: false Children: Label@INFO: - X:170 - Y:35 - Width:PARENT_RIGHT-30 - Height:25 - Text:Disk not found - Font:Bold + X: 170 + Y: 35 + Width: PARENT_RIGHT-30 + Height: 25 + Text: Disk not found + Font: Bold Label@INFO2: - X:170 - Y:70 - Width:PARENT_RIGHT-185 - Height:25 - WordWrap:true - Text:Please insert one of the Command & Conquer install CDs then click Retry. - Font:Bold + X: 170 + Y: 70 + Width: PARENT_RIGHT-185 + Height: 25 + WordWrap: true + Text: Please insert one of the Command & Conquer install CDs then click Retry. + Font: Bold Button@BACK_BUTTON: - Key:escape - Y:149 - Width:140 - Height:35 - Text:Back + Key: escape + Y: 149 + Width: 140 + Height: 35 + Text: Back Button@RETRY_BUTTON: - Key:return - X:500 - Y:149 - Width:140 - Height:35 - Text:Retry + Key: return + X: 500 + Y: 149 + Width: 140 + Height: 35 + Text: Retry Container@INSTALL_DOWNLOAD_PANEL: - Logic:DownloadPackagesLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 150)/2 - Width:640 - Height:150 + Logic: DownloadPackagesLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 150)/2 + Width: 640 + Height: 150 Children: Label@TITLE: - Width:PARENT_RIGHT - Y:0-25 - Font:BigBold - Contrast:true - Align:Center - Text:Downloading Content + Width: PARENT_RIGHT + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center + Text: Downloading Content Background@bg: - Width:640 - Height:150 - Background:panel-black + Width: 640 + Height: 150 + Background: panel-black Children: Image@INSTALL: - X:11 - Y:11 - ImageCollection:logos - ImageName:install + X: 11 + Y: 11 + ImageCollection: logos + ImageName: install ProgressBar@PROGRESS_BAR: - X:170 - Y:45 - Width:PARENT_RIGHT - 185 - Height:35 + X: 170 + Y: 45 + Width: PARENT_RIGHT - 185 + Height: 35 Label@STATUS_LABEL: - X:170 - Y:85 - Width:PARENT_RIGHT - 185 - Height:25 - Align:Left - Text:Initialising... + X: 170 + Y: 85 + Width: PARENT_RIGHT - 185 + Height: 25 + Align: Left + Text: Initialising... Button@CANCEL_BUTTON: - Key:escape - Y:149 - Width:140 - Height:35 - Text:Cancel + Key: escape + Y: 149 + Width: 140 + Height: 35 + Text: Cancel Button@RETRY_BUTTON: - Key:return - X:500 - Y:149 - Width:140 - Height:35 - Text:Retry + Key: return + X: 500 + Y: 149 + Width: 140 + Height: 35 + Text: Retry + diff --git a/mods/cnc/chrome/irc.yaml b/mods/cnc/chrome/irc.yaml index f42d32970d..0165e25cf3 100644 --- a/mods/cnc/chrome/irc.yaml +++ b/mods/cnc/chrome/irc.yaml @@ -1,69 +1,70 @@ Container@SERVERBROWSER_IRC: - Logic:IrcLogic - Width:700 - Height:250 + Logic: IrcLogic + Width: 700 + Height: 250 Children: Container@IRC_CONTAINER: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: ScrollPanel@HISTORY_PANEL: - Width:565 - Height:PARENT_BOTTOM - 30 - ItemSpacing:5 + Width: 565 + Height: PARENT_BOTTOM - 30 + ItemSpacing: 5 Label@HISTORY_TEMPLATE: - X:5 - Width:530 - Height:25 - WordWrap:True + X: 5 + Width: 530 + Height: 25 + WordWrap: True TextField@INPUT_BOX: - Y:PARENT_BOTTOM - 25 - Width:565 - Height:25 + Y: PARENT_BOTTOM - 25 + Width: 565 + Height: 25 ScrollPanel@NICKNAME_PANEL: - X:570 - Width:130 - Height:PARENT_BOTTOM - 30 + X: 570 + Width: 130 + Height: PARENT_BOTTOM - 30 Label@NICKNAME_TEMPLATE: - X:5 + X: 5 Button@DISCONNECT_BUTTON: - X:570 - Y:PARENT_BOTTOM - 25 - Width:130 - Height:25 - Text:Disconnect - Font:Bold + X: 570 + Y: PARENT_BOTTOM - 25 + Width: 130 + Height: 25 + Text: Disconnect + Font: Bold Background@IRC_CONNECT_BG: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM - Background:scrollpanel-bg + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Background: scrollpanel-bg Children: Label@GLOBAL_CHAT_LABEL: - Y:PARENT_BOTTOM / 4 - Width:PARENT_RIGHT - Align:Center - Text:Global Chat - Font:Bold + Y: PARENT_BOTTOM / 4 + Width: PARENT_RIGHT + Align: Center + Text: Global Chat + Font: Bold Label@NICKNAME_LABEL: - X:200 - Y:PARENT_BOTTOM / 4 + 35 - Text:Nickname: + X: 200 + Y: PARENT_BOTTOM / 4 + 35 + Text: Nickname: TextField@NICKNAME_BOX: - X:270 - Y:PARENT_BOTTOM / 4 + 25 - Width:150 - Height:25 + X: 270 + Y: PARENT_BOTTOM / 4 + 25 + Width: 150 + Height: 25 Checkbox@CONNECT_AUTOMATICALLY_CHECKBOX: - X:270 - Y:PARENT_BOTTOM / 4 + 75 - Height:20 - Width:180 - Font:Regular - Text:Connect Automatically + X: 270 + Y: PARENT_BOTTOM / 4 + 75 + Height: 20 + Width: 180 + Font: Regular + Text: Connect Automatically Button@CONNECT_BUTTON: - X:430 - Y:PARENT_BOTTOM / 4 + 25 - Width:100 - Height:25 - Text:Connect - Font:Bold \ No newline at end of file + X: 430 + Y: PARENT_BOTTOM / 4 + 25 + Width: 100 + Height: 25 + Text: Connect + Font: Bold + diff --git a/mods/cnc/chrome/lobby-dialogs.yaml b/mods/cnc/chrome/lobby-dialogs.yaml index 28d849e52e..b7c49102d4 100644 --- a/mods/cnc/chrome/lobby-dialogs.yaml +++ b/mods/cnc/chrome/lobby-dialogs.yaml @@ -1,248 +1,249 @@ Background@KICK_CLIENT_DIALOG: - X:15 - Y:30 - Width:501 - Height:219 - Logic:KickClientLogic - Background:scrollpanel-bg + X: 15 + Y: 30 + Width: 501 + Height: 219 + Logic: KickClientLogic + Background: scrollpanel-bg Children: Label@TITLE: - X:0 - Y:40 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + X: 0 + Y: 40 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Label@TEXTA: - X:0 - Y:67 - Width:PARENT_RIGHT - Height:25 - Font:Regular - Align:Center - Text:You may also apply a temporary ban, preventing + X: 0 + Y: 67 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center + Text: You may also apply a temporary ban, preventing Label@TEXTB: - X:0 - Y:85 - Width:PARENT_RIGHT - Height:25 - Font:Regular - Align:Center - Text:them from joining for the remainder of this game. + X: 0 + Y: 85 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center + Text: them from joining for the remainder of this game. Checkbox@PREVENT_REJOINING_CHECKBOX: - X:(PARENT_RIGHT - WIDTH)/2 - Y:120 - Width:150 - Height:20 - Font:Regular - Text:Temporarily Ban + X: (PARENT_RIGHT - WIDTH)/2 + Y: 120 + Width: 150 + Height: 20 + Font: Regular + Text: Temporarily Ban Button@OK_BUTTON: - X:(PARENT_RIGHT - WIDTH)/2 + 75 - Y:155 - Width:120 - Height:25 - Text:Kick - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 + 75 + Y: 155 + Width: 120 + Height: 25 + Text: Kick + Font: Bold Button@CANCEL_BUTTON: - X:(PARENT_RIGHT - WIDTH)/2 - 75 - Y:155 - Width:120 - Height:25 - Text:Cancel - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 - 75 + Y: 155 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold Background@KICK_SPECTATORS_DIALOG: - X:15 - Y:30 - Width:501 - Height:219 - Logic:KickSpectatorsLogic - Background:scrollpanel-bg + X: 15 + Y: 30 + Width: 501 + Height: 219 + Logic: KickSpectatorsLogic + Background: scrollpanel-bg Children: Label@TITLE: - X:0 - Y:40 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center - Text:Kick Spectators + X: 0 + Y: 40 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: Kick Spectators Label@TEXT: - X:0 - Y:85 - Width:PARENT_RIGHT - Height:25 - Font:Regular - Align:Center + X: 0 + Y: 85 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center Button@OK_BUTTON: - X:(PARENT_RIGHT - WIDTH)/2 + 75 - Y:155 - Width:120 - Height:25 - Text:Ok - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 + 75 + Y: 155 + Width: 120 + Height: 25 + Text: Ok + Font: Bold Button@CANCEL_BUTTON: - X:(PARENT_RIGHT - WIDTH)/2 - 75 - Y:155 - Width:120 - Height:25 - Text:Cancel - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 - 75 + Y: 155 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold Background@LOBBY_OPTIONS_BIN: - X:15 - Y:30 - Width:501 - Height:219 - Background:scrollpanel-bg + X: 15 + Y: 30 + Width: 501 + Height: 219 + Background: scrollpanel-bg Children: Label@TITLE: - X:0 - Y:30 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + X: 0 + Y: 30 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Text: Map Options Container: - X:30 - Y:65 + X: 30 + Y: 65 Width: PARENT_RIGHT-60 Height: PARENT_BOTTOM-75 Children: Checkbox@SHROUD_CHECKBOX: - Width:230 - Height:20 - Font:Regular - Text:Shroud + Width: 230 + Height: 20 + Font: Regular + Text: Shroud Checkbox@FOG_CHECKBOX: - Y:35 - Width:230 - Height:20 - Font:Regular - Text:Fog of War + Y: 35 + Width: 230 + Height: 20 + Font: Regular + Text: Fog of War Checkbox@CRATES_CHECKBOX: - X:160 - Width:230 - Height:20 - Font:Regular - Text:Crates Appear + X: 160 + Width: 230 + Height: 20 + Font: Regular + Text: Crates Appear Checkbox@ALLYBUILDRADIUS_CHECKBOX: - X:160 - Y:35 - Width:230 - Height:20 - Font:Regular - Text:Build off Ally ConYards + X: 160 + Y: 35 + Width: 230 + Height: 20 + Font: Regular + Text: Build off Ally ConYards Checkbox@ALLOWCHEATS_CHECKBOX: - X:325 - Width:230 - Height:20 - Font:Regular - Text:Debug Menu + X: 325 + Width: 230 + Height: 20 + Font: Regular + Text: Debug Menu Label@STARTINGCASH_DESC: - X:10 - Y:72 - Width:70 - Height:25 - Font:Regular - Text:Starting Cash: - Align:Right + X: 10 + Y: 72 + Width: 70 + Height: 25 + Font: Regular + Text: Starting Cash: + Align: Right DropDownButton@STARTINGCASH_DROPDOWNBUTTON: - X:85 - Y:72 - Width:120 - Height:25 - Font:Regular - Text:$5000 + X: 85 + Y: 72 + Width: 120 + Height: 25 + Font: Regular + Text: $5000 Label@STARTINGUNITS_DESC: - X:PARENT_RIGHT - WIDTH - 135 - Y:72 - Width:120 - Height:25 - Text:Starting Units: - Align:Right + X: PARENT_RIGHT - WIDTH - 135 + Y: 72 + Width: 120 + Height: 25 + Text: Starting Units: + Align: Right DropDownButton@STARTINGUNITS_DROPDOWNBUTTON: - X:PARENT_RIGHT - WIDTH + 10 - Y:72 - Width:140 - Height:25 - Font:Regular + X: PARENT_RIGHT - WIDTH + 10 + Y: 72 + Width: 140 + Height: 25 + Font: Regular Label@DIFFICULTY_DESC: - X:PARENT_RIGHT - WIDTH - 135 - Y:107 - Width:120 - Height:25 - Text:Mission Difficulty: - Align:Right + X: PARENT_RIGHT - WIDTH - 135 + Y: 107 + Width: 120 + Height: 25 + Text: Mission Difficulty: + Align: Right DropDownButton@DIFFICULTY_DROPDOWNBUTTON: - X:PARENT_RIGHT - WIDTH + 10 - Y:107 - Width:140 - Height:25 - Font:Regular + X: PARENT_RIGHT - WIDTH + 10 + Y: 107 + Width: 140 + Height: 25 + Font: Regular Background@FORCE_START_DIALOG: - X:15 - Y:30 - Width:501 - Height:219 - Background:scrollpanel-bg + X: 15 + Y: 30 + Width: 501 + Height: 219 + Background: scrollpanel-bg Children: Label@TITLE: - X:0 - Y:40 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + X: 0 + Y: 40 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Text: Start Game? Label@TEXTA: - X:0 - Y:67 - Width:PARENT_RIGHT - Height:25 - Font:Regular - Align:Center - Text:One or more players are not yet ready. + X: 0 + Y: 67 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center + Text: One or more players are not yet ready. Label@TEXTB: - X:0 - Y:85 - Width:PARENT_RIGHT - Height:25 - Font:Regular - Align:Center - Text:Are you sure that you want to force start the game? + X: 0 + Y: 85 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center + Text: Are you sure that you want to force start the game? Container@KICK_WARNING: - Width:PARENT_RIGHT + Width: PARENT_RIGHT Children: Label@KICK_WARNING_A: - X:0 - Y:106 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center - Text:One or more clients are missing the selected + X: 0 + Y: 106 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: One or more clients are missing the selected Label@KICK_WARNING_B: - X:0 - Y:123 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center - Text:map, and will be kicked from the server. + X: 0 + Y: 123 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: map, and will be kicked from the server. Button@OK_BUTTON: - X:(PARENT_RIGHT - WIDTH)/2 + 75 - Y:155 - Width:120 - Height:25 - Text:Start - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 + 75 + Y: 155 + Width: 120 + Height: 25 + Text: Start + Font: Bold Button@CANCEL_BUTTON: - X:(PARENT_RIGHT - WIDTH)/2 - 75 - Y:155 - Width:120 - Height:25 - Text:Cancel - Font:Bold \ No newline at end of file + X: (PARENT_RIGHT - WIDTH)/2 - 75 + Y: 155 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold + diff --git a/mods/cnc/chrome/lobby-mappreview.yaml b/mods/cnc/chrome/lobby-mappreview.yaml index f0eeb944f4..e23c093db7 100644 --- a/mods/cnc/chrome/lobby-mappreview.yaml +++ b/mods/cnc/chrome/lobby-mappreview.yaml @@ -1,145 +1,146 @@ Container@LOBBY_MAP_PREVIEW: - Logic:LobbyMapPreviewLogic - X:PARENT_RIGHT-15-WIDTH - Y:30 - Width:194 - Height:250 + Logic: LobbyMapPreviewLogic + X: PARENT_RIGHT-15-WIDTH + Y: 30 + Width: 194 + Height: 250 Children: Container@MAP_AVAILABLE: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Background@MAP_BG: - Width:PARENT_RIGHT - Height:194 - Background:panel-gray + Width: PARENT_RIGHT + Height: 194 + Background: panel-gray Children: MapPreview@MAP_PREVIEW: - X:1 - Y:1 - Width:PARENT_RIGHT-2 - Height:PARENT_BOTTOM-2 - TooltipContainer:TOOLTIP_CONTAINER + X: 1 + Y: 1 + Width: PARENT_RIGHT-2 + Height: PARENT_BOTTOM-2 + TooltipContainer: TOOLTIP_CONTAINER Label@MAP_TITLE: - Y:197 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + Y: 197 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Label@MAP_TYPE: - Y:212 - Width:PARENT_RIGHT - Height:25 - Font:TinyBold - Align:Center + Y: 212 + Width: PARENT_RIGHT + Height: 25 + Font: TinyBold + Align: Center Label@MAP_AUTHOR: - Y:225 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center + Y: 225 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center Container@MAP_DOWNLOADABLE: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Background@MAP_BG: - Width:PARENT_RIGHT - Height:164 - Background:panel-gray + Width: PARENT_RIGHT + Height: 164 + Background: panel-gray Children: MapPreview@MAP_PREVIEW: - X:1 - Y:1 - Width:PARENT_RIGHT-2 - Height:PARENT_BOTTOM-2 - TooltipContainer:TOOLTIP_CONTAINER + X: 1 + Y: 1 + Width: PARENT_RIGHT-2 + Height: PARENT_BOTTOM-2 + TooltipContainer: TOOLTIP_CONTAINER Label@MAP_TITLE: - Y:167 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + Y: 167 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Label@MAP_TYPE: - Y:184 - Width:PARENT_RIGHT - Height:25 - Font:TinyBold - Align:Center + Y: 184 + Width: PARENT_RIGHT + Height: 25 + Font: TinyBold + Align: Center Label@MAP_AUTHOR: - Y:197 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center + Y: 197 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center Button@MAP_INSTALL: - Y:224 - Width:PARENT_RIGHT - Height:25 - Text:Install Map + Y: 224 + Width: PARENT_RIGHT + Height: 25 + Text: Install Map Container@MAP_PROGRESS: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Background@MAP_BG: - Width:PARENT_RIGHT - Height:164 - Background:panel-gray + Width: PARENT_RIGHT + Height: 164 + Background: panel-gray Children: MapPreview@MAP_PREVIEW: - X:1 - Y:1 - Width:PARENT_RIGHT-2 - Height:PARENT_BOTTOM-2 - TooltipContainer:TOOLTIP_CONTAINER + X: 1 + Y: 1 + Width: PARENT_RIGHT-2 + Height: PARENT_BOTTOM-2 + TooltipContainer: TOOLTIP_CONTAINER Label@MAP_TITLE: - Y:167 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + Y: 167 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Label@MAP_STATUS_SEARCHING: - Y:197 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center + Y: 197 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center Text: Searching OpenRA Resource Center... Container@MAP_STATUS_UNAVAILABLE: - Width:PARENT_RIGHT + Width: PARENT_RIGHT Children: Label@a: - Y:184 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center - Text:This map was not found on the + Y: 184 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: This map was not found on the Label@b: - Y:197 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center - Text:OpenRA Resource Center + Y: 197 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: OpenRA Resource Center Label@MAP_STATUS_ERROR: - Y:197 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center - Text:An error occurred during installation + Y: 197 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: An error occurred during installation Label@MAP_STATUS_DOWNLOADING: - Y:197 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center + Y: 197 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center ProgressBar@MAP_PROGRESSBAR: - Y:224 - Width:PARENT_RIGHT - Height:25 - Indeterminate:True + Y: 224 + Width: PARENT_RIGHT + Height: 25 + Indeterminate: True Button@MAP_RETRY: - Y:224 - Width:PARENT_RIGHT - Height:25 \ No newline at end of file + Y: 224 + Width: PARENT_RIGHT + Height: 25 + diff --git a/mods/cnc/chrome/lobby-playerbin.yaml b/mods/cnc/chrome/lobby-playerbin.yaml index 37ef7aba82..7f8a6bf5b6 100644 --- a/mods/cnc/chrome/lobby-playerbin.yaml +++ b/mods/cnc/chrome/lobby-playerbin.yaml @@ -1,323 +1,324 @@ ScrollPanel@LOBBY_PLAYER_BIN: - X:15 - Y:30 - Width:501 - Height:219 - ItemSpacing:5 + X: 15 + Y: 30 + Width: 501 + Height: 219 + ItemSpacing: 5 Children: Container@TEMPLATE_EDITABLE_PLAYER: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Image@ADMIN_INDICATOR: - ImageCollection:lobby-bits - ImageName:admin - X:2 - Visible:false + ImageCollection: lobby-bits + ImageName: admin + X: 2 + Visible: false Background@LATENCY: - Background:button - X:0 - Y:6 - Width:11 - Height:14 - Visible:false + Background: button + X: 0 + Y: 6 + Width: 11 + Height: 14 + Visible: false Children: ColorBlock@LATENCY_COLOR: - X:2 - Y:2 - Width:PARENT_RIGHT-4 - Height:PARENT_BOTTOM-4 + X: 2 + Y: 2 + Width: PARENT_RIGHT-4 + Height: PARENT_BOTTOM-4 ClientTooltipRegion@CLIENT_REGION: - TooltipContainer:TOOLTIP_CONTAINER - Template:CLIENT_TOOLTIP - Width:11 - Height:25 + TooltipContainer: TOOLTIP_CONTAINER + Template: CLIENT_TOOLTIP + Width: 11 + Height: 25 TextField@NAME: - Text:Name - X:15 - Width:190 - Height:25 - MaxLength:16 - Visible:false + Text: Name + X: 15 + Width: 190 + Height: 25 + MaxLength: 16 + Visible: false DropDownButton@SLOT_OPTIONS: - Text:Name - X:15 - Width:190 - Height:25 - Font:Regular - Visible:false + Text: Name + X: 15 + Width: 190 + Height: 25 + Font: Regular + Visible: false DropDownButton@COLOR: - Width:70 - Height:25 - X:210 - Font:Regular + Width: 70 + Height: 25 + X: 210 + Font: Regular IgnoreChildMouseOver: true Children: ColorBlock@COLORBLOCK: - X:5 - Y:6 - Width:PARENT_RIGHT-35 - Height:PARENT_BOTTOM-12 + X: 5 + Y: 6 + Width: PARENT_RIGHT-35 + Height: PARENT_BOTTOM-12 DropDownButton@FACTION: - Width:100 - Height:25 - X:285 - Font:Regular + Width: 100 + Height: 25 + X: 285 + Font: Regular IgnoreChildMouseOver: true Children: Image@FACTIONFLAG: - Width:32 - Height:16 - X:4 - Y:4 + Width: 32 + Height: 16 + X: 4 + Y: 4 Label@FACTIONNAME: - Text:Faction - Width:60 - Height:25 - X:40 - Y:0 + Text: Faction + Width: 60 + Height: 25 + X: 40 + Y: 0 DropDownButton@TEAM: - Width:50 - Height:25 - X:390 - Font:Regular + Width: 50 + Height: 25 + X: 390 + Font: Regular Image@STATUS_IMAGE: - Visible:false - X:450 - Y:4 - Width:20 - Height:20 - ImageCollection:checkbox-bits - ImageName:checked + Visible: false + X: 450 + Y: 4 + Width: 20 + Height: 20 + ImageCollection: checkbox-bits + ImageName: checked Checkbox@STATUS_CHECKBOX: - Visible:false - X:446 - Y:2 - Width:20 - Height:20 + Visible: false + X: 446 + Y: 2 + Width: 20 + Height: 20 Container@TEMPLATE_NONEDITABLE_PLAYER: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Image@ADMIN_INDICATOR: - ImageCollection:lobby-bits - ImageName:admin - X:2 - Visible:false + ImageCollection: lobby-bits + ImageName: admin + X: 2 + Visible: false Background@LATENCY: - Background:button - X:0 - Y:6 - Width:11 - Height:14 - Visible:false + Background: button + X: 0 + Y: 6 + Width: 11 + Height: 14 + Visible: false Children: ColorBlock@LATENCY_COLOR: - X:2 - Y:2 - Width:PARENT_RIGHT-4 - Height:PARENT_BOTTOM-4 + X: 2 + Y: 2 + Width: PARENT_RIGHT-4 + Height: PARENT_BOTTOM-4 ClientTooltipRegion@CLIENT_REGION: - TooltipContainer:TOOLTIP_CONTAINER - Template:CLIENT_TOOLTIP - Width:11 - Height:25 + TooltipContainer: TOOLTIP_CONTAINER + Template: CLIENT_TOOLTIP + Width: 11 + Height: 25 Label@NAME: - X:20 - Y:0-1 - Width:180 - Height:25 + X: 20 + Y: 0-1 + Width: 180 + Height: 25 Button@KICK: - Width:25 - Height:25 - X:180 + Width: 25 + Height: 25 + X: 180 Children: Image: - ImageCollection:lobby-bits - ImageName:kick - X:7 - Y:7 + ImageCollection: lobby-bits + ImageName: kick + X: 7 + Y: 7 ColorBlock@COLORBLOCK: - X:215 - Y:6 - Width:35 - Height:13 + X: 215 + Y: 6 + Width: 35 + Height: 13 Container@FACTION: - Width:100 - Height:25 - X:285 - Y:0 + Width: 100 + Height: 25 + X: 285 + Y: 0 Children: Image@FACTIONFLAG: - Width:30 - Height:15 - X:5 - Y:5 + Width: 30 + Height: 15 + X: 5 + Y: 5 Label@FACTIONNAME: - Text:Faction - Width:60 - Height:25 - X:40 - Y:0 + Text: Faction + Width: 60 + Height: 25 + X: 40 + Y: 0 Label@TEAM: - Align:Center - Width:25 - Height:25 - X:390 - Y:0 + Align: Center + Width: 25 + Height: 25 + X: 390 + Y: 0 Image@STATUS_IMAGE: - Visible:false - X:448 - Y:4 - Width:20 - Height:20 - ImageCollection:checkbox-bits - ImageName:checked + Visible: false + X: 448 + Y: 4 + Width: 20 + Height: 20 + ImageCollection: checkbox-bits + ImageName: checked Container@TEMPLATE_EMPTY: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: DropDownButton@SLOT_OPTIONS: - Text:Name - X:15 - Width:190 - Height:25 - Font:Regular - Visible:false + Text: Name + X: 15 + Width: 190 + Height: 25 + Font: Regular + Visible: false Label@NAME: - X:20 - Y:0-1 - Width:195 - Height:25 - Visible:false + X: 20 + Y: 0-1 + Width: 195 + Height: 25 + Visible: false Button@JOIN: - Text:Play in this slot - Font:Regular - Width:257 - Height:25 - X:210 - Y:0 + Text: Play in this slot + Font: Regular + Width: 257 + Height: 25 + X: 210 + Y: 0 Container@TEMPLATE_EDITABLE_SPECTATOR: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Image@ADMIN_INDICATOR: - ImageCollection:lobby-bits - ImageName:admin - X:2 - Visible:false + ImageCollection: lobby-bits + ImageName: admin + X: 2 + Visible: false Background@LATENCY: - Background:button - X:0 - Y:6 - Width:11 - Height:14 - Visible:false + Background: button + X: 0 + Y: 6 + Width: 11 + Height: 14 + Visible: false Children: ColorBlock@LATENCY_COLOR: - X:2 - Y:2 - Width:PARENT_RIGHT-4 - Height:PARENT_BOTTOM-4 + X: 2 + Y: 2 + Width: PARENT_RIGHT-4 + Height: PARENT_BOTTOM-4 ClientTooltipRegion@CLIENT_REGION: - TooltipContainer:TOOLTIP_CONTAINER - Template:CLIENT_TOOLTIP - Width:11 - Height:25 + TooltipContainer: TOOLTIP_CONTAINER + Template: CLIENT_TOOLTIP + Width: 11 + Height: 25 TextField@NAME: - Text:Name - X:15 - Width:190 - Height:25 - MaxLength:16 + Text: Name + X: 15 + Width: 190 + Height: 25 + MaxLength: 16 Label@SPECTATOR: - Text:Spectator - Width:315-55 - Height:25 - X:210 - Y:0 - Align:Center - Font:Bold + Text: Spectator + Width: 315-55 + Height: 25 + X: 210 + Y: 0 + Align: Center + Font: Bold Container@TEMPLATE_NONEDITABLE_SPECTATOR: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Image@ADMIN_INDICATOR: - ImageCollection:lobby-bits - ImageName:admin - X:2 - Visible:false + ImageCollection: lobby-bits + ImageName: admin + X: 2 + Visible: false Background@LATENCY: - Background:button - X:0 - Y:6 - Width:11 - Height:14 - Visible:false + Background: button + X: 0 + Y: 6 + Width: 11 + Height: 14 + Visible: false Children: ColorBlock@LATENCY_COLOR: - X:2 - Y:2 - Width:PARENT_RIGHT-4 - Height:PARENT_BOTTOM-4 + X: 2 + Y: 2 + Width: PARENT_RIGHT-4 + Height: PARENT_BOTTOM-4 ClientTooltipRegion@CLIENT_REGION: - TooltipContainer:TOOLTIP_CONTAINER - Template:CLIENT_TOOLTIP - Width:11 - Height:25 + TooltipContainer: TOOLTIP_CONTAINER + Template: CLIENT_TOOLTIP + Width: 11 + Height: 25 Label@NAME: - X:20 - Y:0-1 - Width:180 - Height:25 + X: 20 + Y: 0-1 + Width: 180 + Height: 25 Button@KICK: - Text:X - Width:25 - Height:23 - X:180 - Y:2 - Font:Bold + Text: X + Width: 25 + Height: 23 + X: 180 + Y: 2 + Font: Bold Label@SPECTATOR: - Text:Spectator - Width:315-55 - Height:25 - X:210 - Y:0 - Align:Center - Font:Bold + Text: Spectator + Width: 315-55 + Height: 25 + X: 210 + Y: 0 + Align: Center + Font: Bold Container@TEMPLATE_NEW_SPECTATOR: - X:5 - Y:0 - Width:474 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 474 + Height: 25 + Visible: false Children: Checkbox@TOGGLE_SPECTATORS: - Font:Regular - Width:190 - Height:20 - X:15 - Y:0 - Text:Allow Spectators? + Font: Regular + Width: 190 + Height: 20 + X: 15 + Y: 0 + Text: Allow Spectators? Button@SPECTATE: - Text:Spectate - Font:Regular - Width:257 - Height:25 - X:210 - Y:0 \ No newline at end of file + Text: Spectate + Font: Regular + Width: 257 + Height: 25 + X: 210 + Y: 0 + diff --git a/mods/cnc/chrome/lobby.yaml b/mods/cnc/chrome/lobby.yaml index 95102cd59b..d86d8aa139 100644 --- a/mods/cnc/chrome/lobby.yaml +++ b/mods/cnc/chrome/lobby.yaml @@ -1,145 +1,146 @@ Container@SERVER_LOBBY: - Logic:LobbyLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 500)/2 - Width:740 - Height:535 + Logic: LobbyLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 500)/2 + Width: 740 + Height: 535 Children: ColorPreviewManager@COLOR_MANAGER: Label@SERVER_NAME: - Width:740 - Y:0-25 - Font:BigBold - Contrast:true - Align:Center + Width: 740 + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center Background@bg: - Width:740 - Height:500 - Background:panel-black + Width: 740 + Height: 500 + Background: panel-black Children: Container@MAP_PREVIEW_ROOT: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM - Container@LABEL_CONTAINER: - X:20 - Y:5 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Container@LOBBY_LABEL_CONTAINER: + X: 20 + Y: 5 Children: Label@NAME: - Width:200 - Height:25 - Text:Player - Align:Center - Font:Bold + Width: 200 + Height: 25 + Text: Player + Align: Center + Font: Bold Label@COLOR: - Width:70 - Height:25 - X:210 - Text:Color - Align:Center - Font:Bold + Width: 70 + Height: 25 + X: 210 + Text: Color + Align: Center + Font: Bold Label@FACTION: - Width:100 - Height:25 - X:285 - Text:Faction - Align:Center - Font:Bold + Width: 100 + Height: 25 + X: 285 + Text: Faction + Align: Center + Font: Bold Label@TEAM: - Width:50 - Height:25 - X:390 - Text:Team - Align:Center - Font:Bold + Width: 50 + Height: 25 + X: 390 + Text: Team + Align: Center + Font: Bold Label@STATUS: - X:446 - Width:20 - Height:25 - Text:Ready - Align:Left - Font:Bold + X: 446 + Width: 20 + Height: 25 + Text: Ready + Align: Left + Font: Bold Container@PLAYER_BIN_ROOT: DropDownButton@SLOTS_DROPDOWNBUTTON: - X:15 - Y:254 - Width:150 - Height:25 - Text:Slot Admin + X: 15 + Y: 254 + Width: 150 + Height: 25 + Text: Slot Admin Button@OPTIONS_BUTTON: - X:170 - Y:254 - Width:112 - Height:25 + X: 170 + Y: 254 + Width: 112 + Height: 25 Button@CHANGEMAP_BUTTON: - X:287 - Y:254 - Width:112 - Height:25 - Text:Change Map + X: 287 + Y: 254 + Width: 112 + Height: 25 + Text: Change Map Button@START_GAME_BUTTON: - X:404 - Y:254 - Width:112 - Height:25 - Text:Start Game + X: 404 + Y: 254 + Width: 112 + Height: 25 + Text: Start Game ScrollPanel@CHAT_DISPLAY: - X:15 - Y:285 - Width:PARENT_RIGHT - 30 - Height:PARENT_BOTTOM - 324 - ItemSpacing:1 + X: 15 + Y: 285 + Width: PARENT_RIGHT - 30 + Height: PARENT_BOTTOM - 324 + ItemSpacing: 1 Children: Container@CHAT_TEMPLATE: - Width:PARENT_RIGHT-27 - Height:16 - X:2 - Y:0 + Width: PARENT_RIGHT-27 + Height: 16 + X: 2 + Y: 0 Children: Label@TIME: - X:3 - Width:50 - Height:15 - VAlign:Top + X: 3 + Width: 50 + Height: 15 + VAlign: Top Label@NAME: - X:45 - Width:50 - Height:15 - VAlign:Top + X: 45 + Width: 50 + Height: 15 + VAlign: Top Label@TEXT: - X:55 - Width:PARENT_RIGHT - 60 - Height:15 - WordWrap:true - VAlign:Top + X: 55 + Width: PARENT_RIGHT - 60 + Height: 15 + WordWrap: true + VAlign: Top TextField@CHAT_TEXTFIELD: - X:15 - Y:PARENT_BOTTOM - HEIGHT - 15 - Width:PARENT_RIGHT - 30 - Height:25 - LeftMargin:50 + X: 15 + Y: PARENT_BOTTOM - HEIGHT - 15 + Width: PARENT_RIGHT - 30 + Height: 25 + LeftMargin: 50 Children: Label@LABEL_CHATTYPE: - Y:0-1 - Width:45 - Height:25 - Align:Right - Text:Chat: + Y: 0-1 + Width: 45 + Height: 25 + Align: Right + Text: Chat: Button@DISCONNECT_BUTTON: - Y:499 - Width:140 - Height:35 - Text:Leave Game + Y: 499 + Width: 140 + Height: 35 + Text: Leave Game Key: escape Button@SETTINGS_BUTTON: - X:150 - Y:499 - Width:140 - Height:35 - Text:Settings + X: 150 + Y: 499 + Width: 140 + Height: 35 + Text: Settings Button@MUSIC_BUTTON: - X:300 - Y:499 - Width:140 - Height:35 - Text:Music + X: 300 + Y: 499 + Width: 140 + Height: 35 + Text: Music TooltipContainer@TOOLTIP_CONTAINER: + diff --git a/mods/cnc/chrome/mainmenu.yaml b/mods/cnc/chrome/mainmenu.yaml index 48f160e3cc..ce00d1e8cf 100644 --- a/mods/cnc/chrome/mainmenu.yaml +++ b/mods/cnc/chrome/mainmenu.yaml @@ -1,210 +1,211 @@ Container@MENU_BACKGROUND: - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM - Logic:CncMainMenuLogic + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + Logic: CncMainMenuLogic Children: Container@SHELLMAP_DESATURATION: - Logic:ShellmapDesaturationLogic + Logic: ShellmapDesaturationLogic Container@SHELLMAP_DECORATIONS: Children: Image@RETICLE: - X:(WINDOW_RIGHT-WIDTH)/2 - Y:(WINDOW_BOTTOM-HEIGHT)/2 - Width:512 - Height:512 - ImageCollection:shellmap - ImageName:reticle + X: (WINDOW_RIGHT-WIDTH)/2 + Y: (WINDOW_BOTTOM-HEIGHT)/2 + Width: 512 + Height: 512 + ImageCollection: shellmap + ImageName: reticle Label@REC: - X:(WINDOW_RIGHT-512)/2+10 - Y:(WINDOW_BOTTOM+512)/2-28 - Height:18 - Font:Bold - Text:REC + X: (WINDOW_RIGHT-512)/2+10 + Y: (WINDOW_BOTTOM+512)/2-28 + Height: 18 + Font: Bold + Text: REC Image@RECBLOCK: - X:(WINDOW_RIGHT-512)/2+40 - Y:(WINDOW_BOTTOM+512)/2-25 - Width:16 - Height:16 - ImageCollection:shellmapbits - ImageName:record + X: (WINDOW_RIGHT-512)/2+40 + Y: (WINDOW_BOTTOM+512)/2-25 + Width: 16 + Height: 16 + ImageCollection: shellmapbits + ImageName: record Container@SHELLMAP_DISABLED_DECORATIONS: Children: Image@NOD: - X:WINDOW_RIGHT/2-384 - Y:(WINDOW_BOTTOM-256)/2 - ImageCollection:logos - ImageName:nod-load + X: WINDOW_RIGHT/2-384 + Y: (WINDOW_BOTTOM-256)/2 + ImageCollection: logos + ImageName: nod-load Image@GDI: - X:WINDOW_RIGHT/2+128 - Y:(WINDOW_BOTTOM-256)/2 - ImageCollection:logos - ImageName:gdi-load + X: WINDOW_RIGHT/2+128 + Y: (WINDOW_BOTTOM-256)/2 + ImageCollection: logos + ImageName: gdi-load Image@EVA: - X:WINDOW_RIGHT-128-43 - Y:43 - Width:128 - Height:64 - ImageCollection:logos - ImageName:eva + X: WINDOW_RIGHT-128-43 + Y: 43 + Width: 128 + Height: 64 + ImageCollection: logos + ImageName: eva Label@VERSION_LABEL: - X:WINDOW_RIGHT-128-43 - Y:115 - Width:128 - Align:Center - Contrast:true + X: WINDOW_RIGHT-128-43 + Y: 115 + Width: 128 + Align: Center + Contrast: true Background@BORDER: - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM - Background:shellmapborder + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + Background: shellmapborder Container@MENUS: - X:(WINDOW_RIGHT-WIDTH)/2 - Y:WINDOW_BOTTOM-33-HEIGHT-10 - Width:890 - Height:35 + X: (WINDOW_RIGHT-WIDTH)/2 + Y: WINDOW_BOTTOM-33-HEIGHT-10 + Width: 890 + Height: 35 Children: Container@MAIN_MENU: - Width:PARENT_RIGHT + Width: PARENT_RIGHT Children: Label@MAINMENU_LABEL_TITLE: - X:0 - Y:0-30 - Width:PARENT_RIGHT - Height:20 - Text:Main Menu - Align:Center - Font:Bold - Contrast:True + X: 0 + Y: 0-30 + Width: PARENT_RIGHT + Height: 20 + Text: Main Menu + Align: Center + Font: Bold + Contrast: True Button@SINGLEPLAYER_BUTTON: - X:0 - Y:0 - Width:140 - Height:35 - Text:Singleplayer + X: 0 + Y: 0 + Width: 140 + Height: 35 + Text: Singleplayer Button@MULTIPLAYER_BUTTON: - X:150 - Y:0 - Width:140 - Height:35 - Text:Multiplayer + X: 150 + Y: 0 + Width: 140 + Height: 35 + Text: Multiplayer Button@SETTINGS_BUTTON: - X:300 - Y:0 - Width:140 - Height:35 - Text:Settings + X: 300 + Y: 0 + Width: 140 + Height: 35 + Text: Settings Button@EXTRAS_BUTTON: - X:450 - Y:0 - Width:140 - Height:35 - Text:Extras + X: 450 + Y: 0 + Width: 140 + Height: 35 + Text: Extras Button@MODS_BUTTON: - X:600 - Y:0 - Width:140 - Height:35 - Text:Mods + X: 600 + Y: 0 + Width: 140 + Height: 35 + Text: Mods Button@QUIT_BUTTON: - X:750 - Y:0 - Width:140 - Height:35 - Text:Quit + X: 750 + Y: 0 + Width: 140 + Height: 35 + Text: Quit Container@SINGLEPLAYER_MENU: - Width:PARENT_RIGHT - Visible:False + Width: PARENT_RIGHT + Visible: False Children: Label@SINGLEPLAYER_MENU_TITLE: - X:0 - Y:0-30 - Width:PARENT_RIGHT - Height:20 - Text:Singleplayer - Align:Center - Font:Bold - Contrast:True + X: 0 + Y: 0-30 + Width: PARENT_RIGHT + Height: 20 + Text: Singleplayer + Align: Center + Font: Bold + Contrast: True Button@SKIRMISH_BUTTON: - X:150 - Y:0 - Width:140 - Height:35 - Text:Skirmish + X: 150 + Y: 0 + Width: 140 + Height: 35 + Text: Skirmish Button@MISSIONS_BUTTON: - X:300 - Y:0 - Width:140 - Height:35 - Text:Missions + X: 300 + Y: 0 + Width: 140 + Height: 35 + Text: Missions Button@BACK_BUTTON: - Key:escape - X:600 - Y:0 - Width:140 - Height:35 - Text:Back + Key: escape + X: 600 + Y: 0 + Width: 140 + Height: 35 + Text: Back Container@EXTRAS_MENU: - Width:PARENT_RIGHT - Visible:False + Width: PARENT_RIGHT + Visible: False Children: Label@EXTRAS_MENU_TITLE: - X:0 - Y:0-30 - Width:PARENT_RIGHT - Height:20 - Text:Extras - Align:Center - Font:Bold - Contrast:True + X: 0 + Y: 0-30 + Width: PARENT_RIGHT + Height: 20 + Text: Extras + Align: Center + Font: Bold + Contrast: True Button@REPLAYS_BUTTON: - X:0 - Y:0 - Width:140 - Height:35 + X: 0 + Y: 0 + Width: 140 + Height: 35 Text: Replays Button@MUSIC_BUTTON: - X:150 - Y:0 - Width:140 - Height:35 - Text:Music + X: 150 + Y: 0 + Width: 140 + Height: 35 + Text: Music Button@ASSETBROWSER_BUTTON: - X:300 - Y:0 - Width:140 - Height:35 - Text:Asset Browser + X: 300 + Y: 0 + Width: 140 + Height: 35 + Text: Asset Browser Button@CREDITS_BUTTON: - X:450 - Y:0 - Width:140 - Height:35 - Text:Credits + X: 450 + Y: 0 + Width: 140 + Height: 35 + Text: Credits Button@BACK_BUTTON: - Key:escape - X:750 - Y:0 - Width:140 - Height:35 - Text:Back + Key: escape + X: 750 + Y: 0 + Width: 140 + Height: 35 + Text: Back Container@PERFORMANCE_INFO: - Logic:PerfDebugLogic + Logic: PerfDebugLogic Children: Label@PERF_TEXT: - X:40 - Y:40 - Width:170 - Height:40 - Contrast:true - VAlign:Top + X: 40 + Y: 40 + Width: 170 + Height: 40 + Contrast: true + VAlign: Top Background@GRAPH_BG: - X:WINDOW_RIGHT-WIDTH-31 - Y:31 - Width:220 - Height:220 - Background:panel-black + X: WINDOW_RIGHT-WIDTH-31 + Y: 31 + Width: 220 + Height: 220 + Background: panel-black Children: PerfGraph@GRAPH: - X:10 - Y:10 - Width:200 - Height:200 \ No newline at end of file + X: 10 + Y: 10 + Width: 200 + Height: 200 + diff --git a/mods/cnc/chrome/mapchooser.yaml b/mods/cnc/chrome/mapchooser.yaml index d3053f202b..95885e4125 100644 --- a/mods/cnc/chrome/mapchooser.yaml +++ b/mods/cnc/chrome/mapchooser.yaml @@ -1,102 +1,103 @@ Container@MAPCHOOSER_PANEL: - Logic:MapChooserLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 500)/2 - Width:740 - Height:535 + Logic: MapChooserLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 500)/2 + Width: 740 + Height: 535 Children: Label@TITLE: - Width:PARENT_RIGHT - Y:0-25 - Font:BigBold - Contrast:true - Align:Center + Width: PARENT_RIGHT + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center Text: Select Map Background@bg: - Width:PARENT_RIGHT - Height:500 - Background:panel-black + Width: PARENT_RIGHT + Height: 500 + Background: panel-black Children: Label@GAMEMODE_DESC: - X:PARENT_RIGHT - WIDTH - 220 - Y:10 - Width:200 - Height:25 + X: PARENT_RIGHT - WIDTH - 220 + Y: 10 + Width: 200 + Height: 25 Font: Bold Align: Right - Text:Filter: + Text: Filter: DropDownButton@GAMEMODE_FILTER: - X:PARENT_RIGHT - WIDTH - 15 - Y:10 - Width:200 - Height:25 + X: PARENT_RIGHT - WIDTH - 15 + Y: 10 + Width: 200 + Height: 25 ScrollPanel@MAP_LIST: - X:15 - Y:45 - Width:PARENT_RIGHT - 30 - Height:440 - ScrollVelocity:40 + X: 15 + Y: 45 + Width: PARENT_RIGHT - 30 + Height: 440 + ScrollVelocity: 40 Children: ScrollItem@MAP_TEMPLATE: - Width:168 - Height:217 - X:2 - Y:0 - Visible:false + Width: 168 + Height: 217 + X: 2 + Y: 0 + Visible: false Children: Background@PREVIEW_PLACEHOLDER: - X:(PARENT_RIGHT - WIDTH)/2 - Y:4 - Width:158 - Height:158 - Background:panel-black + X: (PARENT_RIGHT - WIDTH)/2 + Y: 4 + Width: 158 + Height: 158 + Background: panel-black ClickThrough: false MapPreview@PREVIEW: - X:(PARENT_RIGHT - WIDTH)/2 - Y:4 - Width:158 - Height:158 + X: (PARENT_RIGHT - WIDTH)/2 + Y: 4 + Width: 158 + Height: 158 Label@TITLE: - X:2 - Y:PARENT_BOTTOM-48 - Width:PARENT_RIGHT-4 - Align:Center + X: 2 + Y: PARENT_BOTTOM-48 + Width: PARENT_RIGHT-4 + Align: Center Label@DETAILS: - Width:PARENT_RIGHT-4 - X:2 - Y:PARENT_BOTTOM-34 - Align:Center - Font:Tiny + Width: PARENT_RIGHT-4 + X: 2 + Y: PARENT_BOTTOM-34 + Align: Center + Font: Tiny Label@AUTHOR: - Width:PARENT_RIGHT-4 - X:2 - Y:PARENT_BOTTOM-22 - Align:Center - Font:Tiny + Width: PARENT_RIGHT-4 + X: 2 + Y: PARENT_BOTTOM-22 + Align: Center + Font: Tiny Label@SIZE: - Width:PARENT_RIGHT-4 - X:2 - Y:PARENT_BOTTOM-10 - Align:Center - Font:Tiny + Width: PARENT_RIGHT-4 + X: 2 + Y: PARENT_BOTTOM-10 + Align: Center + Font: Tiny Button@BUTTON_CANCEL: - Key:escape - X:0 - Y:499 - Width:140 - Height:35 - Text:Cancel + Key: escape + X: 0 + Y: 499 + Width: 140 + Height: 35 + Text: Cancel Button@RANDOMMAP_BUTTON: - Key:space - X:PARENT_RIGHT - 150 - WIDTH - Y:499 - Width:140 - Height:35 - Text:Random + Key: space + X: PARENT_RIGHT - 150 - WIDTH + Y: 499 + Width: 140 + Height: 35 + Text: Random Button@BUTTON_OK: - Key:return - X:PARENT_RIGHT - WIDTH - Y:499 - Width:140 - Height:35 - Text:Ok + Key: return + X: PARENT_RIGHT - WIDTH + Y: 499 + Width: 140 + Height: 35 + Text: Ok + diff --git a/mods/cnc/chrome/missionbrowser.yaml b/mods/cnc/chrome/missionbrowser.yaml index dcfb2ad7ae..3a6a20199c 100644 --- a/mods/cnc/chrome/missionbrowser.yaml +++ b/mods/cnc/chrome/missionbrowser.yaml @@ -1,82 +1,83 @@ Container@MISSIONBROWSER_PANEL: - Logic:MissionBrowserLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:629 - Height:399 + Logic: MissionBrowserLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 629 + Height: 399 Children: Label@MISSIONBROWSER_LABEL_TITLE: - Y:0-25 - Width:PARENT_RIGHT - Text:Missions - Align:Center - Font:BigBold + Y: 0-25 + Width: PARENT_RIGHT + Text: Missions + Align: Center + Font: BigBold Background@BG: - Width:629 - Height:360 - Background:panel-black + Width: 629 + Height: 360 + Background: panel-black Children: ScrollPanel@MISSION_LIST: - X:15 - Y:15 - Width:260 - Height:330 + X: 15 + Y: 15 + Width: 260 + Height: 330 Children: ScrollItem@MISSION_TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:False + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: False Children: Label@TITLE: - X:10 - Width:PARENT_RIGHT-20 - Height:25 + X: 10 + Width: PARENT_RIGHT-20 + Height: 25 Container@MISSION_INFO: - X:290 - Y:15 - Width:324 - Height:334 + X: 290 + Y: 15 + Width: 324 + Height: 334 Children: Background@MISSION_BG: - X:0 - Y:0 - Width:324 - Height:160 - Background:panel-gray + X: 0 + Y: 0 + Width: 324 + Height: 160 + Background: panel-gray Children: MapPreview@MISSION_PREVIEW: - X:2 - Y:2 - Width:PARENT_RIGHT-4 - Height:PARENT_BOTTOM-4 - IgnoreMouseOver:True - IgnoreMouseInput:True - ShowSpawnPoints:False + X: 2 + Y: 2 + Width: PARENT_RIGHT-4 + Height: PARENT_BOTTOM-4 + IgnoreMouseOver: True + IgnoreMouseInput: True + ShowSpawnPoints: False ScrollPanel@MISSION_DESCRIPTION_PANEL: - X:0 - Y:171 - Width:324 - Height:159 + X: 0 + Y: 171 + Width: 324 + Height: 159 Children: Label@MISSION_DESCRIPTION: - X:5 - Y:5 - Width:290 - VAlign:Top + X: 5 + Y: 5 + Width: 290 + VAlign: Top Button@BACK_BUTTON: - X:0 - Y:359 - Width:140 - Height:35 - Text:Back - Font:Bold - Key:escape + X: 0 + Y: 359 + Width: 140 + Height: 35 + Text: Back + Font: Bold + Key: escape Button@STARTGAME_BUTTON: - X:PARENT_RIGHT - 140 - Y:359 - Width:140 - Height:35 - Text:Start Game - Font:Bold \ No newline at end of file + X: PARENT_RIGHT - 140 + Y: 359 + Width: 140 + Height: 35 + Text: Start Game + Font: Bold + diff --git a/mods/cnc/chrome/music.yaml b/mods/cnc/chrome/music.yaml index 809a11be0d..1b632ce6ed 100644 --- a/mods/cnc/chrome/music.yaml +++ b/mods/cnc/chrome/music.yaml @@ -1,252 +1,252 @@ Container@MUSIC_PANEL: - Logic:MusicPlayerLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 400)/2 - Width:360 - Height:435 + Logic: MusicPlayerLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 400)/2 + Width: 360 + Height: 435 Children: Label@TITLE: - Width:360 - Y:0-25 - Font:BigBold - Contrast:true - Align:Center - Text:Music Player + Width: 360 + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center + Text: Music Player Background@bg: - Width:360 - Height:400 - Background:panel-black + Width: 360 + Height: 400 + Background: panel-black Children: ScrollPanel@MUSIC_LIST: - X:15 - Y:30 - Width:330 - Height:275 + X: 15 + Y: 30 + Width: 330 + Height: 275 Children: ScrollItem@MUSIC_TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Label@TITLE: - X:10 - Width:PARENT_RIGHT-50 - Height:25 + X: 10 + Width: PARENT_RIGHT-50 + Height: 25 Label@LENGTH: - Width:50 - X:PARENT_RIGHT-60 - Align:Right - Height:25 + Width: 50 + X: PARENT_RIGHT-60 + Align: Right + Height: 25 Container@LABEL_CONTAINER: - X:25 - Y:5 - Width:330 + X: 25 + Y: 5 + Width: 330 Children: Label@TITLE: - Width:100 - Height:25 - Text:Track - Align:Center - Font:Bold + Width: 100 + Height: 25 + Text: Track + Align: Center + Font: Bold Label@TYPE: - X:PARENT_RIGHT-85 - Height:25 - Width:50 - Text:Length - Align:Right - Font:Bold + X: PARENT_RIGHT-85 + Height: 25 + Width: 50 + Text: Length + Align: Right + Font: Bold Container@BUTTONS: - X:15 - Y:PARENT_BOTTOM-HEIGHT-40 - Width:170 + X: 15 + Y: PARENT_BOTTOM-HEIGHT-40 + Width: 170 Children: Button@BUTTON_PREV: - Width:26 - Height:26 - IgnoreChildMouseOver:true + Width: 26 + Height: 26 + IgnoreChildMouseOver: true Children: Image@IMAGE_PREV: - X:5 - Y:5 - Width:16 - Height:16 - ImageCollection:music - ImageName:prev + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: music + ImageName: prev Button@BUTTON_PLAY: - X:35 - Width:26 - Height:26 - IgnoreChildMouseOver:true + X: 35 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true Children: Image@IMAGE_PLAY: - X:5 - Y:5 - Width:16 - Height:16 - ImageCollection:music - ImageName:play + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: music + ImageName: play Button@BUTTON_PAUSE: - Visible:false - X:35 - Width:26 - Height:26 - IgnoreChildMouseOver:true + Visible: false + X: 35 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true Children: Image@IMAGE_PAUSE: - X:5 - Y:5 - Width:16 - Height:16 - ImageCollection:music - ImageName:pause + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: music + ImageName: pause Button@BUTTON_STOP: - X:70 - Width:26 - Height:26 - IgnoreChildMouseOver:true + X: 70 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true Children: Image@IMAGE_STOP: - X:5 - Y:5 - Width:16 - Height:16 - ImageCollection:music - ImageName:stop + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: music + ImageName: stop Button@BUTTON_NEXT: - X:105 - Width:26 - Height:26 - IgnoreChildMouseOver:true + X: 105 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true Children: Image@IMAGE_NEXT: - X:5 - Y:5 - Width:16 - Height:16 - ImageCollection:music - ImageName:next + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: music + ImageName: next Slider@MUSIC_SLIDER: - X:145 - Y:3 - Width:185 - Height:20 - Ticks:5 + X: 145 + Y: 3 + Width: 185 + Height: 20 + Ticks: 5 Label@TIME_LABEL: - X:(PARENT_RIGHT-WIDTH)/2 - Y:315 - Width:140 - Height:25 - Align:Center + X: (PARENT_RIGHT-WIDTH)/2 + Y: 315 + Width: 140 + Height: 25 + Align: Center Checkbox@SHUFFLE: - X:15 - Y:320 - Width:85 - Height:20 - Font:Regular - Text:Shuffle + X: 15 + Y: 320 + Width: 85 + Height: 20 + Font: Regular + Text: Shuffle Checkbox@REPEAT: - X:PARENT_RIGHT-15-WIDTH - Y:320 - Width:70 - Height:20 - Font:Regular - Text:Loop + X: PARENT_RIGHT-15-WIDTH + Y: 320 + Width: 70 + Height: 20 + Font: Regular + Text: Loop Label@NO_MUSIC_LABEL: - X:15 - Y:147 - Width:330 - Height:25 - Font:Bold - Align:Center - Visible:false - Text:No Music Installed + X: 15 + Y: 147 + Width: 330 + Height: 25 + Font: Bold + Align: Center + Visible: false + Text: No Music Installed Button@BACK_BUTTON: - Key:escape - X:0 - Y:399 - Width:140 - Height:35 - Text:Back + Key: escape + X: 0 + Y: 399 + Width: 140 + Height: 35 + Text: Back Button@INSTALL_BUTTON: - Logic:CncInstallMusicLogic - X:220 - Y:399 - Width:140 - Height:35 - Text:Install Music + Logic: CncInstallMusicLogic + X: 220 + Y: 399 + Width: 140 + Height: 35 + Text: Install Music Container@INSTALL_MUSIC_PANEL: - Logic:CncInstallFromCDLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 150)/2 - Width:640 - Height:150 + Logic: CncInstallFromCDLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 150)/2 + Width: 640 + Height: 150 Children: Label@TITLE: - Width:PARENT_RIGHT - Y:0-25 - Font:BigBold - Contrast:true - Align:Center - Text:Install Music + Width: PARENT_RIGHT + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center + Text: Install Music Background@bg: - Width:640 - Height:150 - Background:panel-black + Width: 640 + Height: 150 + Background: panel-black Children: Image@INSTALL: - X:11 - Y:11 - ImageCollection:logos - ImageName:install + X: 11 + Y: 11 + ImageCollection: logos + ImageName: install Container@INSTALLING: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Visible: false Children: ProgressBar@PROGRESS_BAR: - X:170 - Y:45 - Width:PARENT_RIGHT - 185 - Height:35 + X: 170 + Y: 45 + Width: PARENT_RIGHT - 185 + Height: 35 Label@STATUS_LABEL: - X:170 - Y:85 - Width:PARENT_RIGHT - 185 - Height:25 - Align:Left + X: 170 + Y: 85 + Width: PARENT_RIGHT - 185 + Height: 25 + Align: Left Container@INSERT_DISK: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Visible: false Children: - Label@INFO: - X:170 - Y:35 - Width:PARENT_RIGHT-30 - Height:25 - Text:Disk not found - Font:Bold - Label@INFO2: - X:170 - Y:70 - Width:PARENT_RIGHT-185 - Height:25 - WordWrap:true - Text:Please insert one of the Command & Conquer install CDs then click Retry. - Font:Bold + Label@MUSIC_DISK_NOT_FOUND: + X: 170 + Y: 35 + Width: PARENT_RIGHT-30 + Height: 25 + Text: Disk not found + Font: Bold + Label@PLEASE_INSERT_MUSIC_DISK: + X: 170 + Y: 70 + Width: PARENT_RIGHT-185 + Height: 25 + WordWrap: true + Text: Please insert one of the Command & Conquer install CDs then click Retry. + Font: Bold Button@BACK_BUTTON: - Key:escape - Y:149 - Width:140 - Height:35 - Text:Back + Key: escape + Y: 149 + Width: 140 + Height: 35 + Text: Back Button@RETRY_BUTTON: - X:500 - Y:149 - Width:140 - Height:35 - Text:Retry + X: 500 + Y: 149 + Width: 140 + Height: 35 + Text: Retry diff --git a/mods/cnc/chrome/objectives.yaml b/mods/cnc/chrome/objectives.yaml index 73f757d287..2599c1e804 100644 --- a/mods/cnc/chrome/objectives.yaml +++ b/mods/cnc/chrome/objectives.yaml @@ -1,119 +1,120 @@ Container@CONQUEST_OBJECTIVES: - Logic:CncConquestObjectivesLogic - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Logic: CncConquestObjectivesLogic + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@TITLE: - Width:PARENT_RIGHT - Y:0-25 - Font:BigBold - Contrast:true - Align:Center + Width: PARENT_RIGHT + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center Background@bg: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM - Background:panel-black + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Background: panel-black Children: Label@PRIMARY: - X:15 - Y:10 - Width:482 - Height:25 - Font:MediumBold - Text:Primary Objectives: + X: 15 + Y: 10 + Width: 482 + Height: 25 + Font: MediumBold + Text: Primary Objectives: Label@STATUS: - X:190 - Y:10 - Width:482 - Height:25 - Font:MediumBold - Text:Incomplete + X: 190 + Y: 10 + Width: 482 + Height: 25 + Font: MediumBold + Text: Incomplete Checkbox@1: - X:25 - Y:45 - Width:482 - Height:20 - Font:Bold - Text:Crush all opposition! + X: 25 + Y: 45 + Width: 482 + Height: 20 + Font: Bold + Text: Crush all opposition! Disabled: yes Container@LABEL_CONTAINER: - X:17 - Y:80 - Width:393 + X: 17 + Y: 80 + Width: 393 Children: Label@NAME: - X:10 - Width:150 - Height:25 - Text:Player - Align:Center - Font:Bold + X: 10 + Width: 150 + Height: 25 + Text: Player + Align: Center + Font: Bold Label@RACE: - X:150 - Width:80 - Height:25 - Text:Faction - Font:Bold - Align:Center + X: 150 + Width: 80 + Height: 25 + Text: Faction + Font: Bold + Align: Center Label@STANCE: - X:240 - Width:70 - Height:25 - Text:Team - Font:Bold - Align:Center + X: 240 + Width: 70 + Height: 25 + Text: Team + Font: Bold + Align: Center Label@KILLS: - X:310 - Width:70 - Height:25 - Text:Kills - Font:Bold - Align:Center + X: 310 + Width: 70 + Height: 25 + Text: Kills + Font: Bold + Align: Center Label@DEATHS: - X:380 - Width:70 - Height:25 - Text:Deaths - Font:Bold - Align:Center + X: 380 + Width: 70 + Height: 25 + Text: Deaths + Font: Bold + Align: Center ScrollPanel@PLAYER_LIST: - X:15 - Y:105 - Width:482 - Height:250 - ItemSpacing:5 + X: 15 + Y: 105 + Width: 482 + Height: 250 + ItemSpacing: 5 Children: Container@PLAYER_TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 Children: Label@NAME: - X:10 - Width:150 - Height:25 + X: 10 + Width: 150 + Height: 25 Image@FACTIONFLAG: - X:159 - Y:6 - Width:32 - Height:16 + X: 159 + Y: 6 + Width: 32 + Height: 16 Label@FACTION: - X:195 - Width:40 - Height:25 + X: 195 + Width: 40 + Height: 25 Label@TEAM: - X:240 - Width:70 - Height:25 - Align:Center + X: 240 + Width: 70 + Height: 25 + Align: Center Label@KILLS: - X:310 - Width:70 - Height:25 - Align:Center + X: 310 + Width: 70 + Height: 25 + Align: Center Label@DEATHS: - X:380 - Width:70 - Height:25 - Align:Center + X: 380 + Width: 70 + Height: 25 + Align: Center + diff --git a/mods/cnc/chrome/replaybrowser.yaml b/mods/cnc/chrome/replaybrowser.yaml index b06c6e2b3d..f74b8822de 100644 --- a/mods/cnc/chrome/replaybrowser.yaml +++ b/mods/cnc/chrome/replaybrowser.yaml @@ -1,126 +1,127 @@ Container@REPLAYBROWSER_PANEL: - Logic:ReplayBrowserLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 500)/2 - Width:520 - Height:535 + Logic: ReplayBrowserLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 500)/2 + Width: 520 + Height: 535 Children: Label@TITLE: - Width:520 - Y:0-25 - Font:BigBold - Contrast:true - Align:Center - Text:Replay Viewer + Width: 520 + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center + Text: Replay Viewer Background@bg: - Width:520 - Height:500 - Background:panel-black + Width: 520 + Height: 500 + Background: panel-black Children: ScrollPanel@REPLAY_LIST: - X:15 - Y:15 - Width:282 - Height:PARENT_BOTTOM-30 + X: 15 + Y: 15 + Width: 282 + Height: PARENT_BOTTOM-30 Children: ScrollItem@REPLAY_TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Label@TITLE: - X:10 - Width:PARENT_RIGHT-20 - Height:25 + X: 10 + Width: PARENT_RIGHT-20 + Height: 25 Background@MAP_BG: - X:PARENT_RIGHT-WIDTH-15 - Y:15 - Width:194 - Height:194 - Background:panel-gray + X: PARENT_RIGHT-WIDTH-15 + Y: 15 + Width: 194 + Height: 194 + Background: panel-gray Children: MapPreview@MAP_PREVIEW: - X:1 - Y:1 - Width:192 - Height:192 - TooltipContainer:TOOLTIP_CONTAINER + X: 1 + Y: 1 + Width: 192 + Height: 192 + TooltipContainer: TOOLTIP_CONTAINER Container@REPLAY_INFO: - X:PARENT_RIGHT-WIDTH-15 - Y:15 - Width:194 - Height:PARENT_BOTTOM - 15 + X: PARENT_RIGHT-WIDTH-15 + Y: 15 + Width: 194 + Height: PARENT_BOTTOM - 15 Children: Label@MAP_TITLE: - Y:197 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + Y: 197 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Label@MAP_TYPE: - Y:212 - Width:PARENT_RIGHT - Height:25 - Font:TinyBold - Align:Center + Y: 212 + Width: PARENT_RIGHT + Height: 25 + Font: TinyBold + Align: Center Label@DURATION: - Y:225 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center + Y: 225 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center ScrollPanel@PLAYER_LIST: - Y:250 - Width:PARENT_RIGHT - Height:PARENT_BOTTOM - 250 - 15 - IgnoreChildMouseOver:true + Y: 250 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM - 250 - 15 + IgnoreChildMouseOver: true Children: ScrollItem@HEADER: - Width:PARENT_RIGHT-27 - Height:13 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 13 + X: 2 + Y: 0 + Visible: false Children: Label@LABEL: - Font:TinyBold - Width:PARENT_RIGHT - Height:10 - Align:Center + Font: TinyBold + Width: PARENT_RIGHT + Height: 10 + Align: Center ScrollItem@TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Image@FLAG: - X:4 - Y:4 - Width:32 - Height:16 + X: 4 + Y: 4 + Width: 32 + Height: 16 Label@LABEL: - X:40 - Width:60 - Height:25 + X: 40 + Width: 60 + Height: 25 Label@NOFLAG_LABEL: - X:5 - Width:PARENT_RIGHT - Height:25 + X: 5 + Width: PARENT_RIGHT + Height: 25 Button@CANCEL_BUTTON: - Key:escape - X:0 - Y:499 - Width:140 - Height:35 - Text:Back + Key: escape + X: 0 + Y: 499 + Width: 140 + Height: 35 + Text: Back Button@WATCH_BUTTON: - Key:return - X:380 - Y:499 - Width:140 - Height:35 - Text:Watch + Key: return + X: 380 + Y: 499 + Width: 140 + Height: 35 + Text: Watch TooltipContainer@TOOLTIP_CONTAINER: + diff --git a/mods/cnc/chrome/serverbrowser.yaml b/mods/cnc/chrome/serverbrowser.yaml index f586144cd9..57eb5b100a 100644 --- a/mods/cnc/chrome/serverbrowser.yaml +++ b/mods/cnc/chrome/serverbrowser.yaml @@ -1,148 +1,149 @@ Container@SERVERBROWSER_PANEL: - Logic:ServerBrowserLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 500)/2 - Width:730 - Height:535 + Logic: ServerBrowserLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 500)/2 + Width: 730 + Height: 535 Children: Label@TITLE: - Text:Multiplayer - Width:740 - Y:0-25 - Font:BigBold - Contrast:true - Align:Center + Text: Multiplayer + Width: 740 + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center Background@bg: - Width:730 - Height:500 - Background:panel-black + Width: 730 + Height: 500 + Background: panel-black Children: Label@SHOW_LABEL_TITLE: - X:20 - Y:465 - Width:20 - Height:25 - Text:Show: - Font:Bold + X: 20 + Y: 465 + Width: 20 + Height: 25 + Text: Show: + Font: Bold Checkbox@WAITING_FOR_PLAYERS: - X:80 - Y:468 - Width:100 - Height:20 - Text:Waiting + X: 80 + Y: 468 + Width: 100 + Height: 20 + Text: Waiting Checkbox@EMPTY: - X:180 - Y:468 - Width:100 - Height:20 - Text:Empty + X: 180 + Y: 468 + Width: 100 + Height: 20 + Text: Empty Checkbox@ALREADY_STARTED: - X:280 - Y:468 - Width:100 - Height:20 - Text:Started + X: 280 + Y: 468 + Width: 100 + Height: 20 + Text: Started Checkbox@INCOMPATIBLE_VERSION: - X:380 - Y:468 - Width:100 - Height:20 - Text:Incompatible + X: 380 + Y: 468 + Width: 100 + Height: 20 + Text: Incompatible Button@REFRESH_BUTTON: - X:PARENT_RIGHT - WIDTH - 20 - Y:465 - Width:100 - Height:25 - Text:Refresh + X: PARENT_RIGHT - WIDTH - 20 + Y: 465 + Width: 100 + Height: 25 + Text: Refresh ScrollPanel@SERVER_LIST: - X:15 - Y:15 - Width:700 - Height:440 - ScrollVelocity:20 + X: 15 + Y: 15 + Width: 700 + Height: 440 + ScrollVelocity: 20 Children: ScrollItem@SERVER_TEMPLATE: - Width:PARENT_RIGHT-27 - Height:68 - X:2 - Y:0 + Width: PARENT_RIGHT-27 + Height: 68 + X: 2 + Y: 0 Children: MapPreview@MAP_PREVIEW: - X:2 - Y:2 - Width:64 - Height:64 - ShowSpawnPoints:no + X: 2 + Y: 2 + Width: 64 + Height: 64 + ShowSpawnPoints: no Label@TITLE: - X:70 - Width:200 - Height:25 - Font:Bold + X: 70 + Width: 200 + Height: 25 + Font: Bold Label@MAP: - X:70 - Y:20 - Width:250 - Height:25 + X: 70 + Y: 20 + Width: 250 + Height: 25 Label@PLAYERS: - X:70 - Y:40 - Width:50 - Height:25 + X: 70 + Y: 40 + Width: 50 + Height: 25 Label@STATE: - Width:140 - X:PARENT_RIGHT-150 - Align:Right - Height:25 - Font:Bold + Width: 140 + X: PARENT_RIGHT-150 + Align: Right + Height: 25 + Font: Bold Label@IP: - Width:140 - X:PARENT_RIGHT-150 - Y:20 - Align:Right - Height:25 + Width: 140 + X: PARENT_RIGHT-150 + Y: 20 + Align: Right + Height: 25 Label@VERSION: - Width:140 - X:PARENT_RIGHT-150 - Y:40 - Align:Right - Height:25 + Width: 140 + X: PARENT_RIGHT-150 + Y: 40 + Align: Right + Height: 25 Label@LOCATION: - Width:140 - X:PARENT_RIGHT-150 - Y:40 - Align:Right - Height:25 + Width: 140 + X: PARENT_RIGHT-150 + Y: 40 + Align: Right + Height: 25 Label@PROGRESS_LABEL: - X:(PARENT_RIGHT - WIDTH) / 2 - Y:PARENT_BOTTOM / 2 - HEIGHT - Width:710 - Height:25 - Font:Bold - Align:Center - Visible:false + X: (PARENT_RIGHT - WIDTH) / 2 + Y: PARENT_BOTTOM / 2 - HEIGHT + Width: 710 + Height: 25 + Font: Bold + Align: Center + Visible: false Button@BACK_BUTTON: - Key:escape - X:0 - Y:499 - Width:140 - Height:35 - Text:Back + Key: escape + X: 0 + Y: 499 + Width: 140 + Height: 35 + Text: Back Button@CREATE_BUTTON: - X:PARENT_RIGHT - 140 - 10 - 140 - 10 - 140 - Y:499 - Width:140 - Height:35 - Text:Create + X: PARENT_RIGHT - 140 - 10 - 140 - 10 - 140 + Y: 499 + Width: 140 + Height: 35 + Text: Create Button@DIRECTCONNECT_BUTTON: - X:PARENT_RIGHT - 140 - 10 - 140 - Y:499 - Width:140 - Height:35 - Text:Direct IP + X: PARENT_RIGHT - 140 - 10 - 140 + Y: 499 + Width: 140 + Height: 35 + Text: Direct IP Button@JOIN_BUTTON: - Key:return - X:PARENT_RIGHT - 140 - Y:499 - Width:140 - Height:35 - Text:Join \ No newline at end of file + Key: return + X: PARENT_RIGHT - 140 + Y: 499 + Width: 140 + Height: 35 + Text: Join + diff --git a/mods/cnc/chrome/settings.yaml b/mods/cnc/chrome/settings.yaml index 1692d9b21a..4b95dbf60c 100644 --- a/mods/cnc/chrome/settings.yaml +++ b/mods/cnc/chrome/settings.yaml @@ -1,456 +1,457 @@ Container@SETTINGS_PANEL: - Logic:SettingsLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:590 - Height:310+68 + Logic: SettingsLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 590 + Height: 310+68 Children: Label@TITLE: - Width:590 - Y:0-25 - Font:BigBold - Contrast:true - Align:Center - Text:Settings + Width: 590 + Y: 0-25 + Font: BigBold + Contrast: true + Align: Center + Text: Settings Container@TAB_CONTAINER: Children: Button@DISPLAY_TAB: - Width:140 - Height:35 - Text:Display + Width: 140 + Height: 35 + Text: Display Button@AUDIO_TAB: - X:150 - Width:140 - Height:35 - Text:Audio + X: 150 + Width: 140 + Height: 35 + Text: Audio Button@INPUT_TAB: - X:300 - Width:140 - Height:35 - Text:Input + X: 300 + Width: 140 + Height: 35 + Text: Input Button@ADVANCED_TAB: - X:450 - Width:140 - Height:35 - Text:Advanced + X: 450 + Width: 140 + Height: 35 + Text: Advanced Background@bg: - Y:34 - Width:590 - Height:310 - Background:panel-black + Y: 34 + Width: 590 + Height: 310 + Background: panel-black Children: Container@DISPLAY_PANEL: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@VIDEO_TITLE: - Y:20 - Width:PARENT_RIGHT - Font:Bold - Text:Graphics - Align:Center + Y: 20 + Width: PARENT_RIGHT + Font: Bold + Text: Graphics + Align: Center Label@MODE_LABEL: - X:120 - Y:39 - Width:45 - Height:25 - Align:Right - Text:Mode: + X: 120 + Y: 39 + Width: 45 + Height: 25 + Align: Right + Text: Mode: DropDownButton@MODE_DROPDOWN: - X:170 - Y:40 - Width:170 - Height:25 - Font:Regular - Text:Windowed + X: 170 + Y: 40 + Width: 170 + Height: 25 + Font: Regular + Text: Windowed Container@WINDOW_RESOLUTION: - X:340 - Y:40 + X: 340 + Y: 40 Children: Label@At: - Text:@ - Font:Bold - Y:0-1 - Height:25 - Width:25 - Align:Center + Text: @ + Font: Bold + Y: 0-1 + Height: 25 + Width: 25 + Align: Center TextField@WINDOW_WIDTH: - X:25 - Width:45 - Height:25 - MaxLength:5 + X: 25 + Width: 45 + Height: 25 + MaxLength: 5 Label@X: - Text:x - Font:Bold - X:70 - Y:0-1 - Height:25 - Width:15 - Align:Center + Text: x + Font: Bold + X: 70 + Y: 0-1 + Height: 25 + Width: 15 + Align: Center TextField@WINDOW_HEIGHT: - X:85 - Width:45 - Height:25 - MaxLength:5 + X: 85 + Width: 45 + Height: 25 + MaxLength: 5 Label@VIDEO_DESC: - Y:60 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center - Text:Mode/Resolution changes will be applied after the game is restarted + Y: 60 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: Mode/Resolution changes will be applied after the game is restarted Checkbox@FRAME_LIMIT_CHECKBOX: - X:15 - Y:100 - Width:200 - Height:20 - Font:Regular - Text:Enable Frame Limiter + X: 15 + Y: 100 + Width: 200 + Height: 20 + Font: Regular + Text: Enable Frame Limiter Checkbox@PIXELDOUBLE_CHECKBOX: - X:310 - Y:100 - Width:200 - Height:20 - Font:Regular - Text:Enable Pixel Doubling + X: 310 + Y: 100 + Width: 200 + Height: 20 + Font: Regular + Text: Enable Pixel Doubling Label@FRAME_LIMIT_DESC_A: - X:45 - Y:132 - Width:50 - Height:25 - Text:Limit to - Align:Right + X: 45 + Y: 132 + Width: 50 + Height: 25 + Text: Limit to + Align: Right TextField@FRAME_LIMIT_TEXTFIELD: - X:100 - Y:133 - Width:45 - Height:25 - MaxLength:3 + X: 100 + Y: 133 + Width: 45 + Height: 25 + MaxLength: 3 Label@FRAME_LIMIT_DESC_B: - X:150 - Y:132 - Height:25 + X: 150 + Y: 132 + Height: 25 Text: FPS Checkbox@TEAM_HEALTH_COLORS_CHECKBOX: - X:310 - Y:135 - Width:200 - Height:20 - Font:Regular - Text:Team Health Colors + X: 310 + Y: 135 + Width: 200 + Height: 20 + Font: Regular + Text: Team Health Colors Checkbox@SHOW_SHELLMAP: - X:15 - Y:170 - Width:200 - Height:20 - Font:Regular - Text:Show Shellmap + X: 15 + Y: 170 + Width: 200 + Height: 20 + Font: Regular + Text: Show Shellmap Checkbox@ALWAYS_SHOW_STATUS_BARS_CHECKBOX: - X:310 - Y:170 - Width:200 - Height:20 - Font:Regular - Text:Always Show Status Bars - Label@VIDEO_TITLE: - Y:225 - Width:PARENT_RIGHT - Font:Bold - Text:Localization - Align:Center - Visible:false + X: 310 + Y: 170 + Width: 200 + Height: 20 + Font: Regular + Text: Always Show Status Bars + Label@LOCALIZATION_TITLE: + Y: 225 + Width: PARENT_RIGHT + Font: Bold + Text: Localization + Align: Center + Visible: false Label@LANGUAGE_LABEL: - X:230 - WIDTH - 5 - Y:244 - Width:75 - Height:25 - Align:Right - Text:Language: - Visible:false + X: 230 - WIDTH - 5 + Y: 244 + Width: 75 + Height: 25 + Align: Right + Text: Language: + Visible: false DropDownButton@LANGUAGE_DROPDOWNBUTTON: - X:230 - Y:245 - Width:200 - Height:25 - Font:Regular - Visible:false + X: 230 + Y: 245 + Width: 200 + Height: 25 + Font: Regular + Visible: false Label@VIDEO_DESC_A: - Y:265 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center - Text:Language changes will be applied after the game is restarted - Visible:false + Y: 265 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: Language changes will be applied after the game is restarted + Visible: false Label@VIDEO_DESC_B: - Y:280 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center - Text:Translations apply to text strings only; Speech and build icons will remain in English - Visible:false + Y: 280 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: Translations apply to text strings only; Speech and build icons will remain in English + Visible: false Container@AUDIO_PANEL: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@AUDIO_TITLE: - Y:20 - Width:PARENT_RIGHT - Font:Bold - Text:Audio - Align:Center + Y: 20 + Width: PARENT_RIGHT + Font: Bold + Text: Audio + Align: Center Checkbox@SHELLMAP_MUSIC: - X:15 - Y:40 - Width:200 - Height:20 - Font:Regular - Text:Shellmap / Mission Music + X: 15 + Y: 40 + Width: 200 + Height: 20 + Font: Regular + Text: Shellmap / Mission Music Label@SOUND_LABEL: - X:PARENT_RIGHT - WIDTH - 270 - Y:37 - Width:95 - Height:25 - Align:Right - Text:Sound Volume: + X: PARENT_RIGHT - WIDTH - 270 + Y: 37 + Width: 95 + Height: 25 + Align: Right + Text: Sound Volume: Slider@SOUND_VOLUME: - X:PARENT_RIGHT - WIDTH - 15 - Y:43 - Width:250 - Height:20 - Ticks:5 + X: PARENT_RIGHT - WIDTH - 15 + Y: 43 + Width: 250 + Height: 20 + Ticks: 5 Checkbox@CASH_TICKS: - X:15 - Y:70 - Width:200 - Height:20 - Font:Regular - Text:Cash Ticks + X: 15 + Y: 70 + Width: 200 + Height: 20 + Font: Regular + Text: Cash Ticks Label@MUSIC_LABEL: - X:PARENT_RIGHT - WIDTH - 270 - Y:67 - Width:95 - Height:25 - Align:Right - Text:Music Volume: + X: PARENT_RIGHT - WIDTH - 270 + Y: 67 + Width: 95 + Height: 25 + Align: Right + Text: Music Volume: Slider@MUSIC_VOLUME: - X:PARENT_RIGHT - WIDTH - 15 - Y:73 - Width:250 - Height:20 - Ticks:5 + X: PARENT_RIGHT - WIDTH - 15 + Y: 73 + Width: 250 + Height: 20 + Ticks: 5 Label@VIDEO_LABEL: - X:PARENT_RIGHT - WIDTH - 270 - Y:97 - Width:95 - Height:25 - Align:Right - Text:Video Volume: + X: PARENT_RIGHT - WIDTH - 270 + Y: 97 + Width: 95 + Height: 25 + Align: Right + Text: Video Volume: Slider@VIDEO_VOLUME: - X:PARENT_RIGHT - WIDTH - 15 - Y:103 - Width:250 - Height:20 - Ticks:5 + X: PARENT_RIGHT - WIDTH - 15 + Y: 103 + Width: 250 + Height: 20 + Ticks: 5 Label@AUDIO_DEVICE_LABEL: - X:190 - WIDTH - 5 - Y:244 - Width:75 - Height:25 - Align:Right - Text:Audio Device: + X: 190 - WIDTH - 5 + Y: 244 + Width: 75 + Height: 25 + Align: Right + Text: Audio Device: DropDownButton@AUDIO_DEVICE: - X:190 - Y:245 - Width:300 - Height:25 + X: 190 + Y: 245 + Width: 300 + Height: 25 Label@AUDIO_DEVICE_DESC: - Y:265 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center - Text:Device changes will be applied after the game is restarted + Y: 265 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: Device changes will be applied after the game is restarted Container@INPUT_PANEL: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@INPUT_TITLE: - Y:20 - Width:PARENT_RIGHT - Font:Bold - Text:Input - Align:Center + Y: 20 + Width: PARENT_RIGHT + Font: Bold + Text: Input + Align: Center Checkbox@CLASSICORDERS_CHECKBOX: - X:15 - Y:40 - Width:250 - Height:20 - Font:Regular - Text:Left-Click Orders + X: 15 + Y: 40 + Width: 250 + Height: 20 + Font: Regular + Text: Left-Click Orders Label@MOUSE_SCROLL_LABEL: - X:PARENT_RIGHT - WIDTH - 120 - Y:39 - Width:160 - Height:20 - Font:Regular - Text:Middle-Mouse Scrolling: - Align:Right + X: PARENT_RIGHT - WIDTH - 120 + Y: 39 + Width: 160 + Height: 20 + Font: Regular + Text: Middle-Mouse Scrolling: + Align: Right DropDownButton@MOUSE_SCROLL: - X:PARENT_RIGHT - WIDTH - 15 - Y:38 - Width:100 - Height:25 - Font:Regular - Text:Enabled + X: PARENT_RIGHT - WIDTH - 15 + Y: 38 + Width: 100 + Height: 25 + Font: Regular + Text: Enabled Checkbox@EDGESCROLL_CHECKBOX: - X:15 - Y:70 - Width:130 - Height:20 - Font:Regular - Text:Edge Scrolling + X: 15 + Y: 70 + Width: 130 + Height: 20 + Font: Regular + Text: Edge Scrolling Label@SCROLL_SPEED_LABEL: - X:PARENT_RIGHT - WIDTH - 270 - Y:67 - Width:95 - Height:25 - Text:Scroll Speed: - Align:Right + X: PARENT_RIGHT - WIDTH - 270 + Y: 67 + Width: 95 + Height: 25 + Text: Scroll Speed: + Align: Right Slider@SCROLLSPEED_SLIDER: - X:PARENT_RIGHT - WIDTH - 15 - Y:73 - Width:250 - Height:20 - Ticks:5 + X: PARENT_RIGHT - WIDTH - 15 + Y: 73 + Width: 250 + Height: 20 + Ticks: 5 MinimumValue: 10 MaximumValue: 50 - Label@HOTKEY_TITLE: - Y:115 - Width:PARENT_RIGHT - Font:Bold - Text:Hotkeys - Align:Center + Label@HOTKEYS_TITLE: + Y: 115 + Width: PARENT_RIGHT + Font: Bold + Text: Hotkeys + Align: Center ScrollPanel@HOTKEY_LIST: - X:15 - Y:135 - Width:560 - ItemSpacing:4 - Height:160 + X: 15 + Y: 135 + Width: 560 + ItemSpacing: 4 + Height: 160 Children: ScrollItem@HEADER: - Width:528 - Height:13 - Visible:false + Width: 528 + Height: 13 + Visible: false Children: Label@LABEL: - Font:TinyBold - Width:PARENT_RIGHT - Height:10 - Align:Center + Font: TinyBold + Width: PARENT_RIGHT + Height: 10 + Align: Center Container@GLOBAL_TEMPLATE: - Width:262 - Height:25 - Visible:false + Width: 262 + Height: 25 + Visible: false Children: Label@FUNCTION: - Y:0-1 - Width:PARENT_RIGHT - 85 - Height:25 - Align:Right + Y: 0-1 + Width: PARENT_RIGHT - 85 + Height: 25 + Align: Right HotkeyEntry@HOTKEY: - X:PARENT_RIGHT-WIDTH - Width:80 - Height:25 + X: PARENT_RIGHT-WIDTH + Width: 80 + Height: 25 Container@UNIT_TEMPLATE: - Width:173 - Height:25 - Visible:false + Width: 173 + Height: 25 + Visible: false Children: Label@FUNCTION: - Y:0-1 - Width:PARENT_RIGHT - 84 - Height:25 - Align:Right + Y: 0-1 + Width: PARENT_RIGHT - 84 + Height: 25 + Align: Right HotkeyEntry@HOTKEY: - X:PARENT_RIGHT-WIDTH+1 - Width:80 - Height:25 + X: PARENT_RIGHT-WIDTH+1 + Width: 80 + Height: 25 Container@ADVANCED_PANEL: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: - Label@HOTKEY_TITLE: - Y:20 - Width:PARENT_RIGHT - Font:Bold - Text:Advanced - Align:Center + Label@ADVANCED_TITLE: + Y: 20 + Width: PARENT_RIGHT + Font: Bold + Text: Advanced + Align: Center Checkbox@NAT_DISCOVERY: - X:15 - Y:40 - Width:200 - Height:20 - Font:Regular + X: 15 + Y: 40 + Width: 200 + Height: 20 + Font: Regular Text: Enable Network Discovery (UPnP) Checkbox@CRASH_DIALOG_CHECKBOX: - X:310 - Y:40 - Width:300 - Height:20 - Font:Regular - Text:Show Fatal Error dialog + X: 310 + Y: 40 + Width: 300 + Height: 20 + Font: Regular + Text: Show Fatal Error dialog Checkbox@PERFTEXT_CHECKBOX: - X:15 - Y:70 - Width:300 - Height:20 - Font:Regular - Text:Show Performance Text + X: 15 + Y: 70 + Width: 300 + Height: 20 + Font: Regular + Text: Show Performance Text Checkbox@PERFGRAPH_CHECKBOX: - X:310 - Y:70 - Width:300 - Height:20 - Font:Regular - Text:Show Performance Graph - Label@HOTKEY_TITLE: - Y:140 - Width:PARENT_RIGHT - Font:Bold - Text:Debug - Align:Center + X: 310 + Y: 70 + Width: 300 + Height: 20 + Font: Regular + Text: Show Performance Graph + Label@DEBUG_TITLE: + Y: 140 + Width: PARENT_RIGHT + Font: Bold + Text: Debug + Align: Center Checkbox@BOTDEBUG_CHECKBOX: - X:15 - Y:160 - Width:300 - Height:20 - Font:Regular - Text:Show Bot Debug Messages + X: 15 + Y: 160 + Width: 300 + Height: 20 + Font: Regular + Text: Show Bot Debug Messages Checkbox@VERBOSE_NAT_CHECKBOX: - X:310 - Y:160 - Width:300 - Height:20 - Font:Regular - Text:Detailed NAT logging + X: 310 + Y: 160 + Width: 300 + Height: 20 + Font: Regular + Text: Detailed NAT logging Checkbox@CHECKUNSYNCED_CHECKBOX: - X:15 - Y:190 - Width:300 - Height:20 - Font:Regular - Text:Check Sync around Unsynced Code + X: 15 + Y: 190 + Width: 300 + Height: 20 + Font: Regular + Text: Check Sync around Unsynced Code Button@BACK_BUTTON: - Key:escape - Y:343 - Width:140 - Height:35 - Text:Back + Key: escape + Y: 343 + Width: 140 + Height: 35 + Text: Back Button@RESET_BUTTON: - X:150 - Y:343 - Width:140 - Height:35 - Text:Reset \ No newline at end of file + X: 150 + Y: 343 + Width: 140 + Height: 35 + Text: Reset + diff --git a/mods/cnc/chrome/tooltips.yaml b/mods/cnc/chrome/tooltips.yaml index ac731763ec..890e93c409 100644 --- a/mods/cnc/chrome/tooltips.yaml +++ b/mods/cnc/chrome/tooltips.yaml @@ -1,163 +1,164 @@ Background@SIMPLE_TOOLTIP: - Logic:SimpleTooltipLogic - Background:panel-black - Height:25 + Logic: SimpleTooltipLogic + Background: panel-black + Height: 25 Children: Label@LABEL: - X:5 - Height:23 - Font:Bold + X: 5 + Height: 23 + Font: Bold Background@BUTTON_TOOLTIP: - Logic:ButtonTooltipLogic - Background:panel-black - Height:25 + Logic: ButtonTooltipLogic + Background: panel-black + Height: 25 Children: Label@LABEL: - X:5 - Height:23 - Font:Bold + X: 5 + Height: 23 + Font: Bold Label@HOTKEY: - TextColor:255,255,0 - Height:23 - Font:Bold + TextColor: 255,255,0 + Height: 23 + Font: Bold Background@WORLD_TOOLTIP: - Logic:WorldTooltipLogic - Background:panel-black + Logic: WorldTooltipLogic + Background: panel-black Children: Container@SINGLE_HEIGHT: - Height:25 + Height: 25 Container@DOUBLE_HEIGHT: - Height:45 + Height: 45 Label@LABEL: - X:5 - Height:23 - Font:Bold + X: 5 + Height: 23 + Font: Bold Image@FLAG: - X:5 - Y:24 - Width:32 - Height:16 + X: 5 + Y: 24 + Width: 32 + Height: 16 Label@OWNER: - X:42 - Y:19 - Height:23 - Font:Bold + X: 42 + Y: 19 + Height: 23 + Font: Bold Background@PRODUCTION_TOOLTIP: - Logic:ProductionTooltipLogic - Background:panel-black - Width:200 - Height:65 + Logic: ProductionTooltipLogic + Background: panel-black + Width: 200 + Height: 65 Children: Label@NAME: - X:5 - Height:23 - Font:Bold + X: 5 + Height: 23 + Font: Bold Label@REQUIRES: - X:5 - Y:19 - Height:23 - Font:TinyBold - Text:@requires@ + X: 5 + Y: 19 + Height: 23 + Font: TinyBold + Text: @requires@ Label@DESC: - X:5 - Y:39 - Height:23 - Font:TinyBold - VAlign:Top + X: 5 + Y: 39 + Height: 23 + Font: TinyBold + VAlign: Top Label@COST: - Height:23 - Font:Bold + Height: 23 + Font: Bold Label@TIME: - Y:19 - Height:23 - Font:Bold + Y: 19 + Height: 23 + Font: Bold Label@POWER: - Y:39 - Height:23 - Font:Bold + Y: 39 + Height: 23 + Font: Bold Label@TIME: - Y:39 - Height:23 - Font:Bold + Y: 39 + Height: 23 + Font: Bold Background@SUPPORT_POWER_TOOLTIP: - Logic:SupportPowerTooltipLogic - Background:panel-black - Width:200 - Height:25 + Logic: SupportPowerTooltipLogic + Background: panel-black + Width: 200 + Height: 25 Children: Label@NAME: - X:5 - Height:20 - Font:Bold + X: 5 + Height: 20 + Font: Bold Label@TIME: - X:20 - Y:6 - Font:TinyBold - VAlign:Top + X: 20 + Y: 6 + Font: TinyBold + VAlign: Top Label@DESC: - X:5 - Y:20 - Font:TinyBold - VAlign:Top + X: 5 + Y: 20 + Font: TinyBold + VAlign: Top Background@SPAWN_TOOLTIP: - Logic:SpawnSelectorTooltipLogic - Background:panel-black - Width:5 + Logic: SpawnSelectorTooltipLogic + Background: panel-black + Width: 5 Children: Container@SINGLE_HEIGHT: - Height:26 + Height: 26 Container@DOUBLE_HEIGHT: - Height:40 + Height: 40 Label@LABEL: - X:5 - Height:23 - Font:Bold + X: 5 + Height: 23 + Font: Bold Image@FLAG: - X:5 - Y:5 - Width:32 - Height:16 + X: 5 + Y: 5 + Width: 32 + Height: 16 Label@TEAM: - Y:21 - Height:15 - Font:TinyBold - Align:center + Y: 21 + Height: 15 + Font: TinyBold + Align: center Background@CLIENT_TOOLTIP: - Logic:ClientTooltipLogic - Background:panel-black - Height:47 - Width:5 + Logic: ClientTooltipLogic + Background: panel-black + Height: 47 + Width: 5 Children: Label@ADMIN: - Y:2 - Height:18 - Font:Bold - Text:Game Admin - Align:Center + Y: 2 + Height: 18 + Font: Bold + Text: Game Admin + Align: Center Label@IP: - Y:5 - Width:5 - Height:10 - Font:TinyBold - Align:Center + Y: 5 + Width: 5 + Height: 10 + Font: TinyBold + Align: Center Label@LOCATION: - Y:17 - Height:10 - Font:TinyBold - Align:Center + Y: 17 + Height: 10 + Font: TinyBold + Align: Center Label@LATENCY_PREFIX: - X:10 - Y:29 - Height:10 - Font:TinyBold - Text:Latency: + X: 10 + Y: 29 + Height: 10 + Font: TinyBold + Text: Latency: Label@LATENCY: - Y:29 - Height:10 - Font:TinyBold \ No newline at end of file + Y: 29 + Height: 10 + Font: TinyBold + diff --git a/mods/cnc/languages/english.yaml b/mods/cnc/languages/english.yaml index e3e78412b8..7d833ea974 100644 --- a/mods/cnc/languages/english.yaml +++ b/mods/cnc/languages/english.yaml @@ -1,6 +1,3 @@ english: english: English - ready: Ready - on-hold: On Hold - requires: Requires {0} diff --git a/mods/d2k/chrome/color-picker.yaml b/mods/d2k/chrome/color-picker.yaml index 60d87803f2..d2d4a2a792 100644 --- a/mods/d2k/chrome/color-picker.yaml +++ b/mods/d2k/chrome/color-picker.yaml @@ -1,47 +1,48 @@ Background@COLOR_CHOOSER: - Logic:ColorPickerLogic - Background:dialog2 - Width:234 - Height:105 + Logic: ColorPickerLogic + Background: dialog2 + Width: 234 + Height: 105 Children: Background@HUEBG: - Background:dialog3 - X:5 - Y:5 - Width:148 - Height:13 + Background: dialog3 + X: 5 + Y: 5 + Width: 148 + Height: 13 Children: HueSlider@HUE: - X:2 - Y:2 - Width:144 - Height:9 - Ticks:5 + X: 2 + Y: 2 + Width: 144 + Height: 9 + Ticks: 5 Background@MIXERBG: - Background:dialog3 - X:5 - Y:23 - Width:148 - Height:76 + Background: dialog3 + X: 5 + Y: 23 + Width: 148 + Height: 76 Children: ColorMixer@MIXER: - X:2 - Y:2 - Width:144 - Height:72 + X: 2 + Y: 2 + Width: 144 + Height: 72 SpriteSequence@FACT: - X:153 - Y:1 - Width:80 - Height:73 - Palette:colorpicker - Unit:carryall - Sequence:idle - Facing:104 + X: 153 + Y: 1 + Width: 80 + Height: 73 + Palette: colorpicker + Unit: carryall + Sequence: idle + Facing: 104 Button@RANDOM_BUTTON: - Key:tab - X:158 - Y:74 - Width:70 - Height:25 - Text:Random \ No newline at end of file + Key: tab + X: 158 + Y: 74 + Width: 70 + Height: 25 + Text: Random + diff --git a/mods/d2k/chrome/dropdowns.yaml b/mods/d2k/chrome/dropdowns.yaml index 450c7e2e14..6de43b47ab 100644 --- a/mods/d2k/chrome/dropdowns.yaml +++ b/mods/d2k/chrome/dropdowns.yaml @@ -1,80 +1,81 @@ ScrollPanel@LABEL_DROPDOWN_TEMPLATE: - Width:DROPDOWN_WIDTH + Width: DROPDOWN_WIDTH Children: ScrollItem@HEADER: - BaseName:scrollheader - Width:PARENT_RIGHT-27 - Height:13 - X:2 - Y:0 - Visible:false + BaseName: scrollheader + Width: PARENT_RIGHT-27 + Height: 13 + X: 2 + Y: 0 + Visible: false Children: Label@LABEL: - Font:TinyBold - Width:PARENT_RIGHT - Height:10 - Align:Center + Font: TinyBold + Width: PARENT_RIGHT + Height: 10 + Align: Center ScrollItem@TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Label@LABEL: - X:10 - Width:PARENT_RIGHT-20 - Height:25 + X: 10 + Width: PARENT_RIGHT-20 + Height: 25 ScrollPanel@TEAM_DROPDOWN_TEMPLATE: - Width:DROPDOWN_WIDTH + Width: DROPDOWN_WIDTH Children: ScrollItem@TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Label@LABEL: - X:0 - Width:PARENT_RIGHT - Height:25 - Align:Center + X: 0 + Width: PARENT_RIGHT + Height: 25 + Align: Center ScrollPanel@SPECTATOR_DROPDOWN_TEMPLATE: - Width:DROPDOWN_WIDTH + Width: DROPDOWN_WIDTH Children: ScrollItem@HEADER: - BaseName:scrollheader - Width:PARENT_RIGHT-27 - Height:13 - X:2 - Y:0 - Visible:false + BaseName: scrollheader + Width: PARENT_RIGHT-27 + Height: 13 + X: 2 + Y: 0 + Visible: false Children: Label@LABEL: - Font:TinyBold - Width:PARENT_RIGHT - Height:10 - Align:Center + Font: TinyBold + Width: PARENT_RIGHT + Height: 10 + Align: Center ScrollItem@TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Image@FLAG: - Width:23 - Height:23 - X:4 - Y:2 + Width: 23 + Height: 23 + X: 4 + Y: 2 Label@LABEL: - X:34 - Width:60 - Height:25 + X: 34 + Width: 60 + Height: 25 Label@NOFLAG_LABEL: - X:5 - Width:PARENT_RIGHT - Height:25 + X: 5 + Width: PARENT_RIGHT + Height: 25 + diff --git a/mods/d2k/chrome/gameinit.yaml b/mods/d2k/chrome/gameinit.yaml index 0970f6c265..4f15639075 100644 --- a/mods/d2k/chrome/gameinit.yaml +++ b/mods/d2k/chrome/gameinit.yaml @@ -1,166 +1,167 @@ Background@INSTALL_PANEL: - Logic:InstallLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:630 - Height:200 + Logic: InstallLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 630 + Height: 200 Children: Label@TITLE: - X:0 - Y:20 - Width:PARENT_RIGHT - Height:25 - Text:Content files missing - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: PARENT_RIGHT + Height: 25 + Text: Content files missing + Align: Center + Font: Bold Label@WELCOME: - X:0 - Y:50 - Width:PARENT_RIGHT - Height:25 - Text:This is the work in progress Dune 2000 mod. It requires the original game files. - Align:Center + X: 0 + Y: 50 + Width: PARENT_RIGHT + Height: 25 + Text: This is the work in progress Dune 2000 mod. It requires the original game files. + Align: Center Label@DOWNLOAD: - X:0 - Y:90 - Width:PARENT_RIGHT - Height:25 - Text:The easiest way is to simply click "Download" to fetch a minimal subset to get started. - Align:Center + X: 0 + Y: 90 + Width: PARENT_RIGHT + Height: 25 + Text: The easiest way is to simply click "Download" to fetch a minimal subset to get started. + Align: Center Label@VIA_CD: - X:0 - Y:110 - Width:PARENT_RIGHT - Height:25 + X: 0 + Y: 110 + Width: PARENT_RIGHT + Height: 25 Text: Put in your Dune 2000 CD and click "From CD" to extract game assets including music. - Align:Center + Align: Center Button@DOWNLOAD_BUTTON: - X:20 - Y:PARENT_BOTTOM - 45 - Width:110 - Height:25 - Text:Download - Font:Bold + X: 20 + Y: PARENT_BOTTOM - 45 + Width: 110 + Height: 25 + Text: Download + Font: Bold Button@INSTALL_BUTTON: - X:140 - Y:PARENT_BOTTOM - 45 - Width:110 - Height:25 - Text:From CD - Font:Bold + X: 140 + Y: PARENT_BOTTOM - 45 + Width: 110 + Height: 25 + Text: From CD + Font: Bold Button@BACK_BUTTON: - X:PARENT_RIGHT - 130 - Y:PARENT_BOTTOM - 45 - Width:110 - Height:25 - Text:Back - Font:Bold + X: PARENT_RIGHT - 130 + Y: PARENT_BOTTOM - 45 + Width: 110 + Height: 25 + Text: Back + Font: Bold Background@INSTALL_DOWNLOAD_PANEL: - Logic:DownloadPackagesLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:500 - Height:160 + Logic: DownloadPackagesLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 500 + Height: 160 Children: Label@TITLE: - X:0 - Y:20 - Width:PARENT_RIGHT - Height:25 - Text:Downloading Dune 2000 Content - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: PARENT_RIGHT + Height: 25 + Text: Downloading Dune 2000 Content + Align: Center + Font: Bold ProgressBar@PROGRESS_BAR: - X:50 - Y:55 - Width:PARENT_RIGHT - 100 - Height:25 + X: 50 + Y: 55 + Width: PARENT_RIGHT - 100 + Height: 25 Label@STATUS_LABEL: - X:50 - Y:80 - Width:PARENT_RIGHT - 100 - Height:25 - Align:Left + X: 50 + Y: 80 + Width: PARENT_RIGHT - 100 + Height: 25 + Align: Left Button@RETRY_BUTTON: - X:PARENT_RIGHT - 280 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 + X: PARENT_RIGHT - 280 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 Visible: false - Text:Retry - Font:Bold - Key:return + Text: Retry + Font: Bold + Key: return Button@CANCEL_BUTTON: - X:PARENT_RIGHT - 140 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Cancel - Font:Bold - Key:escape + X: PARENT_RIGHT - 140 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold + Key: escape Background@INSTALL_FROMCD_PANEL: - Logic:D2kInstallFromCDLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:500 - Height:160 + Logic: D2kInstallFromCDLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 500 + Height: 160 Children: Label@TITLE: - X:0 - Y:20 - Width:PARENT_RIGHT - Height:25 - Text:Installing Game Assets from CD - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: PARENT_RIGHT + Height: 25 + Text: Installing Game Assets from CD + Align: Center + Font: Bold Container@INSTALLING: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Visible: false Children: ProgressBar@PROGRESS_BAR: - X:50 - Y:55 - Width:PARENT_RIGHT - 100 - Height:25 + X: 50 + Y: 55 + Width: PARENT_RIGHT - 100 + Height: 25 Label@STATUS_LABEL: - X:50 - Y:80 - Width:PARENT_RIGHT - 100 - Height:25 - Align:Left + X: 50 + Y: 80 + Width: PARENT_RIGHT - 100 + Height: 25 + Align: Left Container@INSERT_DISK: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Visible: false Children: Label@INFO: - Y:50 - Width:PARENT_RIGHT - Height:25 - Text:Disk not found. - Align:Center + Y: 50 + Width: PARENT_RIGHT + Height: 25 + Text: Disk not found. + Align: Center Label@INFO2: - Y:70 - Width:PARENT_RIGHT - Height:25 - Text:Please insert the Dune 2000 install CDs then click Retry. - Align:Center + Y: 70 + Width: PARENT_RIGHT + Height: 25 + Text: Please insert the Dune 2000 install CDs then click Retry. + Align: Center Button@RETRY_BUTTON: - X:PARENT_RIGHT - 280 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Retry - Font:Bold - Key:return + X: PARENT_RIGHT - 280 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Retry + Font: Bold + Key: return Button@BACK_BUTTON: - X:PARENT_RIGHT - 140 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Back - Font:Bold - Key:escape \ No newline at end of file + X: PARENT_RIGHT - 140 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Back + Font: Bold + Key: escape + diff --git a/mods/d2k/chrome/ingame-observer.yaml b/mods/d2k/chrome/ingame-observer.yaml index e6b4c3b3e4..20a23c2482 100644 --- a/mods/d2k/chrome/ingame-observer.yaml +++ b/mods/d2k/chrome/ingame-observer.yaml @@ -1,114 +1,115 @@ Container@OBSERVER_WIDGETS: Children: Button@INGAME_STATS_BUTTON: - X:162 - Y:0 - Width:160 - Height:25 - Text:Statistics (F1) - Font:Bold - Key:f1 + X: 162 + Y: 0 + Width: 160 + Height: 25 + Text: Statistics (F1) + Font: Bold + Key: f1 Background@RADAR_BG: - X:WINDOW_RIGHT-255 - Y:5 - Width:250 - Height:250 + X: WINDOW_RIGHT-255 + Y: 5 + Width: 250 + Height: 250 Children: Radar@INGAME_RADAR: - X:10 - Y:10 - Width:PARENT_RIGHT-19 - Height:PARENT_BOTTOM-19 - WorldInteractionController:INTERACTION_CONTROLLER + X: 10 + Y: 10 + Width: PARENT_RIGHT-19 + Height: PARENT_BOTTOM-19 + WorldInteractionController: INTERACTION_CONTROLLER Background@OBSERVER_CONTROL_BG: - X:WINDOW_RIGHT-255 - Y:260 - Width:250 - Height:55 + X: WINDOW_RIGHT-255 + Y: 260 + Width: 250 + Height: 55 Children: DropDownButton@SHROUD_SELECTOR: - Logic:ObserverShroudSelectorLogic - X:15 - Y:15 - Width:220 - Height:25 - Font:Bold + Logic: ObserverShroudSelectorLogic + X: 15 + Y: 15 + Width: 220 + Height: 25 + Font: Bold Children: LogicKeyListener@SHROUD_KEYHANDLER: Image@FLAG: - Width:23 - Height:23 - X:4 - Y:2 + Width: 23 + Height: 23 + X: 4 + Y: 2 Label@LABEL: - X:34 - Width:60 - Height:25 + X: 34 + Width: 60 + Height: 25 Label@NOFLAG_LABEL: - X:5 - Width:PARENT_RIGHT - Height:25 + X: 5 + Width: PARENT_RIGHT + Height: 25 Container@REPLAY_PLAYER: - Logic:ReplayControlBarLogic - X:PARENT_RIGHT/2 - 80 - Y:35 - Width:160 - Height:35 - Visible:false + Logic: ReplayControlBarLogic + X: PARENT_RIGHT/2 - 80 + Y: 35 + Width: 160 + Height: 35 + Visible: false Children: Button@BUTTON_PAUSE: - X:15 - Y:15 - Width:25 - Height:25 - IgnoreChildMouseOver:true + X: 15 + Y: 15 + Width: 25 + Height: 25 + IgnoreChildMouseOver: true Children: Image@IMAGE_PAUSE: - X:0 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:pause + X: 0 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: pause Button@BUTTON_SLOW: - X:50 - Y:15 - Width:25 - Height:25 - IgnoreChildMouseOver:true + X: 50 + Y: 15 + Width: 25 + Height: 25 + IgnoreChildMouseOver: true Children: Image@IMAGE_SLOW: - X:4 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:slowmo + X: 4 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: slowmo Button@BUTTON_NORMALSPEED: - X:85 - Y:15 - Width:25 - Height:25 - IgnoreChildMouseOver:true + X: 85 + Y: 15 + Width: 25 + Height: 25 + IgnoreChildMouseOver: true Children: Image@IMAGE_PLAY: - X:0 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:play + X: 0 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: play Button@BUTTON_FASTFORWARD: - X:120 - Y:15 - Width:25 - Height:25 - IgnoreChildMouseOver:true + X: 120 + Y: 15 + Width: 25 + Height: 25 + IgnoreChildMouseOver: true Children: Image@IMAGE_FASTFORWARD: - X:4 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:fastforward + X: 4 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: fastforward + diff --git a/mods/d2k/chrome/ingame-player.yaml b/mods/d2k/chrome/ingame-player.yaml index 510b9dce75..f928211dc0 100644 --- a/mods/d2k/chrome/ingame-player.yaml +++ b/mods/d2k/chrome/ingame-player.yaml @@ -1,120 +1,121 @@ Container@PLAYER_WIDGETS: Children: LogicKeyListener@CONTROLGROUP_KEYHANDLER: - Logic:ControlGroupLogic + Logic: ControlGroupLogic LogicTicker@SIDEBAR_TICKER: Button@INGAME_DIPLOMACY_BUTTON: - X:162 - Y:0 - Width:160 - Height:25 - Text:Diplomacy (F1) - Font:Bold + X: 162 + Y: 0 + Width: 160 + Height: 25 + Text: Diplomacy (F1) + Font: Bold Key: f1 Button@CHEATS_BUTTON: - X:324 - Y:0 - Width:160 - Height:25 - Text:Cheats (F2) - Visible:false - Font:Bold + X: 324 + Y: 0 + Width: 160 + Height: 25 + Text: Cheats (F2) + Visible: false + Font: Bold Key: f2 Button@OBJECTIVES_BUTTON: - X:486 - Y:0 - Width:160 - Height:25 - Text:Objectives (F3) - Visible:false - Font:Bold + X: 486 + Y: 0 + Width: 160 + Height: 25 + Text: Objectives (F3) + Visible: false + Font: Bold Key: f3 SlidingContainer@INGAME_RADAR_BIN: - X:WINDOW_RIGHT-215 - Y:0 - OpenOffset:0,29 - ClosedOffset:0,-166 - AnimationLength:15 + X: WINDOW_RIGHT-215 + Y: 0 + OpenOffset: 0,29 + ClosedOffset: 0,-166 + AnimationLength: 15 Children: Image@RADAR_BIN_BG: - ImageName:radar + ImageName: radar Radar@RADAR_MINIMAP: - WorldInteractionController:INTERACTION_CONTROLLER - X:9 - Width:192 - Height:192 + WorldInteractionController: INTERACTION_CONTROLLER + X: 9 + Width: 192 + Height: 192 ResourceBar@POWERBAR: - X:42 - Y:205 - Width:138 - Height:5 - TooltipContainer:TOOLTIP_CONTAINER - TooltipTemplate:SIMPLE_TOOLTIP - IndicatorImage:power-indicator - Orientation:Horizontal - Style:Bevelled + X: 42 + Y: 205 + Width: 138 + Height: 5 + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + IndicatorImage: power-indicator + Orientation: Horizontal + Style: Bevelled MoneyBin@INGAME_MONEY_BIN: - Logic:OrderButtonsChromeLogic - X:WINDOW_RIGHT - WIDTH - Width:320 + Logic: OrderButtonsChromeLogic + X: WINDOW_RIGHT - WIDTH + Width: 320 Height: 32 Children: Button@BEACON_BUTTON: - X:3-36 - Width:34 - Height:28 + X: 3-36 + Width: 34 + Height: 28 TooltipText: Place Beacon - TooltipContainer:TOOLTIP_CONTAINER - VisualHeight:0 + TooltipContainer: TOOLTIP_CONTAINER + VisualHeight: 0 Children: Image@ICON: - ImageCollection:order-icons + ImageCollection: order-icons Button@SELL_BUTTON: - X:3 - Width:34 - Height:28 + X: 3 + Width: 34 + Height: 28 TooltipText: Sell - TooltipContainer:TOOLTIP_CONTAINER - VisualHeight:0 + TooltipContainer: TOOLTIP_CONTAINER + VisualHeight: 0 Children: Image@ICON: - ImageCollection:order-icons + ImageCollection: order-icons Button@POWER_BUTTON: - X:39 - Width:34 - Height:28 + X: 39 + Width: 34 + Height: 28 TooltipText: Power Down - TooltipContainer:TOOLTIP_CONTAINER - VisualHeight:0 + TooltipContainer: TOOLTIP_CONTAINER + VisualHeight: 0 Children: Image@ICON: - ImageCollection:order-icons + ImageCollection: order-icons Button@REPAIR_BUTTON: - X:75 - Width:34 - Height:28 + X: 75 + Width: 34 + Height: 28 TooltipText: Repair - TooltipContainer:TOOLTIP_CONTAINER - VisualHeight:0 + TooltipContainer: TOOLTIP_CONTAINER + VisualHeight: 0 Children: Image@ICON: - ImageCollection:order-icons + ImageCollection: order-icons SupportPowerBin@INGAME_POWERS_BIN: - X:0 - Y:25 + X: 0 + Y: 25 IconWidth: 60 IconHeight: 48 ReadyText: READY HoldText: ON HOLD BuildPalette@INGAME_BUILD_PALETTE: - X:WINDOW_RIGHT - 250 - Y:280 - Width:238 - Height:500 - ReadyText:@ready@ - HoldText:@on-hold@ - RequiresText:@requires@ + X: WINDOW_RIGHT - 250 + Y: 280 + Width: 238 + Height: 500 + ReadyText: @ready@ + HoldText: @on-hold@ + RequiresText: @requires@ IconWidth: 60 IconHeight: 48 Columns: 3 - Rows: 4 \ No newline at end of file + Rows: 4 + diff --git a/mods/d2k/chrome/ingame.yaml b/mods/d2k/chrome/ingame.yaml index a64e31daea..9e198eb811 100644 --- a/mods/d2k/chrome/ingame.yaml +++ b/mods/d2k/chrome/ingame.yaml @@ -1,79 +1,80 @@ Container@INGAME_ROOT: - Logic:IngameChromeLogic + Logic: IngameChromeLogic Children: LogicTicker@DISCONNECT_WATCHER: - Logic:DisconnectWatcherLogic + Logic: DisconnectWatcherLogic WorldInteractionController@INTERACTION_CONTROLLER: - X:0 - Y:0 - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM + X: 0 + Y: 0 + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM ViewportController: - X:0 - Y:0 - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM - TooltipContainer:TOOLTIP_CONTAINER + X: 0 + Y: 0 + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + TooltipContainer: TOOLTIP_CONTAINER WorldCommand: - X:0 - Y:0 - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM + X: 0 + Y: 0 + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM Container@GAME_TIMER_BLOCK: - Logic:GameTimerLogic - X:WINDOW_RIGHT/2 - WIDTH - Width:100 - Height:55 + Logic: GameTimerLogic + X: WINDOW_RIGHT/2 - WIDTH + Width: 100 + Height: 55 Children: Label@GAME_TIMER: - Width:PARENT_RIGHT - Height:30 - Align:Center - Font:Title - Contrast:true + Width: PARENT_RIGHT + Height: 30 + Align: Center + Font: Title + Contrast: true Label@GAME_TIMER_STATUS: - Y:32 - Width:PARENT_RIGHT - Height:15 - Align:Center - Font:Bold - Contrast:true + Y: 32 + Width: PARENT_RIGHT + Height: 15 + Align: Center + Font: Bold + Contrast: true StrategicProgress@STRATEGIC_PROGRESS: X: WINDOW_RIGHT/2 Y: 40 SupportPowerTimer@SUPPORT_POWER_TIMER: - X:80 - Y:34 - Order:Descending + X: 80 + Y: 34 + Order: Descending Container@PLAYER_ROOT: Button@INGAME_OPTIONS_BUTTON: - X:0 - Y:0 - Width:160 - Height:25 - Text:Options (ESC) - Font:Bold + X: 0 + Y: 0 + Width: 160 + Height: 25 + Text: Options (ESC) + Font: Bold Key: escape Container@PERFORMANCE_INFO: - Logic:PerfDebugLogic + Logic: PerfDebugLogic Children: Label@PERF_TEXT: - X:WINDOW_RIGHT - 200 - Y:WINDOW_BOTTOM - 70 - Width:170 - Height:40 - Contrast:true + X: WINDOW_RIGHT - 200 + Y: WINDOW_BOTTOM - 70 + Width: 170 + Height: 40 + Contrast: true Background@GRAPH_BG: - ClickThrough:true - Background:dialog4 - X:30 - Y:WINDOW_BOTTOM - 240 - Width:210 - Height:210 + ClickThrough: true + Background: dialog4 + X: 30 + Y: WINDOW_BOTTOM - 240 + Width: 210 + Height: 210 Children: PerfGraph@GRAPH: - X:5 - Y:5 - Width:200 - Height:200 + X: 5 + Y: 5 + Width: 200 + Height: 200 TooltipContainer@TOOLTIP_CONTAINER: + diff --git a/mods/d2k/chrome/lobby-playerbin.yaml b/mods/d2k/chrome/lobby-playerbin.yaml index 81e08b6a75..cd3fe38856 100644 --- a/mods/d2k/chrome/lobby-playerbin.yaml +++ b/mods/d2k/chrome/lobby-playerbin.yaml @@ -1,334 +1,335 @@ ScrollPanel@LOBBY_PLAYER_BIN: - X:20 - Y:67 - ItemSpacing:5 - Width:535 - Height:235 + X: 20 + Y: 67 + ItemSpacing: 5 + Width: 535 + Height: 235 Children: Container@TEMPLATE_EDITABLE_PLAYER: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Image@ADMIN_INDICATOR: - ImageCollection:lobby-bits - ImageName:admin - X:2 - Visible:false + ImageCollection: lobby-bits + ImageName: admin + X: 2 + Visible: false Container@LATENCY: - X:0 - Y:6 - Width:11 - Height:14 - Visible:false + X: 0 + Y: 6 + Width: 11 + Height: 14 + Visible: false Children: ColorBlock@LATENCY_COLOR: - X:2 - Y:2 - Width:PARENT_RIGHT-4 - Height:PARENT_BOTTOM-4 + X: 2 + Y: 2 + Width: PARENT_RIGHT-4 + Height: PARENT_BOTTOM-4 ClientTooltipRegion@CLIENT_REGION: - TooltipContainer:TOOLTIP_CONTAINER - Template:CLIENT_TOOLTIP - Width:11 - Height:25 + TooltipContainer: TOOLTIP_CONTAINER + Template: CLIENT_TOOLTIP + Width: 11 + Height: 25 TextField@NAME: - Text:Name - X:15 - Width:165 - Height:25 - MaxLength:16 + Text: Name + X: 15 + Width: 165 + Height: 25 + MaxLength: 16 DropDownButton@SLOT_OPTIONS: - Text:Name - X:15 - Width:165 - Height:25 - Font:Regular - Visible:false + Text: Name + X: 15 + Width: 165 + Height: 25 + Font: Regular + Visible: false DropDownButton@COLOR: - X:190 - Width:80 - Height:25 + X: 190 + Width: 80 + Height: 25 Children: ColorBlock@COLORBLOCK: - X:5 - Y:6 - Width:PARENT_RIGHT-35 - Height:PARENT_BOTTOM-12 + X: 5 + Y: 6 + Width: PARENT_RIGHT-35 + Height: PARENT_BOTTOM-12 DropDownButton@FACTION: - X:280 - Width:130 - Height:25 + X: 280 + Width: 130 + Height: 25 Children: Image@FACTIONFLAG: - Width:23 - Height:23 - X:4 - Y:2 + Width: 23 + Height: 23 + X: 4 + Y: 2 Label@FACTIONNAME: - Text:Faction - Width:70 - Height:25 - X:34 - Y:0 + Text: Faction + Width: 70 + Height: 25 + X: 34 + Y: 0 DropDownButton@TEAM: - X:420 - Width:48 - Height:25 - Text:Team + X: 420 + Width: 48 + Height: 25 + Text: Team Checkbox@STATUS_CHECKBOX: - X:477 - Y:2 - Width:20 - Height:20 - Visible:false + X: 477 + Y: 2 + Width: 20 + Height: 20 + Visible: false Image@STATUS_IMAGE: - Visible:false - X:479 - Y:4 - Width:20 - Height:20 - ImageCollection:checkbox-bits - ImageName:checked - Visible:false + Visible: false + X: 479 + Y: 4 + Width: 20 + Height: 20 + ImageCollection: checkbox-bits + ImageName: checked + Visible: false Container@TEMPLATE_NONEDITABLE_PLAYER: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Image@ADMIN_INDICATOR: - ImageCollection:lobby-bits - ImageName:admin - X:2 - Visible:false + ImageCollection: lobby-bits + ImageName: admin + X: 2 + Visible: false Container@LATENCY: - X:0 - Y:6 - Width:11 - Height:14 - Visible:false + X: 0 + Y: 6 + Width: 11 + Height: 14 + Visible: false Children: ColorBlock@LATENCY_COLOR: - X:2 - Y:2 - Width:PARENT_RIGHT-4 - Height:PARENT_BOTTOM-4 + X: 2 + Y: 2 + Width: PARENT_RIGHT-4 + Height: PARENT_BOTTOM-4 ClientTooltipRegion@CLIENT_REGION: - TooltipContainer:TOOLTIP_CONTAINER - Template:CLIENT_TOOLTIP - Width:11 - Height:25 + TooltipContainer: TOOLTIP_CONTAINER + Template: CLIENT_TOOLTIP + Width: 11 + Height: 25 Label@NAME: - Text:Name - Width:165 - Height:25 - X:20 - Y:0-1 + Text: Name + Width: 165 + Height: 25 + X: 20 + Y: 0-1 Button@KICK: - Text:X - Width:25 - Height:23 - X:155 - Y:2 - Font:Bold + Text: X + Width: 25 + Height: 23 + X: 155 + Y: 2 + Font: Bold ColorBlock@COLORBLOCK: - X:195 - Y:6 - Width:45 - Height:13 + X: 195 + Y: 6 + Width: 45 + Height: 13 Container@FACTION: - Width:160 - Height:25 - X:280 - Y:0 + Width: 160 + Height: 25 + X: 280 + Y: 0 Children: Image@FACTIONFLAG: - Width:23 - Height:23 - X:4 - Y:2 + Width: 23 + Height: 23 + X: 4 + Y: 2 Label@FACTIONNAME: - Text:Faction - Width:60 - Height:25 - X:34 - Y:0 + Text: Faction + Width: 60 + Height: 25 + X: 34 + Y: 0 Label@TEAM: - Text:Team - Width:23 - Height:25 - Align:Center - X:420 - Y:0 + Text: Team + Width: 23 + Height: 25 + Align: Center + X: 420 + Y: 0 Image@STATUS_IMAGE: - Visible:false - X:479 - Y:4 - Width:20 - Height:20 - ImageCollection:checkbox-bits - ImageName:checked + Visible: false + X: 479 + Y: 4 + Width: 20 + Height: 20 + ImageCollection: checkbox-bits + ImageName: checked Container@TEMPLATE_EMPTY: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Label@NAME: - Text:Name - Width:165 - Height:25 - X:20 - Y:0-1 + Text: Name + Width: 165 + Height: 25 + X: 20 + Y: 0-1 DropDownButton@SLOT_OPTIONS: - Text:Name - Width:165 - Height:25 - X:15 - Y:0 - Visible:false + Text: Name + Width: 165 + Height: 25 + X: 15 + Y: 0 + Visible: false Button@JOIN: - Text:Play in this slot - Width:278 - Height:25 - X:190 - Y:0 + Text: Play in this slot + Width: 278 + Height: 25 + X: 190 + Y: 0 Container@TEMPLATE_EDITABLE_SPECTATOR: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Image@ADMIN_INDICATOR: - ImageCollection:lobby-bits - ImageName:admin - X:2 - Visible:false + ImageCollection: lobby-bits + ImageName: admin + X: 2 + Visible: false Container@LATENCY: - X:0 - Y:6 - Width:11 - Height:14 - Visible:false + X: 0 + Y: 6 + Width: 11 + Height: 14 + Visible: false Children: ColorBlock@LATENCY_COLOR: - X:2 - Y:2 - Width:PARENT_RIGHT-4 - Height:PARENT_BOTTOM-4 + X: 2 + Y: 2 + Width: PARENT_RIGHT-4 + Height: PARENT_BOTTOM-4 ClientTooltipRegion@CLIENT_REGION: - TooltipContainer:TOOLTIP_CONTAINER - Template:CLIENT_TOOLTIP - Width:11 - Height:25 + TooltipContainer: TOOLTIP_CONTAINER + Template: CLIENT_TOOLTIP + Width: 11 + Height: 25 TextField@NAME: - Text:Name - X:15 - Width:165 - Height:25 - MaxLength:16 + Text: Name + X: 15 + Width: 165 + Height: 25 + MaxLength: 16 Label@SPECTATOR: - Text:Spectator - Width:278 - Height:25 - X:190 - Y:0 - Align:Center - Font:Bold + Text: Spectator + Width: 278 + Height: 25 + X: 190 + Y: 0 + Align: Center + Font: Bold Container@TEMPLATE_NONEDITABLE_SPECTATOR: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Image@ADMIN_INDICATOR: - ImageCollection:lobby-bits - ImageName:admin - X:2 - Visible:false + ImageCollection: lobby-bits + ImageName: admin + X: 2 + Visible: false Container@LATENCY: - X:0 - Y:6 - Width:11 - Height:14 - Visible:false + X: 0 + Y: 6 + Width: 11 + Height: 14 + Visible: false Children: ColorBlock@LATENCY_COLOR: - X:2 - Y:2 - Width:PARENT_RIGHT-4 - Height:PARENT_BOTTOM-4 + X: 2 + Y: 2 + Width: PARENT_RIGHT-4 + Height: PARENT_BOTTOM-4 ClientTooltipRegion@CLIENT_REGION: - TooltipContainer:TOOLTIP_CONTAINER - Template:CLIENT_TOOLTIP - Width:11 - Height:25 + TooltipContainer: TOOLTIP_CONTAINER + Template: CLIENT_TOOLTIP + Width: 11 + Height: 25 Label@NAME: - Text:Name - Width:160 - Height:25 - X:20 - Y:0-1 + Text: Name + Width: 160 + Height: 25 + X: 20 + Y: 0-1 Button@KICK: - Text:X - Width:25 - Height:23 - X:155 - Y:2 - Font:Bold + Text: X + Width: 25 + Height: 23 + X: 155 + Y: 2 + Font: Bold Label@SPECTATOR: - Text:Spectator - Width:278 - Height:25 - X:190 - Y:0 - Align:Center - Font:Bold + Text: Spectator + Width: 278 + Height: 25 + X: 190 + Y: 0 + Align: Center + Font: Bold Container@TEMPLATE_NEW_SPECTATOR: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Checkbox@TOGGLE_SPECTATORS: - Font:Regular - Width:165 - Height:20 - X:15 - Y:0 - Text:Allow Spectators? + Font: Regular + Width: 165 + Height: 20 + X: 15 + Y: 0 + Text: Allow Spectators? Button@SPECTATE: - Text:Spectate - Font:Regular - Width:278 - Height:25 - X:190 - Y:0 + Text: Spectate + Font: Regular + Width: 278 + Height: 25 + X: 190 + Y: 0 ScrollPanel@RACE_DROPDOWN_TEMPLATE: - Width:DROPDOWN_WIDTH + Width: DROPDOWN_WIDTH Children: ScrollItem@TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Image@FLAG: - X:2 - Y:2 - Width:30 - Height:15 + X: 2 + Y: 2 + Width: 30 + Height: 15 Label@LABEL: - X:30 - Width:70 - Height:25 \ No newline at end of file + X: 30 + Width: 70 + Height: 25 + diff --git a/mods/d2k/chrome/mainmenu.yaml b/mods/d2k/chrome/mainmenu.yaml index 0d03554056..2eaa717d14 100644 --- a/mods/d2k/chrome/mainmenu.yaml +++ b/mods/d2k/chrome/mainmenu.yaml @@ -1,173 +1,174 @@ Container@MAINMENU: - Logic:MainMenuLogic + Logic: MainMenuLogic Children: Label@VERSION_LABEL: - X:WINDOW_RIGHT - 10 - Y:WINDOW_BOTTOM - 20 - Align:Right - Font:Regular - Contrast:True + X: WINDOW_RIGHT - 10 + Y: WINDOW_BOTTOM - 20 + Align: Right + Font: Regular + Contrast: True Container@MENUS: - X:100 - Y:WINDOW_BOTTOM/2-HEIGHT/2 - Width:200 - Height:320 + X: 100 + Y: WINDOW_BOTTOM/2-HEIGHT/2 + Width: 200 + Height: 320 Children: Background@MAIN_MENU: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@MAINMENU_LABEL_TITLE: - X:0 - Y:20 - Width:200 - Height:30 - Text:OpenRA - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: 200 + Height: 30 + Text: OpenRA + Align: Center + Font: Bold Button@SINGLEPLAYER_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:60 - Width:140 - Height:30 - Text:Singleplayer - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 60 + Width: 140 + Height: 30 + Text: Singleplayer + Font: Bold Button@MULTIPLAYER_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:100 - Width:140 - Height:30 - Text:Multiplayer - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 100 + Width: 140 + Height: 30 + Text: Multiplayer + Font: Bold Button@SETTINGS_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:140 - Width:140 - Height:30 - Text:Settings - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 140 + Width: 140 + Height: 30 + Text: Settings + Font: Bold Button@EXTRAS_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:180 - Width:140 - Height:30 - Text:Extras - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 180 + Width: 140 + Height: 30 + Text: Extras + Font: Bold Button@MODS_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:220 - Width:140 - Height:30 - Text:Mods - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 220 + Width: 140 + Height: 30 + Text: Mods + Font: Bold Button@QUIT_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:260 - Width:140 - Height:30 - Text:Quit - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 260 + Width: 140 + Height: 30 + Text: Quit + Font: Bold Background@SINGLEPLAYER_MENU: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@SINGLEPLAYER_MENU_TITLE: - X:0 - Y:20 - Width:200 - Height:30 - Text:Singleplayer - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: 200 + Height: 30 + Text: Singleplayer + Align: Center + Font: Bold Button@SKIRMISH_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:60 - Width:140 - Height:30 - Text:Skirmish - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 60 + Width: 140 + Height: 30 + Text: Skirmish + Font: Bold Button@MISSIONS_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:100 - Width:140 - Height:30 - Text:Missions - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 100 + Width: 140 + Height: 30 + Text: Missions + Font: Bold Button@BACK_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Key:escape - Y:260 - Width:140 - Height:30 - Text:Back - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Key: escape + Y: 260 + Width: 140 + Height: 30 + Text: Back + Font: Bold Background@EXTRAS_MENU: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@EXTRAS_MENU_TITLE: - X:0 - Y:20 - Width:200 - Height:30 - Text:Extras - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: 200 + Height: 30 + Text: Extras + Align: Center + Font: Bold Button@REPLAYS_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:60 - Width:140 - Height:30 - Text:Replays - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 60 + Width: 140 + Height: 30 + Text: Replays + Font: Bold Button@MUSIC_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:100 - Width:140 - Height:30 - Text:Music - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 100 + Width: 140 + Height: 30 + Text: Music + Font: Bold Button@ASSETBROWSER_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:140 - Width:140 - Height:30 - Text:Asset Browser - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 140 + Width: 140 + Height: 30 + Text: Asset Browser + Font: Bold Button@CREDITS_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:180 - Width:140 - Height:30 - Text:Credits - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 180 + Width: 140 + Height: 30 + Text: Credits + Font: Bold Button@BACK_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Key:escape - Y:260 - Width:140 - Height:30 - Text:Back - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Key: escape + Y: 260 + Width: 140 + Height: 30 + Text: Back + Font: Bold Container@PERFORMANCE_INFO: - Logic:PerfDebugLogic + Logic: PerfDebugLogic Children: Label@PERF_TEXT: - X:30 - Y:WINDOW_BOTTOM - 70 - Width:170 - Height:40 - Contrast:true + X: 30 + Y: WINDOW_BOTTOM - 70 + Width: 170 + Height: 40 + Contrast: true Background@GRAPH_BG: - ClickThrough:true - Background:dialog4 - X:WINDOW_RIGHT - 240 - Y:WINDOW_BOTTOM - 240 - Width:210 - Height:210 + ClickThrough: true + Background: dialog4 + X: WINDOW_RIGHT - 240 + Y: WINDOW_BOTTOM - 240 + Width: 210 + Height: 210 Children: PerfGraph@GRAPH: - X:5 - Y:5 - Width:200 - Height:200 \ No newline at end of file + X: 5 + Y: 5 + Width: 200 + Height: 200 + diff --git a/mods/d2k/chrome/tooltips.yaml b/mods/d2k/chrome/tooltips.yaml index 7fd7ed719b..99ff0076e0 100644 --- a/mods/d2k/chrome/tooltips.yaml +++ b/mods/d2k/chrome/tooltips.yaml @@ -1,108 +1,109 @@ Background@SIMPLE_TOOLTIP: - Logic:SimpleTooltipLogic - Background:dialog3 - Height:31 + Logic: SimpleTooltipLogic + Background: dialog3 + Height: 31 Children: Label@LABEL: - X:5 - Y:3 - Height:23 - Font:Bold + X: 5 + Y: 3 + Height: 23 + Font: Bold Background@BUTTON_TOOLTIP: - Logic:ButtonTooltipLogic - Background:dialog3 - Height:31 + Logic: ButtonTooltipLogic + Background: dialog3 + Height: 31 Children: Label@LABEL: - X:5 - Y:3 - Height:23 - Font:Bold + X: 5 + Y: 3 + Height: 23 + Font: Bold Label@HOTKEY: - Y:3 - Height:23 - TextColor:255,255,0 - Font:Bold + Y: 3 + Height: 23 + TextColor: 255,255,0 + Font: Bold Background@WORLD_TOOLTIP: - Logic:WorldTooltipLogic - Background:dialog3 + Logic: WorldTooltipLogic + Background: dialog3 Children: Container@SINGLE_HEIGHT: - Height:31 + Height: 31 Container@DOUBLE_HEIGHT: - Height:56 + Height: 56 Label@LABEL: - X:7 - Y:2 - Height:23 - Font:Bold + X: 7 + Y: 2 + Height: 23 + Font: Bold Image@FLAG: - X:7 - Y:27 - Width:23 - Height:23 + X: 7 + Y: 27 + Width: 23 + Height: 23 Label@OWNER: - X:35 - Y:25 - Height:23 - Font:Bold + X: 35 + Y: 25 + Height: 23 + Font: Bold Background@SPAWN_TOOLTIP: - Logic:SpawnSelectorTooltipLogic - Background:dialog3 - Width:7 + Logic: SpawnSelectorTooltipLogic + Background: dialog3 + Width: 7 Children: Container@SINGLE_HEIGHT: - Height:31 + Height: 31 Container@DOUBLE_HEIGHT: - Height:47 + Height: 47 Label@LABEL: - Y:3 - Height:23 - Font:Bold + Y: 3 + Height: 23 + Font: Bold Image@FLAG: - X:5 - Y:5 - Width:23 - Height:23 + X: 5 + Y: 5 + Width: 23 + Height: 23 Label@TEAM: - Y:28 - Height:15 - Font:TinyBold - Align:center + Y: 28 + Height: 15 + Font: TinyBold + Align: center Background@CLIENT_TOOLTIP: - Logic:ClientTooltipLogic - Background:dialog3 - Height:51 - Width:7 + Logic: ClientTooltipLogic + Background: dialog3 + Height: 51 + Width: 7 Children: Label@ADMIN: - Y:4 - Height:18 - Font:Bold - Text:Game Admin - Align:Center + Y: 4 + Height: 18 + Font: Bold + Text: Game Admin + Align: Center Label@IP: - Y:7 - Width:5 - Height:10 - Font:TinyBold - Align:Center + Y: 7 + Width: 5 + Height: 10 + Font: TinyBold + Align: Center Label@LOCATION: - Y:19 - Height:10 - Font:TinyBold - Align:Center + Y: 19 + Height: 10 + Font: TinyBold + Align: Center Label@LATENCY_PREFIX: - X:10 - Y:31 - Height:10 - Font:TinyBold - Text:Latency: + X: 10 + Y: 31 + Height: 10 + Font: TinyBold + Text: Latency: Label@LATENCY: - Y:31 - Height:10 - Font:TinyBold \ No newline at end of file + Y: 31 + Height: 10 + Font: TinyBold + diff --git a/mods/d2k/languages/english.yaml b/mods/d2k/languages/english.yaml index 7eba7d3299..7dee16a0f1 100644 --- a/mods/d2k/languages/english.yaml +++ b/mods/d2k/languages/english.yaml @@ -1,6 +1,2 @@ english: english: English - - ready: READY - on-hold: ON HOLD - requires: Requires {0} diff --git a/mods/ra/chrome/assetbrowser.yaml b/mods/ra/chrome/assetbrowser.yaml index ace25b9e70..4a33a33277 100644 --- a/mods/ra/chrome/assetbrowser.yaml +++ b/mods/ra/chrome/assetbrowser.yaml @@ -1,194 +1,195 @@ Background@ASSETBROWSER_PANEL: - Logic:AssetBrowserLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:700 - Height:500 + Logic: AssetBrowserLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 700 + Height: 500 Children: LogicTicker@ANIMATION_TICKER: ColorPreviewManager@COLOR_MANAGER: Label@ASSETBROWSER_TITLE: - Y:20 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center - Text:Asset Browser + Y: 20 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: Asset Browser Label@SOURCE_SELECTOR_DESC: - X:20 - Y:35 - Width:160 - Height:25 - Font:TinyBold - Align:Center - Text:Select asset source + X: 20 + Y: 35 + Width: 160 + Height: 25 + Font: TinyBold + Align: Center + Text: Select asset source DropDownButton@SOURCE_SELECTOR: - X:20 - Y:60 - Width:160 - Height:25 - Font:Bold - Text:Folders + X: 20 + Y: 60 + Width: 160 + Height: 25 + Font: Bold + Text: Folders ScrollPanel@ASSET_LIST: - X:20 - Y:90 - Width:160 - Height:275 + X: 20 + Y: 90 + Width: 160 + Height: 275 Children: ScrollItem@ASSET_TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Label@TITLE: - X:10 - Width:PARENT_RIGHT-20 - Height:25 + X: 10 + Width: PARENT_RIGHT-20 + Height: 25 Label@FILENAME_DESC: - X:20 - Y:370 - Width:160 - Height:25 - Font:TinyBold - Align:Center - Text:Search for file + X: 20 + Y: 370 + Width: 160 + Height: 25 + Font: TinyBold + Align: Center + Text: Search for file TextField@FILENAME_INPUT: - X:20 - Y:395 - Width:160 - Height:25 + X: 20 + Y: 395 + Width: 160 + Height: 25 Button@LOAD_BUTTON: - X:20 - Y:425 - Width:160 - Height:25 - Text:Load - Font:Bold - Key:return + X: 20 + Y: 425 + Width: 160 + Height: 25 + Text: Load + Font: Bold + Key: return Label@PALETTE_DESC: - X:PARENT_RIGHT-WIDTH-270 - Y:60 - Width:150 - Height:25 - Font:Bold - Align:Right - Text:Palette: + X: PARENT_RIGHT-WIDTH-270 + Y: 60 + Width: 150 + Height: 25 + Font: Bold + Align: Right + Text: Palette: DropDownButton@PALETTE_SELECTOR: - X:PARENT_RIGHT-WIDTH-110 - Y:60 - Width:150 - Height:25 - Font:Bold + X: PARENT_RIGHT-WIDTH-110 + Y: 60 + Width: 150 + Height: 25 + Font: Bold DropDownButton@COLOR: - X:PARENT_RIGHT-WIDTH-20 - Y:60 - Width:80 - Height:25 + X: PARENT_RIGHT-WIDTH-20 + Y: 60 + Width: 80 + Height: 25 Children: ColorBlock@COLORBLOCK: - X:5 - Y:6 - Width:PARENT_RIGHT-35 - Height:PARENT_BOTTOM-12 + X: 5 + Y: 6 + Width: PARENT_RIGHT-35 + Height: PARENT_BOTTOM-12 Background@SPRITE_BG: - X:190 - Y:90 - Width:490 - Height:330 - Background:dialog3 + X: 190 + Y: 90 + Width: 490 + Height: 330 + Background: dialog3 Children: Sprite@SPRITE: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Container@FRAME_SELECTOR: - X:190 - Y:425 + X: 190 + Y: 425 Children: Button@BUTTON_PREV: - X:0 - Y:0 - Width:25 - Height:25 + X: 0 + Y: 0 + Width: 25 + Height: 25 Children: Image@IMAGE_PREV: - X:0 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:prev + X: 0 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: prev Button@BUTTON_PLAY: - X:35 - Y:0 - Width:25 - Height:25 + X: 35 + Y: 0 + Width: 25 + Height: 25 Children: Image@IMAGE_PLAY: - X:0 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:play + X: 0 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: play Button@BUTTON_PAUSE: Visible: no - X:35 - Y:0 - Width:25 - Height:25 + X: 35 + Y: 0 + Width: 25 + Height: 25 Children: Image@IMAGE_PAUSE: - X:0 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:pause + X: 0 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: pause Button@BUTTON_STOP: - X:70 - Y:0 - Width:25 - Height:25 + X: 70 + Y: 0 + Width: 25 + Height: 25 Children: Image@IMAGE_STOP: - X:0 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:stop + X: 0 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: stop Button@BUTTON_NEXT: - X:105 - Y:0 - Width:25 - Height:25 + X: 105 + Y: 0 + Width: 25 + Height: 25 Children: Image@IMAGE_NEXT: - X:0 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:next + X: 0 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: next Slider@FRAME_SLIDER: - X:140 - Y:3 - Width:300 - Height:20 + X: 140 + Y: 3 + Width: 300 + Height: 20 MinimumValue: 0 Label@FRAME_COUNT: - X:445 - Width:40 - Height:25 - Font:TinyBold - Align:Left + X: 445 + Width: 40 + Height: 25 + Font: TinyBold + Align: Left Button@CLOSE_BUTTON: - Key:escape - X:PARENT_RIGHT-180 - Y:PARENT_BOTTOM-45 - Width:160 - Height:25 - Font:Bold - Text:Close \ No newline at end of file + Key: escape + X: PARENT_RIGHT-180 + Y: PARENT_BOTTOM-45 + Width: 160 + Height: 25 + Font: Bold + Text: Close + diff --git a/mods/ra/chrome/cheats.yaml b/mods/ra/chrome/cheats.yaml index fdc81888de..00a0c7d952 100644 --- a/mods/ra/chrome/cheats.yaml +++ b/mods/ra/chrome/cheats.yaml @@ -1,109 +1,110 @@ Background@CHEATS_PANEL: - Logic:CheatsLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:350 - Height:475 - Visible:false + Logic: CheatsLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 350 + Height: 475 + Visible: false Children: Label@LABEL_TITLE: - X:(PARENT_RIGHT - WIDTH)/2 - Y:20 - Width:250 - Height:25 - Text:Developer Mode - Align:Center - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 + Y: 20 + Width: 250 + Height: 25 + Text: Developer Mode + Align: Center + Font: Bold Checkbox@DISABLE_SHROUD: - X:30 - Y:50 - Height:20 - Width:PARENT_RIGHT - 30 - Text:Disable Shroud + X: 30 + Y: 50 + Height: 20 + Width: PARENT_RIGHT - 30 + Text: Disable Shroud Button@GIVE_EXPLORATION: - X:30 - Y:80 - Width:120 - Height:25 - Text:Give Exploration + X: 30 + Y: 80 + Width: 120 + Height: 25 + Text: Give Exploration Button@RESET_EXPLORATION: - X:200 - Y:80 - Width:120 - Height:25 - Text:Reset Exploration + X: 200 + Y: 80 + Width: 120 + Height: 25 + Text: Reset Exploration Checkbox@SHOW_UNIT_PATHS: - X:30 - Y:110 - Width:PARENT_RIGHT - 30 - Height:20 - Text:Show Unit Paths + X: 30 + Y: 110 + Width: PARENT_RIGHT - 30 + Height: 20 + Text: Show Unit Paths Button@GIVE_CASH: - X:30 - Y:140 - Width:135 - Height:20 + X: 30 + Y: 140 + Width: 135 + Height: 20 Text: Give $20000 Cash - Height:25 + Height: 25 Button@GROW_RESOURCES: - X:185 - Y:140 - Width:135 - Height:20 + X: 185 + Y: 140 + Width: 135 + Height: 20 Text: Grow Resources - Height:25 + Height: 25 Checkbox@INSTANT_BUILD: - X:30 - Y:170 - Width:PARENT_RIGHT - 30 - Height:20 - Text:Instant Build Speed + X: 30 + Y: 170 + Width: PARENT_RIGHT - 30 + Height: 20 + Text: Instant Build Speed Checkbox@INSTANT_CHARGE: - X:30 - Y:200 - Width:PARENT_RIGHT - 30 - Height:20 - Text:Support Powers Charge Instantly + X: 30 + Y: 200 + Width: PARENT_RIGHT - 30 + Height: 20 + Text: Support Powers Charge Instantly Checkbox@ENABLE_TECH: - X:30 - Y:230 - Width:PARENT_RIGHT - 30 - Height:20 - Text:Build Everything + X: 30 + Y: 230 + Width: PARENT_RIGHT - 30 + Height: 20 + Text: Build Everything Checkbox@UNLIMITED_POWER: - X:30 - Y:260 - Width:PARENT_RIGHT - 30 - Height:20 - Text:Unlimited Power + X: 30 + Y: 260 + Width: PARENT_RIGHT - 30 + Height: 20 + Text: Unlimited Power Checkbox@BUILD_ANYWHERE: - X:30 - Y:290 - Width:PARENT_RIGHT - 30 - Height:20 - Text:Build Anywhere + X: 30 + Y: 290 + Width: PARENT_RIGHT - 30 + Height: 20 + Text: Build Anywhere Checkbox@SHOW_ASTAR: - X:30 - Y:320 - Width:PARENT_RIGHT - 30 - Height:20 - Text:Show A* Cost + X: 30 + Y: 320 + Width: PARENT_RIGHT - 30 + Height: 20 + Text: Show A* Cost Checkbox@SHOW_COMBATOVERLAY: - X:30 - Y:350 - Height:20 - Width:200 - Text:Show Combat Geometry + X: 30 + Y: 350 + Height: 20 + Width: 200 + Text: Show Combat Geometry Checkbox@SHOW_GEOMETRY: - X:30 - Y:380 - Height:20 - Width:200 - Text:Show Render Geometry + X: 30 + Y: 380 + Height: 20 + Width: 200 + Text: Show Render Geometry Button@CLOSE: - X:30 - Y:420 - Width:PARENT_RIGHT - 60 - Height:25 - Text:Close - Key:escape + X: 30 + Y: 420 + Width: PARENT_RIGHT - 60 + Height: 25 + Text: Close + Key: escape + diff --git a/mods/ra/chrome/color-picker.yaml b/mods/ra/chrome/color-picker.yaml index 779d1de3c4..e5b790203c 100644 --- a/mods/ra/chrome/color-picker.yaml +++ b/mods/ra/chrome/color-picker.yaml @@ -1,46 +1,47 @@ Background@COLOR_CHOOSER: - Logic:ColorPickerLogic - Background:dialog2 - Width:234 - Height:105 + Logic: ColorPickerLogic + Background: dialog2 + Width: 234 + Height: 105 Children: Background@HUEBG: - Background:dialog3 - X:5 - Y:5 - Width:148 - Height:13 + Background: dialog3 + X: 5 + Y: 5 + Width: 148 + Height: 13 Children: HueSlider@HUE: - X:2 - Y:2 - Width:144 - Height:9 - Ticks:5 + X: 2 + Y: 2 + Width: 144 + Height: 9 + Ticks: 5 Background@MIXERBG: - Background:dialog3 - X:5 - Y:23 - Width:148 - Height:76 + Background: dialog3 + X: 5 + Y: 23 + Width: 148 + Height: 76 Children: ColorMixer@MIXER: - X:2 - Y:2 - Width:144 - Height:72 + X: 2 + Y: 2 + Width: 144 + Height: 72 SpriteSequence@FACT: - X:153 - Y:1 - Width:80 - Height:73 - Palette:colorpicker - Unit:fact - Sequence:idle + X: 153 + Y: 1 + Width: 80 + Height: 73 + Palette: colorpicker + Unit: fact + Sequence: idle Button@RANDOM_BUTTON: - Key:tab - X:158 - Y:74 - Width:70 - Height:25 - Text:Random \ No newline at end of file + Key: tab + X: 158 + Y: 74 + Width: 70 + Height: 25 + Text: Random + diff --git a/mods/ra/chrome/connection.yaml b/mods/ra/chrome/connection.yaml index b3eda89c72..ea28e43927 100644 --- a/mods/ra/chrome/connection.yaml +++ b/mods/ra/chrome/connection.yaml @@ -1,90 +1,92 @@ Background@CONNECTIONFAILED_PANEL: - Logic:ConnectionFailedLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:450 - Height:160 + Logic: ConnectionFailedLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 450 + Height: 160 Children: LogicTicker@CONNECTION_FAILED_TICKER: Label@CONNECTION_FAILED_TITLE: - X:0 - Y:20 - Width:450 - Height:25 - Text:Connection Failed - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: 450 + Height: 25 + Text: Connection Failed + Align: Center + Font: Bold Label@CONNECTING_DESC: - X:0 - Y:45 - Width:PARENT_RIGHT - Height:25 - Text:Could not connect to AAA.BBB.CCC.DDD:EEEE - Align:Center + X: 0 + Y: 45 + Width: PARENT_RIGHT + Height: 25 + Text: Could not connect to AAA.BBB.CCC.DDD:EEEE + Align: Center Label@CONNECTION_ERROR: - X:0 - Y:75 - Width:PARENT_RIGHT - Height:25 - Text:ServerError - Align:Center - Font:Bold + X: 0 + Y: 75 + Width: PARENT_RIGHT + Height: 25 + Text: ServerError + Align: Center + Font: Bold Label@PASSWORD_LABEL: - X:PARENT_RIGHT - 360 - Y:110 - Width:95 - Height:25 - Text:Password: - Font:Bold + X: PARENT_RIGHT - 360 + Y: 110 + Width: 95 + Height: 25 + Text: Password: + Font: Bold PasswordField@PASSWORD: - X:PARENT_RIGHT - 285 - Y:111 - Width:190 - MaxLength:20 - Height:25 + X: PARENT_RIGHT - 285 + Y: 111 + Width: 190 + MaxLength: 20 + Height: 25 Button@RETRY_BUTTON: - X:PARENT_RIGHT - 360 - Y:PARENT_BOTTOM - 45 - Width:160 - Height:25 - Text:Retry - Font:Bold - Key:return + X: PARENT_RIGHT - 360 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Retry + Font: Bold + Key: return Button@ABORT_BUTTON: - X:PARENT_RIGHT - 180 - Y:PARENT_BOTTOM - 45 - Width:160 - Height:25 - Text:Cancel - Font:Bold - Key:escape + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Cancel + Font: Bold + Key: escape + Background@CONNECTING_PANEL: - Logic:ConnectionLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:450 - Height:150 + Logic: ConnectionLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 450 + Height: 150 Children: Label@CONNECTING_TITLE: - X:0 - Y:20 - Width:450 - Height:25 - Text:Connecting - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: 450 + Height: 25 + Text: Connecting + Align: Center + Font: Bold Label@CONNECTING_DESC: - X:0 - Y:60 - Width:PARENT_RIGHT - Height:25 - Text:Connecting to AAA.BBB.CCC.DDD:EEEE... - Align:Center + X: 0 + Y: 60 + Width: PARENT_RIGHT + Height: 25 + Text: Connecting to AAA.BBB.CCC.DDD:EEEE... + Align: Center Button@ABORT_BUTTON: - X:PARENT_RIGHT - 180 - Y:PARENT_BOTTOM - 45 - Width:160 - Height:25 - Text:Abort - Font:Bold - Key:escape + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Abort + Font: Bold + Key: escape + diff --git a/mods/ra/chrome/create-server.yaml b/mods/ra/chrome/create-server.yaml index 1b3306f23f..90773e17ab 100644 --- a/mods/ra/chrome/create-server.yaml +++ b/mods/ra/chrome/create-server.yaml @@ -1,104 +1,105 @@ Background@CREATESERVER_PANEL: - Logic:ServerCreationLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:400 - Height:300 + Logic: ServerCreationLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 400 + Height: 300 Children: Label@LABEL_TITLE: - X:0 - Y:20 - Width:400 - Height:25 - Text:Create Server - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: 400 + Height: 25 + Text: Create Server + Align: Center + Font: Bold Label@SERVER_NAME_LABEL: - X:50 - Y:59 - Width:95 - Height:25 + X: 50 + Y: 59 + Width: 95 + Height: 25 Align: Right - Text:Game Title: + Text: Game Title: TextField@SERVER_NAME: - X:150 - Y:60 - Width:210 - MaxLength:50 - Height:25 - Text:OpenRA Game + X: 150 + Y: 60 + Width: 210 + MaxLength: 50 + Height: 25 + Text: OpenRA Game Label@PASSWORD_LABEL: - X:50 - Y:94 - Width:95 - Height:25 - Align:Right - Text:Password: + X: 50 + Y: 94 + Width: 95 + Height: 25 + Align: Right + Text: Password: PasswordField@PASSWORD: - X:150 - Y:95 - Width:145 - MaxLength:20 - Height:25 + X: 150 + Y: 95 + Width: 145 + MaxLength: 20 + Height: 25 Label@AFTER_PASSWORD_LABEL: - X:300 - Y:94 - Width:95 - Height:25 - Align:Left - Text:(optional) + X: 300 + Y: 94 + Width: 95 + Height: 25 + Align: Left + Text: (optional) Label@EXTERNAL_PORT_LABEL: - X:50 - Y:129 - Width:95 - Height:25 + X: 50 + Y: 129 + Width: 95 + Height: 25 Align: Right - Text:External Port: + Text: External Port: TextField@EXTERNAL_PORT: - X:150 - Y:130 - Width:50 - MaxLength:5 - Height:25 - Text:OpenRA Game + X: 150 + Y: 130 + Width: 50 + MaxLength: 5 + Height: 25 + Text: OpenRA Game Label@LISTEN_PORT_LABEL: - X:210 - Y:129 - Width:95 - Height:25 + X: 210 + Y: 129 + Width: 95 + Height: 25 Align: Right - Text:Listen Port: + Text: Listen Port: TextField@LISTEN_PORT: - X:310 - Y:130 - Width:50 - MaxLength:5 - Height:25 + X: 310 + Y: 130 + Width: 50 + MaxLength: 5 + Height: 25 Checkbox@UPNP_CHECKBOX: - X:150 - Y:165 - Width:300 - Height:20 - Text:Automatic port forwarding + X: 150 + Y: 165 + Width: 300 + Height: 20 + Text: Automatic port forwarding Checkbox@ADVERTISE_CHECKBOX: - X:150 - Y:200 - Width:300 - Height:20 - Text:Advertise game Online + X: 150 + Y: 200 + Width: 300 + Height: 20 + Text: Advertise game Online Button@CREATE_BUTTON: - X:130 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Create - Font:Bold - Key:return + X: 130 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Create + Font: Bold + Key: return Button@BACK_BUTTON: - X:260 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Cancel - Font:Bold - Key:escape + X: 260 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold + Key: escape + diff --git a/mods/ra/chrome/credits.yaml b/mods/ra/chrome/credits.yaml index 1d61851732..85a5e0415b 100644 --- a/mods/ra/chrome/credits.yaml +++ b/mods/ra/chrome/credits.yaml @@ -1,33 +1,33 @@ Background@CREDITS_PANEL: - Logic:CreditsLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 400)/2 - Width:400 - Height:450 + Logic: CreditsLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 400)/2 + Width: 400 + Height: 450 Children: Label@CREDITS_TITLE: - Width:PARENT_RIGHT - Y:20 - Height:25 - Font:Bold - Align:Center - Text:Credits + Width: PARENT_RIGHT + Y: 20 + Height: 25 + Font: Bold + Align: Center + Text: Credits ScrollPanel@CREDITS_DISPLAY: - X:15 - Y:50 - Width:PARENT_RIGHT - 30 - Height:345 + X: 15 + Y: 50 + Width: PARENT_RIGHT - 30 + Height: 345 Children: Label@CREDITS_TEMPLATE: - X:8 - Height:16 - VAlign:Top + X: 8 + Height: 16 + VAlign: Top Button@BACK_BUTTON: - X:PARENT_RIGHT - 180 - Y:PARENT_BOTTOM - 45 - Width:160 - Height:25 - Text:Close - Font:Bold - Key:escape + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Close + Font: Bold + Key: escape diff --git a/mods/ra/chrome/directconnect.yaml b/mods/ra/chrome/directconnect.yaml index b80e318dbc..f27b00781c 100644 --- a/mods/ra/chrome/directconnect.yaml +++ b/mods/ra/chrome/directconnect.yaml @@ -1,50 +1,51 @@ Background@DIRECTCONNECT_PANEL: - Logic:DirectConnectLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:400 - Height:150 + Logic: DirectConnectLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 400 + Height: 150 Children: Label@DIRECTCONNECT_LABEL_TITLE: - X:0 - Y:20 - Width:400 - Height:25 - Text:Connect to Server - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: 400 + Height: 25 + Text: Connect to Server + Align: Center + Font: Bold Label@ADDRESS_LABEL: - X:50 - Y:59 - Width:95 - Height:25 - Align:Right - Text:Server Address: + X: 50 + Y: 59 + Width: 95 + Height: 25 + Align: Right + Text: Server Address: TextField@IP: - X:150 - Y:60 - Width:160 - MaxLength:50 - Height:25 + X: 150 + Y: 60 + Width: 160 + MaxLength: 50 + Height: 25 TextField@PORT: - X:315 - Y:60 - Width:55 - MaxLength:5 - Height:25 + X: 315 + Y: 60 + Width: 55 + MaxLength: 5 + Height: 25 Button@JOIN_BUTTON: - X:130 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Join - Font:Bold - Key:return + X: 130 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Join + Font: Bold + Key: return Button@BACK_BUTTON: - X:260 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Cancel - Font:Bold - Key:escape + X: 260 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold + Key: escape + diff --git a/mods/ra/chrome/dropdowns.yaml b/mods/ra/chrome/dropdowns.yaml index 9bcc479319..f707cb05fc 100644 --- a/mods/ra/chrome/dropdowns.yaml +++ b/mods/ra/chrome/dropdowns.yaml @@ -1,80 +1,81 @@ ScrollPanel@LABEL_DROPDOWN_TEMPLATE: - Width:DROPDOWN_WIDTH + Width: DROPDOWN_WIDTH Children: ScrollItem@HEADER: - BaseName:scrollheader - Width:PARENT_RIGHT-27 - Height:13 - X:2 - Y:0 - Visible:false + BaseName: scrollheader + Width: PARENT_RIGHT-27 + Height: 13 + X: 2 + Y: 0 + Visible: false Children: Label@LABEL: - Font:TinyBold - Width:PARENT_RIGHT - Height:10 - Align:Center + Font: TinyBold + Width: PARENT_RIGHT + Height: 10 + Align: Center ScrollItem@TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Label@LABEL: - X:10 - Width:PARENT_RIGHT-20 - Height:25 + X: 10 + Width: PARENT_RIGHT-20 + Height: 25 ScrollPanel@TEAM_DROPDOWN_TEMPLATE: - Width:DROPDOWN_WIDTH + Width: DROPDOWN_WIDTH Children: ScrollItem@TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Label@LABEL: - X:0 - Width:PARENT_RIGHT - Height:25 - Align:Center + X: 0 + Width: PARENT_RIGHT + Height: 25 + Align: Center ScrollPanel@SPECTATOR_DROPDOWN_TEMPLATE: - Width:DROPDOWN_WIDTH + Width: DROPDOWN_WIDTH Children: ScrollItem@HEADER: - BaseName:scrollheader - Width:PARENT_RIGHT-27 - Height:13 - X:2 - Y:0 - Visible:false + BaseName: scrollheader + Width: PARENT_RIGHT-27 + Height: 13 + X: 2 + Y: 0 + Visible: false Children: Label@LABEL: - Font:TinyBold - Width:PARENT_RIGHT - Height:10 - Align:Center + Font: TinyBold + Width: PARENT_RIGHT + Height: 10 + Align: Center ScrollItem@TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Image@FLAG: - X:4 - Y:4 - Width:32 - Height:16 + X: 4 + Y: 4 + Width: 32 + Height: 16 Label@LABEL: - X:40 - Width:60 - Height:25 + X: 40 + Width: 60 + Height: 25 Label@NOFLAG_LABEL: - X:5 - Width:PARENT_RIGHT - Height:25 + X: 5 + Width: PARENT_RIGHT + Height: 25 + diff --git a/mods/ra/chrome/gameinit.yaml b/mods/ra/chrome/gameinit.yaml index 7aa4a5293e..0c7d2c527c 100644 --- a/mods/ra/chrome/gameinit.yaml +++ b/mods/ra/chrome/gameinit.yaml @@ -1,158 +1,160 @@ Background@INSTALL_PANEL: - Logic:InstallLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:510 - Height:160 + Logic: InstallLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 510 + Height: 160 Children: Label@TITLE: - X:0 - Y:20 - Width:PARENT_RIGHT - Height:25 - Text:Install Required - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: PARENT_RIGHT + Height: 25 + Text: Install Required + Align: Center + Font: Bold Label@DESC1: - X:0 - Y:50 - Width:PARENT_RIGHT - Height:25 - Text:OpenRA requires the original Red Alert game content. - Align:Center + X: 0 + Y: 50 + Width: PARENT_RIGHT + Height: 25 + Text: OpenRA requires the original Red Alert game content. + Align: Center Label@DESC2: - X:0 - Y:70 - Width:PARENT_RIGHT - Height:25 - Text:Content can be downloaded, or copied from the install CD. - Align:Center + X: 0 + Y: 70 + Width: PARENT_RIGHT + Height: 25 + Text: Content can be downloaded, or copied from the install CD. + Align: Center Button@DOWNLOAD_BUTTON: - X:20 - Y:PARENT_BOTTOM - 45 - Width:110 - Height:25 - Text:Download - Font:Bold + X: 20 + Y: PARENT_BOTTOM - 45 + Width: 110 + Height: 25 + Text: Download + Font: Bold Button@INSTALL_BUTTON: - X:140 - Y:PARENT_BOTTOM - 45 - Width:110 - Height:25 - Text:Use CD - Font:Bold + X: 140 + Y: PARENT_BOTTOM - 45 + Width: 110 + Height: 25 + Text: Use CD + Font: Bold Button@BACK_BUTTON: - X:PARENT_RIGHT - 130 - Y:PARENT_BOTTOM - 45 - Width:110 - Height:25 - Text:Back - Font:Bold + X: PARENT_RIGHT - 130 + Y: PARENT_BOTTOM - 45 + Width: 110 + Height: 25 + Text: Back + Font: Bold Background@INSTALL_DOWNLOAD_PANEL: - Logic:DownloadPackagesLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:500 - Height:160 + Logic: DownloadPackagesLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 500 + Height: 160 Children: Label@TITLE: - X:0 - Y:20 - Width:PARENT_RIGHT - Height:25 - Text:Downloading Red Alert Content - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: PARENT_RIGHT + Height: 25 + Text: Downloading Red Alert Content + Align: Center + Font: Bold ProgressBar@PROGRESS_BAR: - X:50 - Y:55 - Width:PARENT_RIGHT - 100 - Height:25 + X: 50 + Y: 55 + Width: PARENT_RIGHT - 100 + Height: 25 Label@STATUS_LABEL: - X:50 - Y:80 - Width:PARENT_RIGHT - 100 - Height:25 - Align:Left + X: 50 + Y: 80 + Width: PARENT_RIGHT - 100 + Height: 25 + Align: Left Button@RETRY_BUTTON: - X:PARENT_RIGHT - 280 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 + X: PARENT_RIGHT - 280 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 Visible: false - Text:Retry - Font:Bold - Key:return + Text: Retry + Font: Bold + Key: return Button@CANCEL_BUTTON: - X:PARENT_RIGHT - 140 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Cancel - Font:Bold - Key:escape + X: PARENT_RIGHT - 140 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold + Key: escape + Background@INSTALL_FROMCD_PANEL: - Logic:RAInstallFromCDLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:500 - Height:160 + Logic: RAInstallFromCDLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 500 + Height: 160 Children: Label@TITLE: - X:0 - Y:20 - Width:PARENT_RIGHT - Height:25 - Text:Installing from CD - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: PARENT_RIGHT + Height: 25 + Text: Installing from CD + Align: Center + Font: Bold Container@INSTALLING: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Visible: false Children: ProgressBar@PROGRESS_BAR: - X:50 - Y:55 - Width:PARENT_RIGHT - 100 - Height:25 + X: 50 + Y: 55 + Width: PARENT_RIGHT - 100 + Height: 25 Label@STATUS_LABEL: - X:50 - Y:80 - Width:PARENT_RIGHT - 100 - Height:25 - Align:Left + X: 50 + Y: 80 + Width: PARENT_RIGHT - 100 + Height: 25 + Align: Left Container@INSERT_DISK: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Visible: false Children: Label@INFO: - Y:50 - Width:PARENT_RIGHT - Height:25 - Text:Disk not found. - Align:Center + Y: 50 + Width: PARENT_RIGHT + Height: 25 + Text: Disk not found. + Align: Center Label@INFO2: - Y:70 - Width:PARENT_RIGHT - Height:25 - Text:Please insert one of the Red Alert install CDs then click Retry. - Align:Center + Y: 70 + Width: PARENT_RIGHT + Height: 25 + Text: Please insert one of the Red Alert install CDs then click Retry. + Align: Center Button@RETRY_BUTTON: - X:PARENT_RIGHT - 280 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Retry - Font:Bold - Key:return + X: PARENT_RIGHT - 280 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Retry + Font: Bold + Key: return Button@BACK_BUTTON: - X:PARENT_RIGHT - 140 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Cancel - Font:Bold - Key:escape + X: PARENT_RIGHT - 140 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold + Key: escape + diff --git a/mods/ra/chrome/ingame-chat.yaml b/mods/ra/chrome/ingame-chat.yaml index 72e197c01b..de3854c23f 100644 --- a/mods/ra/chrome/ingame-chat.yaml +++ b/mods/ra/chrome/ingame-chat.yaml @@ -1,62 +1,63 @@ Container@CHAT_PANEL: - X:(WINDOW_RIGHT - WIDTH) / 2 - Y:WINDOW_BOTTOM - HEIGHT - 15 - Width:550 - Height:194 - Logic:IngameChatLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: WINDOW_BOTTOM - HEIGHT - 15 + Width: 550 + Height: 194 + Logic: IngameChatLogic Children: Container@CHAT_OVERLAY: - Width:PARENT_RIGHT-24 - Height:PARENT_BOTTOM-25 - Visible:false + Width: PARENT_RIGHT-24 + Height: PARENT_BOTTOM-25 + Visible: false Children: ChatDisplay@CHAT_DISPLAY: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM - RemoveTime:250 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + RemoveTime: 250 UseContrast: yes Container@CHAT_CHROME: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Button@CHAT_MODE: - Y:PARENT_BOTTOM - HEIGHT - Width:50 - Height:25 - Text:Team - Font:Bold + Y: PARENT_BOTTOM - HEIGHT + Width: 50 + Height: 25 + Text: Team + Font: Bold TextField@CHAT_TEXTFIELD: - X:55 - Y:PARENT_BOTTOM - HEIGHT - Width:466 - Height:25 + X: 55 + Y: PARENT_BOTTOM - HEIGHT + Width: 466 + Height: 25 Button@CHAT_CLOSE: - X:526 - Y:PARENT_BOTTOM - HEIGHT - Width:24 - Height:25 - Text:X - Font:Bold + X: 526 + Y: PARENT_BOTTOM - HEIGHT + Width: 24 + Height: 25 + Text: X + Font: Bold ScrollPanel@CHAT_SCROLLPANEL: - Y:PARENT_BOTTOM - HEIGHT - 30 - Width:550 - Height:164 - ItemSpacing:4 - Align:Bottom + Y: PARENT_BOTTOM - HEIGHT - 30 + Width: 550 + Height: 164 + ItemSpacing: 4 + Align: Bottom Children: Container@CHAT_TEMPLATE: - X:2 - Width:PARENT_RIGHT-27 - Height:16 + X: 2 + Width: PARENT_RIGHT-27 + Height: 16 Children: Label@NAME: - X:3 - Width:50 - Height:15 - VAlign:Top + X: 3 + Width: 50 + Height: 15 + VAlign: Top Label@TEXT: - X:12 - Width:PARENT_RIGHT - 17 - Height:15 - WordWrap:true - VAlign:Top + X: 12 + Width: PARENT_RIGHT - 17 + Height: 15 + WordWrap: true + VAlign: Top + diff --git a/mods/ra/chrome/ingame-diplomacy.yaml b/mods/ra/chrome/ingame-diplomacy.yaml index 421dbe4bde..b4b6be6a39 100644 --- a/mods/ra/chrome/ingame-diplomacy.yaml +++ b/mods/ra/chrome/ingame-diplomacy.yaml @@ -1,83 +1,84 @@ Background@DIPLOMACY: - Logic:DiplomacyLogic - X:25 - Y:50 - Width:490 - Height:300 - Visible:false + Logic: DiplomacyLogic + X: 25 + Y: 50 + Width: 490 + Height: 300 + Visible: false Children: Label@LABEL_TITLE: - X:(PARENT_RIGHT - WIDTH)/2 - Y:17 - Width:250 - Height:20 - Text:Diplomacy - Align:Center - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 + Y: 17 + Width: 250 + Height: 20 + Text: Diplomacy + Align: Center + Font: Bold Container@DIPLOMACY_HEADERS: - X:20 - Y:40 - Width:PARENT_RIGHT-40 - Height:PARENT_BOTTOM + X: 20 + Y: 40 + Width: PARENT_RIGHT-40 + Height: PARENT_BOTTOM Children: Label@PLAYER_HEADER: - X:20 - Width:160 - Height:25 - Font:Bold - Text:Player + X: 20 + Width: 160 + Height: 25 + Font: Bold + Text: Player Label@THEIR_STANCE_HEADER: - X:210 - Width:80 - Height:25 - Font:Bold - Text:Their Stance - Align:Center + X: 210 + Width: 80 + Height: 25 + Font: Bold + Text: Their Stance + Align: Center Label@MY_STANCE_HEADER: - X:307 - Width:100 - Height:25 - Font:Bold - Text:My Stance - Align:Center + X: 307 + Width: 100 + Height: 25 + Font: Bold + Text: My Stance + Align: Center ScrollPanel@DIPLOMACY_PANEL: - X:20 - Y:67 - Width:PARENT_RIGHT-40 - Height:PARENT_BOTTOM-87 - ItemSpacing:5 + X: 20 + Y: 67 + Width: PARENT_RIGHT-40 + Height: PARENT_BOTTOM-87 + ItemSpacing: 5 Children: ScrollItem@TEAM_TEMPLATE: - Width:PARENT_RIGHT - Height:25 + Width: PARENT_RIGHT + Height: 25 Children: Label@TEAM: - X:10 - Width:PARENT_RIGHT - Height:PARENT_BOTTOM - Font:Bold + X: 10 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: Bold ScrollItem@PLAYER_TEMPLATE: - Width:PARENT_RIGHT-35 - Height:25 + Width: PARENT_RIGHT-35 + Height: 25 Children: Image@FLAG: - X:20 - Y:5 - Width:35 - Height:PARENT_BOTTOM-5 - ImageName:random - ImageCollection:flags + X: 20 + Y: 5 + Width: 35 + Height: PARENT_BOTTOM-5 + ImageName: random + ImageCollection: flags Label@PLAYER: - X:55 - Width:160 - Height:PARENT_BOTTOM - Font:Bold + X: 55 + Width: 160 + Height: PARENT_BOTTOM + Font: Bold Label@THEIR_STANCE: - X:210 - Width:80 - Height:PARENT_BOTTOM - Align:Center + X: 210 + Width: 80 + Height: PARENT_BOTTOM + Align: Center DropDownButton@MY_STANCE: - X:307 - Width:100 - Height:PARENT_BOTTOM \ No newline at end of file + X: 307 + Width: 100 + Height: PARENT_BOTTOM + diff --git a/mods/ra/chrome/ingame-fmvplayer.yaml b/mods/ra/chrome/ingame-fmvplayer.yaml index 4a536b56b8..1de2f29691 100644 --- a/mods/ra/chrome/ingame-fmvplayer.yaml +++ b/mods/ra/chrome/ingame-fmvplayer.yaml @@ -1,10 +1,11 @@ Background@FMVPLAYER: - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM - Background:dialog4 + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + Background: dialog4 Children: VqaPlayer@PLAYER: - X:0 - Y:0 - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM \ No newline at end of file + X: 0 + Y: 0 + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + diff --git a/mods/ra/chrome/ingame-menu.yaml b/mods/ra/chrome/ingame-menu.yaml index 8fbc83143e..bb307ae628 100644 --- a/mods/ra/chrome/ingame-menu.yaml +++ b/mods/ra/chrome/ingame-menu.yaml @@ -1,52 +1,53 @@ Background@INGAME_OPTIONS_BG: - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:300 - Height:295 - Logic:IngameMenuLogic - Visible:false + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 300 + Height: 295 + Logic: IngameMenuLogic + Visible: false Children: Label@LABEL_TITLE: - X:(PARENT_RIGHT - WIDTH)/2 - Y:20 - Width:250 - Height:25 - Text:Options - Align:Center - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 + Y: 20 + Width: 250 + Height: 25 + Text: Options + Align: Center + Font: Bold Button@RESUME: - X:(PARENT_RIGHT - WIDTH)/2 - Y:60 - Width:160 - Height:25 - Text:Resume - Font:Bold - Key:escape + X: (PARENT_RIGHT - WIDTH)/2 + Y: 60 + Width: 160 + Height: 25 + Text: Resume + Font: Bold + Key: escape Button@SETTINGS: - X:(PARENT_RIGHT - WIDTH)/2 - Y:100 - Width:160 - Height:25 - Text:Settings - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 + Y: 100 + Width: 160 + Height: 25 + Text: Settings + Font: Bold Button@MUSIC: - X:(PARENT_RIGHT - WIDTH)/2 - Y:140 - Width:160 - Height:25 - Text:Music - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 + Y: 140 + Width: 160 + Height: 25 + Text: Music + Font: Bold Button@SURRENDER: - X:(PARENT_RIGHT - WIDTH)/2 - Y:180 - Width:160 - Height:25 - Text:Surrender - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 + Y: 180 + Width: 160 + Height: 25 + Text: Surrender + Font: Bold Button@DISCONNECT: - X:(PARENT_RIGHT - WIDTH)/2 - Y:220 - Width:160 - Height:25 - Text:Abort Mission - Font:Bold \ No newline at end of file + X: (PARENT_RIGHT - WIDTH)/2 + Y: 220 + Width: 160 + Height: 25 + Text: Abort Mission + Font: Bold + diff --git a/mods/ra/chrome/ingame-objectives.yaml b/mods/ra/chrome/ingame-objectives.yaml index 2eef5f4980..87b6bc02fa 100644 --- a/mods/ra/chrome/ingame-objectives.yaml +++ b/mods/ra/chrome/ingame-objectives.yaml @@ -1,97 +1,98 @@ Background@MISSION_OBJECTIVES: - Logic:MissionObjectivesLogic - X:25 - Y:50 - Width:512 - Height:530 - Visible:false - Background:dialog + Logic: MissionObjectivesLogic + X: 25 + Y: 50 + Width: 512 + Height: 530 + Visible: false + Background: dialog Children: Label@TITLE: - X:0 - Y:15 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center - Text:Objectives + X: 0 + Y: 15 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: Objectives Label@PRIMARY_OBJECTIVE_HEADER: - X:40 - Y:40 - Width:300 - Height:25 - Font:Bold - Text:Primary Objectives + X: 40 + Y: 40 + Width: 300 + Height: 25 + Font: Bold + Text: Primary Objectives Label@PRIMARY_STATUS_HEADER: - X:350 - Y:40 - Width:122 - Height:25 - Font:Bold - Text:Status + X: 350 + Y: 40 + Width: 122 + Height: 25 + Font: Bold + Text: Status ScrollPanel@PRIMARY_OBJECTIVES: - X:25 - Y:70 - Width:PARENT_RIGHT-50 - Height:200 - ItemSpacing:20 + X: 25 + Y: 70 + Width: PARENT_RIGHT-50 + Height: 200 + ItemSpacing: 20 Children: Container@PRIMARY_OBJECTIVE_TEMPLATE: - X:15 - Y:0 - Width:PARENT_RIGHT + X: 15 + Y: 0 + Width: PARENT_RIGHT Children: Label@PRIMARY_OBJECTIVE: - X:0 - Y:0 - Width:300 - Height:PARENT_BOTTOM - Font:Regular - WordWrap:True + X: 0 + Y: 0 + Width: 300 + Height: PARENT_BOTTOM + Font: Regular + WordWrap: True Label@PRIMARY_STATUS: - X:310 - Y:0 - Width:122 - Height:PARENT_BOTTOM - Font:Bold - WordWrap:True + X: 310 + Y: 0 + Width: 122 + Height: PARENT_BOTTOM + Font: Bold + WordWrap: True Label@SECONDARY_OBJECTIVE_HEADER: - X:40 - Y:275 - Width:300 - Height:25 - Font:Bold - Text:Secondary Objectives + X: 40 + Y: 275 + Width: 300 + Height: 25 + Font: Bold + Text: Secondary Objectives Label@SECONDARY_STATUS_HEADER: - X:350 - Y:275 - Width:122 - Height:25 - Font:Bold - Text:Status + X: 350 + Y: 275 + Width: 122 + Height: 25 + Font: Bold + Text: Status ScrollPanel@SECONDARY_OBJECTIVES: - X:25 - Y:305 - Width:PARENT_RIGHT-50 - Height:200 - ItemSpacing:20 + X: 25 + Y: 305 + Width: PARENT_RIGHT-50 + Height: 200 + ItemSpacing: 20 Children: Container@SECONDARY_OBJECTIVE_TEMPLATE: - X:15 - Y:0 - Width:PARENT_RIGHT + X: 15 + Y: 0 + Width: PARENT_RIGHT Children: Label@SECONDARY_OBJECTIVE: - X:0 - Y:0 - Width:300 - Height:PARENT_BOTTOM - Font:Regular - WordWrap:True + X: 0 + Y: 0 + Width: 300 + Height: PARENT_BOTTOM + Font: Regular + WordWrap: True Label@SECONDARY_STATUS: - X:310 - Y:0 - Width:122 - Height:PARENT_BOTTOM - Font:Bold - WordWrap:True \ No newline at end of file + X: 310 + Y: 0 + Width: 122 + Height: PARENT_BOTTOM + Font: Bold + WordWrap: True + diff --git a/mods/ra/chrome/ingame-observer.yaml b/mods/ra/chrome/ingame-observer.yaml index fd36d32d45..f6c0beee3f 100644 --- a/mods/ra/chrome/ingame-observer.yaml +++ b/mods/ra/chrome/ingame-observer.yaml @@ -1,114 +1,115 @@ Container@OBSERVER_WIDGETS: Children: Button@INGAME_STATS_BUTTON: - X:162 - Y:0 - Width:160 - Height:25 - Text:Statistics (F1) - Font:Bold - Key:f1 + X: 162 + Y: 0 + Width: 160 + Height: 25 + Text: Statistics (F1) + Font: Bold + Key: f1 Background@RADAR_BG: - X:WINDOW_RIGHT-255 - Y:5 - Width:250 - Height:250 + X: WINDOW_RIGHT-255 + Y: 5 + Width: 250 + Height: 250 Children: Radar@INGAME_RADAR: - X:10 - Y:10 - Width:PARENT_RIGHT-19 - Height:PARENT_BOTTOM-19 - WorldInteractionController:INTERACTION_CONTROLLER + X: 10 + Y: 10 + Width: PARENT_RIGHT-19 + Height: PARENT_BOTTOM-19 + WorldInteractionController: INTERACTION_CONTROLLER Background@OBSERVER_CONTROL_BG: - X:WINDOW_RIGHT-255 - Y:260 - Width:250 - Height:55 + X: WINDOW_RIGHT-255 + Y: 260 + Width: 250 + Height: 55 Children: DropDownButton@SHROUD_SELECTOR: - Logic:ObserverShroudSelectorLogic - X:15 - Y:15 - Width:220 - Height:25 - Font:Bold + Logic: ObserverShroudSelectorLogic + X: 15 + Y: 15 + Width: 220 + Height: 25 + Font: Bold Children: LogicKeyListener@SHROUD_KEYHANDLER: Image@FLAG: - X:4 - Y:4 - Width:32 - Height:16 + X: 4 + Y: 4 + Width: 32 + Height: 16 Label@LABEL: - X:40 - Width:60 - Height:25 + X: 40 + Width: 60 + Height: 25 Label@NOFLAG_LABEL: - X:5 - Width:PARENT_RIGHT - Height:25 + X: 5 + Width: PARENT_RIGHT + Height: 25 Container@REPLAY_PLAYER: - Logic:ReplayControlBarLogic - X:PARENT_RIGHT/2 - 80 - Y:35 - Width:160 - Height:35 - Visible:false + Logic: ReplayControlBarLogic + X: PARENT_RIGHT/2 - 80 + Y: 35 + Width: 160 + Height: 35 + Visible: false Children: Button@BUTTON_PAUSE: - X:15 - Y:15 - Width:25 - Height:25 - IgnoreChildMouseOver:true + X: 15 + Y: 15 + Width: 25 + Height: 25 + IgnoreChildMouseOver: true Children: Image@IMAGE_PAUSE: - X:0 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:pause + X: 0 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: pause Button@BUTTON_SLOW: - X:50 - Y:15 - Width:25 - Height:25 - IgnoreChildMouseOver:true + X: 50 + Y: 15 + Width: 25 + Height: 25 + IgnoreChildMouseOver: true Children: Image@IMAGE_SLOW: - X:4 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:slowmo + X: 4 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: slowmo Button@BUTTON_NORMALSPEED: - X:85 - Y:15 - Width:25 - Height:25 - IgnoreChildMouseOver:true + X: 85 + Y: 15 + Width: 25 + Height: 25 + IgnoreChildMouseOver: true Children: Image@IMAGE_PLAY: - X:0 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:play + X: 0 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: play Button@BUTTON_FASTFORWARD: - X:120 - Y:15 - Width:25 - Height:25 - IgnoreChildMouseOver:true + X: 120 + Y: 15 + Width: 25 + Height: 25 + IgnoreChildMouseOver: true Children: Image@IMAGE_FASTFORWARD: - X:4 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:fastforward + X: 4 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: fastforward + diff --git a/mods/ra/chrome/ingame-observerstats.yaml b/mods/ra/chrome/ingame-observerstats.yaml index d9659ea0a2..77baedb70d 100644 --- a/mods/ra/chrome/ingame-observerstats.yaml +++ b/mods/ra/chrome/ingame-observerstats.yaml @@ -1,488 +1,489 @@ Container@OBSERVER_STATS: - Logic:ObserverStatsLogic - X:25 - Y:50 - Width:950 - Height:500 - Visible:false + Logic: ObserverStatsLogic + X: 25 + Y: 50 + Width: 950 + Height: 500 + Visible: false Children: Background@BACKGROUND: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM - Background:dialog + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Background: dialog Children: Label@TITLE: - X:0 - Y:15 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center - Text:Statistics + X: 0 + Y: 15 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: Statistics DropDownButton@STATS_DROPDOWN: - X:PARENT_RIGHT-200 - Y:15 - Width:185 - Height:25 - Font:Bold + X: PARENT_RIGHT-200 + Y: 15 + Width: 185 + Height: 25 + Font: Bold Container@BASIC_STATS_HEADERS: - X:0 - Y:0 - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + X: 0 + Y: 0 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@PLAYER_HEADER: - X:85 - Y:40 - Width:160 - Height:25 - Font:Bold - Text:Player + X: 85 + Y: 40 + Width: 160 + Height: 25 + Font: Bold + Text: Player Label@CASH_HEADER: - X:245 - Y:40 - Width:80 - Height:25 - Font:Bold - Text:Cash + X: 245 + Y: 40 + Width: 80 + Height: 25 + Font: Bold + Text: Cash Label@EARNED_MIN_HEADER: - X:325 - Y:40 - Width:60 - Height:25 - Font:Bold - Text:Earned/min + X: 325 + Y: 40 + Width: 60 + Height: 25 + Font: Bold + Text: Earned/min Label@POWER_HEADER: - X:425 - Y:40 - Width:80 - Height:25 - Font:Bold - Text:Power + X: 425 + Y: 40 + Width: 80 + Height: 25 + Font: Bold + Text: Power Label@KILLS_HEADER: - X:505 - Y:40 - Width:40 - Height:25 - Font:Bold - Text:Kills - Align:Right + X: 505 + Y: 40 + Width: 40 + Height: 25 + Font: Bold + Text: Kills + Align: Right Label@DEATHS_HEADER: - X:565 - Y:40 - Width:40 - Height:25 - Font:Bold - Text:Deaths - Align:Right + X: 565 + Y: 40 + Width: 40 + Height: 25 + Font: Bold + Text: Deaths + Align: Right Label@ACTIONS_MIN_HEADER: - X:665 - Y:40 - Width:40 - Height:25 - Font:Bold - Text:Actions/min - Align:Right + X: 665 + Y: 40 + Width: 40 + Height: 25 + Font: Bold + Text: Actions/min + Align: Right Container@ECONOMY_STATS_HEADERS: - X:0 - Y:0 - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + X: 0 + Y: 0 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@PLAYER_HEADER: - X:85 - Y:40 - Width:160 - Height:25 - Font:Bold - Text:Player + X: 85 + Y: 40 + Width: 160 + Height: 25 + Font: Bold + Text: Player Label@CASH_HEADER: - X:245 - Y:40 - Width:80 - Height:25 - Font:Bold - Text:Cash + X: 245 + Y: 40 + Width: 80 + Height: 25 + Font: Bold + Text: Cash Label@EARNED_MIN_HEADER: - X:325 - Y:40 - Width:60 - Height:25 - Font:Bold - Text:Earned/min + X: 325 + Y: 40 + Width: 60 + Height: 25 + Font: Bold + Text: Earned/min Label@EARNED_THIS_MIN_HEADER: - X:425 - Y:40 - Width:60 - Height:25 - Font:Bold - Text:Earned this min + X: 425 + Y: 40 + Width: 60 + Height: 25 + Font: Bold + Text: Earned this min Label@ASSETS_HEADER: - X:565 - Y:40 - Width:60 - Height:25 - Font:Bold - Text:Assets + X: 565 + Y: 40 + Width: 60 + Height: 25 + Font: Bold + Text: Assets Label@EARNED_HEADER: - X:645 - Y:40 - Width:60 - Height:25 - Font:Bold - Text:Earned + X: 645 + Y: 40 + Width: 60 + Height: 25 + Font: Bold + Text: Earned Label@SPENT_HEADER: - X:725 - Y:40 - Width:60 - Height:25 - Font:Bold - Text:Spent + X: 725 + Y: 40 + Width: 60 + Height: 25 + Font: Bold + Text: Spent Label@HARVESTERS_HEADER: - X:805 - Y:40 - Width:60 - Height:25 - Font:Bold - Text:Harvesters - Align:Right + X: 805 + Y: 40 + Width: 60 + Height: 25 + Font: Bold + Text: Harvesters + Align: Right Container@PRODUCTION_STATS_HEADERS: - X:0 - Y:0 - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + X: 0 + Y: 0 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@PLAYER_HEADER: - X:85 - Y:40 - Width:160 - Height:25 - Font:Bold - Text:Player + X: 85 + Y: 40 + Width: 160 + Height: 25 + Font: Bold + Text: Player Label@PRODUCTION_HEADER: - X:245 - Y:40 - Width:320 - Height:25 - Font:Bold - Text:Production + X: 245 + Y: 40 + Width: 320 + Height: 25 + Font: Bold + Text: Production Label@SUPPORT_POWERS_HEADER: - X:565 - Y:40 - Width:320 - Height:25 - Font:Bold - Text:Support Powers + X: 565 + Y: 40 + Width: 320 + Height: 25 + Font: Bold + Text: Support Powers Container@COMBAT_STATS_HEADERS: - X:0 - Y:0 - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + X: 0 + Y: 0 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@PLAYER_HEADER: - X:85 - Y:40 - Width:160 - Height:25 - Font:Bold - Text:Player + X: 85 + Y: 40 + Width: 160 + Height: 25 + Font: Bold + Text: Player Label@CONTROL_HEADER: - X:245 - Y:40 - Width:60 - Height:25 - Font:Bold - Text:Control + X: 245 + Y: 40 + Width: 60 + Height: 25 + Font: Bold + Text: Control Label@KILLS_COST_HEADER: - X:325 - Y:40 - Width:60 - Height:25 - Font:Bold - Text:Kills + X: 325 + Y: 40 + Width: 60 + Height: 25 + Font: Bold + Text: Kills Label@DEATHS_COST_HEADER: - X:405 - Y:40 - Width:60 - Height:25 - Font:Bold - Text:Deaths + X: 405 + Y: 40 + Width: 60 + Height: 25 + Font: Bold + Text: Deaths Label@UNITS_KILLED_HEADER: - X:505 - Y:40 - Width:40 - Height:25 - Font:Bold - Text:Units Killed - Align:Right + X: 505 + Y: 40 + Width: 40 + Height: 25 + Font: Bold + Text: Units Killed + Align: Right Label@UNITS_DEAD_HEADER: - X:605 - Y:40 - Width:40 - Height:25 - Font:Bold - Text:Units Lost - Align:Right + X: 605 + Y: 40 + Width: 40 + Height: 25 + Font: Bold + Text: Units Lost + Align: Right Label@BUILDINGS_KILLED_HEADER: - X:725 - Y:40 - Width:40 - Height:25 - Font:Bold - Text:Bldg Killed - Align:Right + X: 725 + Y: 40 + Width: 40 + Height: 25 + Font: Bold + Text: Bldg Killed + Align: Right Label@BUILDINGS_DEAD_HEADER: - X:825 - Y:40 - Width:40 - Height:25 - Font:Bold - Text:Bldg Lost - Align:Right + X: 825 + Y: 40 + Width: 40 + Height: 25 + Font: Bold + Text: Bldg Lost + Align: Right Container@EARNED_THIS_MIN_GRAPH_HEADERS: - X:0 - Y:0 - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + X: 0 + Y: 0 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@EARNED_THIS_MIN_HEADER: - X:0 - Y:40 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Text:Earnings received each minute - Align:Center + X: 0 + Y: 40 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Text: Earnings received each minute + Align: Center ScrollPanel@PLAYER_STATS_PANEL: - X:25 - Y:70 - Width:PARENT_RIGHT-50 - Height:PARENT_BOTTOM-45-50 - ItemSpacing:5 + X: 25 + Y: 70 + Width: PARENT_RIGHT-50 + Height: PARENT_BOTTOM-45-50 + ItemSpacing: 5 Children: ScrollItem@TEAM_TEMPLATE: - X:0 - Y:0 - Width:PARENT_RIGHT-35 - Height:25 + X: 0 + Y: 0 + Width: PARENT_RIGHT-35 + Height: 25 Children: Label@TEAM: - X:0 - Y:0 - Width:PARENT_RIGHT - Height:PARENT_BOTTOM - Font:Bold + X: 0 + Y: 0 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: Bold ScrollItem@BASIC_PLAYER_TEMPLATE: - X:0 - Y:0 - Width:PARENT_RIGHT-35 - Height:25 + X: 0 + Y: 0 + Width: PARENT_RIGHT-35 + Height: 25 Children: Image@FLAG: - X:20 - Y:5 - Width:35 - Height:PARENT_BOTTOM-5 - ImageName:random - ImageCollection:flags + X: 20 + Y: 5 + Width: 35 + Height: PARENT_BOTTOM-5 + ImageName: random + ImageCollection: flags Label@PLAYER: - X:55 - Y:0 - Width:160 - Height:PARENT_BOTTOM - Font:Bold + X: 55 + Y: 0 + Width: 160 + Height: PARENT_BOTTOM + Font: Bold Label@CASH: - X:215 - Y:0 - Width:80 - Height:PARENT_BOTTOM + X: 215 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM Label@EARNED_MIN: - X:295 - Y:0 - Width:60 - Height:PARENT_BOTTOM + X: 295 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM Label@POWER: - X:395 - Y:0 - Width:80 - Height:PARENT_BOTTOM + X: 395 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM Label@KILLS: - X:475 - Y:0 - Width:40 - Height:PARENT_BOTTOM - Align:Right + X: 475 + Y: 0 + Width: 40 + Height: PARENT_BOTTOM + Align: Right Label@DEATHS: - X:535 - Y:0 - Width:40 - Height:PARENT_BOTTOM - Align:Right + X: 535 + Y: 0 + Width: 40 + Height: PARENT_BOTTOM + Align: Right Label@ACTIONS_MIN: - X:635 - Y:0 - Width:40 - Height:PARENT_BOTTOM - Align:Right + X: 635 + Y: 0 + Width: 40 + Height: PARENT_BOTTOM + Align: Right ScrollItem@ECONOMY_PLAYER_TEMPLATE: - X:0 - Y:0 - Width:PARENT_RIGHT-35 - Height:25 + X: 0 + Y: 0 + Width: PARENT_RIGHT-35 + Height: 25 Children: Image@FLAG: - X:20 - Y:5 - Width:35 - Height:PARENT_BOTTOM-5 - ImageName:random - ImageCollection:flags + X: 20 + Y: 5 + Width: 35 + Height: PARENT_BOTTOM-5 + ImageName: random + ImageCollection: flags Label@PLAYER: - X:55 - Y:0 - Width:160 - Height:PARENT_BOTTOM - Font:Bold + X: 55 + Y: 0 + Width: 160 + Height: PARENT_BOTTOM + Font: Bold Label@CASH: - X:215 - Y:0 - Width:80 - Height:PARENT_BOTTOM + X: 215 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM Label@EARNED_MIN: - X:295 - Y:0 - Width:60 - Height:PARENT_BOTTOM + X: 295 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM Label@EARNED_THIS_MIN: - X:395 - Y:0 - Width:60 - Height:PARENT_BOTTOM + X: 395 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM Label@ASSETS: - X:535 - Y:0 - Width:60 - Height:PARENT_BOTTOM + X: 535 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM Label@EARNED: - X:615 - Y:0 - Width:60 - Height:PARENT_BOTTOM + X: 615 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM Label@SPENT: - X:695 - Y:0 - Width:60 - Height:PARENT_BOTTOM + X: 695 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM Label@HARVESTERS: - X:775 - Y:0 - Width:60 - Height:PARENT_BOTTOM - Align:Right + X: 775 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM + Align: Right ScrollItem@PRODUCTION_PLAYER_TEMPLATE: - X:0 - Y:0 - Width:PARENT_RIGHT-35 - Height:25 + X: 0 + Y: 0 + Width: PARENT_RIGHT-35 + Height: 25 Children: Image@FLAG: - X:20 - Y:5 - Width:35 - Height:PARENT_BOTTOM-5 - ImageName:random - ImageCollection:flags + X: 20 + Y: 5 + Width: 35 + Height: PARENT_BOTTOM-5 + ImageName: random + ImageCollection: flags Label@PLAYER: - X:55 - Y:0 - Width:160 - Height:PARENT_BOTTOM - Font:Bold + X: 55 + Y: 0 + Width: 160 + Height: PARENT_BOTTOM + Font: Bold ObserverProductionIcons@PRODUCTION_ICONS: - X:215 - Y:0 - Width:320 - Height:PARENT_BOTTOM + X: 215 + Y: 0 + Width: 320 + Height: PARENT_BOTTOM ObserverSupportPowerIcons@SUPPORT_POWER_ICONS: - X:535 - Y:0 - Width:320 - Height:PARENT_BOTTOM + X: 535 + Y: 0 + Width: 320 + Height: PARENT_BOTTOM ScrollItem@COMBAT_PLAYER_TEMPLATE: - X:0 - Y:0 - Width:PARENT_RIGHT-35 - Height:25 + X: 0 + Y: 0 + Width: PARENT_RIGHT-35 + Height: 25 Children: Image@FLAG: - X:20 - Y:5 - Width:35 - Height:PARENT_BOTTOM-5 - ImageName:random - ImageCollection:flags + X: 20 + Y: 5 + Width: 35 + Height: PARENT_BOTTOM-5 + ImageName: random + ImageCollection: flags Label@PLAYER: - X:55 - Y:0 - Width:160 - Height:PARENT_BOTTOM - Font:Bold + X: 55 + Y: 0 + Width: 160 + Height: PARENT_BOTTOM + Font: Bold Label@CONTROL: - X:215 - Y:0 - Width:60 - Height:PARENT_BOTTOM + X: 215 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM Label@KILLS_COST: - X:295 - Y:0 - Width:60 - Height:PARENT_BOTTOM + X: 295 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM Label@DEATHS_COST: - X:375 - Y:0 - Width:60 - Height:PARENT_BOTTOM + X: 375 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM Label@UNITS_KILLED: - X:475 - Y:0 - Width:40 - Height:PARENT_BOTTOM - Align:Right + X: 475 + Y: 0 + Width: 40 + Height: PARENT_BOTTOM + Align: Right Label@UNITS_DEAD: - X:575 - Y:0 - Width:40 - Height:PARENT_BOTTOM - Align:Right + X: 575 + Y: 0 + Width: 40 + Height: PARENT_BOTTOM + Align: Right Label@BUILDINGS_KILLED: - X:695 - Y:0 - Width:40 - Height:PARENT_BOTTOM - Align:Right + X: 695 + Y: 0 + Width: 40 + Height: PARENT_BOTTOM + Align: Right Label@BUILDINGS_DEAD: - X:795 - Y:0 - Width:40 - Height:PARENT_BOTTOM - Align:Right + X: 795 + Y: 0 + Width: 40 + Height: PARENT_BOTTOM + Align: Right Container@EARNED_THIS_MIN_GRAPH_TEMPLATE: - X:0 - Y:0 - Width:PARENT_RIGHT-100 - Height:PARENT_BOTTOM-50 + X: 0 + Y: 0 + Width: PARENT_RIGHT-100 + Height: PARENT_BOTTOM-50 Children: LineGraph@EARNED_THIS_MIN_GRAPH: - X:0 - Y:0 - Width:PARENT_RIGHT - Height:PARENT_BOTTOM - ValueFormat:${0} - XAxisValueFormat:{0} - YAxisValueFormat:${0:F0} - XAxisSize:20 - YAxisSize:10 - XAxisLabel:m - YAxisLabel:$ - LabelFont:TinyBold - AxisFont:Bold \ No newline at end of file + X: 0 + Y: 0 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + ValueFormat: ${0} + XAxisValueFormat: {0} + YAxisValueFormat: ${0:F0} + XAxisSize: 20 + YAxisSize: 10 + XAxisLabel: m + YAxisLabel: $ + LabelFont: TinyBold + AxisFont: Bold + diff --git a/mods/ra/chrome/ingame-player.yaml b/mods/ra/chrome/ingame-player.yaml index 49f058e95e..a77facb70e 100644 --- a/mods/ra/chrome/ingame-player.yaml +++ b/mods/ra/chrome/ingame-player.yaml @@ -1,115 +1,115 @@ Container@PLAYER_WIDGETS: Children: LogicKeyListener@CONTROLGROUP_KEYHANDLER: - Logic:ControlGroupLogic + Logic: ControlGroupLogic LogicTicker@SIDEBAR_TICKER: Button@INGAME_DIPLOMACY_BUTTON: - X:162 - Y:0 - Width:160 - Height:25 - Text:Diplomacy (F1) - Font:Bold + X: 162 + Y: 0 + Width: 160 + Height: 25 + Text: Diplomacy (F1) + Font: Bold Key: f1 Button@CHEATS_BUTTON: - X:324 - Y:0 - Width:160 - Height:25 - Text:Cheats (F2) - Visible:false - Font:Bold + X: 324 + Y: 0 + Width: 160 + Height: 25 + Text: Cheats (F2) + Visible: false + Font: Bold Key: f2 Button@OBJECTIVES_BUTTON: - X:486 - Y:0 - Width:160 - Height:25 - Text:Objectives (F3) - Visible:false - Font:Bold + X: 486 + Y: 0 + Width: 160 + Height: 25 + Text: Objectives (F3) + Visible: false + Font: Bold Key: f3 SlidingContainer@INGAME_RADAR_BIN: - X:WINDOW_RIGHT-215 - Y:0 - OpenOffset:0,29 - ClosedOffset:0,-166 - AnimationLength:15 + X: WINDOW_RIGHT-215 + Y: 0 + OpenOffset: 0,29 + ClosedOffset: 0,-166 + AnimationLength: 15 Children: Image@RADAR_BIN_BG: - ImageName:radar + ImageName: radar Radar@RADAR_MINIMAP: - WorldInteractionController:INTERACTION_CONTROLLER - X:9 - Width:192 - Height:192 + WorldInteractionController: INTERACTION_CONTROLLER + X: 9 + Width: 192 + Height: 192 ResourceBar@POWERBAR: - X:42 - Y:205 - Width:138 - Height:5 - TooltipContainer:TOOLTIP_CONTAINER - TooltipTemplate:SIMPLE_TOOLTIP - IndicatorImage:power-indicator - Orientation:Horizontal - Style:Bevelled + X: 42 + Y: 205 + Width: 138 + Height: 5 + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + IndicatorImage: power-indicator + Orientation: Horizontal + Style: Bevelled MoneyBin@INGAME_MONEY_BIN: - Logic:OrderButtonsChromeLogic - X:WINDOW_RIGHT - WIDTH - Width:320 - Height:32 + Logic: OrderButtonsChromeLogic + X: WINDOW_RIGHT - WIDTH + Width: 320 + Height: 32 Children: Button@BEACON_BUTTON: - X:3-36 - Width:34 - Height:28 + X: 3-36 + Width: 34 + Height: 28 TooltipText: Place Beacon - TooltipContainer:TOOLTIP_CONTAINER - VisualHeight:0 + TooltipContainer: TOOLTIP_CONTAINER + VisualHeight: 0 Children: Image@ICON: - ImageCollection:order-icons + ImageCollection: order-icons Button@SELL_BUTTON: - X:3 - Width:34 - Height:28 + X: 3 + Width: 34 + Height: 28 TooltipText: Sell - TooltipContainer:TOOLTIP_CONTAINER - VisualHeight:0 + TooltipContainer: TOOLTIP_CONTAINER + VisualHeight: 0 Children: Image@ICON: - ImageCollection:order-icons + ImageCollection: order-icons Button@POWER_BUTTON: - X:39 - Width:34 - Height:28 + X: 39 + Width: 34 + Height: 28 TooltipText: Power Down - TooltipContainer:TOOLTIP_CONTAINER - VisualHeight:0 + TooltipContainer: TOOLTIP_CONTAINER + VisualHeight: 0 Children: Image@ICON: - ImageCollection:order-icons + ImageCollection: order-icons Button@REPAIR_BUTTON: - X:75 - Width:34 - Height:28 + X: 75 + Width: 34 + Height: 28 TooltipText: Repair - TooltipContainer:TOOLTIP_CONTAINER - VisualHeight:0 + TooltipContainer: TOOLTIP_CONTAINER + VisualHeight: 0 Children: Image@ICON: - ImageCollection:order-icons + ImageCollection: order-icons SupportPowerBin@INGAME_POWERS_BIN: - X:0 - Y:25 - ReadyText: @ready@ - HoldText: @on-hold@ + X: 0 + Y: 25 + ReadyText: READY + HoldText: ON HOLD BuildPalette@INGAME_BUILD_PALETTE: - X:WINDOW_RIGHT - 250 - Y:280 - Width:250 - Height:500 - ReadyText: @ready@ - HoldText: @on-hold@ - RequiresText: @requires@ + X: WINDOW_RIGHT - 250 + Y: 280 + Width: 250 + Height: 500 + ReadyText: READY + HoldText: ON HOLD + RequiresText: Requires {0} diff --git a/mods/ra/chrome/ingame.yaml b/mods/ra/chrome/ingame.yaml index 5e7a769610..ccf1813083 100644 --- a/mods/ra/chrome/ingame.yaml +++ b/mods/ra/chrome/ingame.yaml @@ -1,79 +1,80 @@ Container@INGAME_ROOT: - Logic:IngameChromeLogic + Logic: IngameChromeLogic Children: LogicTicker@DISCONNECT_WATCHER: - Logic:DisconnectWatcherLogic + Logic: DisconnectWatcherLogic WorldInteractionController@INTERACTION_CONTROLLER: - X:0 - Y:0 - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM + X: 0 + Y: 0 + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM ViewportController: - X:0 - Y:0 - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM - TooltipContainer:TOOLTIP_CONTAINER + X: 0 + Y: 0 + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + TooltipContainer: TOOLTIP_CONTAINER WorldCommand: - X:0 - Y:0 - Width:WINDOW_RIGHT - Height:WINDOW_BOTTOM + X: 0 + Y: 0 + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM Container@GAME_TIMER_BLOCK: - Logic:GameTimerLogic - X:WINDOW_RIGHT/2 - WIDTH - Width:100 - Height:55 + Logic: GameTimerLogic + X: WINDOW_RIGHT/2 - WIDTH + Width: 100 + Height: 55 Children: Label@GAME_TIMER: - Width:PARENT_RIGHT - Height:15 - Align:Center - Font:Title - Contrast:true + Width: PARENT_RIGHT + Height: 15 + Align: Center + Font: Title + Contrast: true Label@GAME_TIMER_STATUS: - Y:35 - Width:PARENT_RIGHT - Height:15 - Align:Center - Font:Bold - Contrast:true + Y: 35 + Width: PARENT_RIGHT + Height: 15 + Align: Center + Font: Bold + Contrast: true StrategicProgress@STRATEGIC_PROGRESS: X: WINDOW_RIGHT/2 Y: 40 SupportPowerTimer@SUPPORT_POWER_TIMER: - X:80 - Y:34 - Order:Descending + X: 80 + Y: 34 + Order: Descending Container@PLAYER_ROOT: Button@INGAME_OPTIONS_BUTTON: - X:0 - Y:0 - Width:160 - Height:25 - Text:Options (ESC) - Font:Bold + X: 0 + Y: 0 + Width: 160 + Height: 25 + Text: Options (ESC) + Font: Bold Key: escape Container@PERFORMANCE_INFO: - Logic:PerfDebugLogic + Logic: PerfDebugLogic Children: Label@PERF_TEXT: - X:WINDOW_RIGHT - 200 - Y:WINDOW_BOTTOM - 70 - Width:170 - Height:40 - Contrast:true + X: WINDOW_RIGHT - 200 + Y: WINDOW_BOTTOM - 70 + Width: 170 + Height: 40 + Contrast: true Background@GRAPH_BG: - ClickThrough:true - Background:dialog4 - X:30 - Y:WINDOW_BOTTOM - 240 - Width:210 - Height:210 + ClickThrough: true + Background: dialog4 + X: 30 + Y: WINDOW_BOTTOM - 240 + Width: 210 + Height: 210 Children: PerfGraph@GRAPH: - X:5 - Y:5 - Width:200 - Height:200 + X: 5 + Y: 5 + Width: 200 + Height: 200 TooltipContainer@TOOLTIP_CONTAINER: + diff --git a/mods/ra/chrome/irc.yaml b/mods/ra/chrome/irc.yaml index 136f2ec52d..7926b90704 100644 --- a/mods/ra/chrome/irc.yaml +++ b/mods/ra/chrome/irc.yaml @@ -1,68 +1,69 @@ Container@SERVERBROWSER_IRC: - Logic:IrcLogic - Width:700 - Height:250 + Logic: IrcLogic + Width: 700 + Height: 250 Children: Container@IRC_CONTAINER: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: ScrollPanel@HISTORY_PANEL: - Width:565 - Height:PARENT_BOTTOM - 30 - ItemSpacing:5 + Width: 565 + Height: PARENT_BOTTOM - 30 + ItemSpacing: 5 Label@HISTORY_TEMPLATE: - X:5 - Width:530 - Height:25 - WordWrap:True + X: 5 + Width: 530 + Height: 25 + WordWrap: True TextField@INPUT_BOX: - Y:PARENT_BOTTOM - 25 - Width:565 - Height:25 + Y: PARENT_BOTTOM - 25 + Width: 565 + Height: 25 ScrollPanel@NICKNAME_PANEL: - X:570 - Width:130 - Height:PARENT_BOTTOM - 30 + X: 570 + Width: 130 + Height: PARENT_BOTTOM - 30 Label@NICKNAME_TEMPLATE: - X:5 + X: 5 Button@DISCONNECT_BUTTON: - X:570 - Y:PARENT_BOTTOM - 25 - Width:130 - Height:25 - Text:Disconnect - Font:Bold + X: 570 + Y: PARENT_BOTTOM - 25 + Width: 130 + Height: 25 + Text: Disconnect + Font: Bold Background@IRC_CONNECT_BG: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM - Background:scrollpanel-bg + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Background: scrollpanel-bg Children: Label@GLOBAL_CHAT_LABEL: - Y:PARENT_BOTTOM / 4 - Width:PARENT_RIGHT - Align:Center - Text:Global Chat - Font:Bold + Y: PARENT_BOTTOM / 4 + Width: PARENT_RIGHT + Align: Center + Text: Global Chat + Font: Bold Label@NICKNAME_LABEL: - X:200 - Y:PARENT_BOTTOM / 4 + 35 - Text:Nickname: + X: 200 + Y: PARENT_BOTTOM / 4 + 35 + Text: Nickname: TextField@NICKNAME_BOX: - X:270 - Y:PARENT_BOTTOM / 4 + 25 - Width:150 - Height:25 + X: 270 + Y: PARENT_BOTTOM / 4 + 25 + Width: 150 + Height: 25 Checkbox@CONNECT_AUTOMATICALLY_CHECKBOX: - X:270 - Y:PARENT_BOTTOM / 4 + 75 - Height:20 - Width:180 - Text:Connect Automatically + X: 270 + Y: PARENT_BOTTOM / 4 + 75 + Height: 20 + Width: 180 + Text: Connect Automatically Button@CONNECT_BUTTON: - X:430 - Y:PARENT_BOTTOM / 4 + 25 - Width:100 - Height:25 - Text:Connect - Font:Bold \ No newline at end of file + X: 430 + Y: PARENT_BOTTOM / 4 + 25 + Width: 100 + Height: 25 + Text: Connect + Font: Bold + diff --git a/mods/ra/chrome/lobby-dialogs.yaml b/mods/ra/chrome/lobby-dialogs.yaml index 51d0a2c643..0018649893 100644 --- a/mods/ra/chrome/lobby-dialogs.yaml +++ b/mods/ra/chrome/lobby-dialogs.yaml @@ -1,246 +1,247 @@ Background@KICK_CLIENT_DIALOG: - X:20 - Y:67 - Width:535 - Height:235 - Logic:KickClientLogic - Background:dialog3 + X: 20 + Y: 67 + Width: 535 + Height: 235 + Logic: KickClientLogic + Background: dialog3 Children: Label@TITLE: - X:0 - Y:40 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + X: 0 + Y: 40 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Label@TEXTA: - X:0 - Y:67 - Width:PARENT_RIGHT - Height:25 - Font:Regular - Align:Center - Text:You may also apply a temporary ban, preventing + X: 0 + Y: 67 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center + Text: You may also apply a temporary ban, preventing Label@TEXTB: - X:0 - Y:85 - Width:PARENT_RIGHT - Height:25 - Font:Regular - Align:Center - Text:them from joining for the remainder of this game. + X: 0 + Y: 85 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center + Text: them from joining for the remainder of this game. Checkbox@PREVENT_REJOINING_CHECKBOX: - X:(PARENT_RIGHT - WIDTH)/2 - Y:120 - Width:150 - Height:20 - Text:Temporarily Ban + X: (PARENT_RIGHT - WIDTH)/2 + Y: 120 + Width: 150 + Height: 20 + Text: Temporarily Ban Button@OK_BUTTON: - X:(PARENT_RIGHT - WIDTH)/2 + 75 - Y:155 - Width:120 - Height:25 - Text:Kick - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 + 75 + Y: 155 + Width: 120 + Height: 25 + Text: Kick + Font: Bold Button@CANCEL_BUTTON: - X:(PARENT_RIGHT - WIDTH)/2 - 75 - Y:155 - Width:120 - Height:25 - Text:Cancel - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 - 75 + Y: 155 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold Background@KICK_SPECTATORS_DIALOG: - X:20 - Y:67 - Width:535 - Height:235 - Logic:KickSpectatorsLogic - Background:dialog3 + X: 20 + Y: 67 + Width: 535 + Height: 235 + Logic: KickSpectatorsLogic + Background: dialog3 Children: Label@TITLE: - X:0 - Y:40 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center - Text:Kick Spectators + X: 0 + Y: 40 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: Kick Spectators Label@TEXT: - X:0 - Y:85 - Width:PARENT_RIGHT - Height:25 - Font:Regular - Align:Center + X: 0 + Y: 85 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center Button@OK_BUTTON: - X:(PARENT_RIGHT - WIDTH)/2 + 75 - Y:155 - Width:120 - Height:25 - Text:Ok - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 + 75 + Y: 155 + Width: 120 + Height: 25 + Text: Ok + Font: Bold Button@CANCEL_BUTTON: - X:(PARENT_RIGHT - WIDTH)/2 - 75 - Y:155 - Width:120 - Height:25 - Text:Cancel - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 - 75 + Y: 155 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold Background@LOBBY_OPTIONS_BIN: - X:20 - Y:67 - Width:535 - Height:235 - Background:dialog3 + X: 20 + Y: 67 + Width: 535 + Height: 235 + Background: dialog3 Children: Label@TITLE: - X:0 - Y:30 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + X: 0 + Y: 30 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Text: Map Options Container: - X:30 - Y:70 + X: 30 + Y: 70 Width: PARENT_RIGHT-60 Height: PARENT_BOTTOM-75 Children: Checkbox@SHROUD_CHECKBOX: - Width:230 - Height:20 - Text:Shroud + Width: 230 + Height: 20 + Text: Shroud Checkbox@FOG_CHECKBOX: - Y:40 - Width:230 - Height:20 - Text:Fog of War + Y: 40 + Width: 230 + Height: 20 + Text: Fog of War Checkbox@CRATES_CHECKBOX: - X:125 - Width:230 - Height:20 - Text:Crates Appear + X: 125 + Width: 230 + Height: 20 + Text: Crates Appear Checkbox@ALLYBUILDRADIUS_CHECKBOX: - X:125 - Y:40 - Width:230 - Height:20 - Text:Build off Ally ConYards + X: 125 + Y: 40 + Width: 230 + Height: 20 + Text: Build off Ally ConYards Checkbox@ALLOWCHEATS_CHECKBOX: - X:320 - Width:230 - Height:20 - Text:Debug Menu + X: 320 + Width: 230 + Height: 20 + Text: Debug Menu Checkbox@FRAGILEALLIANCES_CHECKBOX: - X:320 - Y:40 - Width:220 - Height:20 - Text:Diplomacy Changes + X: 320 + Y: 40 + Width: 220 + Height: 20 + Text: Diplomacy Changes Label@STARTINGCASH_DESC: - Y:87 - Width:80 - Height:25 - Text:Starting Cash: - Align:Right + Y: 87 + Width: 80 + Height: 25 + Text: Starting Cash: + Align: Right DropDownButton@STARTINGCASH_DROPDOWNBUTTON: - X:85 - Y:87 - Width:130 - Height:25 - Font:Regular - Text:$5000 + X: 85 + Y: 87 + Width: 130 + Height: 25 + Font: Regular + Text: $5000 Label@STARTINGUNITS_DESC: - X:PARENT_RIGHT - WIDTH - 145 - Y:87 - Width:120 - Height:25 - Text:Starting Units: - Align:Right + X: PARENT_RIGHT - WIDTH - 145 + Y: 87 + Width: 120 + Height: 25 + Text: Starting Units: + Align: Right DropDownButton@STARTINGUNITS_DROPDOWNBUTTON: - X:PARENT_RIGHT - WIDTH - Y:87 - Width:140 - Height:25 - Font:Regular + X: PARENT_RIGHT - WIDTH + Y: 87 + Width: 140 + Height: 25 + Font: Regular Label@DIFFICULTY_DESC: - X:PARENT_RIGHT - WIDTH - 145 - Y:122 - Width:120 - Height:25 - Text:Mission Difficulty: - Align:Right + X: PARENT_RIGHT - WIDTH - 145 + Y: 122 + Width: 120 + Height: 25 + Text: Mission Difficulty: + Align: Right DropDownButton@DIFFICULTY_DROPDOWNBUTTON: - X:PARENT_RIGHT - WIDTH - Y:122 - Width:140 - Height:25 - Font:Regular + X: PARENT_RIGHT - WIDTH + Y: 122 + Width: 140 + Height: 25 + Font: Regular Background@FORCE_START_DIALOG: - X:20 - Y:67 - Width:535 - Height:235 - Background:dialog3 + X: 20 + Y: 67 + Width: 535 + Height: 235 + Background: dialog3 Children: Label@TITLE: - X:0 - Y:40 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + X: 0 + Y: 40 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Text: Start Game? Label@TEXTA: - X:0 - Y:67 - Width:PARENT_RIGHT - Height:25 - Font:Regular - Align:Center - Text:One or more players are not yet ready. + X: 0 + Y: 67 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center + Text: One or more players are not yet ready. Label@TEXTB: - X:0 - Y:85 - Width:PARENT_RIGHT - Height:25 - Font:Regular - Align:Center - Text:Are you sure that you want to force start the game? + X: 0 + Y: 85 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center + Text: Are you sure that you want to force start the game? Container@KICK_WARNING: - Width:PARENT_RIGHT + Width: PARENT_RIGHT Children: Label@KICK_WARNING_A: - X:0 - Y:106 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center - Text:One or more clients are missing the selected + X: 0 + Y: 106 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: One or more clients are missing the selected Label@KICK_WARNING_B: - X:0 - Y:123 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center - Text:map, and will be kicked from the server. + X: 0 + Y: 123 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: map, and will be kicked from the server. Button@OK_BUTTON: - X:(PARENT_RIGHT - WIDTH)/2 + 75 - Y:155 - Width:120 - Height:25 - Text:Start - Font:Bold + X: (PARENT_RIGHT - WIDTH)/2 + 75 + Y: 155 + Width: 120 + Height: 25 + Text: Start + Font: Bold Button@CANCEL_BUTTON: - X:(PARENT_RIGHT - WIDTH)/2 - 75 - Y:155 - Width:120 - Height:25 - Text:Cancel - Font:Bold \ No newline at end of file + X: (PARENT_RIGHT - WIDTH)/2 - 75 + Y: 155 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold + diff --git a/mods/ra/chrome/lobby-mappreview.yaml b/mods/ra/chrome/lobby-mappreview.yaml index 375465d466..dcffed4b27 100644 --- a/mods/ra/chrome/lobby-mappreview.yaml +++ b/mods/ra/chrome/lobby-mappreview.yaml @@ -1,147 +1,148 @@ Container@LOBBY_MAP_PREVIEW: - Logic:LobbyMapPreviewLogic - X:PARENT_RIGHT-20-WIDTH - Y:67 - Width:214 - Height:250 + Logic: LobbyMapPreviewLogic + X: PARENT_RIGHT-20-WIDTH + Y: 67 + Width: 214 + Height: 250 Children: Container@MAP_AVAILABLE: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Background@MAP_BG: - Width:PARENT_RIGHT - Height:214 - Background:dialog3 + Width: PARENT_RIGHT + Height: 214 + Background: dialog3 Children: MapPreview@MAP_PREVIEW: - X:1 - Y:1 - Width:PARENT_RIGHT-2 - Height:PARENT_BOTTOM-2 - TooltipContainer:TOOLTIP_CONTAINER + X: 1 + Y: 1 + Width: PARENT_RIGHT-2 + Height: PARENT_BOTTOM-2 + TooltipContainer: TOOLTIP_CONTAINER Label@MAP_TITLE: - Y:215 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + Y: 215 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Label@MAP_TYPE: - Y:232 - Width:PARENT_RIGHT - Height:25 - Font:TinyBold - Align:Center + Y: 232 + Width: PARENT_RIGHT + Height: 25 + Font: TinyBold + Align: Center Label@MAP_AUTHOR: - Y:245 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center + Y: 245 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center Container@MAP_DOWNLOADABLE: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Background@MAP_BG: - Width:PARENT_RIGHT - Height:182 - Background:dialog3 + Width: PARENT_RIGHT + Height: 182 + Background: dialog3 Children: MapPreview@MAP_PREVIEW: - X:1 - Y:1 - Width:PARENT_RIGHT-2 - Height:PARENT_BOTTOM-2 - TooltipContainer:TOOLTIP_CONTAINER + X: 1 + Y: 1 + Width: PARENT_RIGHT-2 + Height: PARENT_BOTTOM-2 + TooltipContainer: TOOLTIP_CONTAINER Label@MAP_TITLE: - Y:185 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + Y: 185 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Label@MAP_TYPE: - Y:202 - Width:PARENT_RIGHT - Height:25 - Font:TinyBold - Align:Center + Y: 202 + Width: PARENT_RIGHT + Height: 25 + Font: TinyBold + Align: Center Label@MAP_AUTHOR: - Y:215 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center + Y: 215 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center Button@MAP_INSTALL: - Y:242 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Text:Install Map + Y: 242 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Text: Install Map Container@MAP_PROGRESS: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Background@MAP_BG: - Width:PARENT_RIGHT - Height:182 - Background:dialog3 + Width: PARENT_RIGHT + Height: 182 + Background: dialog3 Children: MapPreview@MAP_PREVIEW: - X:1 - Y:1 - Width:PARENT_RIGHT-2 - Height:PARENT_BOTTOM-2 - TooltipContainer:TOOLTIP_CONTAINER + X: 1 + Y: 1 + Width: PARENT_RIGHT-2 + Height: PARENT_BOTTOM-2 + TooltipContainer: TOOLTIP_CONTAINER Label@MAP_TITLE: - Y:185 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + Y: 185 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Label@MAP_STATUS_SEARCHING: - Y:215 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center + Y: 215 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center Text: Searching OpenRA Resource Center... Container@MAP_STATUS_UNAVAILABLE: - Width:PARENT_RIGHT + Width: PARENT_RIGHT Children: Label@a: - Y:202 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center - Text:This map was not found on the + Y: 202 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: This map was not found on the Label@b: - Y:215 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center - Text:OpenRA Resource Center + Y: 215 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: OpenRA Resource Center Label@MAP_STATUS_ERROR: - Y:215 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center - Text:An error occurred during installation + Y: 215 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: An error occurred during installation Label@MAP_STATUS_DOWNLOADING: - Y:215 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center + Y: 215 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center ProgressBar@MAP_PROGRESSBAR: - Y:242 - Width:PARENT_RIGHT - Height:25 - Indeterminate:True + Y: 242 + Width: PARENT_RIGHT + Height: 25 + Indeterminate: True Button@MAP_RETRY: - Y:242 - Width:PARENT_RIGHT - Height:25 - Font:Bold \ No newline at end of file + Y: 242 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + diff --git a/mods/ra/chrome/lobby-playerbin.yaml b/mods/ra/chrome/lobby-playerbin.yaml index cb2285c67c..7154083283 100644 --- a/mods/ra/chrome/lobby-playerbin.yaml +++ b/mods/ra/chrome/lobby-playerbin.yaml @@ -1,334 +1,335 @@ ScrollPanel@LOBBY_PLAYER_BIN: - X:20 - Y:67 - ItemSpacing:5 - Width:535 - Height:235 + X: 20 + Y: 67 + ItemSpacing: 5 + Width: 535 + Height: 235 Children: Container@TEMPLATE_EDITABLE_PLAYER: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Image@ADMIN_INDICATOR: - ImageCollection:lobby-bits - ImageName:admin - X:2 - Visible:false + ImageCollection: lobby-bits + ImageName: admin + X: 2 + Visible: false Container@LATENCY: - X:0 - Y:6 - Width:11 - Height:14 - Visible:false + X: 0 + Y: 6 + Width: 11 + Height: 14 + Visible: false Children: ColorBlock@LATENCY_COLOR: - X:2 - Y:2 - Width:PARENT_RIGHT-4 - Height:PARENT_BOTTOM-4 + X: 2 + Y: 2 + Width: PARENT_RIGHT-4 + Height: PARENT_BOTTOM-4 ClientTooltipRegion@CLIENT_REGION: - TooltipContainer:TOOLTIP_CONTAINER - Template:CLIENT_TOOLTIP - Width:11 - Height:25 + TooltipContainer: TOOLTIP_CONTAINER + Template: CLIENT_TOOLTIP + Width: 11 + Height: 25 TextField@NAME: - Text:Name - X:15 - Width:165 - Height:25 - MaxLength:16 + Text: Name + X: 15 + Width: 165 + Height: 25 + MaxLength: 16 DropDownButton@SLOT_OPTIONS: - Text:Name - X:15 - Width:165 - Height:25 - Font:Regular - Visible:false + Text: Name + X: 15 + Width: 165 + Height: 25 + Font: Regular + Visible: false DropDownButton@COLOR: - X:190 - Width:80 - Height:25 + X: 190 + Width: 80 + Height: 25 Children: ColorBlock@COLORBLOCK: - X:5 - Y:6 - Width:PARENT_RIGHT-35 - Height:PARENT_BOTTOM-12 + X: 5 + Y: 6 + Width: PARENT_RIGHT-35 + Height: PARENT_BOTTOM-12 DropDownButton@FACTION: - X:280 - Width:130 - Height:25 + X: 280 + Width: 130 + Height: 25 Children: Image@FACTIONFLAG: - Width:30 - Height:15 - X:5 - Y:5 + Width: 30 + Height: 15 + X: 5 + Y: 5 Label@FACTIONNAME: - Text:Faction - Width:60 - Height:25 - X:40 - Y:0 + Text: Faction + Width: 60 + Height: 25 + X: 40 + Y: 0 DropDownButton@TEAM: - X:420 - Width:48 - Height:25 - Text:Team + X: 420 + Width: 48 + Height: 25 + Text: Team Checkbox@STATUS_CHECKBOX: - X:477 - Y:2 - Width:20 - Height:20 - Visible:false + X: 477 + Y: 2 + Width: 20 + Height: 20 + Visible: false Image@STATUS_IMAGE: - Visible:false - X:479 - Y:4 - Width:20 - Height:20 - ImageCollection:checkbox-bits - ImageName:checked - Visible:false + Visible: false + X: 479 + Y: 4 + Width: 20 + Height: 20 + ImageCollection: checkbox-bits + ImageName: checked + Visible: false Container@TEMPLATE_NONEDITABLE_PLAYER: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Image@ADMIN_INDICATOR: - ImageCollection:lobby-bits - ImageName:admin - X:2 - Visible:false + ImageCollection: lobby-bits + ImageName: admin + X: 2 + Visible: false Container@LATENCY: - X:0 - Y:6 - Width:11 - Height:14 - Visible:false + X: 0 + Y: 6 + Width: 11 + Height: 14 + Visible: false Children: ColorBlock@LATENCY_COLOR: - X:2 - Y:2 - Width:PARENT_RIGHT-4 - Height:PARENT_BOTTOM-4 + X: 2 + Y: 2 + Width: PARENT_RIGHT-4 + Height: PARENT_BOTTOM-4 ClientTooltipRegion@CLIENT_REGION: - TooltipContainer:TOOLTIP_CONTAINER - Template:CLIENT_TOOLTIP - Width:11 - Height:25 + TooltipContainer: TOOLTIP_CONTAINER + Template: CLIENT_TOOLTIP + Width: 11 + Height: 25 Label@NAME: - Text:Name - Width:165 - Height:25 - X:20 - Y:0-1 + Text: Name + Width: 165 + Height: 25 + X: 20 + Y: 0-1 Button@KICK: - Text:X - Width:25 - Height:23 - X:155 - Y:2 - Font:Bold + Text: X + Width: 25 + Height: 23 + X: 155 + Y: 2 + Font: Bold ColorBlock@COLORBLOCK: - X:195 - Y:6 - Width:45 - Height:13 + X: 195 + Y: 6 + Width: 45 + Height: 13 Container@FACTION: - Width:160 - Height:25 - X:280 - Y:0 + Width: 160 + Height: 25 + X: 280 + Y: 0 Children: Image@FACTIONFLAG: - Width:30 - Height:15 - X:5 - Y:5 + Width: 30 + Height: 15 + X: 5 + Y: 5 Label@FACTIONNAME: - Text:Faction - Width:60 - Height:25 - X:40 - Y:0 + Text: Faction + Width: 60 + Height: 25 + X: 40 + Y: 0 Label@TEAM: - Text:Team - Width:23 - Height:25 - Align:Center - X:420 - Y:0 + Text: Team + Width: 23 + Height: 25 + Align: Center + X: 420 + Y: 0 Image@STATUS_IMAGE: - Visible:false - X:479 - Y:4 - Width:20 - Height:20 - ImageCollection:checkbox-bits - ImageName:checked + Visible: false + X: 479 + Y: 4 + Width: 20 + Height: 20 + ImageCollection: checkbox-bits + ImageName: checked Container@TEMPLATE_EMPTY: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Label@NAME: - Text:Name - Width:165 - Height:25 - X:20 - Y:0-1 + Text: Name + Width: 165 + Height: 25 + X: 20 + Y: 0-1 DropDownButton@SLOT_OPTIONS: - Text:Name - Width:165 - Height:25 - X:15 - Y:0 - Visible:false + Text: Name + Width: 165 + Height: 25 + X: 15 + Y: 0 + Visible: false Button@JOIN: - Text:Play in this slot - Width:278 - Height:25 - X:190 - Y:0 + Text: Play in this slot + Width: 278 + Height: 25 + X: 190 + Y: 0 Container@TEMPLATE_EDITABLE_SPECTATOR: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Image@ADMIN_INDICATOR: - ImageCollection:lobby-bits - ImageName:admin - X:2 - Visible:false + ImageCollection: lobby-bits + ImageName: admin + X: 2 + Visible: false Container@LATENCY: - X:0 - Y:6 - Width:11 - Height:14 - Visible:false + X: 0 + Y: 6 + Width: 11 + Height: 14 + Visible: false Children: ColorBlock@LATENCY_COLOR: - X:2 - Y:2 - Width:PARENT_RIGHT-4 - Height:PARENT_BOTTOM-4 + X: 2 + Y: 2 + Width: PARENT_RIGHT-4 + Height: PARENT_BOTTOM-4 ClientTooltipRegion@CLIENT_REGION: - TooltipContainer:TOOLTIP_CONTAINER - Template:CLIENT_TOOLTIP - Width:11 - Height:25 + TooltipContainer: TOOLTIP_CONTAINER + Template: CLIENT_TOOLTIP + Width: 11 + Height: 25 TextField@NAME: - Text:Name - X:15 - Width:165 - Height:25 - MaxLength:16 + Text: Name + X: 15 + Width: 165 + Height: 25 + MaxLength: 16 Label@SPECTATOR: - Text:Spectator - Width:278 - Height:25 - X:190 - Y:0 - Align:Center - Font:Bold + Text: Spectator + Width: 278 + Height: 25 + X: 190 + Y: 0 + Align: Center + Font: Bold Container@TEMPLATE_NONEDITABLE_SPECTATOR: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Image@ADMIN_INDICATOR: - ImageCollection:lobby-bits - ImageName:admin - X:2 - Visible:false + ImageCollection: lobby-bits + ImageName: admin + X: 2 + Visible: false Container@LATENCY: - X:0 - Y:6 - Width:11 - Height:14 - Visible:false + X: 0 + Y: 6 + Width: 11 + Height: 14 + Visible: false Children: ColorBlock@LATENCY_COLOR: - X:2 - Y:2 - Width:PARENT_RIGHT-4 - Height:PARENT_BOTTOM-4 + X: 2 + Y: 2 + Width: PARENT_RIGHT-4 + Height: PARENT_BOTTOM-4 ClientTooltipRegion@CLIENT_REGION: - TooltipContainer:TOOLTIP_CONTAINER - Template:CLIENT_TOOLTIP - Width:11 - Height:25 + TooltipContainer: TOOLTIP_CONTAINER + Template: CLIENT_TOOLTIP + Width: 11 + Height: 25 Label@NAME: - Text:Name - Width:160 - Height:25 - X:20 - Y:0-1 + Text: Name + Width: 160 + Height: 25 + X: 20 + Y: 0-1 Button@KICK: - Text:X - Width:25 - Height:23 - X:155 - Y:2 - Font:Bold + Text: X + Width: 25 + Height: 23 + X: 155 + Y: 2 + Font: Bold Label@SPECTATOR: - Text:Spectator - Width:278 - Height:25 - X:190 - Y:0 - Align:Center - Font:Bold + Text: Spectator + Width: 278 + Height: 25 + X: 190 + Y: 0 + Align: Center + Font: Bold Container@TEMPLATE_NEW_SPECTATOR: - X:5 - Y:0 - Width:475 - Height:25 - Visible:false + X: 5 + Y: 0 + Width: 475 + Height: 25 + Visible: false Children: Checkbox@TOGGLE_SPECTATORS: - Font:Regular - Width:165 - Height:20 - X:15 - Y:0 - Text:Allow Spectators? + Font: Regular + Width: 165 + Height: 20 + X: 15 + Y: 0 + Text: Allow Spectators? Button@SPECTATE: - Text:Spectate - Font:Regular - Width:278 - Height:25 - X:190 - Y:0 + Text: Spectate + Font: Regular + Width: 278 + Height: 25 + X: 190 + Y: 0 ScrollPanel@RACE_DROPDOWN_TEMPLATE: - Width:DROPDOWN_WIDTH + Width: DROPDOWN_WIDTH Children: ScrollItem@TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Image@FLAG: - X:5 - Y:5 - Width:30 - Height:15 + X: 5 + Y: 5 + Width: 30 + Height: 15 Label@LABEL: - X:40 - Width:60 - Height:25 \ No newline at end of file + X: 40 + Width: 60 + Height: 25 + diff --git a/mods/ra/chrome/lobby.yaml b/mods/ra/chrome/lobby.yaml index b6e20e96ae..c12f73e400 100644 --- a/mods/ra/chrome/lobby.yaml +++ b/mods/ra/chrome/lobby.yaml @@ -1,137 +1,138 @@ Background@SERVER_LOBBY: - Logic:LobbyLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:800 - Height:600 + Logic: LobbyLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 800 + Height: 600 Children: ColorPreviewManager@COLOR_MANAGER: Label@SERVER_NAME: - X:0 - Y:17 - Align:Center - Width:PARENT_RIGHT - Height:20 - Font:Bold + X: 0 + Y: 17 + Align: Center + Width: PARENT_RIGHT + Height: 20 + Font: Bold Container@MAP_PREVIEW_ROOT: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Container@LABEL_CONTAINER: - X:25 - Y:40 + X: 25 + Y: 40 Children: Label@LABEL_LOBBY_NAME: - X:0 - Width:180 - Height:25 - Text:Name - Align:Center - Font:Bold + X: 0 + Width: 180 + Height: 25 + Text: Name + Align: Center + Font: Bold Label@LABEL_LOBBY_COLOR: - X:190 - Width:80 - Height:25 - Text:Color - Align:Center - Font:Bold + X: 190 + Width: 80 + Height: 25 + Text: Color + Align: Center + Font: Bold Label@LABEL_LOBBY_FACTION: - X:280 - Width:130 - Height:25 - Text:Faction - Align:Center - Font:Bold + X: 280 + Width: 130 + Height: 25 + Text: Faction + Align: Center + Font: Bold Label@LABEL_LOBBY_TEAM: - X:420 - Width:48 - Height:25 - Text:Team - Align:Center - Font:Bold + X: 420 + Width: 48 + Height: 25 + Text: Team + Align: Center + Font: Bold Label@LABEL_LOBBY_STATUS: - X:477 - Width:20 - Height:25 - Text:Ready - Align:Left - Font:Bold + X: 477 + Width: 20 + Height: 25 + Text: Ready + Align: Left + Font: Bold Container@PLAYER_BIN_ROOT: DropDownButton@SLOTS_DROPDOWNBUTTON: - X:20 - Y:PARENT_BOTTOM - 291 - Width:151 - Height:25 - Font:Bold - Text:Slot Admin + X: 20 + Y: PARENT_BOTTOM - 291 + Width: 151 + Height: 25 + Font: Bold + Text: Slot Admin Button@OPTIONS_BUTTON: - X:178 - Y:PARENT_BOTTOM - 291 - Width:121 - Height:25 - Font:Bold - Text:Game Options + X: 178 + Y: PARENT_BOTTOM - 291 + Width: 121 + Height: 25 + Font: Bold + Text: Game Options Button@CHANGEMAP_BUTTON: - X:306 - Y:PARENT_BOTTOM - 291 - Width:121 - Height:25 - Text:Change Map - Font:Bold + X: 306 + Y: PARENT_BOTTOM - 291 + Width: 121 + Height: 25 + Text: Change Map + Font: Bold Button@START_GAME_BUTTON: - X:434 - Y:PARENT_BOTTOM - 291 - Width:121 - Height:25 - Text:Start Game - Font:Bold + X: 434 + Y: PARENT_BOTTOM - 291 + Width: 121 + Height: 25 + Text: Start Game + Font: Bold ScrollPanel@CHAT_DISPLAY: - X:20 - Y:PARENT_BOTTOM - HEIGHT - 52 - Width:760 - Height:210 - ItemSpacing:1 + X: 20 + Y: PARENT_BOTTOM - HEIGHT - 52 + Width: 760 + Height: 210 + ItemSpacing: 1 Children: Container@CHAT_TEMPLATE: - Width:PARENT_RIGHT-27 - Height:16 - X:2 - Y:0 + Width: PARENT_RIGHT-27 + Height: 16 + X: 2 + Y: 0 Children: Label@TIME: - X:3 - Width:50 - Height:15 - VAlign:Top + X: 3 + Width: 50 + Height: 15 + VAlign: Top Label@NAME: - X:45 - Width:50 - Height:15 - VAlign:Top + X: 45 + Width: 50 + Height: 15 + VAlign: Top Label@TEXT: - X:55 - Width:PARENT_RIGHT - 60 - Height:15 - WordWrap:true - VAlign:Top + X: 55 + Width: PARENT_RIGHT - 60 + Height: 15 + WordWrap: true + VAlign: Top TextField@CHAT_TEXTFIELD: - X:20 - Y:PARENT_BOTTOM - HEIGHT - 20 - Width:PARENT_RIGHT - 167 - Height:25 - LeftMargin:50 + X: 20 + Y: PARENT_BOTTOM - HEIGHT - 20 + Width: PARENT_RIGHT - 167 + Height: 25 + LeftMargin: 50 Children: Label@LABEL_CHATTYPE: - Y:0-1 - Width:45 - Height:25 - Align:Right - Text:Chat: + Y: 0-1 + Width: 45 + Height: 25 + Align: Right + Text: Chat: Button@DISCONNECT_BUTTON: - X:PARENT_RIGHT - WIDTH - 20 - Y:PARENT_BOTTOM - HEIGHT - 20 - Width:120 - Height:25 - Text:Disconnect - Font:Bold + X: PARENT_RIGHT - WIDTH - 20 + Y: PARENT_BOTTOM - HEIGHT - 20 + Width: 120 + Height: 25 + Text: Disconnect + Font: Bold Key: escape - TooltipContainer@TOOLTIP_CONTAINER: \ No newline at end of file + TooltipContainer@TOOLTIP_CONTAINER: + diff --git a/mods/ra/chrome/mainmenu.yaml b/mods/ra/chrome/mainmenu.yaml index 415d781ce9..8f9f0df508 100644 --- a/mods/ra/chrome/mainmenu.yaml +++ b/mods/ra/chrome/mainmenu.yaml @@ -1,186 +1,187 @@ Container@MAINMENU: - Logic:MainMenuLogic + Logic: MainMenuLogic Children: Background@BORDER: - Background:mainmenu-border - X:0 - 15 - Y:0 - 15 - Width:WINDOW_RIGHT + 30 - Height:WINDOW_BOTTOM + 30 + Background: mainmenu-border + X: 0 - 15 + Y: 0 - 15 + Width: WINDOW_RIGHT + 30 + Height: WINDOW_BOTTOM + 30 Image@LOGO: - X:WINDOW_RIGHT - 296 - Y:30 - ImageCollection:logos - ImageName:logo + X: WINDOW_RIGHT - 296 + Y: 30 + ImageCollection: logos + ImageName: logo Label@VERSION_LABEL: - X:WINDOW_RIGHT - 296 - Y:296 - 20 # border - Width:296 - 20 - Height:25 - Align:Center - Font:Regular - Contrast:True + X: WINDOW_RIGHT - 296 + Y: 296 - 20 + Width: 296 - 20 + Height: 25 + Align: Center + Font: Regular + Contrast: True Container@MENUS: - X:100 - Y:WINDOW_BOTTOM/2-HEIGHT/2 - Width:200 - Height:320 + X: 100 + Y: WINDOW_BOTTOM/2-HEIGHT/2 + Width: 200 + Height: 320 Children: Background@MAIN_MENU: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@MAINMENU_LABEL_TITLE: - X:0 - Y:20 - Width:200 - Height:30 - Text:OpenRA - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: 200 + Height: 30 + Text: OpenRA + Align: Center + Font: Bold Button@SINGLEPLAYER_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:60 - Width:140 - Height:30 - Text:Singleplayer - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 60 + Width: 140 + Height: 30 + Text: Singleplayer + Font: Bold Button@MULTIPLAYER_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:100 - Width:140 - Height:30 - Text:Multiplayer - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 100 + Width: 140 + Height: 30 + Text: Multiplayer + Font: Bold Button@SETTINGS_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:140 - Width:140 - Height:30 - Text:Settings - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 140 + Width: 140 + Height: 30 + Text: Settings + Font: Bold Button@EXTRAS_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:180 - Width:140 - Height:30 - Text:Extras - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 180 + Width: 140 + Height: 30 + Text: Extras + Font: Bold Button@MODS_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:220 - Width:140 - Height:30 - Text:Mods - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 220 + Width: 140 + Height: 30 + Text: Mods + Font: Bold Button@QUIT_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:260 - Width:140 - Height:30 - Text:Quit - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 260 + Width: 140 + Height: 30 + Text: Quit + Font: Bold Background@SINGLEPLAYER_MENU: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@SINGLEPLAYER_MENU_TITLE: - X:0 - Y:20 - Width:200 - Height:30 - Text:Singleplayer - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: 200 + Height: 30 + Text: Singleplayer + Align: Center + Font: Bold Button@SKIRMISH_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:60 - Width:140 - Height:30 - Text:Skirmish - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 60 + Width: 140 + Height: 30 + Text: Skirmish + Font: Bold Button@MISSIONS_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:100 - Width:140 - Height:30 - Text:Missions - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 100 + Width: 140 + Height: 30 + Text: Missions + Font: Bold Button@BACK_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Key:escape - Y:260 - Width:140 - Height:30 - Text:Back - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Key: escape + Y: 260 + Width: 140 + Height: 30 + Text: Back + Font: Bold Background@EXTRAS_MENU: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Children: Label@EXTRAS_MENU_TITLE: - X:0 - Y:20 - Width:200 - Height:30 - Text:Extras - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: 200 + Height: 30 + Text: Extras + Align: Center + Font: Bold Button@REPLAYS_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:60 - Width:140 - Height:30 - Text:Replays - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 60 + Width: 140 + Height: 30 + Text: Replays + Font: Bold Button@MUSIC_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:100 - Width:140 - Height:30 - Text:Music - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 100 + Width: 140 + Height: 30 + Text: Music + Font: Bold Button@ASSETBROWSER_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:140 - Width:140 - Height:30 - Text:Asset Browser - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 140 + Width: 140 + Height: 30 + Text: Asset Browser + Font: Bold Button@CREDITS_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Y:180 - Width:140 - Height:30 - Text:Credits - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Y: 180 + Width: 140 + Height: 30 + Text: Credits + Font: Bold Button@BACK_BUTTON: - X:PARENT_RIGHT/2-WIDTH/2 - Key:escape - Y:260 - Width:140 - Height:30 - Text:Back - Font:Bold + X: PARENT_RIGHT/2-WIDTH/2 + Key: escape + Y: 260 + Width: 140 + Height: 30 + Text: Back + Font: Bold Container@PERFORMANCE_INFO: - Logic:PerfDebugLogic + Logic: PerfDebugLogic Children: Label@PERF_TEXT: - X:30 - Y:WINDOW_BOTTOM - 70 - Width:170 - Height:40 - Contrast:true + X: 30 + Y: WINDOW_BOTTOM - 70 + Width: 170 + Height: 40 + Contrast: true Background@GRAPH_BG: - ClickThrough:true - Background:dialog4 - X:WINDOW_RIGHT - 240 - Y:WINDOW_BOTTOM - 240 - Width:210 - Height:210 + ClickThrough: true + Background: dialog4 + X: WINDOW_RIGHT - 240 + Y: WINDOW_BOTTOM - 240 + Width: 210 + Height: 210 Children: PerfGraph@GRAPH: - X:5 - Y:5 - Width:200 - Height:200 \ No newline at end of file + X: 5 + Y: 5 + Width: 200 + Height: 200 + diff --git a/mods/ra/chrome/map-chooser.yaml b/mods/ra/chrome/map-chooser.yaml index 1800f225ab..48146e73f4 100644 --- a/mods/ra/chrome/map-chooser.yaml +++ b/mods/ra/chrome/map-chooser.yaml @@ -1,92 +1,93 @@ Background@MAPCHOOSER_PANEL: - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Logic:MapChooserLogic - Width:800 - Height:600 + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Logic: MapChooserLogic + Width: 800 + Height: 600 Children: Label@MAPCHOOSER_TITLE: - X:0 - Y:17 - Align:Center - Width:800 - Height:20 - Text:Choose Map - Font:Bold + X: 0 + Y: 17 + Align: Center + Width: 800 + Height: 20 + Text: Choose Map + Font: Bold ScrollPanel@MAP_LIST: - X:20 - Y:47 - Width:PARENT_RIGHT - 40 - Height:474 - ScrollVelocity:40 + X: 20 + Y: 47 + Width: PARENT_RIGHT - 40 + Height: 474 + ScrollVelocity: 40 Children: ScrollItem@MAP_TEMPLATE: - Width:180 - Height:229 - X:4 - Y:0 - Visible:false + Width: 180 + Height: 229 + X: 4 + Y: 0 + Visible: false Children: Background@PREVIEW_PLACEHOLDER: - X:(PARENT_RIGHT - WIDTH)/2 - Y:4 - Width:170 - Height:170 - Background:dialog3 - ClickThrough:true + X: (PARENT_RIGHT - WIDTH)/2 + Y: 4 + Width: 170 + Height: 170 + Background: dialog3 + ClickThrough: true MapPreview@PREVIEW: - X:(PARENT_RIGHT - WIDTH)/2 - Y:4 - Width:170 - Height:170 + X: (PARENT_RIGHT - WIDTH)/2 + Y: 4 + Width: 170 + Height: 170 Label@TITLE: - X:2 - Y:PARENT_BOTTOM-48 - Width:PARENT_RIGHT-4 - Align:Center + X: 2 + Y: PARENT_BOTTOM-48 + Width: PARENT_RIGHT-4 + Align: Center Label@DETAILS: - Width:PARENT_RIGHT-4 - X:2 - Y:PARENT_BOTTOM-34 - Align:Center - Font:Tiny + Width: PARENT_RIGHT-4 + X: 2 + Y: PARENT_BOTTOM-34 + Align: Center + Font: Tiny Label@AUTHOR: - Width:PARENT_RIGHT-4 - X:2 - Y:PARENT_BOTTOM-22 - Align:Center - Font:Tiny + Width: PARENT_RIGHT-4 + X: 2 + Y: PARENT_BOTTOM-22 + Align: Center + Font: Tiny Label@SIZE: - Width:PARENT_RIGHT-4 - X:2 - Y:PARENT_BOTTOM-10 - Align:Center - Font:Tiny + Width: PARENT_RIGHT-4 + X: 2 + Y: PARENT_BOTTOM-10 + Align: Center + Font: Tiny DropDownButton@GAMEMODE_FILTER: - X:PARENT_RIGHT - 220 - Y:17 - Width:200 - Height:25 + X: PARENT_RIGHT - 220 + Y: 17 + Width: 200 + Height: 25 Button@RANDOMMAP_BUTTON: - X:34 - Y:PARENT_BOTTOM - 49 - Width:120 - Height:25 - Text:Random Map - Font:Bold + X: 34 + Y: PARENT_BOTTOM - 49 + Width: 120 + Height: 25 + Text: Random Map + Font: Bold Button@BUTTON_OK: - X:PARENT_RIGHT - 295 - Y:PARENT_BOTTOM - 49 - Width:120 - Height:25 - Text:Ok - Font:Bold - Key:return + X: PARENT_RIGHT - 295 + Y: PARENT_BOTTOM - 49 + Width: 120 + Height: 25 + Text: Ok + Font: Bold + Key: return Button@BUTTON_CANCEL: - X:PARENT_RIGHT-154 - Y:PARENT_BOTTOM-49 - Width:120 - Height:25 - Text:Cancel - Font:Bold - Key:escape + X: PARENT_RIGHT-154 + Y: PARENT_BOTTOM-49 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold + Key: escape + diff --git a/mods/ra/chrome/missionbrowser.yaml b/mods/ra/chrome/missionbrowser.yaml index 3651078e21..388dc2287e 100644 --- a/mods/ra/chrome/missionbrowser.yaml +++ b/mods/ra/chrome/missionbrowser.yaml @@ -1,78 +1,79 @@ Background@MISSIONBROWSER_PANEL: - Logic:MissionBrowserLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:634 - Height:440 + Logic: MissionBrowserLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 634 + Height: 440 Children: Label@MISSIONBROWSER_LABEL_TITLE: - X:0 - Y:20 - Width:PARENT_RIGHT - Height:25 - Text:Missions - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: PARENT_RIGHT + Height: 25 + Text: Missions + Align: Center + Font: Bold ScrollPanel@MISSION_LIST: - X:20 - Y:50 - Width:260 - Height:330 + X: 20 + Y: 50 + Width: 260 + Height: 330 Children: ScrollItem@MISSION_TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 Children: Label@TITLE: - X:10 - Width:PARENT_RIGHT-20 - Height:25 + X: 10 + Width: PARENT_RIGHT-20 + Height: 25 Container@MISSION_INFO: - X:290 - Y:50 - Width:324 - Height:330 + X: 290 + Y: 50 + Width: 324 + Height: 330 Children: Background@MISSION_BG: - X:0 - Y:0 - Width:324 - Height:160 - Background:dialog3 + X: 0 + Y: 0 + Width: 324 + Height: 160 + Background: dialog3 Children: MapPreview@MISSION_PREVIEW: - X:2 - Y:2 - Width:PARENT_RIGHT-4 - Height:PARENT_BOTTOM-4 - IgnoreMouseOver:True - IgnoreMouseInput:True - ShowSpawnPoints:False + X: 2 + Y: 2 + Width: PARENT_RIGHT-4 + Height: PARENT_BOTTOM-4 + IgnoreMouseOver: True + IgnoreMouseInput: True + ShowSpawnPoints: False ScrollPanel@MISSION_DESCRIPTION_PANEL: - X:0 - Y:170 - Width:324 - Height:160 + X: 0 + Y: 170 + Width: 324 + Height: 160 Children: Label@MISSION_DESCRIPTION: - X:5 - Y:5 - Width:290 - VAlign:Top + X: 5 + Y: 5 + Width: 290 + VAlign: Top Button@STARTGAME_BUTTON: - X:PARENT_RIGHT - 140 - 130 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Start Game - Font:Bold + X: PARENT_RIGHT - 140 - 130 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Start Game + Font: Bold Button@BACK_BUTTON: - X:PARENT_RIGHT - 140 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Back - Font:Bold - Key:escape \ No newline at end of file + X: PARENT_RIGHT - 140 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Back + Font: Bold + Key: escape + diff --git a/mods/ra/chrome/musicplayer.yaml b/mods/ra/chrome/musicplayer.yaml index b8d0018543..d5dfd42257 100644 --- a/mods/ra/chrome/musicplayer.yaml +++ b/mods/ra/chrome/musicplayer.yaml @@ -1,159 +1,160 @@ Background@MUSIC_PANEL: - Logic:MusicPlayerLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - 400)/2 - Width:360 - Height:450 + Logic: MusicPlayerLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - 400)/2 + Width: 360 + Height: 450 Children: ScrollPanel@MUSIC_LIST: - X:15 - Y:45 - Width:330 - Height:275 + X: 15 + Y: 45 + Width: 330 + Height: 275 Children: ScrollItem@MUSIC_TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Label@TITLE: - X:10 - Width:PARENT_RIGHT-50 - Height:25 + X: 10 + Width: PARENT_RIGHT-50 + Height: 25 Label@LENGTH: - Width:50 - X:PARENT_RIGHT-60 - Align:Right - Height:25 + Width: 50 + X: PARENT_RIGHT-60 + Align: Right + Height: 25 Container@LABEL_CONTAINER: - X:25 - Y:15 - Width:330 + X: 25 + Y: 15 + Width: 330 Children: Label@TITLE: - Width:100 - Height:25 - Text:Track - Align:Center - Font:Bold + Width: 100 + Height: 25 + Text: Track + Align: Center + Font: Bold Label@TYPE: - X:PARENT_RIGHT-85 - Height:25 - Width:50 - Text:Length - Align:Right - Font:Bold + X: PARENT_RIGHT-85 + Height: 25 + Width: 50 + Text: Length + Align: Right + Font: Bold Container@BUTTONS: - X:15 - Y:PARENT_BOTTOM-HEIGHT-85 - Width:170 + X: 15 + Y: PARENT_BOTTOM-HEIGHT-85 + Width: 170 Children: Button@BUTTON_PREV: - Width:25 - Height:25 - IgnoreChildMouseOver:true + Width: 25 + Height: 25 + IgnoreChildMouseOver: true Children: Image@IMAGE_PREV: - X:0 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:prev + X: 0 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: prev Button@BUTTON_PLAY: - X:35 - Width:25 - Height:25 - IgnoreChildMouseOver:true + X: 35 + Width: 25 + Height: 25 + IgnoreChildMouseOver: true Children: Image@IMAGE_PLAY: - X:0 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:play + X: 0 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: play Button@BUTTON_PAUSE: - Visible:false - X:35 - Width:25 - Height:25 - IgnoreChildMouseOver:true + Visible: false + X: 35 + Width: 25 + Height: 25 + IgnoreChildMouseOver: true Children: Image@IMAGE_PAUSE: - X:0 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:pause + X: 0 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: pause Button@BUTTON_STOP: - X:70 - Width:25 - Height:25 - IgnoreChildMouseOver:true + X: 70 + Width: 25 + Height: 25 + IgnoreChildMouseOver: true Children: Image@IMAGE_STOP: - X:0 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:stop + X: 0 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: stop Button@BUTTON_NEXT: - X:105 - Width:25 - Height:25 - IgnoreChildMouseOver:true + X: 105 + Width: 25 + Height: 25 + IgnoreChildMouseOver: true Children: Image@IMAGE_NEXT: - X:0 - Y:0 - Width:25 - Height:25 - ImageCollection:music - ImageName:next + X: 0 + Y: 0 + Width: 25 + Height: 25 + ImageCollection: music + ImageName: next Slider@MUSIC_SLIDER: - X:145 - Y:3 - Width:175 - Height:20 - Ticks:5 + X: 145 + Y: 3 + Width: 175 + Height: 20 + Ticks: 5 Label@TIME_LABEL: - X:(PARENT_RIGHT-WIDTH)/2 - Y:330 - Width:140 - Height:25 - Align:Center - Font:Bold + X: (PARENT_RIGHT-WIDTH)/2 + Y: 330 + Width: 140 + Height: 25 + Align: Center + Font: Bold Checkbox@SHUFFLE: - X:15 - Y:335 - Width:85 - Height:20 - Text:Shuffle + X: 15 + Y: 335 + Width: 85 + Height: 20 + Text: Shuffle Checkbox@REPEAT: - X:PARENT_RIGHT-15-WIDTH - Y:335 - Width:70 - Height:20 - Text:Loop + X: PARENT_RIGHT-15-WIDTH + Y: 335 + Width: 70 + Height: 20 + Text: Loop Label@NO_MUSIC_LABEL: - X:15 - Y:147 - Width:330 - Height:25 - Font:Bold - Align:Center - Visible:false - Text:No Music Installed + X: 15 + Y: 147 + Width: 330 + Height: 25 + Font: Bold + Align: Center + Visible: false + Text: No Music Installed Button@BACK_BUTTON: - X:PARENT_RIGHT - 180 - Y:PARENT_BOTTOM - 45 - Width:160 - Height:25 - Text:Close - Font:Bold - Key:escape \ No newline at end of file + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Close + Font: Bold + Key: escape + diff --git a/mods/ra/chrome/replaybrowser.yaml b/mods/ra/chrome/replaybrowser.yaml index 085bf4d8ec..7ef5acbea5 100644 --- a/mods/ra/chrome/replaybrowser.yaml +++ b/mods/ra/chrome/replaybrowser.yaml @@ -1,123 +1,124 @@ Background@REPLAYBROWSER_PANEL: - Logic:ReplayBrowserLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:530 - Height:535 + Logic: ReplayBrowserLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 530 + Height: 535 Children: Label@REPLAYBROWSER_LABEL_TITLE: - Y:20 - Width:PARENT_RIGHT - Height:25 - Text:Choose Replay - Align:Center - Font:Bold + Y: 20 + Width: PARENT_RIGHT + Height: 25 + Text: Choose Replay + Align: Center + Font: Bold ScrollPanel@REPLAY_LIST: - X:20 - Y:50 - Width:282 - Height:430 + X: 20 + Y: 50 + Width: 282 + Height: 430 Children: ScrollItem@REPLAY_TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Visible: false Children: Label@TITLE: - X:10 - Width:PARENT_RIGHT-20 - Height:25 + X: 10 + Width: PARENT_RIGHT-20 + Height: 25 Background@MAP_BG: - X:PARENT_RIGHT-WIDTH-20 - Y:50 - Width:194 - Height:194 - Background:dialog3 + X: PARENT_RIGHT-WIDTH-20 + Y: 50 + Width: 194 + Height: 194 + Background: dialog3 Children: MapPreview@MAP_PREVIEW: - X:1 - Y:1 - Width:192 - Height:192 - TooltipContainer:TOOLTIP_CONTAINER + X: 1 + Y: 1 + Width: 192 + Height: 192 + TooltipContainer: TOOLTIP_CONTAINER Container@REPLAY_INFO: - X:PARENT_RIGHT-WIDTH - 20 - Y:50 - Width:194 - Height:PARENT_BOTTOM - 15 + X: PARENT_RIGHT-WIDTH - 20 + Y: 50 + Width: 194 + Height: PARENT_BOTTOM - 15 Children: Label@MAP_TITLE: - Y:197 - Width:PARENT_RIGHT - Height:25 - Font:Bold - Align:Center + Y: 197 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center Label@MAP_TYPE: - Y:212 - Width:PARENT_RIGHT - Height:25 - Font:TinyBold - Align:Center + Y: 212 + Width: PARENT_RIGHT + Height: 25 + Font: TinyBold + Align: Center Label@DURATION: - Y:225 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center + Y: 225 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center ScrollPanel@PLAYER_LIST: - Y:250 - Width:PARENT_RIGHT - Height:PARENT_BOTTOM - 340 - IgnoreChildMouseOver:true + Y: 250 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM - 340 + IgnoreChildMouseOver: true Children: ScrollItem@HEADER: - BaseName:scrollheader - Width:PARENT_RIGHT-27 - Height:13 - X:2 - Y:0 - Visible:false + BaseName: scrollheader + Width: PARENT_RIGHT-27 + Height: 13 + X: 2 + Y: 0 + Visible: false Children: Label@LABEL: - Font:TinyBold - Width:PARENT_RIGHT - Height:10 - Align:Center + Font: TinyBold + Width: PARENT_RIGHT + Height: 10 + Align: Center ScrollItem@TEMPLATE: - Width:PARENT_RIGHT-27 - Height:25 - X:2 - Y:0 - Visible:false + Width: PARENT_RIGHT-27 + Height: 25 + X: 2 + Y: 0 + Visible: false Children: Image@FLAG: - X:4 - Y:4 - Width:32 - Height:16 + X: 4 + Y: 4 + Width: 32 + Height: 16 Label@LABEL: - X:40 - Width:60 - Height:25 + X: 40 + Width: 60 + Height: 25 Label@NOFLAG_LABEL: - X:5 - Width:PARENT_RIGHT - Height:25 + X: 5 + Width: PARENT_RIGHT + Height: 25 Button@WATCH_BUTTON: - X:PARENT_RIGHT - 140 - 130 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Watch - Font:Bold - Key:return + X: PARENT_RIGHT - 140 - 130 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Watch + Font: Bold + Key: return Button@CANCEL_BUTTON: - X:PARENT_RIGHT - 140 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Cancel - Font:Bold - Key:escape + X: PARENT_RIGHT - 140 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold + Key: escape TooltipContainer@TOOLTIP_CONTAINER: + diff --git a/mods/ra/chrome/serverbrowser.yaml b/mods/ra/chrome/serverbrowser.yaml index 7bb175543e..892b7f840b 100644 --- a/mods/ra/chrome/serverbrowser.yaml +++ b/mods/ra/chrome/serverbrowser.yaml @@ -1,148 +1,149 @@ Background@SERVERBROWSER_PANEL: - Logic:ServerBrowserLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:740 - Height:500 + Logic: ServerBrowserLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 740 + Height: 500 Children: Label@MULTIPLAYER_LABEL_TITLE: - X:0 - Y:15 - Width:PARENT_RIGHT - Height:25 - Text:Multiplayer - Align:Center - Font:Bold + X: 0 + Y: 15 + Width: PARENT_RIGHT + Height: 25 + Text: Multiplayer + Align: Center + Font: Bold Label@SHOW_LABEL_TITLE: - X:20 - Y:45 - Width:20 - Height:25 - Text:Show: - Font:Bold + X: 20 + Y: 45 + Width: 20 + Height: 25 + Text: Show: + Font: Bold Checkbox@WAITING_FOR_PLAYERS: - X:80 - Y:50 - Width:100 - Height:20 - Text:Waiting + X: 80 + Y: 50 + Width: 100 + Height: 20 + Text: Waiting Checkbox@EMPTY: - X:180 - Y:50 - Width:100 - Height:20 - Text:Empty + X: 180 + Y: 50 + Width: 100 + Height: 20 + Text: Empty Checkbox@ALREADY_STARTED: - X:280 - Y:50 - Width:100 - Height:20 - Text:Started + X: 280 + Y: 50 + Width: 100 + Height: 20 + Text: Started Checkbox@INCOMPATIBLE_VERSION: - X:380 - Y:50 - Width:100 - Height:20 - Text:Incompatible + X: 380 + Y: 50 + Width: 100 + Height: 20 + Text: Incompatible ScrollPanel@SERVER_LIST: - X:20 - Y:80 - Width:700 - Height:360 - ScrollVelocity:20 + X: 20 + Y: 80 + Width: 700 + Height: 360 + ScrollVelocity: 20 Children: ScrollItem@SERVER_TEMPLATE: - Width:PARENT_RIGHT-27 - Height:68 - X:2 - Y:0 + Width: PARENT_RIGHT-27 + Height: 68 + X: 2 + Y: 0 Children: MapPreview@MAP_PREVIEW: - X:2 - Y:2 - Width:64 - Height:64 - ShowSpawnPoints:no + X: 2 + Y: 2 + Width: 64 + Height: 64 + ShowSpawnPoints: no Label@TITLE: - X:70 - Width:200 - Height:25 - Font:Bold + X: 70 + Width: 200 + Height: 25 + Font: Bold Label@MAP: - X:70 - Y:20 - Width:250 - Height:25 + X: 70 + Y: 20 + Width: 250 + Height: 25 Label@PLAYERS: - X:70 - Y:40 - Width:50 - Height:25 + X: 70 + Y: 40 + Width: 50 + Height: 25 Label@STATE: - Width:140 - X:PARENT_RIGHT-150 - Align:Right - Height:25 - Font:Bold + Width: 140 + X: PARENT_RIGHT-150 + Align: Right + Height: 25 + Font: Bold Label@IP: - Width:140 - X:PARENT_RIGHT-150 - Y:20 - Align:Right - Height:25 + Width: 140 + X: PARENT_RIGHT-150 + Y: 20 + Align: Right + Height: 25 Label@VERSION: - Width:140 - X:PARENT_RIGHT-150 - Y:40 - Align:Right - Height:25 + Width: 140 + X: PARENT_RIGHT-150 + Y: 40 + Align: Right + Height: 25 Label@LOCATION: - Width:140 - X:PARENT_RIGHT-150 - Y:40 - Align:Right - Height:25 + Width: 140 + X: PARENT_RIGHT-150 + Y: 40 + Align: Right + Height: 25 Label@PROGRESS_LABEL: - X:(PARENT_RIGHT - WIDTH) / 2 - Y:PARENT_BOTTOM / 2 - HEIGHT - Width:150 - Height:30 - Text:Fetching games... - Align:Center + X: (PARENT_RIGHT - WIDTH) / 2 + Y: PARENT_BOTTOM / 2 - HEIGHT + Width: 150 + Height: 30 + Text: Fetching games... + Align: Center Button@REFRESH_BUTTON: - X:20 - Y:PARENT_BOTTOM - 45 - Width:100 - Height:25 - Text:Refresh - Font:Bold + X: 20 + Y: PARENT_BOTTOM - 45 + Width: 100 + Height: 25 + Text: Refresh + Font: Bold Button@CREATE_BUTTON: - X:PARENT_RIGHT - 120 - 120 - 120 - 120 - Y:PARENT_BOTTOM - 45 - Width:100 - Height:25 - Text:Create - Font:Bold + X: PARENT_RIGHT - 120 - 120 - 120 - 120 + Y: PARENT_BOTTOM - 45 + Width: 100 + Height: 25 + Text: Create + Font: Bold Button@DIRECTCONNECT_BUTTON: - X:PARENT_RIGHT - 120 - 120 - 120 - Y:PARENT_BOTTOM - 45 - Width:100 - Height:25 - Text:Direct IP - Font:Bold + X: PARENT_RIGHT - 120 - 120 - 120 + Y: PARENT_BOTTOM - 45 + Width: 100 + Height: 25 + Text: Direct IP + Font: Bold Button@JOIN_BUTTON: - X:PARENT_RIGHT - 120 - 120 - Y:PARENT_BOTTOM - 45 - Width:100 - Height:25 - Text:Join - Font:Bold - Key:return + X: PARENT_RIGHT - 120 - 120 + Y: PARENT_BOTTOM - 45 + Width: 100 + Height: 25 + Text: Join + Font: Bold + Key: return Button@BACK_BUTTON: - X:PARENT_RIGHT - 120 - Y:PARENT_BOTTOM - 45 - Width:100 - Height:25 - Text:Cancel - Font:Bold - Key:escape \ No newline at end of file + X: PARENT_RIGHT - 120 + Y: PARENT_BOTTOM - 45 + Width: 100 + Height: 25 + Text: Cancel + Font: Bold + Key: escape + diff --git a/mods/ra/chrome/settings.yaml b/mods/ra/chrome/settings.yaml index f2a69e0ed7..07ce211ac4 100644 --- a/mods/ra/chrome/settings.yaml +++ b/mods/ra/chrome/settings.yaml @@ -1,444 +1,445 @@ Background@SETTINGS_PANEL: - Logic:SettingsLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM- HEIGHT)/2 - Width:600 - Height:400 + Logic: SettingsLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM- HEIGHT)/2 + Width: 600 + Height: 400 Children: Label@SETTINGS_LABEL_TITLE: - Y:20 - Width:PARENT_RIGHT - Height:25 - Text:Settings - Align:Center - Font:Bold + Y: 20 + Width: PARENT_RIGHT + Height: 25 + Text: Settings + Align: Center + Font: Bold Button@RESET_BUTTON: - X:20 - Y:PARENT_BOTTOM - 45 - Width:160 - Height:25 - Text:Reset + X: 20 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Reset Button@BACK_BUTTON: - Key:escape - X:PARENT_RIGHT - 180 - Y:PARENT_BOTTOM - 45 - Width:160 - Height:25 - Text:Back - Font:Bold + Key: escape + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Back + Font: Bold Container@TAB_CONTAINER: - Y:50 - Width:PARENT_RIGHT - Height:25 + Y: 50 + Width: PARENT_RIGHT + Height: 25 Children: Button@DISPLAY_TAB: - X:115 - Width:90 - Height:25 - Text:Display - Font:Bold + X: 115 + Width: 90 + Height: 25 + Text: Display + Font: Bold Button@AUDIO_TAB: - X:205 - Width:90 - Height:25 - Text:Audio - Font:Bold + X: 205 + Width: 90 + Height: 25 + Text: Audio + Font: Bold Button@INPUT_TAB: - X:295 - Width:90 - Height:25 - Text:Input - Font:Bold + X: 295 + Width: 90 + Height: 25 + Text: Input + Font: Bold Button@ADVANCED_TAB: - X:385 - Width:90 - Height:25 - Text:Advanced - Font:Bold + X: 385 + Width: 90 + Height: 25 + Text: Advanced + Font: Bold Container@DISPLAY_PANEL: - X:5 - Y:50 - Width:PARENT_RIGHT - 10 - Height:PARENT_BOTTOM + X: 5 + Y: 50 + Width: PARENT_RIGHT - 10 + Height: PARENT_BOTTOM Children: Label@MODE_LABEL: - X:120 - Y:39 - Width:45 - Height:25 - Align:Right - Text:Mode: + X: 120 + Y: 39 + Width: 45 + Height: 25 + Align: Right + Text: Mode: DropDownButton@MODE_DROPDOWN: - X:170 - Y:40 - Width:170 - Height:25 - Font:Regular - Text:Windowed + X: 170 + Y: 40 + Width: 170 + Height: 25 + Font: Regular + Text: Windowed Container@WINDOW_RESOLUTION: - X:340 - Y:40 + X: 340 + Y: 40 Children: Label@At: - Text:@ - Font:Bold - Y:0-1 - Height:25 - Width:25 - Align:Center + Text: @ + Font: Bold + Y: 0-1 + Height: 25 + Width: 25 + Align: Center TextField@WINDOW_WIDTH: - X:25 - Width:45 - Height:25 - MaxLength:5 + X: 25 + Width: 45 + Height: 25 + MaxLength: 5 Label@X: - Text:x - Font:Bold - X:70 - Y:0-1 - Height:25 - Width:15 - Align:Center + Text: x + Font: Bold + X: 70 + Y: 0-1 + Height: 25 + Width: 15 + Align: Center TextField@WINDOW_HEIGHT: - X:85 - Width:45 - Height:25 - MaxLength:5 + X: 85 + Width: 45 + Height: 25 + MaxLength: 5 Label@VIDEO_DESC: - Y:60 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center - Text:Mode/Resolution changes will be applied after the game is restarted + Y: 60 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: Mode/Resolution changes will be applied after the game is restarted Checkbox@FRAME_LIMIT_CHECKBOX: - X:15 - Y:100 - Width:200 - Height:20 - Font:Regular - Text:Enable Frame Limiter + X: 15 + Y: 100 + Width: 200 + Height: 20 + Font: Regular + Text: Enable Frame Limiter Checkbox@PIXELDOUBLE_CHECKBOX: - X:310 - Y:100 - Width:200 - Height:20 - Font:Regular - Text:Enable Pixel Doubling + X: 310 + Y: 100 + Width: 200 + Height: 20 + Font: Regular + Text: Enable Pixel Doubling Label@FRAME_LIMIT_DESC_A: - X:45 - Y:132 - Width:50 - Height:25 - Text:Limit to - Align:Right + X: 45 + Y: 132 + Width: 50 + Height: 25 + Text: Limit to + Align: Right TextField@FRAME_LIMIT_TEXTFIELD: - X:100 - Y:133 - Width:45 - Height:25 - MaxLength:3 + X: 100 + Y: 133 + Width: 45 + Height: 25 + MaxLength: 3 Label@FRAME_LIMIT_DESC_B: - X:150 - Y:132 - Height:25 + X: 150 + Y: 132 + Height: 25 Text: FPS Checkbox@TEAM_HEALTH_COLORS_CHECKBOX: - X:310 - Y:135 - Width:200 - Height:20 - Font:Regular - Text:Team Health Colors + X: 310 + Y: 135 + Width: 200 + Height: 20 + Font: Regular + Text: Team Health Colors Checkbox@SHOW_SHELLMAP: - X:15 - Y:170 - Width:200 - Height:20 - Font:Regular - Text:Show Shellmap + X: 15 + Y: 170 + Width: 200 + Height: 20 + Font: Regular + Text: Show Shellmap Checkbox@ALWAYS_SHOW_STATUS_BARS_CHECKBOX: - X:310 - Y:170 - Width:200 - Height:20 - Font:Regular - Text:Always Show Status Bars - Label@VIDEO_TITLE: - Y:225 - Width:PARENT_RIGHT - Font:Bold - Text:Localization - Align:Center - Visible:false + X: 310 + Y: 170 + Width: 200 + Height: 20 + Font: Regular + Text: Always Show Status Bars + Label@LOCALIZATION_TITLE: + Y: 225 + Width: PARENT_RIGHT + Font: Bold + Text: Localization + Align: Center + Visible: false Label@LANGUAGE_LABEL: - X:230 - WIDTH - 5 - Y:244 - Width:75 - Height:25 - Align:Right - Text:Language: - Visible:false + X: 230 - WIDTH - 5 + Y: 244 + Width: 75 + Height: 25 + Align: Right + Text: Language: + Visible: false DropDownButton@LANGUAGE_DROPDOWNBUTTON: - X:230 - Y:245 - Width:200 - Height:25 - Visible:false + X: 230 + Y: 245 + Width: 200 + Height: 25 + Visible: false Label@VIDEO_DESC_A: - Y:265 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center - Text:Language changes will be applied after the game is restarted - Visible:false + Y: 265 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: Language changes will be applied after the game is restarted + Visible: false Label@VIDEO_DESC_B: - Y:280 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center - Text:Translations apply to text strings only; Speech and build icons will remain in English - Visible:false + Y: 280 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: Translations apply to text strings only; Speech and build icons will remain in English + Visible: false Container@AUDIO_PANEL: - X:5 - Y:50 - Width:PARENT_RIGHT - 10 - Height:PARENT_BOTTOM + X: 5 + Y: 50 + Width: PARENT_RIGHT - 10 + Height: PARENT_BOTTOM Children: Checkbox@SHELLMAP_MUSIC: - X:15 - Y:40 - Width:200 - Height:20 - Font:Regular - Text:Shellmap / Mission Music + X: 15 + Y: 40 + Width: 200 + Height: 20 + Font: Regular + Text: Shellmap / Mission Music Label@SOUND_LABEL: - X:PARENT_RIGHT - WIDTH - 270 - Y:37 - Width:95 - Height:25 - Align:Right - Text:Sound Volume: + X: PARENT_RIGHT - WIDTH - 270 + Y: 37 + Width: 95 + Height: 25 + Align: Right + Text: Sound Volume: Slider@SOUND_VOLUME: - X:PARENT_RIGHT - WIDTH - 15 - Y:43 - Width:250 - Height:20 - Ticks:5 + X: PARENT_RIGHT - WIDTH - 15 + Y: 43 + Width: 250 + Height: 20 + Ticks: 5 Checkbox@CASH_TICKS: - X:15 - Y:70 - Width:200 - Height:20 - Font:Regular - Text:Cash Ticks + X: 15 + Y: 70 + Width: 200 + Height: 20 + Font: Regular + Text: Cash Ticks Label@MUSIC_LABEL: - X:PARENT_RIGHT - WIDTH - 270 - Y:67 - Width:95 - Height:25 - Align:Right - Text:Music Volume: + X: PARENT_RIGHT - WIDTH - 270 + Y: 67 + Width: 95 + Height: 25 + Align: Right + Text: Music Volume: Slider@MUSIC_VOLUME: - X:PARENT_RIGHT - WIDTH - 15 - Y:73 - Width:250 - Height:20 - Ticks:5 + X: PARENT_RIGHT - WIDTH - 15 + Y: 73 + Width: 250 + Height: 20 + Ticks: 5 Label@VIDEO_LABEL: - X:PARENT_RIGHT - WIDTH - 270 - Y:97 - Width:95 - Height:25 - Align:Right - Text:Video Volume: + X: PARENT_RIGHT - WIDTH - 270 + Y: 97 + Width: 95 + Height: 25 + Align: Right + Text: Video Volume: Slider@VIDEO_VOLUME: - X:PARENT_RIGHT - WIDTH - 15 - Y:103 - Width:250 - Height:20 - Ticks:5 + X: PARENT_RIGHT - WIDTH - 15 + Y: 103 + Width: 250 + Height: 20 + Ticks: 5 Label@AUDIO_DEVICE_LABEL: - X:190 - WIDTH - 5 - Y:244 - Width:75 - Height:25 - Align:Right - Text:Audio Device: + X: 190 - WIDTH - 5 + Y: 244 + Width: 75 + Height: 25 + Align: Right + Text: Audio Device: DropDownButton@AUDIO_DEVICE: - X:190 - Y:245 - Width:300 - Height:25 + X: 190 + Y: 245 + Width: 300 + Height: 25 Label@AUDIO_DEVICE_DESC: - Y:265 - Width:PARENT_RIGHT - Height:25 - Font:Tiny - Align:Center - Text:Device changes will be applied after the game is restarted + Y: 265 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: Device changes will be applied after the game is restarted Container@INPUT_PANEL: - X:5 - Y:50 - Width:PARENT_RIGHT - 10 - Height:PARENT_BOTTOM + X: 5 + Y: 50 + Width: PARENT_RIGHT - 10 + Height: PARENT_BOTTOM Children: Checkbox@CLASSICORDERS_CHECKBOX: - X:15 - Y:40 - Width:250 - Height:20 - Font:Regular - Text:Left-Click Orders + X: 15 + Y: 40 + Width: 250 + Height: 20 + Font: Regular + Text: Left-Click Orders Label@MOUSE_SCROLL_LABEL: - X:PARENT_RIGHT - WIDTH - 120 - Y:39 - Width:160 - Height:20 - Font:Regular - Text:Middle-Mouse Scrolling: - Align:Right + X: PARENT_RIGHT - WIDTH - 120 + Y: 39 + Width: 160 + Height: 20 + Font: Regular + Text: Middle-Mouse Scrolling: + Align: Right DropDownButton@MOUSE_SCROLL: - X:PARENT_RIGHT - WIDTH - 15 - Y:38 - Width:100 - Height:25 - Font:Regular - Text:Enabled + X: PARENT_RIGHT - WIDTH - 15 + Y: 38 + Width: 100 + Height: 25 + Font: Regular + Text: Enabled Checkbox@EDGESCROLL_CHECKBOX: - X:15 - Y:70 - Width:130 - Height:20 - Font:Regular - Text:Edge Scrolling + X: 15 + Y: 70 + Width: 130 + Height: 20 + Font: Regular + Text: Edge Scrolling Label@SCROLL_SPEED_LABEL: - X:PARENT_RIGHT - WIDTH - 270 - Y:67 - Width:95 - Height:25 - Text:Scroll Speed: - Align:Right + X: PARENT_RIGHT - WIDTH - 270 + Y: 67 + Width: 95 + Height: 25 + Text: Scroll Speed: + Align: Right Slider@SCROLLSPEED_SLIDER: - X:PARENT_RIGHT - WIDTH - 15 - Y:73 - Width:250 - Height:20 - Ticks:5 + X: PARENT_RIGHT - WIDTH - 15 + Y: 73 + Width: 250 + Height: 20 + Ticks: 5 MinimumValue: 10 MaximumValue: 50 - Label@HOTKEY_TITLE: - Y:115 - Width:PARENT_RIGHT - Font:Bold - Text:Hotkeys - Align:Center + Label@HOTKEYS_TITLE: + Y: 115 + Width: PARENT_RIGHT + Font: Bold + Text: Hotkeys + Align: Center ScrollPanel@HOTKEY_LIST: - X:15 - Y:135 - Width:560 - ItemSpacing:4 - Height:160 + X: 15 + Y: 135 + Width: 560 + ItemSpacing: 4 + Height: 160 Children: ScrollItem@HEADER: - BaseName:scrollheader - Width:528 - Height:13 - Visible:false + BaseName: scrollheader + Width: 528 + Height: 13 + Visible: false Children: Label@LABEL: - Font:TinyBold - Width:PARENT_RIGHT - Height:10 - Align:Center + Font: TinyBold + Width: PARENT_RIGHT + Height: 10 + Align: Center Container@GLOBAL_TEMPLATE: - Width:262 - Height:25 - Visible:false + Width: 262 + Height: 25 + Visible: false Children: Label@FUNCTION: - Y:0-1 - Width:PARENT_RIGHT - 85 - Height:25 - Align:Right + Y: 0-1 + Width: PARENT_RIGHT - 85 + Height: 25 + Align: Right HotkeyEntry@HOTKEY: - X:PARENT_RIGHT-WIDTH - Width:80 - Height:25 + X: PARENT_RIGHT-WIDTH + Width: 80 + Height: 25 Container@UNIT_TEMPLATE: - Width:173 - Height:25 - Visible:false + Width: 173 + Height: 25 + Visible: false Children: Label@FUNCTION: - Y:0-1 - Width:PARENT_RIGHT - 84 - Height:25 - Align:Right + Y: 0-1 + Width: PARENT_RIGHT - 84 + Height: 25 + Align: Right HotkeyEntry@HOTKEY: - X:PARENT_RIGHT-WIDTH+1 - Width:80 - Height:25 + X: PARENT_RIGHT-WIDTH+1 + Width: 80 + Height: 25 Container@ADVANCED_PANEL: - X:5 - Y:50 - Width:PARENT_RIGHT - 10 - Height:PARENT_BOTTOM + X: 5 + Y: 50 + Width: PARENT_RIGHT - 10 + Height: PARENT_BOTTOM Children: Checkbox@NAT_DISCOVERY: - X:15 - Y:40 - Width:200 - Height:20 - Font:Regular + X: 15 + Y: 40 + Width: 200 + Height: 20 + Font: Regular Text: Enable Network Discovery (UPnP) Checkbox@CRASH_DIALOG_CHECKBOX: - X:310 - Y:40 - Width:300 - Height:20 - Font:Regular - Text:Show Fatal Error dialog + X: 310 + Y: 40 + Width: 300 + Height: 20 + Font: Regular + Text: Show Fatal Error dialog Checkbox@PERFTEXT_CHECKBOX: - X:15 - Y:70 - Width:300 - Height:20 - Font:Regular - Text:Show Performance Text + X: 15 + Y: 70 + Width: 300 + Height: 20 + Font: Regular + Text: Show Performance Text Checkbox@PERFGRAPH_CHECKBOX: - X:310 - Y:70 - Width:300 - Height:20 - Font:Regular - Text:Show Performance Graph - Label@HOTKEY_TITLE: - Y:140 - Width:PARENT_RIGHT - Font:Bold - Text:Debug - Align:Center + X: 310 + Y: 70 + Width: 300 + Height: 20 + Font: Regular + Text: Show Performance Graph + Label@DEBUG_TITLE: + Y: 140 + Width: PARENT_RIGHT + Font: Bold + Text: Debug + Align: Center Checkbox@BOTDEBUG_CHECKBOX: - X:15 - Y:160 - Width:300 - Height:20 - Font:Regular - Text:Show Bot Debug Messages + X: 15 + Y: 160 + Width: 300 + Height: 20 + Font: Regular + Text: Show Bot Debug Messages Checkbox@VERBOSE_NAT_CHECKBOX: - X:310 - Y:160 - Width:300 - Height:20 - Font:Regular - Text:Detailed NAT logging + X: 310 + Y: 160 + Width: 300 + Height: 20 + Font: Regular + Text: Detailed NAT logging Checkbox@CHECKUNSYNCED_CHECKBOX: - X:15 - Y:190 - Width:300 - Height:20 - Font:Regular - Text:Check Sync around Unsynced Code \ No newline at end of file + X: 15 + Y: 190 + Width: 300 + Height: 20 + Font: Regular + Text: Check Sync around Unsynced Code + diff --git a/mods/ra/chrome/tooltips.yaml b/mods/ra/chrome/tooltips.yaml index 41b44a53a2..d4ce39892b 100644 --- a/mods/ra/chrome/tooltips.yaml +++ b/mods/ra/chrome/tooltips.yaml @@ -1,108 +1,109 @@ Background@SIMPLE_TOOLTIP: - Logic:SimpleTooltipLogic - Background:dialog4 - Height:29 + Logic: SimpleTooltipLogic + Background: dialog4 + Height: 29 Children: Label@LABEL: - X:7 - Y:2 - Height:23 - Font:Bold + X: 7 + Y: 2 + Height: 23 + Font: Bold Background@BUTTON_TOOLTIP: - Logic:ButtonTooltipLogic - Background:dialog4 - Height:29 + Logic: ButtonTooltipLogic + Background: dialog4 + Height: 29 Children: Label@LABEL: - X:7 - Y:2 - Height:23 - Font:Bold + X: 7 + Y: 2 + Height: 23 + Font: Bold Label@HOTKEY: - Y:2 - Height:23 - TextColor:255,255,0 - Font:Bold + Y: 2 + Height: 23 + TextColor: 255,255,0 + Font: Bold Background@WORLD_TOOLTIP: - Logic:WorldTooltipLogic - Background:dialog4 + Logic: WorldTooltipLogic + Background: dialog4 Children: Container@SINGLE_HEIGHT: - Height:29 + Height: 29 Container@DOUBLE_HEIGHT: - Height:50 + Height: 50 Label@LABEL: - X:7 - Y:2 - Height:23 - Font:Bold + X: 7 + Y: 2 + Height: 23 + Font: Bold Image@FLAG: - X:7 - Y:27 - Width:32 - Height:16 + X: 7 + Y: 27 + Width: 32 + Height: 16 Label@OWNER: - X:45 - Y:22 - Height:23 - Font:Bold + X: 45 + Y: 22 + Height: 23 + Font: Bold Background@SPAWN_TOOLTIP: - Logic:SpawnSelectorTooltipLogic - Background:dialog4 - Width:7 + Logic: SpawnSelectorTooltipLogic + Background: dialog4 + Width: 7 Children: Container@SINGLE_HEIGHT: - Height:29 + Height: 29 Container@DOUBLE_HEIGHT: - Height:44 + Height: 44 Label@LABEL: - Y:2 - Height:23 - Font:Bold + Y: 2 + Height: 23 + Font: Bold Image@FLAG: - X:7 - Y:7 - Width:32 - Height:16 + X: 7 + Y: 7 + Width: 32 + Height: 16 Label@TEAM: - Y:23 - Height:15 - Font:TinyBold - Align:center + Y: 23 + Height: 15 + Font: TinyBold + Align: center Background@CLIENT_TOOLTIP: - Logic:ClientTooltipLogic - Background:dialog4 - Height:51 - Width:7 + Logic: ClientTooltipLogic + Background: dialog4 + Height: 51 + Width: 7 Children: Label@ADMIN: - Y:4 - Height:18 - Font:Bold - Text:Game Admin - Align:Center + Y: 4 + Height: 18 + Font: Bold + Text: Game Admin + Align: Center Label@IP: - Y:7 - Width:5 - Height:10 - Font:TinyBold - Align:Center + Y: 7 + Width: 5 + Height: 10 + Font: TinyBold + Align: Center Label@LOCATION: - Y:19 - Height:10 - Font:TinyBold - Align:Center + Y: 19 + Height: 10 + Font: TinyBold + Align: Center Label@LATENCY_PREFIX: - X:10 - Y:31 - Height:10 - Font:TinyBold - Text:Latency: + X: 10 + Y: 31 + Height: 10 + Font: TinyBold + Text: Latency: Label@LATENCY: - Y:31 - Height:10 - Font:TinyBold \ No newline at end of file + Y: 31 + Height: 10 + Font: TinyBold + diff --git a/mods/ra/languages/english.yaml b/mods/ra/languages/english.yaml index 7eba7d3299..7dee16a0f1 100644 --- a/mods/ra/languages/english.yaml +++ b/mods/ra/languages/english.yaml @@ -1,6 +1,2 @@ english: english: English - - ready: READY - on-hold: ON HOLD - requires: Requires {0} diff --git a/mods/ts/chrome/color-picker.yaml b/mods/ts/chrome/color-picker.yaml index 110cf34f99..61ddd97e38 100644 --- a/mods/ts/chrome/color-picker.yaml +++ b/mods/ts/chrome/color-picker.yaml @@ -1,46 +1,47 @@ Background@COLOR_CHOOSER: - Logic:ColorPickerLogic - Background:dialog2 - Width:234 - Height:105 + Logic: ColorPickerLogic + Background: dialog2 + Width: 234 + Height: 105 Children: Background@HUEBG: - Background:dialog3 - X:5 - Y:5 - Width:148 - Height:13 + Background: dialog3 + X: 5 + Y: 5 + Width: 148 + Height: 13 Children: HueSlider@HUE: - X:2 - Y:2 - Width:144 - Height:9 - Ticks:5 + X: 2 + Y: 2 + Width: 144 + Height: 9 + Ticks: 5 Background@MIXERBG: - Background:dialog3 - X:5 - Y:23 - Width:148 - Height:76 + Background: dialog3 + X: 5 + Y: 23 + Width: 148 + Height: 76 Children: ColorMixer@MIXER: - X:2 - Y:2 - Width:144 - Height:72 + X: 2 + Y: 2 + Width: 144 + Height: 72 SpriteSequence@PREVIEW: - X:153 - Y:1-40 - Width:80 - Height:73 - Palette:colorpicker - Unit:gacnst - Sequence:make + X: 153 + Y: 1-40 + Width: 80 + Height: 73 + Palette: colorpicker + Unit: gacnst + Sequence: make Button@RANDOM_BUTTON: - Key:tab - X:158 - Y:74 - Width:70 - Height:25 - Text:Random \ No newline at end of file + Key: tab + X: 158 + Y: 74 + Width: 70 + Height: 25 + Text: Random + diff --git a/mods/ts/chrome/gameinit.yaml b/mods/ts/chrome/gameinit.yaml index 2549166b90..7f83536c3e 100644 --- a/mods/ts/chrome/gameinit.yaml +++ b/mods/ts/chrome/gameinit.yaml @@ -1,158 +1,160 @@ Background@INSTALL_PANEL: - Logic:InstallLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:510 - Height:160 + Logic: InstallLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 510 + Height: 160 Children: Label@TITLE: - X:0 - Y:20 - Width:PARENT_RIGHT - Height:25 - Text:Install Required - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: PARENT_RIGHT + Height: 25 + Text: Install Required + Align: Center + Font: Bold Label@DESC1: - X:0 - Y:50 - Width:PARENT_RIGHT - Height:25 - Text:OpenRA requires the original Tiberian Sun game content. - Align:Center + X: 0 + Y: 50 + Width: PARENT_RIGHT + Height: 25 + Text: OpenRA requires the original Tiberian Sun game content. + Align: Center Label@DESC2: - X:0 - Y:70 - Width:PARENT_RIGHT - Height:25 - Text:Content can be downloaded, or copied from the install CD. - Align:Center + X: 0 + Y: 70 + Width: PARENT_RIGHT + Height: 25 + Text: Content can be downloaded, or copied from the install CD. + Align: Center Button@DOWNLOAD_BUTTON: - X:20 - Y:PARENT_BOTTOM - 45 - Width:110 - Height:25 - Text:Download - Font:Bold + X: 20 + Y: PARENT_BOTTOM - 45 + Width: 110 + Height: 25 + Text: Download + Font: Bold Button@INSTALL_BUTTON: - X:140 - Y:PARENT_BOTTOM - 45 - Width:110 - Height:25 - Text:Use CD - Font:Bold + X: 140 + Y: PARENT_BOTTOM - 45 + Width: 110 + Height: 25 + Text: Use CD + Font: Bold Button@BACK_BUTTON: - X:PARENT_RIGHT - 130 - Y:PARENT_BOTTOM - 45 - Width:110 - Height:25 - Text:Back - Font:Bold + X: PARENT_RIGHT - 130 + Y: PARENT_BOTTOM - 45 + Width: 110 + Height: 25 + Text: Back + Font: Bold Background@INSTALL_DOWNLOAD_PANEL: - Logic:DownloadPackagesLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:500 - Height:160 + Logic: DownloadPackagesLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 500 + Height: 160 Children: Label@TITLE: - X:0 - Y:20 - Width:PARENT_RIGHT - Height:25 - Text:Downloading Tiberian Sun Content - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: PARENT_RIGHT + Height: 25 + Text: Downloading Tiberian Sun Content + Align: Center + Font: Bold ProgressBar@PROGRESS_BAR: - X:50 - Y:55 - Width:PARENT_RIGHT - 100 - Height:25 + X: 50 + Y: 55 + Width: PARENT_RIGHT - 100 + Height: 25 Label@STATUS_LABEL: - X:50 - Y:80 - Width:PARENT_RIGHT - 100 - Height:25 - Align:Left + X: 50 + Y: 80 + Width: PARENT_RIGHT - 100 + Height: 25 + Align: Left Button@RETRY_BUTTON: - X:PARENT_RIGHT - 280 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 + X: PARENT_RIGHT - 280 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 Visible: false - Text:Retry - Font:Bold - Key:return + Text: Retry + Font: Bold + Key: return Button@CANCEL_BUTTON: - X:PARENT_RIGHT - 140 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Cancel - Font:Bold - Key:escape + X: PARENT_RIGHT - 140 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold + Key: escape + Background@INSTALL_FROMCD_PANEL: - Logic:TSInstallFromCDLogic - X:(WINDOW_RIGHT - WIDTH)/2 - Y:(WINDOW_BOTTOM - HEIGHT)/2 - Width:500 - Height:160 + Logic: TSInstallFromCDLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 500 + Height: 160 Children: Label@TITLE: - X:0 - Y:20 - Width:PARENT_RIGHT - Height:25 - Text:Installing from CD - Align:Center - Font:Bold + X: 0 + Y: 20 + Width: PARENT_RIGHT + Height: 25 + Text: Installing from CD + Align: Center + Font: Bold Container@INSTALLING: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Visible: false Children: ProgressBar@PROGRESS_BAR: - X:50 - Y:55 - Width:PARENT_RIGHT - 100 - Height:25 + X: 50 + Y: 55 + Width: PARENT_RIGHT - 100 + Height: 25 Label@STATUS_LABEL: - X:50 - Y:80 - Width:PARENT_RIGHT - 100 - Height:25 - Align:Left + X: 50 + Y: 80 + Width: PARENT_RIGHT - 100 + Height: 25 + Align: Left Container@INSERT_DISK: - Width:PARENT_RIGHT - Height:PARENT_BOTTOM + Width: PARENT_RIGHT + Height: PARENT_BOTTOM Visible: false Children: Label@INFO: - Y:50 - Width:PARENT_RIGHT - Height:25 - Text:Disk not found. - Align:Center + Y: 50 + Width: PARENT_RIGHT + Height: 25 + Text: Disk not found. + Align: Center Label@INFO2: - Y:70 - Width:PARENT_RIGHT - Height:25 - Text:Please insert one of the Tiberian Sun install CDs then click Retry. - Align:Center + Y: 70 + Width: PARENT_RIGHT + Height: 25 + Text: Please insert one of the Tiberian Sun install CDs then click Retry. + Align: Center Button@RETRY_BUTTON: - X:PARENT_RIGHT - 280 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Retry - Font:Bold - Key:return + X: PARENT_RIGHT - 280 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Retry + Font: Bold + Key: return Button@BACK_BUTTON: - X:PARENT_RIGHT - 140 - Y:PARENT_BOTTOM - 45 - Width:120 - Height:25 - Text:Cancel - Font:Bold - Key:escape + X: PARENT_RIGHT - 140 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Cancel + Font: Bold + Key: escape + diff --git a/mods/ts/languages/english.yaml b/mods/ts/languages/english.yaml index 7eba7d3299..7dee16a0f1 100644 --- a/mods/ts/languages/english.yaml +++ b/mods/ts/languages/english.yaml @@ -1,6 +1,2 @@ english: english: English - - ready: READY - on-hold: ON HOLD - requires: Requires {0}