public override void RemoveFromPainter() { base.RemoveFromPainter(); player.Stop(); player = null; Painter.Remove(Layer.Background, VideoPainter); }
public override void RemoveFromPainter() { base.RemoveFromPainter(); foreach (MovieElement el in smkElements) { el.Stop(); } Painter.Remove(Layer.Background, smkPainter.Paint); }
public virtual void RemoveFromPainter () { Painter.Painting -= FirstPaint; if (background != null) Painter.Remove (Layer.Background, BackgroundPainter); if (UIPainter != null) Painter.Remove (Layer.UI, UIPainter.Paint); if (Cursor != null) Game.Instance.Cursor = null; }
public override void RemoveFromPainter() { base.RemoveFromPainter(); Painter.Remove(Layer.Hud, PaintMinimap); if (scenario.Tileset == Tileset.Platform) { Painter.Remove(Layer.Background, PaintStarfield); } Painter.Remove(Layer.Map, mapRenderer.Paint); SpriteManager.RemoveFromPainter(); }
void HideDropdown() { dropdown_visible = false; if (cursor != selected_item) { cursor = selected_item; if (SelectionChanged != null) { SelectionChanged(cursor); } Invalidate(); } Painter.Remove(Layer.Popup, PaintDropdown); Painter.Invalidate(new Rectangle(new Point(X1, Y1 + Height), dropdownSurface.Size)); }
public override void RemoveFromPainter() { if (Background != null) { Painter.Remove(Layer.DialogBackground, BackgroundPainter); } if (UIPainter != null) { Painter.Remove(Layer.DialogUI, UIPainter.Paint); } if (dimScreen) { Painter.Remove(Layer.DialogDimScreenHack, DimScreenPainter); } Painter.Invalidate(); }
public override void RemoveFromPainter() { base.RemoveFromPainter(); Painter.Remove(Layer.Background, PaintBackground); Painter.Remove(Layer.UI, PaintMarkup); }
public void RemoveFromPainter() { Painter.Remove(Layer.Cursor, Paint); Events.Tick -= CursorTick; }
public void RemoveFromPainter() { Painter.Remove(Layer.Unit, PaintSprite); }