예제 #1
0
파일: Widgetry.cs 프로젝트: betajaen/dx8
 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);
 }
예제 #2
0
파일: Widgetry.cs 프로젝트: betajaen/dx8
 public override void Draw()
 {
     Font.AddTo(Layer, x0, y0, text);
 }