Inheritance: OpenRA.Widgets.Widget
Example #1
0
        protected ObserverProductionIconsWidget(ObserverProductionIconsWidget other)
            : base(other)
        {
            GetPlayer     = other.GetPlayer;
            world         = other.world;
            worldRenderer = other.worldRenderer;
            clocks        = other.clocks;

            IconWidth   = other.IconWidth;
            IconHeight  = other.IconHeight;
            IconSpacing = other.IconSpacing;
            iconSize    = new float2(IconWidth, IconHeight);

            ClockAnimation = other.ClockAnimation;
            ClockSequence  = other.ClockSequence;
            ClockPalette   = other.ClockPalette;

            TooltipIcon    = other.TooltipIcon;
            GetTooltipIcon = () => TooltipIcon;

            MinWidth = other.MinWidth;

            TooltipTemplate  = other.TooltipTemplate;
            TooltipContainer = other.TooltipContainer;

            tooltipContainer = Exts.Lazy(() =>
                                         Ui.Root.Get <TooltipContainerWidget>(TooltipContainer));
        }
 protected ObserverProductionIconsWidget(ObserverProductionIconsWidget other)
     : base(other)
 {
     GetPlayer = other.GetPlayer;
     world = other.world;
     worldRenderer = other.worldRenderer;
     clocks = other.clocks;
 }
Example #3
0
 protected ObserverProductionIconsWidget(ObserverProductionIconsWidget other)
     : base(other)
 {
     GetPlayer     = other.GetPlayer;
     world         = other.world;
     worldRenderer = other.worldRenderer;
     clocks        = other.clocks;
 }
        protected ObserverProductionIconsWidget(ObserverProductionIconsWidget other)
            : base(other)
        {
            GetPlayer     = other.GetPlayer;
            world         = other.world;
            worldRenderer = other.worldRenderer;
            clocks        = other.clocks;

            IconWidth   = other.IconWidth;
            IconHeight  = other.IconHeight;
            IconSpacing = other.IconSpacing;

            ClockAnimation = other.ClockAnimation;
            ClockSequence  = other.ClockSequence;
            ClockPalette   = other.ClockPalette;
        }
        protected ObserverProductionIconsWidget(ObserverProductionIconsWidget other)
            : base(other)
        {
            GetPlayer = other.GetPlayer;
            world = other.world;
            worldRenderer = other.worldRenderer;
            clocks = other.clocks;

            IconWidth = other.IconWidth;
            IconHeight = other.IconHeight;
            IconSpacing = other.IconSpacing;

            ClockAnimation = other.ClockAnimation;
            ClockSequence = other.ClockSequence;
            ClockPalette = other.ClockPalette;
        }