eradicate 'delegate' misuse

This commit is contained in:
Chris Forbes
2011-05-22 21:58:39 +12:00
parent 4b12a19af0
commit ef03d46f13
72 changed files with 234 additions and 269 deletions

View File

@@ -5,7 +5,7 @@ GameInitInfo@INIT_SETUP:
PackageURL:http://open-ra.org/get-dependency.php?file=ra-packages
PackagePath:^/Content/ra
InstallMode:ra
Delegate:GameInitDelegate
Logic:GameInitLogic
Background@INIT_CHOOSEINSTALL:
Id:INIT_CHOOSEINSTALL

View File

@@ -1,6 +1,6 @@
Background@SERVER_LOBBY:
Id:SERVER_LOBBY
Delegate:LobbyDelegate
Logic:LobbyLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:800
@@ -431,7 +431,7 @@ Background@MAP_CHOOSER:
Id:MAP_CHOOSER
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Delegate:MapChooserDelegate
Logic:MapChooserLogic
Width:800
Height:600
Children:

View File

@@ -1,6 +1,6 @@
Container@INGAME_ROOT:
Id:INGAME_ROOT
Delegate:IngameChromeDelegate
Logic:IngameChromeLogic
Children:
WorldInteractionController:
Id:INTERACTION_CONTROLLER
@@ -93,7 +93,7 @@ Container@INGAME_ROOT:
Children:
OrderButton@SELL:
Id:SELL
Delegate:OrderButtonsChromeDelegate
Logic:OrderButtonsChromeLogic
X:3
Y:0
Width:30
@@ -103,7 +103,7 @@ Container@INGAME_ROOT:
LongDesc:Sell buildings, reclaiming a \nproportion of their build cost
OrderButton@POWER_DOWN:
Id:POWER_DOWN
Delegate:OrderButtonsChromeDelegate
Logic:OrderButtonsChromeLogic
X:39
Y:0
Width:30
@@ -113,7 +113,7 @@ Container@INGAME_ROOT:
LongDesc:Disable unneeded structures so their \npower can be used elsewhere
OrderButton@REPAIR:
Id:REPAIR
Delegate:OrderButtonsChromeDelegate
Logic:OrderButtonsChromeLogic
X:75
Y:0
Width:30
@@ -189,7 +189,7 @@ Container@INGAME_ROOT:
Font:Bold
Background@DIPLOMACY_BG:
Id:DIPLOMACY_BG
Delegate:DiplomacyDelegate
Logic:DiplomacyLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:450
@@ -223,7 +223,7 @@ Container@INGAME_ROOT:
UseContrast: yes
Background@DEVELOPERMODE_BG:
Id:DEVELOPERMODE_BG
Delegate:DeveloperModeDelegate
Logic:DeveloperModeLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:350
@@ -305,7 +305,7 @@ Container@INGAME_ROOT:
ClickThrough:true
Id:PERF_BG
Background:dialog4
Delegate:PerfDebugDelegate
Logic:PerfDebugLogic
X:10
Y:WINDOW_BOTTOM - 250
Width: 210
@@ -326,7 +326,7 @@ Container@INGAME_ROOT:
Container@OBSERVER_ROOT:
Id:OBSERVER_ROOT
Visible:true
Delegate:IngameObserverChromeDelegate
Logic:IngameObserverChromeLogic
Children:
WorldInteractionController:
X:0
@@ -455,7 +455,7 @@ Container@OBSERVER_ROOT:
ClickThrough:true
Id:PERF_BG
Background:dialog4
Delegate:PerfDebugDelegate
Logic:PerfDebugLogic
X:10
Y:WINDOW_BOTTOM - 250
Width: 210

View File

@@ -5,7 +5,7 @@ Background@MAINMENU_BG:
Width:250
Height:330
Visible:true
Delegate:MainMenuButtonsDelegate
Logic:MainMenuButtonsLogic
Children:
Label@MAINMENU_LABEL_TITLE:
Id:MAINMENU_LABEL_TITLE
@@ -99,7 +99,7 @@ Background@PERF_BG:
ClickThrough:true
Id:PERF_BG
Background:dialog4
Delegate:PerfDebugDelegate
Logic:PerfDebugLogic
X:10
Y:WINDOW_BOTTOM - 250
Width: 210
@@ -119,7 +119,7 @@ Background@PERF_BG:
Height:40
Background@MUSIC_MENU:
Id:MUSIC_MENU
Delegate:MusicPlayerDelegate
Logic:MusicPlayerLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width: 450

View File

@@ -1,6 +1,6 @@
Background@REPLAYBROWSER_BG:
Id:REPLAYBROWSER_BG
Delegate:ReplayBrowserDelegate
Logic:ReplayBrowserLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:700

View File

@@ -1,6 +1,6 @@
Background@CREATESERVER_BG:
Id:CREATESERVER_BG
Delegate:CreateServerMenuDelegate
Logic:CreateServerMenuLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:400
@@ -87,7 +87,7 @@ Background@CREATESERVER_BG:
Font:Bold
Background@JOINSERVER_BG:
Id:JOINSERVER_BG
Delegate:ServerBrowserDelegate
Logic:ServerBrowserLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:700
@@ -242,7 +242,7 @@ Background@JOINSERVER_BG:
Font:Bold
Background@DIRECTCONNECT_BG:
Id:DIRECTCONNECT_BG
Delegate:DirectConnectDelegate
Logic:DirectConnectLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:400
@@ -290,7 +290,7 @@ Background@DIRECTCONNECT_BG:
Font:Bold
Background@CONNECTION_FAILED_BG:
Id:CONNECTION_FAILED_BG
Delegate:ConnectionFailedDelegate
Logic:ConnectionFailedLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:450
@@ -331,7 +331,7 @@ Background@CONNECTION_FAILED_BG:
Font:Bold
Background@CONNECTING_BG:
Id:CONNECTING_BG
Delegate:ConnectionDialogsDelegate
Logic:ConnectionDialogsLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:450

View File

@@ -1,6 +1,6 @@
Background@SETTINGS_MENU:
Id:SETTINGS_MENU
Delegate:SettingsMenuDelegate
Logic:SettingsMenuLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM- HEIGHT)/2
Width: 450