예제 #1
0
 public ButtonStyle(fbgfx.Font font, uint bgColor, uint borderColor, int borderWidth, bool fontAutoSize)
 {
     this.font         = font;
     this.bgColor      = bgColor;
     this.borderColor  = borderColor;
     this.borderWidth  = borderWidth;
     this.fontAutoSize = fontAutoSize;
 }
예제 #2
0
 static void createFonts()
 {
     fntTitle = new fbgfx.Font("Vendera", 25, 0xFFFFFFFF);
 }
예제 #3
0
 public Label(int iX, int iY, int iWid, int iHei, string sCaption, fbgfx.Font fnt)
     : base(iX, iY, iWid, iHei, sCaption)
 {
     style = new ButtonStyle(fnt, 0, 0, 0, true);
 }