lazarus/lcl/interfaces/gtk/gtkwsgrids.pp
2008-07-22 09:48:15 +00:00

92 lines
2.7 KiB
ObjectPascal

{ $Id$}
{
*****************************************************************************
* GtkWSGrids.pp *
* ------------- *
* *
* *
*****************************************************************************
*****************************************************************************
* *
* This file is part of the Lazarus Component Library (LCL) *
* *
* See the file COPYING.modifiedLGPL.txt, 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 GtkWSGrids;
{$mode objfpc}{$H+}
interface
uses
Controls, Graphics, Grids, WSGrids, WSLCLClasses;
type
{ TGtkWSStringCellEditor }
TGtkWSStringCellEditor = class(TWSStringCellEditor)
private
protected
public
end;
{ TGtkWSCustomGrid }
TGtkWSCustomGrid = class(TWSCustomGrid)
private
protected
public
class procedure SetFont(const AWinControl: TWinControl; const AFont: TFont); override;
end;
{ TGtkWSDrawGrid }
TGtkWSDrawGrid = class(TWSDrawGrid)
private
protected
public
end;
{ TGtkWSStringGrid }
TGtkWSStringGrid = class(TWSStringGrid)
private
protected
public
end;
implementation
{ TGtkWSCustomGrid }
class procedure TGtkWSCustomGrid.SetFont(const AWinControl: TWinControl;
const AFont: TFont);
begin
//
end;
initialization
////////////////////////////////////////////////////
// I M P O R T A N T
////////////////////////////////////////////////////
// To improve speed, register only classes
// which actually implement something
////////////////////////////////////////////////////
// RegisterWSComponent(TStringCellEditor, TGtkWSStringCellEditor);
RegisterWSComponent(TCustomGrid, TGtkWSCustomGrid);
// RegisterWSComponent(TDrawGrid, TGtkWSDrawGrid);
// RegisterWSComponent(TStringGrid, TGtkWSStringGrid);
////////////////////////////////////////////////////
end.