public override void Draw() { Layer.SetColour(WhiteColour); Layer.Add(x0, y0, Button_Left); Layer.Add(x0 + 2, y0, x1 - x0 - 4, 16, Button_Middle); Layer.SetColour(BlackColour); Font.AddTo(Layer, x0 + 2, y0 + 4, text); Layer.SetColour(WhiteColour); Layer.Add(x1 - 2, y0, Button_Right); }
public override void Draw() { Font.AddTo(Layer, x0, y0, text); }