func DefaultSlimTheme() *SlimTheme { return &SlimTheme{ BorderSize: 10, ABorderColor: render.NewColor(0x3366ff), IBorderColor: render.NewColor(0xdfdcdf), } }
func DefaultBordersTheme() *BordersTheme { return &BordersTheme{ BorderSize: 10, AThinColor: render.NewColor(0x0), IThinColor: render.NewColor(0x0), ABorderColor: render.NewColor(0x3366ff), IBorderColor: render.NewColor(0xdfdcdf), } }
func DefaultFullTheme(X *xgbutil.XUtil) *FullTheme { return &FullTheme{ Font: xgraphics.MustFont(xgraphics.ParseFont( bytes.NewBuffer(misc.DejavusansTtf))), FontSize: 15, AFontColor: render.NewColor(0xffffff), IFontColor: render.NewColor(0x000000), TitleSize: 25, ATitleColor: render.NewColor(0x3366ff), ITitleColor: render.NewColor(0xdfdcdf), ACloseButton: builtInButton(X, misc.ClosePng), ICloseButton: builtInButton(X, misc.ClosePng), AMaximizeButton: builtInButton(X, misc.MaximizePng), IMaximizeButton: builtInButton(X, misc.MaximizePng), AMinimizeButton: builtInButton(X, misc.MinimizePng), IMinimizeButton: builtInButton(X, misc.MinimizePng), BorderSize: 10, ABorderColor: render.NewColor(0x3366ff), IBorderColor: render.NewColor(0xdfdcdf), } }
func newTheme() *ThemeConfig { return &ThemeConfig{ DefaultIcon: builtInIcon(), Full: ThemeFull{ font: builtInFont(), fontSize: 15, aFontColor: render.NewColor(0xffffff), iFontColor: render.NewColor(0x000000), titleSize: 25, aTitleColor: render.NewColor(0x3366ff), iTitleColor: render.NewColor(0xdfdcdf), borderSize: 10, aBorderColor: render.NewColor(0x3366ff), iBorderColor: render.NewColor(0xdfdcdf), aCloseButton: builtInButton(misc.ClosePng), iCloseButton: builtInButton(misc.ClosePng), aCloseColor: render.NewColor(0xffffff), iCloseColor: render.NewColor(0x000000), aMaximizeButton: builtInButton(misc.MaximizePng), iMaximizeButton: builtInButton(misc.MaximizePng), aMaximizeColor: render.NewColor(0xffffff), iMaximizeColor: render.NewColor(0x000000), aMinimizeButton: builtInButton(misc.MinimizePng), iMinimizeButton: builtInButton(misc.MinimizePng), aMinimizeColor: render.NewColor(0xffffff), iMinimizeColor: render.NewColor(0x000000), }, Borders: ThemeBorders{ borderSize: 10, aThinColor: render.NewColor(0x0), iThinColor: render.NewColor(0x0), aBorderColor: render.NewColor(0x3366ff), iBorderColor: render.NewColor(0xdfdcdf), }, Slim: ThemeSlim{ borderSize: 10, aBorderColor: render.NewColor(0x3366ff), iBorderColor: render.NewColor(0xdfdcdf), }, Prompt: ThemePrompt{ bgColor: render.NewColor(0xffffff), borderColor: render.NewColor(0x585a5d), borderSize: 10, padding: 10, font: builtInFont(), fontSize: 15.0, fontColor: render.NewColor(0x000000), cycleIconSize: 32, cycleIconBorderSize: 3, cycleIconTransparency: 50, selectActiveBgColor: render.NewColor(0xffffff), selectActiveFontColor: render.NewColor(0x000000), selectGroupBgColor: render.NewColor(0xffffff), selectGroupFont: builtInFont(), selectGroupFontSize: 25.0, selectGroupFontColor: render.NewColor(0x0), }, } }