1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
|
{
*****************************************************************************
* Gtk3WSExtDlgs.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 license.
*****************************************************************************
}
unit Gtk3WSExtDlgs;
{$mode objfpc}{$H+}
interface
uses
////////////////////////////////////////////////////
// I M P O R T A N T
////////////////////////////////////////////////////
// To get as little as posible circles,
// uncomment only when needed for registration
////////////////////////////////////////////////////
// ExtDlgs,
////////////////////////////////////////////////////
Controls, LCLType,
gtk3int, gtk3widgets,
WSExtDlgs, WSLCLClasses;
type
{ TGtk3WSPreviewFileControl }
TGtk3WSPreviewFileControl = class(TWSPreviewFileControl)
published
class function CreateHandle(const AWinControl: TWinControl;
const AParams: TCreateParams): TLCLIntfHandle; override;
end;
{ TGtk3WSPreviewFileDialog }
TGtk3WSPreviewFileDialog = class(TWSPreviewFileDialog)
published
end;
{ TGtk3WSOpenPictureDialog }
TGtk3WSOpenPictureDialog = class(TWSOpenPictureDialog)
published
end;
{ TGtk3WSSavePictureDialog }
TGtk3WSSavePictureDialog = class(TWSSavePictureDialog)
published
end;
{ TGtk3WSCalculatorDialog }
TGtk3WSCalculatorDialog = class(TWSCalculatorDialog)
published
end;
{ TGtk3WSCalculatorForm }
TGtk3WSCalculatorForm = class(TWSCalculatorForm)
published
end;
{ TGtk3WSCalendarDialogForm }
TGtk3WSCalendarDialogForm = class(TWSCalendarDialogForm)
published
end;
{ TGtk3WSCalendarDialog }
TGtk3WSCalendarDialog = class(TWSCalendarDialog)
published
end;
implementation
{ TGtk3WSPreviewFileControl }
class function TGtk3WSPreviewFileControl.CreateHandle(
const AWinControl: TWinControl; const AParams: TCreateParams): TLCLIntfHandle;
var
Gtk3CustomControl: TGtk3CustomControl;
begin
Gtk3CustomControl := TGtk3CustomControl.Create(AWinControl, AParams);
Result := TLCLIntfHandle(Gtk3CustomControl);
end;
end.
|