상속: OpenRA.Widgets.Widget
예제 #1
0
        protected ObserverSupportPowerIconsWidget(ObserverSupportPowerIconsWidget other)
            : base(other)
        {
            GetPlayer     = other.GetPlayer;
            icon          = other.icon;
            world         = other.world;
            worldRenderer = other.worldRenderer;
            clocks        = other.clocks;
            timestep      = other.timestep;

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

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

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

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

            tooltipContainer = Exts.Lazy(() =>
                                         Ui.Root.Get <TooltipContainerWidget>(TooltipContainer));
        }
 protected ObserverSupportPowerIconsWidget(ObserverSupportPowerIconsWidget other)
     : base(other)
 {
     GetPlayer = other.GetPlayer;
     icon = other.icon;
     world = other.world;
     worldRenderer = other.worldRenderer;
     clocks = other.clocks;
 }
예제 #3
0
 protected ObserverSupportPowerIconsWidget(ObserverSupportPowerIconsWidget other)
     : base(other)
 {
     GetPlayer     = other.GetPlayer;
     icon          = other.icon;
     world         = other.world;
     worldRenderer = other.worldRenderer;
     clocks        = other.clocks;
 }
		protected ObserverSupportPowerIconsWidget(ObserverSupportPowerIconsWidget other)
			: base(other)
		{
			GetPlayer = other.GetPlayer;
			icon = other.icon;
			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 ObserverSupportPowerIconsWidget(ObserverSupportPowerIconsWidget other)
            : base(other)
        {
            GetPlayer     = other.GetPlayer;
            icon          = other.icon;
            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;
        }