Add faction specific tooltip backgrounds.
This commit is contained in:
@@ -54,7 +54,7 @@ namespace OpenRA.Mods.Common.Widgets
|
|||||||
public Action<MouseInput> OnMouseDown = _ => { };
|
public Action<MouseInput> OnMouseDown = _ => { };
|
||||||
public Action<MouseInput> OnMouseUp = _ => { };
|
public Action<MouseInput> OnMouseUp = _ => { };
|
||||||
|
|
||||||
Lazy<TooltipContainerWidget> tooltipContainer;
|
protected Lazy<TooltipContainerWidget> tooltipContainer;
|
||||||
[Translate] public string TooltipText;
|
[Translate] public string TooltipText;
|
||||||
public Func<string> GetTooltipText;
|
public Func<string> GetTooltipText;
|
||||||
[Translate] public string TooltipDesc;
|
[Translate] public string TooltipDesc;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ namespace OpenRA.Mods.Common.Widgets
|
|||||||
{
|
{
|
||||||
public readonly string TooltipTemplate;
|
public readonly string TooltipTemplate;
|
||||||
public readonly string TooltipContainer;
|
public readonly string TooltipContainer;
|
||||||
Lazy<TooltipContainerWidget> tooltipContainer;
|
protected Lazy<TooltipContainerWidget> tooltipContainer;
|
||||||
|
|
||||||
public Func<string> GetTooltipText = () => "";
|
public Func<string> GetTooltipText = () => "";
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Widgets
|
namespace OpenRA.Mods.Common.Widgets
|
||||||
{
|
{
|
||||||
public class MenuButtonWidget : ButtonWidget
|
public class MenuButtonWidget : WorldButtonWidget
|
||||||
{
|
{
|
||||||
public readonly string MenuContainer = "INGAME_MENU";
|
public readonly string MenuContainer = "INGAME_MENU";
|
||||||
public readonly bool Pause = true;
|
public readonly bool Pause = true;
|
||||||
@@ -19,8 +19,8 @@ namespace OpenRA.Mods.Common.Widgets
|
|||||||
public readonly bool DisableWorldSounds = false;
|
public readonly bool DisableWorldSounds = false;
|
||||||
|
|
||||||
[ObjectCreator.UseCtor]
|
[ObjectCreator.UseCtor]
|
||||||
public MenuButtonWidget(ModData modData)
|
public MenuButtonWidget(ModData modData, World world)
|
||||||
: base(modData) { }
|
: base(modData, world) { }
|
||||||
|
|
||||||
protected MenuButtonWidget(MenuButtonWidget other)
|
protected MenuButtonWidget(MenuButtonWidget other)
|
||||||
: base(other)
|
: base(other)
|
||||||
|
|||||||
@@ -213,7 +213,7 @@ namespace OpenRA.Mods.Common.Widgets
|
|||||||
{
|
{
|
||||||
if (TooltipContainer != null)
|
if (TooltipContainer != null)
|
||||||
tooltipContainer.Value.SetTooltip(TooltipTemplate,
|
tooltipContainer.Value.SetTooltip(TooltipTemplate,
|
||||||
new WidgetArgs() { { "player", World.LocalPlayer }, { "getTooltipIcon", GetTooltipIcon } });
|
new WidgetArgs() { { "player", World.LocalPlayer }, { "getTooltipIcon", GetTooltipIcon }, { "world", World } });
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void MouseExited()
|
public override void MouseExited()
|
||||||
|
|||||||
@@ -11,13 +11,13 @@
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Widgets
|
namespace OpenRA.Mods.Common.Widgets
|
||||||
{
|
{
|
||||||
public class ProductionTypeButtonWidget : ButtonWidget
|
public class ProductionTypeButtonWidget : WorldButtonWidget
|
||||||
{
|
{
|
||||||
public readonly string ProductionGroup;
|
public readonly string ProductionGroup;
|
||||||
|
|
||||||
[ObjectCreator.UseCtor]
|
[ObjectCreator.UseCtor]
|
||||||
public ProductionTypeButtonWidget(ModData modData)
|
public ProductionTypeButtonWidget(ModData modData, World world)
|
||||||
: base(modData) { }
|
: base(modData, world) { }
|
||||||
|
|
||||||
protected ProductionTypeButtonWidget(ProductionTypeButtonWidget other)
|
protected ProductionTypeButtonWidget(ProductionTypeButtonWidget other)
|
||||||
: base(other)
|
: base(other)
|
||||||
|
|||||||
@@ -33,10 +33,12 @@ namespace OpenRA.Mods.Common.Widgets
|
|||||||
public Func<Color> GetBarColor = () => Color.White;
|
public Func<Color> GetBarColor = () => Color.White;
|
||||||
EWMA providedLerp = new EWMA(0.3f);
|
EWMA providedLerp = new EWMA(0.3f);
|
||||||
EWMA usedLerp = new EWMA(0.3f);
|
EWMA usedLerp = new EWMA(0.3f);
|
||||||
|
readonly World world;
|
||||||
|
|
||||||
[ObjectCreator.UseCtor]
|
[ObjectCreator.UseCtor]
|
||||||
public ResourceBarWidget(World world)
|
public ResourceBarWidget(World world)
|
||||||
{
|
{
|
||||||
|
this.world = world;
|
||||||
tooltipContainer = Exts.Lazy(() =>
|
tooltipContainer = Exts.Lazy(() =>
|
||||||
Ui.Root.Get<TooltipContainerWidget>(TooltipContainer));
|
Ui.Root.Get<TooltipContainerWidget>(TooltipContainer));
|
||||||
}
|
}
|
||||||
@@ -47,7 +49,7 @@ namespace OpenRA.Mods.Common.Widgets
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
Func<string> getText = () => TooltipFormat.F(GetUsed(), GetProvided());
|
Func<string> getText = () => TooltipFormat.F(GetUsed(), GetProvided());
|
||||||
tooltipContainer.Value.SetTooltip(TooltipTemplate, new WidgetArgs() { { "getText", getText } });
|
tooltipContainer.Value.SetTooltip(TooltipTemplate, new WidgetArgs() { { "getText", getText }, { "world", world } });
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void MouseExited()
|
public override void MouseExited()
|
||||||
|
|||||||
44
OpenRA.Mods.Common/Widgets/WorldButtonWidget.cs
Normal file
44
OpenRA.Mods.Common/Widgets/WorldButtonWidget.cs
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
#region Copyright & License Information
|
||||||
|
/*
|
||||||
|
* Copyright 2007-2019 The OpenRA Developers (see AUTHORS)
|
||||||
|
* This file is part of OpenRA, which is free software. It is made
|
||||||
|
* available to you under the terms of the GNU General Public License
|
||||||
|
* as published by the Free Software Foundation, either version 3 of
|
||||||
|
* the License, or (at your option) any later version. For more
|
||||||
|
* information, see COPYING.
|
||||||
|
*/
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
using OpenRA.Widgets;
|
||||||
|
|
||||||
|
namespace OpenRA.Mods.Common.Widgets
|
||||||
|
{
|
||||||
|
public class WorldButtonWidget : ButtonWidget
|
||||||
|
{
|
||||||
|
readonly World world;
|
||||||
|
|
||||||
|
[ObjectCreator.UseCtor]
|
||||||
|
public WorldButtonWidget(ModData modData, World world)
|
||||||
|
: base(modData)
|
||||||
|
{
|
||||||
|
this.world = world;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected WorldButtonWidget(WorldButtonWidget other)
|
||||||
|
: base(other)
|
||||||
|
{
|
||||||
|
world = other.world;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void MouseEntered()
|
||||||
|
{
|
||||||
|
if (TooltipContainer == null || GetTooltipText() == null)
|
||||||
|
return;
|
||||||
|
|
||||||
|
tooltipContainer.Value.SetTooltip(TooltipTemplate,
|
||||||
|
new WidgetArgs { { "button", this }, { "getText", GetTooltipText }, { "getDesc", GetTooltipDesc }, { "world", world } });
|
||||||
|
}
|
||||||
|
|
||||||
|
public override Widget Clone() { return new WorldButtonWidget(this); }
|
||||||
|
}
|
||||||
|
}
|
||||||
44
OpenRA.Mods.Common/Widgets/WorldLabelWithTooltipWidget.cs
Normal file
44
OpenRA.Mods.Common/Widgets/WorldLabelWithTooltipWidget.cs
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
#region Copyright & License Information
|
||||||
|
/*
|
||||||
|
* Copyright 2007-2019 The OpenRA Developers (see AUTHORS)
|
||||||
|
* This file is part of OpenRA, which is free software. It is made
|
||||||
|
* available to you under the terms of the GNU General Public License
|
||||||
|
* as published by the Free Software Foundation, either version 3 of
|
||||||
|
* the License, or (at your option) any later version. For more
|
||||||
|
* information, see COPYING.
|
||||||
|
*/
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
using OpenRA.Widgets;
|
||||||
|
|
||||||
|
namespace OpenRA.Mods.Common.Widgets
|
||||||
|
{
|
||||||
|
public class WorldLabelWithTooltipWidget : LabelWithTooltipWidget
|
||||||
|
{
|
||||||
|
readonly World world;
|
||||||
|
|
||||||
|
[ObjectCreator.UseCtor]
|
||||||
|
public WorldLabelWithTooltipWidget(World world)
|
||||||
|
: base()
|
||||||
|
{
|
||||||
|
this.world = world;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected WorldLabelWithTooltipWidget(WorldLabelWithTooltipWidget other)
|
||||||
|
: base(other)
|
||||||
|
{
|
||||||
|
world = other.world;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override Widget Clone() { return new WorldLabelWithTooltipWidget(this); }
|
||||||
|
|
||||||
|
public override void MouseEntered()
|
||||||
|
{
|
||||||
|
if (TooltipContainer == null)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (GetTooltipText != null)
|
||||||
|
tooltipContainer.Value.SetTooltip(TooltipTemplate, new WidgetArgs() { { "getText", GetTooltipText }, { "world", world } });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -42,21 +42,6 @@ Container@INGAME_ROOT:
|
|||||||
Height: WINDOW_BOTTOM
|
Height: WINDOW_BOTTOM
|
||||||
SelectAllKey: SelectAllUnits
|
SelectAllKey: SelectAllUnits
|
||||||
SelectSameTypeKey: SelectUnitsByType
|
SelectSameTypeKey: SelectUnitsByType
|
||||||
ViewportController:
|
|
||||||
Width: WINDOW_RIGHT
|
|
||||||
Height: WINDOW_BOTTOM
|
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
|
||||||
ScrollUpKey: MapScrollUp
|
|
||||||
ScrollDownKey: MapScrollDown
|
|
||||||
ScrollLeftKey: MapScrollLeft
|
|
||||||
ScrollRightKey: MapScrollRight
|
|
||||||
JumpToTopEdgeKey: MapJumpToTopEdge
|
|
||||||
JumpToBottomEdgeKey: MapJumpToBottomEdge
|
|
||||||
JumpToLeftEdgeKey: MapJumpToLeftEdge
|
|
||||||
JumpToRightEdgeKey: MapJumpToRightEdge
|
|
||||||
BookmarkSaveKeyPrefix: MapBookmarkSave
|
|
||||||
BookmarkRestoreKeyPrefix: MapBookmarkRestore
|
|
||||||
BookmarkKeyCount: 4
|
|
||||||
Container@PLAYER_ROOT:
|
Container@PLAYER_ROOT:
|
||||||
Container@MENU_ROOT:
|
Container@MENU_ROOT:
|
||||||
TooltipContainer@TOOLTIP_CONTAINER:
|
TooltipContainer@TOOLTIP_CONTAINER:
|
||||||
@@ -93,6 +78,21 @@ Container@OBSERVER_WIDGETS:
|
|||||||
StatisticsGraphKey: StatisticsGraph
|
StatisticsGraphKey: StatisticsGraph
|
||||||
StatisticsArmyGraphKey: StatisticsArmyGraph
|
StatisticsArmyGraphKey: StatisticsArmyGraph
|
||||||
Children:
|
Children:
|
||||||
|
ViewportController:
|
||||||
|
Width: WINDOW_RIGHT
|
||||||
|
Height: WINDOW_BOTTOM
|
||||||
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
ScrollUpKey: MapScrollUp
|
||||||
|
ScrollDownKey: MapScrollDown
|
||||||
|
ScrollLeftKey: MapScrollLeft
|
||||||
|
ScrollRightKey: MapScrollRight
|
||||||
|
JumpToTopEdgeKey: MapJumpToTopEdge
|
||||||
|
JumpToBottomEdgeKey: MapJumpToBottomEdge
|
||||||
|
JumpToLeftEdgeKey: MapJumpToLeftEdge
|
||||||
|
JumpToRightEdgeKey: MapJumpToRightEdge
|
||||||
|
BookmarkSaveKeyPrefix: MapBookmarkSave
|
||||||
|
BookmarkRestoreKeyPrefix: MapBookmarkRestore
|
||||||
|
BookmarkKeyCount: 4
|
||||||
Container@GAME_TIMER_BLOCK:
|
Container@GAME_TIMER_BLOCK:
|
||||||
Logic: GameTimerLogic
|
Logic: GameTimerLogic
|
||||||
X: WINDOW_RIGHT / 2 - WIDTH
|
X: WINDOW_RIGHT / 2 - WIDTH
|
||||||
@@ -285,6 +285,22 @@ Container@OBSERVER_WIDGETS:
|
|||||||
|
|
||||||
Container@PLAYER_WIDGETS:
|
Container@PLAYER_WIDGETS:
|
||||||
Children:
|
Children:
|
||||||
|
ViewportController:
|
||||||
|
Width: WINDOW_RIGHT
|
||||||
|
Height: WINDOW_BOTTOM
|
||||||
|
TooltipTemplate: WORLD_TOOLTIP_FACTIONSUFFIX
|
||||||
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
ScrollUpKey: MapScrollUp
|
||||||
|
ScrollDownKey: MapScrollDown
|
||||||
|
ScrollLeftKey: MapScrollLeft
|
||||||
|
ScrollRightKey: MapScrollRight
|
||||||
|
JumpToTopEdgeKey: MapJumpToTopEdge
|
||||||
|
JumpToBottomEdgeKey: MapJumpToBottomEdge
|
||||||
|
JumpToLeftEdgeKey: MapJumpToLeftEdge
|
||||||
|
JumpToRightEdgeKey: MapJumpToRightEdge
|
||||||
|
BookmarkSaveKeyPrefix: MapBookmarkSave
|
||||||
|
BookmarkRestoreKeyPrefix: MapBookmarkRestore
|
||||||
|
BookmarkKeyCount: 4
|
||||||
LogicKeyListener@CONTROLGROUP_KEYHANDLER:
|
LogicKeyListener@CONTROLGROUP_KEYHANDLER:
|
||||||
Logic: ControlGroupLogic
|
Logic: ControlGroupLogic
|
||||||
LogicTicker@SIDEBAR_TICKER:
|
LogicTicker@SIDEBAR_TICKER:
|
||||||
@@ -326,7 +342,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Height: 26
|
Height: 26
|
||||||
Children:
|
Children:
|
||||||
LogicKeyListener@MODIFIER_OVERRIDES:
|
LogicKeyListener@MODIFIER_OVERRIDES:
|
||||||
Button@ATTACK_MOVE:
|
WorldButton@ATTACK_MOVE:
|
||||||
Logic: AddFactionSuffixLogic
|
Logic: AddFactionSuffixLogic
|
||||||
X: 0
|
X: 0
|
||||||
Y: 0
|
Y: 0
|
||||||
@@ -338,7 +354,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
TooltipText: Attack Move
|
TooltipText: Attack Move
|
||||||
TooltipDesc: Selected units will move to the desired location\nand attack any enemies they encounter en route.\n\nHold {(Ctrl)} while targeting to order an Assault Move\nthat attacks any units or structures encountered en route.\n\nLeft-click icon then right-click on target location.
|
TooltipDesc: Selected units will move to the desired location\nand attack any enemies they encounter en route.\n\nHold {(Ctrl)} while targeting to order an Assault Move\nthat attacks any units or structures encountered en route.\n\nLeft-click icon then right-click on target location.
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP
|
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP_FACTIONSUFFIX
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
X: 7
|
X: 7
|
||||||
@@ -351,7 +367,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Y: 2
|
Y: 2
|
||||||
ImageCollection: chrome-button
|
ImageCollection: chrome-button
|
||||||
ImageName: separator
|
ImageName: separator
|
||||||
Button@FORCE_MOVE:
|
WorldButton@FORCE_MOVE:
|
||||||
Logic: AddFactionSuffixLogic
|
Logic: AddFactionSuffixLogic
|
||||||
X: 39
|
X: 39
|
||||||
Y: 0
|
Y: 0
|
||||||
@@ -362,7 +378,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
TooltipText: Force Move
|
TooltipText: Force Move
|
||||||
TooltipDesc: Selected units will move to the desired location\n - Default activity for the target is suppressed\n - Vehicles will attempt to crush enemies at the target location\n - Units entering transports will consider nearby alternatives\n\nLeft-click icon then right-click on target.\nHold {(Alt)} to activate temporarily while commanding units.
|
TooltipDesc: Selected units will move to the desired location\n - Default activity for the target is suppressed\n - Vehicles will attempt to crush enemies at the target location\n - Units entering transports will consider nearby alternatives\n\nLeft-click icon then right-click on target.\nHold {(Alt)} to activate temporarily while commanding units.
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP
|
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP_FACTIONSUFFIX
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
X: 7
|
X: 7
|
||||||
@@ -375,7 +391,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Y: 2
|
Y: 2
|
||||||
ImageCollection: chrome-button
|
ImageCollection: chrome-button
|
||||||
ImageName: separator
|
ImageName: separator
|
||||||
Button@FORCE_ATTACK:
|
WorldButton@FORCE_ATTACK:
|
||||||
Logic: AddFactionSuffixLogic
|
Logic: AddFactionSuffixLogic
|
||||||
X: 78
|
X: 78
|
||||||
Y: 0
|
Y: 0
|
||||||
@@ -386,7 +402,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
TooltipText: Force Attack
|
TooltipText: Force Attack
|
||||||
TooltipDesc: Selected units will attack the targeted unit or location\n - Default activity for the target is suppressed\n - Allows targeting of own or ally forces\n - Long-range artillery units will always target the\n location, ignoring units and buildings\n\nLeft-click icon then right-click on target.\nHold {(Ctrl)} to activate temporarily while commanding units.
|
TooltipDesc: Selected units will attack the targeted unit or location\n - Default activity for the target is suppressed\n - Allows targeting of own or ally forces\n - Long-range artillery units will always target the\n location, ignoring units and buildings\n\nLeft-click icon then right-click on target.\nHold {(Ctrl)} to activate temporarily while commanding units.
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP
|
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP_FACTIONSUFFIX
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
X: 7
|
X: 7
|
||||||
@@ -399,7 +415,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Y: 2
|
Y: 2
|
||||||
ImageCollection: chrome-button
|
ImageCollection: chrome-button
|
||||||
ImageName: separator
|
ImageName: separator
|
||||||
Button@GUARD:
|
WorldButton@GUARD:
|
||||||
Logic: AddFactionSuffixLogic
|
Logic: AddFactionSuffixLogic
|
||||||
X: 117
|
X: 117
|
||||||
Y: 0
|
Y: 0
|
||||||
@@ -411,6 +427,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
TooltipText: Guard
|
TooltipText: Guard
|
||||||
TooltipDesc: Selected units will follow the targeted unit.\n\nLeft-click icon then right-click on target unit.
|
TooltipDesc: Selected units will follow the targeted unit.\n\nLeft-click icon then right-click on target unit.
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
X: 7
|
X: 7
|
||||||
@@ -423,7 +440,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Y: 2
|
Y: 2
|
||||||
ImageCollection: chrome-button
|
ImageCollection: chrome-button
|
||||||
ImageName: separator
|
ImageName: separator
|
||||||
Button@DEPLOY:
|
WorldButton@DEPLOY:
|
||||||
Logic: AddFactionSuffixLogic
|
Logic: AddFactionSuffixLogic
|
||||||
X: 156
|
X: 156
|
||||||
Y: 0
|
Y: 0
|
||||||
@@ -436,6 +453,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
TooltipText: Deploy
|
TooltipText: Deploy
|
||||||
TooltipDesc: Selected units will perform their default deploy activity\n - MCVs will unpack into a Construction Yard\n - Construction Yards will re-pack into a MCV\n - Transports will unload their passengers\n\nActs immediately on selected units.
|
TooltipDesc: Selected units will perform their default deploy activity\n - MCVs will unpack into a Construction Yard\n - Construction Yards will re-pack into a MCV\n - Transports will unload their passengers\n\nActs immediately on selected units.
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
X: 7
|
X: 7
|
||||||
@@ -448,7 +466,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Y: 2
|
Y: 2
|
||||||
ImageCollection: chrome-button
|
ImageCollection: chrome-button
|
||||||
ImageName: separator
|
ImageName: separator
|
||||||
Button@SCATTER:
|
WorldButton@SCATTER:
|
||||||
Logic: AddFactionSuffixLogic
|
Logic: AddFactionSuffixLogic
|
||||||
X: 195
|
X: 195
|
||||||
Y: 0
|
Y: 0
|
||||||
@@ -461,6 +479,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
TooltipText: Scatter
|
TooltipText: Scatter
|
||||||
TooltipDesc: Selected units will stop their current activity\nand move to a nearby location.\n\nActs immediately on selected units.
|
TooltipDesc: Selected units will stop their current activity\nand move to a nearby location.\n\nActs immediately on selected units.
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
X: 7
|
X: 7
|
||||||
@@ -473,7 +492,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Y: 2
|
Y: 2
|
||||||
ImageCollection: chrome-button
|
ImageCollection: chrome-button
|
||||||
ImageName: separator
|
ImageName: separator
|
||||||
Button@STOP:
|
WorldButton@STOP:
|
||||||
Logic: AddFactionSuffixLogic
|
Logic: AddFactionSuffixLogic
|
||||||
X: 234
|
X: 234
|
||||||
Y: 0
|
Y: 0
|
||||||
@@ -486,6 +505,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
TooltipText: Stop
|
TooltipText: Stop
|
||||||
TooltipDesc: Selected units will stop their current activity.\n\nActs immediately on selected units.
|
TooltipDesc: Selected units will stop their current activity.\n\nActs immediately on selected units.
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
X: 7
|
X: 7
|
||||||
@@ -498,7 +518,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Y: 2
|
Y: 2
|
||||||
ImageCollection: chrome-button
|
ImageCollection: chrome-button
|
||||||
ImageName: separator
|
ImageName: separator
|
||||||
Button@QUEUE_ORDERS:
|
WorldButton@QUEUE_ORDERS:
|
||||||
Logic: AddFactionSuffixLogic
|
Logic: AddFactionSuffixLogic
|
||||||
X: 273
|
X: 273
|
||||||
Y: 0
|
Y: 0
|
||||||
@@ -509,7 +529,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
TooltipText: Waypoint Mode
|
TooltipText: Waypoint Mode
|
||||||
TooltipDesc: Use Waypoint Mode to give multiple linking commands\nto the selected units. Units will execute the commands\nimmediately upon receiving them.\n\nLeft-click icon then give commands in the game world.\nHold {(Shift)} to activate temporarily while commanding units.
|
TooltipDesc: Use Waypoint Mode to give multiple linking commands\nto the selected units. Units will execute the commands\nimmediately upon receiving them.\n\nLeft-click icon then give commands in the game world.\nHold {(Shift)} to activate temporarily while commanding units.
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP
|
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP_FACTIONSUFFIX
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
X: 7
|
X: 7
|
||||||
@@ -523,7 +543,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Width: 155
|
Width: 155
|
||||||
Height: 26
|
Height: 26
|
||||||
Children:
|
Children:
|
||||||
Button@STANCE_ATTACKANYTHING:
|
WorldButton@STANCE_ATTACKANYTHING:
|
||||||
Logic: AddFactionSuffixLogic
|
Logic: AddFactionSuffixLogic
|
||||||
X: 0
|
X: 0
|
||||||
Y: 0
|
Y: 0
|
||||||
@@ -536,6 +556,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
TooltipText: Attack Anything Stance
|
TooltipText: Attack Anything Stance
|
||||||
TooltipDesc: Set the selected units to Attack Anything stance:\n - Units will attack enemy units and structures on sight\n - Units will pursue attackers across the battlefield
|
TooltipDesc: Set the selected units to Attack Anything stance:\n - Units will attack enemy units and structures on sight\n - Units will pursue attackers across the battlefield
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
X: 11
|
X: 11
|
||||||
@@ -548,7 +569,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Y: 2
|
Y: 2
|
||||||
ImageCollection: chrome-button
|
ImageCollection: chrome-button
|
||||||
ImageName: separator
|
ImageName: separator
|
||||||
Button@STANCE_DEFEND:
|
WorldButton@STANCE_DEFEND:
|
||||||
Logic: AddFactionSuffixLogic
|
Logic: AddFactionSuffixLogic
|
||||||
X: 39
|
X: 39
|
||||||
Y: 0
|
Y: 0
|
||||||
@@ -561,6 +582,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
TooltipText: Defend Stance
|
TooltipText: Defend Stance
|
||||||
TooltipDesc: Set the selected units to Defend stance:\n - Units will attack enemy units on sight\n - Units will not move or pursue enemies
|
TooltipDesc: Set the selected units to Defend stance:\n - Units will attack enemy units on sight\n - Units will not move or pursue enemies
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
X: 11
|
X: 11
|
||||||
@@ -573,7 +595,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Y: 2
|
Y: 2
|
||||||
ImageCollection: chrome-button
|
ImageCollection: chrome-button
|
||||||
ImageName: separator
|
ImageName: separator
|
||||||
Button@STANCE_RETURNFIRE:
|
WorldButton@STANCE_RETURNFIRE:
|
||||||
Logic: AddFactionSuffixLogic
|
Logic: AddFactionSuffixLogic
|
||||||
X: 78
|
X: 78
|
||||||
Y: 0
|
Y: 0
|
||||||
@@ -586,6 +608,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
TooltipText: Return Fire Stance
|
TooltipText: Return Fire Stance
|
||||||
TooltipDesc: Set the selected units to Return Fire stance:\n - Units will retaliate against enemies that attack them\n - Units will not move or pursue enemies
|
TooltipDesc: Set the selected units to Return Fire stance:\n - Units will retaliate against enemies that attack them\n - Units will not move or pursue enemies
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
X: 11
|
X: 11
|
||||||
@@ -598,7 +621,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Y: 2
|
Y: 2
|
||||||
ImageCollection: chrome-button
|
ImageCollection: chrome-button
|
||||||
ImageName: separator
|
ImageName: separator
|
||||||
Button@STANCE_HOLDFIRE:
|
WorldButton@STANCE_HOLDFIRE:
|
||||||
Logic: AddFactionSuffixLogic
|
Logic: AddFactionSuffixLogic
|
||||||
X: 117
|
X: 117
|
||||||
Y: 0
|
Y: 0
|
||||||
@@ -611,6 +634,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
TooltipText: Hold Fire Stance
|
TooltipText: Hold Fire Stance
|
||||||
TooltipDesc: Set the selected units to Hold Fire stance:\n - Units will not fire upon enemies\n - Units will not move or pursue enemies
|
TooltipDesc: Set the selected units to Hold Fire stance:\n - Units will not fire upon enemies\n - Units will not move or pursue enemies
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
X: 11
|
X: 11
|
||||||
@@ -631,7 +655,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
X: 18
|
X: 18
|
||||||
Y: 1
|
Y: 1
|
||||||
Children:
|
Children:
|
||||||
Button@SELL_BUTTON:
|
WorldButton@SELL_BUTTON:
|
||||||
Logic: SellOrderButtonLogic, AddFactionSuffixLogic
|
Logic: SellOrderButtonLogic, AddFactionSuffixLogic
|
||||||
X: 0
|
X: 0
|
||||||
Width: 28
|
Width: 28
|
||||||
@@ -640,6 +664,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Key: Sell
|
Key: Sell
|
||||||
TooltipText: Sell
|
TooltipText: Sell
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
VisualHeight: 0
|
VisualHeight: 0
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
@@ -652,7 +677,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Y: 2
|
Y: 2
|
||||||
ImageCollection: chrome-button
|
ImageCollection: chrome-button
|
||||||
ImageName: separator
|
ImageName: separator
|
||||||
Button@REPAIR_BUTTON:
|
WorldButton@REPAIR_BUTTON:
|
||||||
Logic: RepairOrderButtonLogic, AddFactionSuffixLogic
|
Logic: RepairOrderButtonLogic, AddFactionSuffixLogic
|
||||||
X: 29
|
X: 29
|
||||||
Width: 28
|
Width: 28
|
||||||
@@ -661,6 +686,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Key: Repair
|
Key: Repair
|
||||||
TooltipText: Repair
|
TooltipText: Repair
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
VisualHeight: 0
|
VisualHeight: 0
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
@@ -673,7 +699,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Y: 2
|
Y: 2
|
||||||
ImageCollection: chrome-button
|
ImageCollection: chrome-button
|
||||||
ImageName: separator
|
ImageName: separator
|
||||||
Button@BEACON_BUTTON:
|
WorldButton@BEACON_BUTTON:
|
||||||
Logic: BeaconOrderButtonLogic, AddFactionSuffixLogic
|
Logic: BeaconOrderButtonLogic, AddFactionSuffixLogic
|
||||||
X: 58
|
X: 58
|
||||||
Width: 28
|
Width: 28
|
||||||
@@ -682,6 +708,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Key: PlaceBeacon
|
Key: PlaceBeacon
|
||||||
TooltipText: Place Beacon
|
TooltipText: Place Beacon
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
VisualHeight: 0
|
VisualHeight: 0
|
||||||
Children:
|
Children:
|
||||||
Image@ICON:
|
Image@ICON:
|
||||||
@@ -697,6 +724,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Background: chrome-button-background
|
Background: chrome-button-background
|
||||||
TooltipText: Options
|
TooltipText: Options
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
DisableWorldSounds: true
|
DisableWorldSounds: true
|
||||||
VisualHeight: 0
|
VisualHeight: 0
|
||||||
Children:
|
Children:
|
||||||
@@ -741,7 +769,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Width: 10
|
Width: 10
|
||||||
Height: PARENT_BOTTOM - 2
|
Height: PARENT_BOTTOM - 2
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
TooltipTemplate: SIMPLE_TOOLTIP
|
TooltipTemplate: SIMPLE_TOOLTIP_FACTIONSUFFIX
|
||||||
IndicatorImage: indicator-left
|
IndicatorImage: indicator-left
|
||||||
Image@POWERBAR_PANEL:
|
Image@POWERBAR_PANEL:
|
||||||
ImageCollection: vertical-bars
|
ImageCollection: vertical-bars
|
||||||
@@ -757,7 +785,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Width: 10
|
Width: 10
|
||||||
Height: PARENT_BOTTOM - 2
|
Height: PARENT_BOTTOM - 2
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
TooltipTemplate: SIMPLE_TOOLTIP
|
TooltipTemplate: SIMPLE_TOOLTIP_FACTIONSUFFIX
|
||||||
IndicatorImage: indicator-right
|
IndicatorImage: indicator-right
|
||||||
Image@SILOBAR_PANEL:
|
Image@SILOBAR_PANEL:
|
||||||
ImageCollection: vertical-bars
|
ImageCollection: vertical-bars
|
||||||
@@ -770,7 +798,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Height: 22
|
Height: 22
|
||||||
Align: Center
|
Align: Center
|
||||||
Font: TinyBold
|
Font: TinyBold
|
||||||
LabelWithTooltip@POWER:
|
WorldLabelWithTooltip@POWER:
|
||||||
Logic: IngamePowerCounterLogic
|
Logic: IngamePowerCounterLogic
|
||||||
X: 35
|
X: 35
|
||||||
Y: 232
|
Y: 232
|
||||||
@@ -779,14 +807,14 @@ Container@PLAYER_WIDGETS:
|
|||||||
Font: Bold
|
Font: Bold
|
||||||
Text: {0}
|
Text: {0}
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
TooltipTemplate: SIMPLE_TOOLTIP
|
TooltipTemplate: SIMPLE_TOOLTIP_FACTIONSUFFIX
|
||||||
Children:
|
Children:
|
||||||
Image@POWER_ICON:
|
Image@POWER_ICON:
|
||||||
X: 0 - 16
|
X: 0 - 16
|
||||||
Y: 5
|
Y: 5
|
||||||
ImageCollection: power-icons
|
ImageCollection: power-icons
|
||||||
ImageName: power-normal
|
ImageName: power-normal
|
||||||
LabelWithTooltip@CASH:
|
WorldLabelWithTooltip@CASH:
|
||||||
Logic: IngameCashCounterLogic
|
Logic: IngameCashCounterLogic
|
||||||
X: PARENT_RIGHT - WIDTH - 35
|
X: PARENT_RIGHT - WIDTH - 35
|
||||||
Y: 232
|
Y: 232
|
||||||
@@ -796,7 +824,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Font: Bold
|
Font: Bold
|
||||||
Text: {0}
|
Text: {0}
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
TooltipTemplate: SIMPLE_TOOLTIP
|
TooltipTemplate: SIMPLE_TOOLTIP_FACTIONSUFFIX
|
||||||
Children:
|
Children:
|
||||||
Image@CASH_ICON:
|
Image@CASH_ICON:
|
||||||
X: PARENT_RIGHT
|
X: PARENT_RIGHT
|
||||||
@@ -816,6 +844,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Background: chrome-button-background
|
Background: chrome-button-background
|
||||||
TooltipText: Buildings
|
TooltipText: Buildings
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
ProductionGroup: Building
|
ProductionGroup: Building
|
||||||
Key: ProductionTypeBuilding
|
Key: ProductionTypeBuilding
|
||||||
Children:
|
Children:
|
||||||
@@ -837,6 +866,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Background: chrome-button-background
|
Background: chrome-button-background
|
||||||
TooltipText: Support
|
TooltipText: Support
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
ProductionGroup: Defence
|
ProductionGroup: Defence
|
||||||
Key: ProductionTypeDefense
|
Key: ProductionTypeDefense
|
||||||
Children:
|
Children:
|
||||||
@@ -858,6 +888,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Background: chrome-button-background
|
Background: chrome-button-background
|
||||||
TooltipText: Infantry
|
TooltipText: Infantry
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
ProductionGroup: Infantry
|
ProductionGroup: Infantry
|
||||||
Key: ProductionTypeInfantry
|
Key: ProductionTypeInfantry
|
||||||
Children:
|
Children:
|
||||||
@@ -879,6 +910,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Background: chrome-button-background
|
Background: chrome-button-background
|
||||||
TooltipText: Vehicles
|
TooltipText: Vehicles
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
ProductionGroup: Vehicle
|
ProductionGroup: Vehicle
|
||||||
Key: ProductionTypeVehicle
|
Key: ProductionTypeVehicle
|
||||||
Children:
|
Children:
|
||||||
@@ -900,6 +932,7 @@ Container@PLAYER_WIDGETS:
|
|||||||
Background: chrome-button-background
|
Background: chrome-button-background
|
||||||
TooltipText: Aircraft
|
TooltipText: Aircraft
|
||||||
TooltipContainer: TOOLTIP_CONTAINER
|
TooltipContainer: TOOLTIP_CONTAINER
|
||||||
|
TooltipTemplate: BUTTON_TOOLTIP_FACTIONSUFFIX
|
||||||
ProductionGroup: Aircraft
|
ProductionGroup: Aircraft
|
||||||
Key: ProductionTypeAircraft
|
Key: ProductionTypeAircraft
|
||||||
Children:
|
Children:
|
||||||
|
|||||||
@@ -12,6 +12,20 @@ Background@SIMPLE_TOOLTIP:
|
|||||||
Height: 23
|
Height: 23
|
||||||
Font: Bold
|
Font: Bold
|
||||||
|
|
||||||
|
Background@SIMPLE_TOOLTIP_FACTIONSUFFIX:
|
||||||
|
Logic: SimpleTooltipLogic, AddFactionSuffixLogic
|
||||||
|
Background: panel-black
|
||||||
|
Height: 27
|
||||||
|
Children:
|
||||||
|
Container@LINE_HEIGHT:
|
||||||
|
Y: 2
|
||||||
|
Height: 19
|
||||||
|
Label@LABEL:
|
||||||
|
X: 5
|
||||||
|
Y: 0 - 2
|
||||||
|
Height: 23
|
||||||
|
Font: Bold
|
||||||
|
|
||||||
Background@BUTTON_TOOLTIP:
|
Background@BUTTON_TOOLTIP:
|
||||||
Logic: ButtonTooltipLogic
|
Logic: ButtonTooltipLogic
|
||||||
Background: panel-black
|
Background: panel-black
|
||||||
@@ -33,6 +47,27 @@ Background@BUTTON_TOOLTIP:
|
|||||||
Font: TinyBold
|
Font: TinyBold
|
||||||
VAlign: Top
|
VAlign: Top
|
||||||
|
|
||||||
|
Background@BUTTON_TOOLTIP_FACTIONSUFFIX:
|
||||||
|
Logic: ButtonTooltipLogic, AddFactionSuffixLogic
|
||||||
|
Background: panel-black
|
||||||
|
Height: 25
|
||||||
|
Children:
|
||||||
|
Label@LABEL:
|
||||||
|
X: 5
|
||||||
|
Height: 23
|
||||||
|
Font: Bold
|
||||||
|
Label@HOTKEY:
|
||||||
|
Visible: false
|
||||||
|
TextColor: FFFF00
|
||||||
|
Height: 23
|
||||||
|
Font: Bold
|
||||||
|
Label@DESC:
|
||||||
|
X: 5
|
||||||
|
Y: 23
|
||||||
|
Height: 12
|
||||||
|
Font: TinyBold
|
||||||
|
VAlign: Top
|
||||||
|
|
||||||
Background@BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP:
|
Background@BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP:
|
||||||
Logic: ButtonTooltipWithDescHighlightLogic
|
Logic: ButtonTooltipWithDescHighlightLogic
|
||||||
Highlight: FFFF00
|
Highlight: FFFF00
|
||||||
@@ -55,6 +90,28 @@ Background@BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP:
|
|||||||
Font: TinyBold
|
Font: TinyBold
|
||||||
VAlign: Top
|
VAlign: Top
|
||||||
|
|
||||||
|
Background@BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP_FACTIONSUFFIX:
|
||||||
|
Logic: ButtonTooltipWithDescHighlightLogic, AddFactionSuffixLogic
|
||||||
|
Highlight: FFFF00
|
||||||
|
Background: panel-black
|
||||||
|
Height: 25
|
||||||
|
Children:
|
||||||
|
Label@LABEL:
|
||||||
|
X: 5
|
||||||
|
Height: 23
|
||||||
|
Font: Bold
|
||||||
|
Label@HOTKEY:
|
||||||
|
Visible: false
|
||||||
|
TextColor: FFFF00
|
||||||
|
Height: 23
|
||||||
|
Font: Bold
|
||||||
|
Label@DESC:
|
||||||
|
X: 5
|
||||||
|
Y: 23
|
||||||
|
Height: 12
|
||||||
|
Font: TinyBold
|
||||||
|
VAlign: Top
|
||||||
|
|
||||||
Background@WORLD_TOOLTIP:
|
Background@WORLD_TOOLTIP:
|
||||||
Logic: WorldTooltipLogic
|
Logic: WorldTooltipLogic
|
||||||
Background: panel-black
|
Background: panel-black
|
||||||
@@ -84,8 +141,37 @@ Background@WORLD_TOOLTIP:
|
|||||||
Height: 5
|
Height: 5
|
||||||
Font: Bold
|
Font: Bold
|
||||||
|
|
||||||
|
Background@WORLD_TOOLTIP_FACTIONSUFFIX:
|
||||||
|
Logic: WorldTooltipLogic, AddFactionSuffixLogic
|
||||||
|
Background: panel-black
|
||||||
|
Children:
|
||||||
|
Container@SINGLE_HEIGHT:
|
||||||
|
Height: 25
|
||||||
|
Container@DOUBLE_HEIGHT:
|
||||||
|
Height: 45
|
||||||
|
Label@LABEL:
|
||||||
|
X: 5
|
||||||
|
Height: 23
|
||||||
|
Font: Bold
|
||||||
|
Image@FLAG:
|
||||||
|
X: 5
|
||||||
|
Y: 24
|
||||||
|
Width: 32
|
||||||
|
Height: 16
|
||||||
|
Label@OWNER:
|
||||||
|
X: 42
|
||||||
|
Y: 19
|
||||||
|
Height: 23
|
||||||
|
Font: Bold
|
||||||
|
Shadow: True
|
||||||
|
Label@EXTRA:
|
||||||
|
X: 5
|
||||||
|
Y: 47
|
||||||
|
Height: 5
|
||||||
|
Font: Bold
|
||||||
|
|
||||||
Background@PRODUCTION_TOOLTIP:
|
Background@PRODUCTION_TOOLTIP:
|
||||||
Logic: ProductionTooltipLogic
|
Logic: ProductionTooltipLogic, AddFactionSuffixLogic
|
||||||
Background: panel-black
|
Background: panel-black
|
||||||
Width: 200
|
Width: 200
|
||||||
Height: 65
|
Height: 65
|
||||||
@@ -143,7 +229,7 @@ Background@PRODUCTION_TOOLTIP:
|
|||||||
Font: Bold
|
Font: Bold
|
||||||
|
|
||||||
Background@SUPPORT_POWER_TOOLTIP:
|
Background@SUPPORT_POWER_TOOLTIP:
|
||||||
Logic: SupportPowerTooltipLogic
|
Logic: SupportPowerTooltipLogic, AddFactionSuffixLogic
|
||||||
Background: panel-black
|
Background: panel-black
|
||||||
Width: 200
|
Width: 200
|
||||||
Height: 25
|
Height: 25
|
||||||
|
|||||||
Reference in New Issue
Block a user