Skip to content

Commit ff6dbde

Browse files
committed
move widget code to commons
1 parent cee3d6c commit ff6dbde

38 files changed

+80
-98
lines changed

OpenRA.Mods.Common/OpenRA.Mods.Common.csproj

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@
475475
<Compile Include="Warheads\HealthPercentageDamageWarhead.cs" />
476476
<Compile Include="Warheads\LeaveSmudgeWarhead.cs" />
477477
<Compile Include="Warheads\SpreadDamageWarhead.cs" />
478+
<Compile Include="Widgets\ActorPreviewWidget.cs" />
478479
<Compile Include="Widgets\ColorMixerWidget.cs" />
479480
<Compile Include="Widgets\ColorPreviewManagerWidget.cs" />
480481
<Compile Include="Widgets\ConfirmationDialogs.cs" />
@@ -487,29 +488,61 @@
487488
<Compile Include="Widgets\Logic\ColorPickerLogic.cs" />
488489
<Compile Include="Widgets\Logic\ConnectionLogic.cs" />
489490
<Compile Include="Widgets\Logic\CountryTooltipLogic.cs" />
491+
<Compile Include="Widgets\Logic\CreditsLogic.cs" />
490492
<Compile Include="Widgets\Logic\DirectConnectLogic.cs" />
491493
<Compile Include="Widgets\Logic\DisconnectWatcherLogic.cs" />
494+
<Compile Include="Widgets\Logic\Ingame\AddRaceSuffixLogic.cs" />
495+
<Compile Include="Widgets\Logic\Ingame\ClassicProductionLogic.cs" />
496+
<Compile Include="Widgets\Logic\Ingame\ControlGroupLogic.cs" />
497+
<Compile Include="Widgets\Logic\Ingame\DebugMenuLogic.cs" />
498+
<Compile Include="Widgets\Logic\Ingame\DiplomacyLogic.cs" />
499+
<Compile Include="Widgets\Logic\Ingame\GameInfoBriefingLogic.cs" />
500+
<Compile Include="Widgets\Logic\Ingame\GameInfoLogic.cs" />
501+
<Compile Include="Widgets\Logic\Ingame\GameInfoObjectivesLogic.cs" />
502+
<Compile Include="Widgets\Logic\Ingame\GameInfoStatsLogic.cs" />
503+
<Compile Include="Widgets\Logic\Ingame\GameTimerLogic.cs" />
492504
<Compile Include="Widgets\Logic\Ingame\IngameChatLogic.cs" />
505+
<Compile Include="Widgets\Logic\Ingame\IngameCashCounterLogic.cs" />
506+
<Compile Include="Widgets\Logic\Ingame\IngameMenuLogic.cs" />
507+
<Compile Include="Widgets\Logic\Ingame\IngamePowerBarLogic.cs" />
508+
<Compile Include="Widgets\Logic\Ingame\IngamePowerCounterLogic.cs" />
509+
<Compile Include="Widgets\Logic\Ingame\IngameSiloBarLogic.cs" />
493510
<Compile Include="Widgets\Logic\Ingame\IngameRadarDisplayLogic.cs" />
511+
<Compile Include="Widgets\Logic\Ingame\LeaveMapLogic.cs" />
494512
<Compile Include="Widgets\Logic\Ingame\LoadIngamePlayerOrObserverUILogic.cs" />
513+
<Compile Include="Widgets\Logic\Ingame\ObserverShroudSelectorLogic.cs" />
514+
<Compile Include="Widgets\Logic\Ingame\ObserverStatsLogic.cs" />
515+
<Compile Include="Widgets\Logic\Ingame\OrderButtonsChromeLogic.cs" />
516+
<Compile Include="Widgets\Logic\Ingame\ProductionTooltipLogic.cs" />
517+
<Compile Include="Widgets\Logic\Ingame\ReplayControlBarLogic.cs" />
518+
<Compile Include="Widgets\Logic\Ingame\SupportPowerBinLogic.cs" />
519+
<Compile Include="Widgets\Logic\Ingame\SupportPowerTooltipLogic.cs" />
520+
<Compile Include="Widgets\Logic\Ingame\WorldTooltipLogic.cs" />
521+
<Compile Include="Widgets\Logic\Installation\InstallFromCDLogic.cs" />
522+
<Compile Include="Widgets\Logic\Installation\DownloadPackagesLogic.cs" />
523+
<Compile Include="Widgets\Logic\Installation\InstallLogic.cs" />
524+
<Compile Include="Widgets\Logic\Installation\InstallMusicLogic.cs" />
495525
<Compile Include="Widgets\Logic\Lobby\ClientTooltipLogic.cs" />
496526
<Compile Include="Widgets\Logic\Lobby\KickClientLogic.cs" />
497527
<Compile Include="Widgets\Logic\Lobby\KickSpectatorsLogic.cs" />
498528
<Compile Include="Widgets\Logic\Lobby\LobbyLogic.cs" />
499529
<Compile Include="Widgets\Logic\Lobby\LobbyMapPreviewLogic.cs" />
500530
<Compile Include="Widgets\Logic\Lobby\LobbyUtils.cs" />
531+
<Compile Include="Widgets\Logic\Lobby\SpawnSelectorTooltipLogic.cs" />
501532
<Compile Include="Widgets\Logic\MainMenuLogic.cs" />
502533
<Compile Include="Widgets\Logic\MapChooserLogic.cs" />
534+
<Compile Include="Widgets\Logic\MissionBrowserLogic.cs" />
503535
<Compile Include="Widgets\Logic\ModBrowserLogic.cs" />
504-
<Compile Include="Widgets\Logic\ProductionTooltipLogic.cs" />
505-
<Compile Include="Widgets\Logic\SupportPowerTooltipLogic.cs" />
506-
<Compile Include="Widgets\Logic\SupportPowerBinLogic.cs" />
536+
<Compile Include="Widgets\Logic\MusicPlayerLogic.cs" />
537+
<Compile Include="Widgets\Logic\PerfDebugLogic.cs" />
507538
<Compile Include="Widgets\Logic\ReplayBrowserLogic.cs" />
508539
<Compile Include="Widgets\Logic\ServerBrowserLogic.cs" />
509540
<Compile Include="Widgets\Logic\ServerCreationLogic.cs" />
510541
<Compile Include="Widgets\Logic\SettingsLogic.cs" />
542+
<Compile Include="Widgets\Logic\SimpleTooltipLogic.cs" />
511543
<Compile Include="Widgets\Logic\TabCompletionLogic.cs" />
512544
<Compile Include="Widgets\MenuButtonWidget.cs" />
545+
<Compile Include="Widgets\ObserverProductionIconsWidget.cs" />
513546
<Compile Include="Widgets\ObserverSupportPowerIconsWidget.cs" />
514547
<Compile Include="Widgets\ProductionPaletteWidget.cs" />
515548
<Compile Include="Widgets\ProductionTabsWidget.cs" />
@@ -519,13 +552,13 @@
519552
<Compile Include="Widgets\StrategicProgressWidget.cs" />
520553
<Compile Include="Widgets\SupportPowersWidget.cs" />
521554
<Compile Include="Widgets\SupportPowerTimerWidget.cs" />
555+
<Compile Include="Widgets\TerrainTemplatePreviewWidget.cs" />
556+
<Compile Include="Widgets\WorldCommandWidget.cs" />
522557
<Compile Include="SpriteLoaders\ShpTDLoader.cs" />
523558
<Compile Include="SpriteLoaders\ShpTSLoader.cs" />
524559
<Compile Include="SpriteLoaders\TmpRALoader.cs" />
525560
<Compile Include="SpriteLoaders\TmpTDLoader.cs" />
526561
<Compile Include="SpriteLoaders\ShpD2Loader.cs" />
527-
<Compile Include="Widgets\ActorPreviewWidget.cs" />
528-
<Compile Include="Widgets\TerrainTemplatePreviewWidget.cs" />
529562
<Compile Include="LoadScreens\LogoStripeLoadScreen.cs" />
530563
<Compile Include="LoadScreens\BlankLoadScreen.cs" />
531564
<Compile Include="UtilityCommands\CheckYaml.cs" />

OpenRA.Mods.RA/Widgets/Logic/CreditsLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/CreditsLogic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
using OpenRA.FileSystem;
1414
using OpenRA.Widgets;
1515

16-
namespace OpenRA.Mods.RA.Widgets.Logic
16+
namespace OpenRA.Mods.Common.Widgets.Logic
1717
{
1818
public class CreditsLogic
1919
{

OpenRA.Mods.RA/Widgets/Logic/Ingame/AddRaceSuffixLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/AddRaceSuffixLogic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using System;
1212
using OpenRA.Widgets;
1313

14-
namespace OpenRA.Mods.RA.Widgets.Logic
14+
namespace OpenRA.Mods.Common.Widgets.Logic
1515
{
1616
public class AddRaceSuffixLogic
1717
{

OpenRA.Mods.RA/Widgets/Logic/ClassicProductionLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/ClassicProductionLogic.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@
1212
using System.Linq;
1313
using OpenRA.Mods.Common.Traits;
1414
using OpenRA.Mods.Common.Widgets;
15-
using OpenRA.Mods.RA.Widgets;
1615
using OpenRA.Network;
1716
using OpenRA.Widgets;
1817

19-
namespace OpenRA.Mods.RA.Widgets.Logic
18+
namespace OpenRA.Mods.Common.Widgets.Logic
2019
{
2120
public class ClassicProductionLogic
2221
{

OpenRA.Mods.RA/Widgets/Logic/ControlGroupLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/ControlGroupLogic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
using OpenRA.Mods.Common.Widgets;
1313
using OpenRA.Widgets;
1414

15-
namespace OpenRA.Mods.RA.Widgets.Logic
15+
namespace OpenRA.Mods.Common.Widgets.Logic
1616
{
1717
public class ControlGroupLogic
1818
{

OpenRA.Mods.RA/Widgets/Logic/DebugMenuLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/DebugMenuLogic.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010

1111
using System;
1212
using OpenRA.Mods.Common.Traits;
13-
using OpenRA.Mods.RA.Traits;
1413
using OpenRA.Support;
1514
using OpenRA.Traits;
1615
using OpenRA.Widgets;
1716

18-
namespace OpenRA.Mods.RA.Widgets.Logic
17+
namespace OpenRA.Mods.Common.Widgets.Logic
1918
{
2019
public class DebugMenuLogic
2120
{

OpenRA.Mods.RA/Widgets/Logic/Ingame/DiplomacyLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/DiplomacyLogic.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010

1111
using System;
1212
using System.Linq;
13-
using OpenRA.Mods.Common.Widgets.Logic;
1413
using OpenRA.Network;
1514
using OpenRA.Traits;
1615
using OpenRA.Widgets;
1716

18-
namespace OpenRA.Mods.RA.Widgets.Logic
17+
namespace OpenRA.Mods.Common.Widgets.Logic
1918
{
2019
public class DiplomacyLogic
2120
{

OpenRA.Mods.RA/Widgets/Logic/Ingame/GameInfoBriefingLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoBriefingLogic.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,9 @@
88
*/
99
#endregion
1010

11-
using System;
12-
using System.Linq;
13-
using OpenRA.Mods.RA;
14-
using OpenRA.Traits;
1511
using OpenRA.Widgets;
1612

17-
namespace OpenRA.Mods.RA.Widgets.Logic
13+
namespace OpenRA.Mods.Common.Widgets.Logic
1814
{
1915
class GameInfoBriefingLogic
2016
{

OpenRA.Mods.RA/Widgets/Logic/Ingame/GameInfoLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoLogic.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@
1010

1111
using System;
1212
using System.Linq;
13-
using OpenRA.Mods.RA;
1413
using OpenRA.Traits;
1514
using OpenRA.Widgets;
1615

17-
namespace OpenRA.Mods.RA.Widgets.Logic
16+
namespace OpenRA.Mods.Common.Widgets.Logic
1817
{
1918
public enum IngameInfoPanel { AutoSelect, Map, Objectives, Debug }
2019

OpenRA.Mods.RA/Widgets/Logic/Ingame/GameInfoObjectivesLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoObjectivesLogic.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
using OpenRA.Traits;
1616
using OpenRA.Widgets;
1717

18-
namespace OpenRA.Mods.RA.Widgets.Logic
18+
namespace OpenRA.Mods.Common.Widgets.Logic
1919
{
2020
class GameInfoObjectivesLogic
2121
{
22-
ContainerWidget template;
22+
readonly ContainerWidget template;
2323

2424
[ObjectCreator.UseCtor]
2525
public GameInfoObjectivesLogic(Widget widget, World world)

OpenRA.Mods.RA/Widgets/Logic/Ingame/GameInfoStatsLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoStatsLogic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
using OpenRA.Mods.Common.Traits;
1414
using OpenRA.Widgets;
1515

16-
namespace OpenRA.Mods.RA.Widgets.Logic
16+
namespace OpenRA.Mods.Common.Widgets.Logic
1717
{
1818
class GameInfoStatsLogic
1919
{

OpenRA.Mods.RA/Widgets/Logic/GameTimerLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/GameTimerLogic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
using OpenRA.Network;
1313
using OpenRA.Widgets;
1414

15-
namespace OpenRA.Mods.RA.Widgets.Logic
15+
namespace OpenRA.Mods.Common.Widgets.Logic
1616
{
1717
public class GameTimerLogic
1818
{

OpenRA.Mods.RA/Widgets/Logic/Ingame/IngameCashCounterLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameCashCounterLogic.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@
88
*/
99
#endregion
1010

11-
using OpenRA.Mods.Common.Widgets;
1211
using OpenRA.Traits;
1312
using OpenRA.Widgets;
1413

15-
namespace OpenRA.Mods.RA.Widgets.Logic
14+
namespace OpenRA.Mods.Common.Widgets.Logic
1615
{
1716
public class IngameCashCounterLogic
1817
{

OpenRA.Mods.RA/Widgets/Logic/IngameMenuLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@
1111
using System;
1212
using OpenRA.Graphics;
1313
using OpenRA.Mods.Common.Traits;
14-
using OpenRA.Mods.Common.Widgets;
1514
using OpenRA.Widgets;
1615

17-
namespace OpenRA.Mods.RA.Widgets.Logic
16+
namespace OpenRA.Mods.Common.Widgets.Logic
1817
{
1918
public class IngameMenuLogic
2019
{

OpenRA.Mods.RA/Widgets/Logic/Ingame/IngamePowerBarLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/IngamePowerBarLogic.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@
1010

1111
using System.Drawing;
1212
using OpenRA.Mods.Common.Traits;
13-
using OpenRA.Mods.Common.Widgets;
1413
using OpenRA.Widgets;
1514

16-
namespace OpenRA.Mods.RA.Widgets.Logic
15+
namespace OpenRA.Mods.Common.Widgets.Logic
1716
{
1817
public class IngamePowerBarLogic
1918
{

OpenRA.Mods.RA/Widgets/Logic/Ingame/IngamePowerCounterLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/IngamePowerCounterLogic.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@
1010

1111
using System.Drawing;
1212
using OpenRA.Mods.Common.Traits;
13-
using OpenRA.Mods.Common.Widgets;
1413
using OpenRA.Widgets;
1514

16-
namespace OpenRA.Mods.RA.Widgets.Logic
15+
namespace OpenRA.Mods.Common.Widgets.Logic
1716
{
1817
public class IngamePowerCounterLogic
1918
{

OpenRA.Mods.RA/Widgets/Logic/Ingame/IngameSiloBarLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameSiloBarLogic.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@
99
#endregion
1010

1111
using System.Drawing;
12-
using OpenRA.Mods.Common.Widgets;
1312
using OpenRA.Traits;
1413
using OpenRA.Widgets;
1514

16-
namespace OpenRA.Mods.RA.Widgets.Logic
15+
namespace OpenRA.Mods.Common.Widgets.Logic
1716
{
1817
public class IngameSiloBarLogic
1918
{

OpenRA.Mods.RA/Widgets/Logic/Ingame/LeaveMapLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/LeaveMapLogic.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@
1717
using OpenRA.Traits;
1818
using OpenRA.Widgets;
1919

20-
namespace OpenRA.Mods.RA.Widgets
20+
namespace OpenRA.Mods.Common.Widgets
2121
{
2222
class LeaveMapLogic
2323
{
24+
readonly OrderManager orderManager;
25+
2426
enum Tab { Objectives, Chat }
2527
Tab currentTab;
2628

27-
OrderManager orderManager;
2829
bool newChatMessage;
2930

3031
[ObjectCreator.UseCtor]

OpenRA.Mods.RA/Widgets/Logic/ObserverShroudSelectorLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/ObserverShroudSelectorLogic.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@
1212
using System.Collections.Generic;
1313
using System.Drawing;
1414
using System.Linq;
15-
using OpenRA.Mods.Common.Widgets;
1615
using OpenRA.Network;
1716
using OpenRA.Widgets;
1817

19-
namespace OpenRA.Mods.RA.Widgets.Logic
18+
namespace OpenRA.Mods.Common.Widgets.Logic
2019
{
2120
public class ObserverShroudSelectorLogic
2221
{

OpenRA.Mods.RA/Widgets/Logic/ObserverStatsLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/ObserverStatsLogic.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,11 @@
1414
using System.Linq;
1515
using OpenRA.Graphics;
1616
using OpenRA.Mods.Common.Traits;
17-
using OpenRA.Mods.Common.Widgets;
18-
using OpenRA.Mods.Common.Widgets.Logic;
19-
using OpenRA.Mods.RA.Traits;
2017
using OpenRA.Network;
2118
using OpenRA.Traits;
2219
using OpenRA.Widgets;
2320

24-
namespace OpenRA.Mods.RA.Widgets.Logic
21+
namespace OpenRA.Mods.Common.Widgets.Logic
2522
{
2623
public class ObserverStatsLogic
2724
{

OpenRA.Mods.RA/Widgets/Logic/OrderButtonsChromeLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/OrderButtonsChromeLogic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using OpenRA.Mods.Common.Widgets;
1616
using OpenRA.Widgets;
1717

18-
namespace OpenRA.Mods.RA.Widgets.Logic
18+
namespace OpenRA.Mods.Common.Widgets.Logic
1919
{
2020
public class OrderButtonsChromeLogic
2121
{

OpenRA.Mods.RA/Widgets/Logic/ReplayControlBarLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/ReplayControlBarLogic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
using OpenRA.Network;
1313
using OpenRA.Widgets;
1414

15-
namespace OpenRA.Mods.RA.Widgets.Logic
15+
namespace OpenRA.Mods.Common.Widgets.Logic
1616
{
1717
public class ReplayControlBarLogic
1818
{

OpenRA.Mods.RA/Widgets/Logic/WorldTooltipLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Ingame/WorldTooltipLogic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
using OpenRA.Traits;
1414
using OpenRA.Widgets;
1515

16-
namespace OpenRA.Mods.RA.Widgets.Logic
16+
namespace OpenRA.Mods.Common.Widgets.Logic
1717
{
1818
public class WorldTooltipLogic
1919
{

OpenRA.Mods.RA/Widgets/Logic/DownloadPackagesLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Installation/DownloadPackagesLogic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using OpenRA.Support;
1818
using OpenRA.Widgets;
1919

20-
namespace OpenRA.Mods.RA.Widgets.Logic
20+
namespace OpenRA.Mods.Common.Widgets.Logic
2121
{
2222
public class DownloadPackagesLogic
2323
{

OpenRA.Mods.RA/Widgets/Logic/InstallFromCDLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Installation/InstallFromCDLogic.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
using System.Threading;
1515
using OpenRA.Widgets;
1616

17-
namespace OpenRA.Mods.RA.Widgets.Logic
17+
namespace OpenRA.Mods.Common.Widgets.Logic
1818
{
1919
public class InstallFromCDLogic
2020
{
21-
Widget panel;
22-
ProgressBarWidget progressBar;
23-
LabelWidget statusLabel;
24-
Action continueLoading;
25-
ButtonWidget retryButton, backButton;
26-
Widget installingContainer, insertDiskContainer;
21+
readonly Widget panel;
22+
readonly ProgressBarWidget progressBar;
23+
readonly LabelWidget statusLabel;
24+
readonly Action continueLoading;
25+
readonly ButtonWidget retryButton, backButton;
26+
readonly Widget installingContainer, insertDiskContainer;
2727

2828
[ObjectCreator.UseCtor]
2929
public InstallFromCDLogic(Widget widget, Action continueLoading)

OpenRA.Mods.RA/Widgets/Logic/InstallLogic.cs renamed to OpenRA.Mods.Common/Widgets/Logic/Installation/InstallLogic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
using System.Collections.Generic;
1313
using OpenRA.Widgets;
1414

15-
namespace OpenRA.Mods.RA.Widgets.Logic
15+
namespace OpenRA.Mods.Common.Widgets.Logic
1616
{
1717
public class InstallLogic : Widget
1818
{

0 commit comments

Comments
 (0)