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; }
static void createFonts() { fntTitle = new fbgfx.Font("Vendera", 25, 0xFFFFFFFF); }
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); }