hard-coded TooltipTemplate to YAML
This commit is contained in:
@@ -20,7 +20,7 @@ namespace OpenRA.Mods.RA.Widgets
|
||||
public enum ResourceBarStyle { Flat, Bevelled }
|
||||
public class ResourceBarWidget : Widget
|
||||
{
|
||||
public readonly string TooltipTemplate = "SIMPLE_TOOLTIP";
|
||||
public readonly string TooltipTemplate;
|
||||
public readonly string TooltipContainer;
|
||||
Lazy<TooltipContainerWidget> tooltipContainer;
|
||||
|
||||
|
||||
@@ -276,6 +276,7 @@ Container@PLAYER_WIDGETS:
|
||||
Width:PARENT_RIGHT-2
|
||||
Height:PARENT_BOTTOM-2
|
||||
TooltipContainer:TOOLTIP_CONTAINER
|
||||
TooltipTemplate:SIMPLE_TOOLTIP
|
||||
IndicatorImage:indicator-left
|
||||
Background@SILOBAR_PANEL:
|
||||
X:180
|
||||
@@ -290,6 +291,7 @@ Container@PLAYER_WIDGETS:
|
||||
Width:PARENT_RIGHT-2
|
||||
Height:PARENT_BOTTOM-2
|
||||
TooltipContainer:TOOLTIP_CONTAINER
|
||||
TooltipTemplate:SIMPLE_TOOLTIP
|
||||
IndicatorImage:indicator-right
|
||||
Label@CASH:
|
||||
Y:170
|
||||
|
||||
@@ -49,6 +49,7 @@ Container@PLAYER_WIDGETS:
|
||||
Width:138
|
||||
Height:5
|
||||
TooltipContainer:TOOLTIP_CONTAINER
|
||||
TooltipTemplate:SIMPLE_TOOLTIP
|
||||
IndicatorImage:power-indicator
|
||||
Orientation:Horizontal
|
||||
Style:Bevelled
|
||||
|
||||
@@ -49,6 +49,7 @@ Container@PLAYER_WIDGETS:
|
||||
Width:138
|
||||
Height:5
|
||||
TooltipContainer:TOOLTIP_CONTAINER
|
||||
TooltipTemplate:SIMPLE_TOOLTIP
|
||||
IndicatorImage:power-indicator
|
||||
Orientation:Horizontal
|
||||
Style:Bevelled
|
||||
|
||||
Reference in New Issue
Block a user