Class TFireThemeManager

Unit

Declaration

type TFireThemeManager = class(TObject)

Description

Hierarchy

Overview

Nested Types

Public CustomIconMap = TDictionary<IconKind, TBitmap>;
Public IconCache = TDictionary<IconKind, IconSizeMap>;
Published IconKind = (...);
Public IconSizeMap = TDictionary<TSize, TBitmap>;

Fields

Protected FPalette: TFirePalette;
Protected FShadePalette: TFirePalette;
Protected FUseShadeColorForIcons: Boolean;
Protected FShadeBackground: TBitmap;
Protected FWindowBackgroundBrush: TBrush;
Protected FGridBackgroundBrush: TBrush;
Protected FGridLineBrush: TBrush;
Protected FGridHeaderBrush: TBrush;
Protected FIconCache: IconCache;
Protected FSelectedDecorBitmap: TBitmap;
Protected FSelectedDecorOverBitmap: TBitmap;
Protected FButtonGlassTexture: TBitmap;

Methods

Protected function CreateBitmap(const Kind: TFireThemeManager.IconKind): TBitmap; virtual;
Public constructor Create;
Public destructor Destroy; override;
Public procedure Clear;
Public procedure SetShadeColor(const Color: TAlphaColor);
Public function ShadeColor: TAlphaColor;
Public function ShadePalette: PFirePalette;
Public procedure SetShadePalette(const Palette: TFirePalette); virtual;
Public function GetIcon(const Kind: IconKind; const Size: TSize): TBitmap; overload;
Public function GetIcon(const Kind: IconKind): TBitmap; overload;
Public procedure SetIcon(Kind: IconKind; Bitmap: TBitmap);
Public function CreateGroupPalette(Depth: Integer): TFirePalette;
Public procedure SetShadeBackground(const Background: TBitmap); virtual;
Public procedure ClearCache;
Public function GetWindowBackgroundBrush: TBrush;
Public function GetGridBackgroundBrush: TBrush; virtual;
Public function GetGridLineBrush: TBrush; virtual;
Public function GetGridHeaderBrush: TBrush; virtual;
Public procedure LoadPalette(Scene: IScene);

Properties

Public property Palette: TFirePalette read FPalette;
Public property WindowBackgroundBrush: TBrush read GetWindowBackgroundBrush;
Public property GridBackgroundBrush: TBrush read GetGridBackgroundBrush;
Public property GridLineBrush: TBrush read GetGridLineBrush;
Public property GridHeaderBrush: TBrush read GetGridHeaderBrush;
Public property SelectedDecorBitmap: TBitmap read FSelectedDecorBitmap;
Public property SelectedDecorOverBitmap: TBitmap read FSelectedDecorOverBitmap;
Public property ButtonGlassTexture: TBitmap read FButtonGlassTexture;
Public property UseShadeColorForIcons: Boolean read FUseShadeColorForIcons write FUseShadeColorForIcons;

Description

Nested Types

Public CustomIconMap = TDictionary<IconKind, TBitmap>;
 
Public IconCache = TDictionary<IconKind, IconSizeMap>;
 
Published IconKind = (...);
 
Values
  • QuickButtonIcon
  • FocusRowIndicatorIcon
  • FilterToolButtonIcon
  • FilterToolButtonBoldIcon
  • ColumnMenuToolButtonIcon
  • SortIndicatorASCIcon
  • SortIndicatorDESCIcon
  • SortIndicatorMenuASCIcon
  • SortIndicatorMenuDESCIcon
  • FrozenPinOnIcon
  • FrozenPinOffIcon
  • FrozenPlaceTopIcon
  • FrozenPlaceBottomIcon
  • DragDropBoxIcon
  • FocusRowEditIcon
  • FocusRowEditModifyIcon
  • FocusRowEditValidIcon
  • ZoomInIcon
  • ZoomOutIcon
  • NewRowIcon
  • TextButtonIcon
  • ClearButtonIcon
  • TitleBarCloseIcon
  • TitleBarPinIcon
  • TitleBarPinnedIcon
  • TitleBarMenuIcon
  • ChoiceButtonIcon
  • SettingsButtonIcon
  • SelectButtonIcon
  • FieldChooserIcon
  • GroupByBoxIcon
  • GroupByColumnIcon
  • AlignLeftIcon
  • AlignCenterIcon
  • AlignRightIcon
  • FixedLeftIcon
  • FixedRightIcon
Public IconSizeMap = TDictionary<TSize, TBitmap>;
 

Fields

Protected FPalette: TFirePalette;
 
Protected FShadePalette: TFirePalette;
 
Protected FUseShadeColorForIcons: Boolean;
 
Protected FShadeBackground: TBitmap;
 
Protected FWindowBackgroundBrush: TBrush;
 
Protected FGridBackgroundBrush: TBrush;
 
Protected FGridLineBrush: TBrush;
 
Protected FGridHeaderBrush: TBrush;
 
Protected FIconCache: IconCache;
 
Protected FSelectedDecorBitmap: TBitmap;
 
Protected FSelectedDecorOverBitmap: TBitmap;
 
Protected FButtonGlassTexture: TBitmap;
 

Methods

Protected function CreateBitmap(const Kind: TFireThemeManager.IconKind): TBitmap; virtual;
 
Public constructor Create;
 
Public destructor Destroy; override;
 
Public procedure Clear;
 
Public procedure SetShadeColor(const Color: TAlphaColor);
 
Public function ShadeColor: TAlphaColor;
 
Public function ShadePalette: PFirePalette;
 
Public procedure SetShadePalette(const Palette: TFirePalette); virtual;
 
Public function GetIcon(const Kind: IconKind; const Size: TSize): TBitmap; overload;
 
Public function GetIcon(const Kind: IconKind): TBitmap; overload;
 
Public procedure SetIcon(Kind: IconKind; Bitmap: TBitmap);
 
Public function CreateGroupPalette(Depth: Integer): TFirePalette;
 
Public procedure SetShadeBackground(const Background: TBitmap); virtual;
 
Public procedure ClearCache;
 
Public function GetWindowBackgroundBrush: TBrush;
 
Public function GetGridBackgroundBrush: TBrush; virtual;
 
Public function GetGridLineBrush: TBrush; virtual;
 
Public function GetGridHeaderBrush: TBrush; virtual;
 
Public procedure LoadPalette(Scene: IScene);
 

Properties

Public property Palette: TFirePalette read FPalette;
 
Public property WindowBackgroundBrush: TBrush read GetWindowBackgroundBrush;
 
Public property GridBackgroundBrush: TBrush read GetGridBackgroundBrush;
 
Public property GridLineBrush: TBrush read GetGridLineBrush;
 
Public property GridHeaderBrush: TBrush read GetGridHeaderBrush;
 
Public property SelectedDecorBitmap: TBitmap read FSelectedDecorBitmap;
 
Public property SelectedDecorOverBitmap: TBitmap read FSelectedDecorOverBitmap;
 
Public property ButtonGlassTexture: TBitmap read FButtonGlassTexture;
 
Public property UseShadeColorForIcons: Boolean read FUseShadeColorForIcons write FUseShadeColorForIcons;
 

Generated by PasDoc 0.15.0.