public override void Draw(Vector2 OFFSET) { Globals.primitives.DrawRect(Vector2.Zero, new Vector2(Globals.screenWidth, 40), new Color(100, 100, 100)); if (Globals.curAllDir > 0) { Globals.primitives.DrawRect(new Vector2(pos.X - dim.X / 2, pos.Y - dim.Y / 2) + OFFSET, new Vector2(((float)Globals.curDoneDir / (float)Globals.curAllDir) * dim.X, dim.Y), new Color(200, 100, 100)); } text.Draw(OFFSET); cdbtn.Draw(OFFSET); base.Draw(OFFSET, color); }
public override void Draw(Vector2 OFFSET) { cdbtn.Draw(OFFSET); base.Draw(OFFSET); }