Rename CountryTooltipLogic to FactionTooltipLogic

This commit is contained in:
penev92
2015-07-15 05:42:45 +03:00
committed by Pavel Penev
parent dc30e5a46d
commit 9a36bf6bcd
5 changed files with 6 additions and 6 deletions

View File

@@ -565,7 +565,7 @@
<Compile Include="Widgets\Logic\ButtonTooltipLogic.cs" /> <Compile Include="Widgets\Logic\ButtonTooltipLogic.cs" />
<Compile Include="Widgets\Logic\ColorPickerLogic.cs" /> <Compile Include="Widgets\Logic\ColorPickerLogic.cs" />
<Compile Include="Widgets\Logic\ConnectionLogic.cs" /> <Compile Include="Widgets\Logic\ConnectionLogic.cs" />
<Compile Include="Widgets\Logic\CountryTooltipLogic.cs" /> <Compile Include="Widgets\Logic\FactionTooltipLogic.cs" />
<Compile Include="Widgets\Logic\CreditsLogic.cs" /> <Compile Include="Widgets\Logic\CreditsLogic.cs" />
<Compile Include="Widgets\Logic\DirectConnectLogic.cs" /> <Compile Include="Widgets\Logic\DirectConnectLogic.cs" />
<Compile Include="Widgets\Logic\DisconnectWatcherLogic.cs" /> <Compile Include="Widgets\Logic\DisconnectWatcherLogic.cs" />

View File

@@ -14,10 +14,10 @@ using OpenRA.Widgets;
namespace OpenRA.Mods.Common.Widgets.Logic namespace OpenRA.Mods.Common.Widgets.Logic
{ {
public class CountryTooltipLogic public class FactionTooltipLogic
{ {
[ObjectCreator.UseCtor] [ObjectCreator.UseCtor]
public CountryTooltipLogic(Widget widget, ButtonWidget button) public FactionTooltipLogic(Widget widget, ButtonWidget button)
{ {
var lines = button.GetTooltipText().Replace("\\n", "\n").Split('\n'); var lines = button.GetTooltipText().Replace("\\n", "\n").Split('\n');

View File

@@ -190,7 +190,7 @@ Background@CLIENT_TOOLTIP:
Font: TinyBold Font: TinyBold
Background@FACTION_DESCRIPTION_TOOLTIP: Background@FACTION_DESCRIPTION_TOOLTIP:
Logic: CountryTooltipLogic Logic: FactionTooltipLogic
Background: panel-black Background: panel-black
Children: Children:
Label@HEADER: Label@HEADER:

View File

@@ -198,7 +198,7 @@ Background@SUPPORT_POWER_TOOLTIP:
VAlign: Top VAlign: Top
Background@FACTION_DESCRIPTION_TOOLTIP: Background@FACTION_DESCRIPTION_TOOLTIP:
Logic: CountryTooltipLogic Logic: FactionTooltipLogic
Background: dialog3 Background: dialog3
Children: Children:
Label@HEADER: Label@HEADER:

View File

@@ -198,7 +198,7 @@ Background@SUPPORT_POWER_TOOLTIP:
VAlign: Top VAlign: Top
Background@FACTION_DESCRIPTION_TOOLTIP: Background@FACTION_DESCRIPTION_TOOLTIP:
Logic: CountryTooltipLogic Logic: FactionTooltipLogic
Background: dialog4 Background: dialog4
Children: Children:
Label@HEADER: Label@HEADER: