[Overview][Classes][Index] Reference for unit 'fpg_ColorWheel' (#fpgui)

TfpgValueBar

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

A ValueBar component.

Declaration

Source position: fpg_colorwheel.pas line 76

type TfpgValueBar = class(TfpgWidget)

public

  constructor Create(); override;

  procedure SetHS();

  

Sets the Hue and Saturation values.

published

  property Align: TAlign;

  property BackgroundColor: TfpgColor;

  property Enabled: Boolean;

  property Value: Double; [rw]

  

Currently selected Value

  property SelectedColor: TfpgColor; [r]

  

The selected HSV color but in TfpgColor format.

  property MarginWidth: LongInt; [rw]

  

Margin width around the ValueBar.

  property CursorHeight: LongInt; [rw]

  

The height of the selection cursor.

  property OnChange: TNotifyEvent; [rw]

  

Event is triggered when a new color is selected.

end;

Inheritance

TfpgValueBar

  

A ValueBar component.

|

TfpgWidget

  

This forms the basis of any visual widget in fpGUI

|

TfpgWindow

  

Encapsulates a top level or child window

|

TfpgWindowImpl

  

Maps to a backend specific base class

|

TfpgX11Window

  

Implements XLib specific windowing functionality

|

TfpgWindowBase

  

Abstract class use for representing a Window or Widget

|

TfpgComponent

  

A descendant of the FPC TComponent class

|

TComponent

?

TObject

Description

At runtime, this component draws a ValueBar. It allows the user to select the brightness (Value) color in the HSV colorspace. This components works with the TfpgColorWheel component to set the full HSV color values.


Documentation generated on: 2015-04-04