[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 193

type TfpgStyle = class(TObject)

public

  constructor Create; virtual;

  destructor Destroy; override;

  property DefaultFont: TfpgFont; [rw]

  property FixedFont: TfpgFont; [rw]

  property MenuFont: TfpgFont; [rw]

  property MenuAccelFont: TfpgFont; [rw]

  property MenuDisabledFont: TfpgFont; [rw]

  procedure DrawControlFrame();

  function GetControlFrameBorders; virtual;

  procedure DrawBevel(); virtual;

  function GetBevelWidth; virtual;

  procedure DrawDirectionArrow(); virtual;

  procedure DrawString(); virtual;

  procedure DrawFocusRect(); virtual;

  procedure DrawButtonFace();

  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;

  procedure DrawStaticComboBox(); virtual;

  procedure DrawInternalComboBoxButton(); virtual;

  function GetCheckBoxSize; virtual;

  procedure DrawCheckbox(); 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: 2015-04-04