Editor marker tiles layer

This commit is contained in:
David Wilson
2024-01-26 23:52:51 +10:00
committed by Gustas
parent 714f2c6dc2
commit 25a6b4b6b9
36 changed files with 1595 additions and 54 deletions

View File

@@ -23,6 +23,8 @@ namespace OpenRA.Mods.Common.Widgets
public readonly string TooltipTemplate;
public readonly EditorDefaultBrush DefaultBrush;
public event Action BrushChanged;
readonly Lazy<TooltipContainerWidget> tooltipContainer;
readonly WorldRenderer worldRenderer;
@@ -46,6 +48,8 @@ namespace OpenRA.Mods.Common.Widgets
CurrentBrush?.Dispose();
CurrentBrush = brush ?? DefaultBrush;
BrushChanged?.Invoke();
}
public override void MouseEntered()