Download Now

    Reference TThemeInfo

    Declared in Codebot.Themes.Palettes.pas on line 38

    TThemeInfo is a theme. A theme which is not custom uses the colors and visual styles of the system, and its colors are not used. A dark theme uses the dark parts of the visual styles of the system. FontNames lists the fonts of the theme in the order they are preferred, so that one theme can name a font of each system. A theme with no font names and a size of 0 uses the font of the system. ButtonRadius is the radius of the corners of buttons in pixels, or -1 to leave them as the system has them.
      TThemeInfo = record
      public
        Name: string;
        Custom: Boolean;
        Dark: Boolean;
        Colors: TPaletteColors;
        FontNames: array of string;
        FontSize: Integer;
        ButtonRadius: Integer;
      end;

    See also