示例#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);
 }