[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'fpg_main' (#fpgui)

TfpgStyle

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

This supplies very basic theming support for now

Declaration

Source position: fpg_main.pas line 195

type TfpgStyle = class(TObject)

public

  DefaultFont: TfpgFont;

  FixedFont: TfpgFont;

  MenuFont: TfpgFont;

  MenuAccelFont: TfpgFont;

  MenuDisabledFont: TfpgFont;

  constructor Create; virtual;

  destructor Destroy; override;

public

  procedure DrawControlFrame();

public

  function GetControlFrameBorders; virtual;

  procedure DrawBevel(); virtual;

  procedure DrawDirectionArrow(); virtual;

  procedure DrawString(); virtual;

  procedure DrawFocusRect(); virtual;

public

  procedure DrawButtonFace();

public

  function GetButtonBorders; virtual;

  function GetButtonShift; virtual;

  function HasButtonHoverEffect; virtual;

  procedure DrawMenuBar(); virtual;

  procedure DrawMenuRow(); virtual;

  procedure DrawMenuItem(); virtual;

  procedure DrawMenuItemSeparator(); virtual;

  procedure DrawMenuItemImage(); virtual;

  function GetSeparatorSize; virtual;

  procedure DrawEditBox(); virtual;

end;

Inheritance

TfpgStyle

  

This supplies very basic theming support for now

|

TObject

Description

This supplies very basic theming support for now. At a later date the theming support in fpGUI will be totally reworked to supply built-in and image based theming.

See the document named theming_spec.txt in the "docs" folder for details of what is planned.


Documentation generated on: 2013-04-29