mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-24 14:23:56 +02:00
82 lines
2.6 KiB
ObjectPascal
82 lines
2.6 KiB
ObjectPascal
{ $Id$}
|
|
{
|
|
*****************************************************************************
|
|
* wsbuttons.pp *
|
|
* ------------ *
|
|
* *
|
|
* *
|
|
*****************************************************************************
|
|
|
|
*****************************************************************************
|
|
* *
|
|
* This file is part of the Lazarus Component Library (LCL) *
|
|
* *
|
|
* See the file COPYING.LCL, included in this distribution, *
|
|
* for details about the copyright. *
|
|
* *
|
|
* This program is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
|
* *
|
|
*****************************************************************************
|
|
}
|
|
unit wsbuttons;
|
|
|
|
{$mode objfpc}{H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
////////////////////////////////////////////////////
|
|
// I M P O R T A N T
|
|
////////////////////////////////////////////////////
|
|
// To get as litle as posible circles,
|
|
// Uncomment only when needed for registration
|
|
////////////////////////////////////////////////////
|
|
// buttons,
|
|
////////////////////////////////////////////////////
|
|
wslclclasses, wsstdctrls, wscontrols;
|
|
|
|
type
|
|
|
|
{ TWSButton }
|
|
|
|
TWSButton = class(TWSButtonControl)
|
|
private
|
|
protected
|
|
public
|
|
end;
|
|
|
|
{ TWSBitBtn }
|
|
|
|
TWSBitBtn = class(TWSButton)
|
|
private
|
|
protected
|
|
public
|
|
end;
|
|
|
|
{ TWSSpeedButton }
|
|
|
|
TWSSpeedButton = class(TWSGraphicControl)
|
|
private
|
|
protected
|
|
public
|
|
end;
|
|
|
|
|
|
implementation
|
|
|
|
initialization
|
|
|
|
////////////////////////////////////////////////////
|
|
// I M P O R T A N T
|
|
////////////////////////////////////////////////////
|
|
// To improve speed, register only classes
|
|
// which actually implement something
|
|
////////////////////////////////////////////////////
|
|
// RegisterWSComponent(TButton, TWSButton);
|
|
// RegisterWSComponent(TBitBtn, TWSBitBtn);
|
|
// RegisterWSComponent(TSpeedButton, TWSSpeedButton);
|
|
////////////////////////////////////////////////////
|
|
end.
|