Class TFireThemeManager
Unit
Declaration
type TFireThemeManager = class(TObject)
Description
Hierarchy
- TObject
- TFireThemeManager
Overview
Nested Types
CustomIconMap = TDictionary<IconKind, TBitmap>; |
|
IconCache = TDictionary<IconKind, IconSizeMap>; |
|
IconKind = (...); |
|
IconSizeMap = TDictionary<TSize, TBitmap>; |
Fields
FPalette: TFirePalette; |
|
FShadePalette: TFirePalette; |
|
FUseShadeColorForIcons: Boolean; |
|
FShadeBackground: TBitmap; |
|
FWindowBackgroundBrush: TBrush; |
|
FGridBackgroundBrush: TBrush; |
|
FGridLineBrush: TBrush; |
|
FGridHeaderBrush: TBrush; |
|
FIconCache: IconCache; |
|
FSelectedDecorBitmap: TBitmap; |
|
FSelectedDecorOverBitmap: TBitmap; |
|
FButtonGlassTexture: TBitmap; |
Methods
function CreateBitmap(const Kind: TFireThemeManager.IconKind): TBitmap; virtual; |
|
constructor Create; |
|
destructor Destroy; override; |
|
procedure Clear; |
|
procedure SetShadeColor(const Color: TAlphaColor); |
|
function ShadeColor: TAlphaColor; |
|
function ShadePalette: PFirePalette; |
|
procedure SetShadePalette(const Palette: TFirePalette); virtual; |
|
function GetIcon(const Kind: IconKind; const Size: TSize): TBitmap; overload; |
|
function GetIcon(const Kind: IconKind): TBitmap; overload; |
|
procedure SetIcon(Kind: IconKind; Bitmap: TBitmap); |
|
function CreateGroupPalette(Depth: Integer): TFirePalette; |
|
procedure SetShadeBackground(const Background: TBitmap); virtual; |
|
procedure ClearCache; |
|
function GetWindowBackgroundBrush: TBrush; |
|
function GetGridBackgroundBrush: TBrush; virtual; |
|
function GetGridLineBrush: TBrush; virtual; |
|
function GetGridHeaderBrush: TBrush; virtual; |
|
procedure LoadPalette(Scene: IScene); |
Properties
property Palette: TFirePalette read FPalette; |
|
property WindowBackgroundBrush: TBrush read GetWindowBackgroundBrush; |
|
property GridBackgroundBrush: TBrush read GetGridBackgroundBrush; |
|
property GridLineBrush: TBrush read GetGridLineBrush; |
|
property GridHeaderBrush: TBrush read GetGridHeaderBrush; |
|
property SelectedDecorBitmap: TBitmap read FSelectedDecorBitmap; |
|
property SelectedDecorOverBitmap: TBitmap read FSelectedDecorOverBitmap; |
|
property ButtonGlassTexture: TBitmap read FButtonGlassTexture; |
|
property UseShadeColorForIcons: Boolean read FUseShadeColorForIcons write FUseShadeColorForIcons; |
Description
Nested Types
CustomIconMap = TDictionary<IconKind, TBitmap>; |
|
IconCache = TDictionary<IconKind, IconSizeMap>; |
|
IconSizeMap = TDictionary<TSize, TBitmap>; |
|
Fields
FPalette: TFirePalette; |
|
FShadePalette: TFirePalette; |
|
FUseShadeColorForIcons: Boolean; |
|
FShadeBackground: TBitmap; |
|
FWindowBackgroundBrush: TBrush; |
|
FGridBackgroundBrush: TBrush; |
|
FGridLineBrush: TBrush; |
|
FGridHeaderBrush: TBrush; |
|
FIconCache: IconCache; |
|
FSelectedDecorBitmap: TBitmap; |
|
FSelectedDecorOverBitmap: TBitmap; |
|
FButtonGlassTexture: TBitmap; |
|
Methods
function CreateBitmap(const Kind: TFireThemeManager.IconKind): TBitmap; virtual; |
|
constructor Create; |
|
destructor Destroy; override; |
|
procedure Clear; |
|
procedure SetShadeColor(const Color: TAlphaColor); |
|
function ShadeColor: TAlphaColor; |
|
function ShadePalette: PFirePalette; |
|
procedure SetShadePalette(const Palette: TFirePalette); virtual; |
|
function GetIcon(const Kind: IconKind; const Size: TSize): TBitmap; overload; |
|
function GetIcon(const Kind: IconKind): TBitmap; overload; |
|
procedure SetIcon(Kind: IconKind; Bitmap: TBitmap); |
|
function CreateGroupPalette(Depth: Integer): TFirePalette; |
|
procedure SetShadeBackground(const Background: TBitmap); virtual; |
|
procedure ClearCache; |
|
function GetWindowBackgroundBrush: TBrush; |
|
function GetGridBackgroundBrush: TBrush; virtual; |
|
function GetGridLineBrush: TBrush; virtual; |
|
function GetGridHeaderBrush: TBrush; virtual; |
|
procedure LoadPalette(Scene: IScene); |
|
Properties
property Palette: TFirePalette read FPalette; |
|
property WindowBackgroundBrush: TBrush read GetWindowBackgroundBrush; |
|
property GridBackgroundBrush: TBrush read GetGridBackgroundBrush; |
|
property GridLineBrush: TBrush read GetGridLineBrush; |
|
property GridHeaderBrush: TBrush read GetGridHeaderBrush; |
|
property SelectedDecorBitmap: TBitmap read FSelectedDecorBitmap; |
|
property SelectedDecorOverBitmap: TBitmap read FSelectedDecorOverBitmap; |
|
property ButtonGlassTexture: TBitmap read FButtonGlassTexture; |
|
property UseShadeColorForIcons: Boolean read FUseShadeColorForIcons write FUseShadeColorForIcons; |
|
Generated by PasDoc 0.15.0.