lazarus/lcl/interfaces/cocoa/cocoawsextctrls.pas
paul 4915f50748 cocoa: fix copyright header
git-svn-id: trunk@22738 -
2009-11-24 08:46:38 +00:00

225 lines
5.7 KiB
ObjectPascal

{ $Id: cocoawsextctrls.pp 15459 2008-06-18 20:23:05Z sekelsenmat $}
{
*****************************************************************************
* CocoaWSExtCtrls.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 CocoaWSExtCtrls;
{$mode delphi}
interface
uses
// libs
MacOSAll, CocoaAll,
// LCL
Classes, Controls, ExtCtrls, LCLType, LCLProc, Graphics, Math, SysUtils,
// widgetset
WSExtCtrls, WSLCLClasses, WSControls, WSProc,
// LCL Cocoa
CocoaPrivate;
type
{ TCocoaWSCustomPage }
TCocoaWSCustomPage = class(TWSCustomPage)
private
protected
public
{ class function CreateHandle(const AWinControl: TWinControl; const AParams: TCreateParams): TLCLIntfHandle; override;
class procedure UpdateProperties(const ACustomPage: TCustomPage); override;}
end;
{ TCocoaWSCustomNotebook }
TCocoaWSCustomNotebook = class(TWSCustomNotebook)
private
protected
public
{ class function CreateHandle(const AWinControl: TWinControl; const AParams: TCreateParams): TLCLIntfHandle; override;
class procedure AddPage(const ANotebook: TCustomNotebook; const AChild: TCustomPage; const AIndex: integer); override;
class procedure MovePage(const ANotebook: TCustomNotebook; const AChild: TCustomPage; const NewIndex: integer); override;
class procedure RemovePage(const ANotebook: TCustomNotebook; const AIndex: integer); override;
//class function GetNotebookMinTabHeight(const AWinControl: TWinControl): integer; override;
//class function GetNotebookMinTabWidth(const AWinControl: TWinControl): integer; override;
//class function GetPageRealIndex(const ANotebook: TCustomNotebook; AIndex: Integer): Integer; override;
//class function GetTabIndexAtPos(const ANotebook: TCustomNotebook; const AClientPos: TPoint): integer; override;
class procedure SetPageIndex(const ANotebook: TCustomNotebook; const AIndex: integer); override;
class procedure SetTabPosition(const ANotebook: TCustomNotebook; const ATabPosition: TTabPosition); override;
class procedure ShowTabs(const ANotebook: TCustomNotebook; AShowTabs: boolean); override;}
end;
{ TCocoaWSPage }
TCocoaWSPage = class(TWSPage)
private
protected
public
end;
{ TCocoaWSNotebook }
TCocoaWSNotebook = class(TWSNotebook)
private
protected
public
end;
{ TCocoaWSShape }
TCocoaWSShape = class(TWSShape)
private
protected
public
end;
{ TCocoaWSCustomSplitter }
TCocoaWSCustomSplitter = class(TWSCustomSplitter)
private
protected
public
end;
{ TCocoaWSSplitter }
TCocoaWSSplitter = class(TWSSplitter)
private
protected
public
end;
{ TCocoaWSPaintBox }
TCocoaWSPaintBox = class(TWSPaintBox)
private
protected
public
end;
{ TCocoaWSCustomImage }
TCocoaWSCustomImage = class(TWSCustomImage)
private
protected
public
end;
{ TCocoaWSImage }
TCocoaWSImage = class(TWSImage)
private
protected
public
end;
{ TCocoaWSBevel }
TCocoaWSBevel = class(TWSBevel)
private
protected
public
end;
{ TCocoaWSCustomRadioGroup }
TCocoaWSCustomRadioGroup = class(TWSCustomRadioGroup)
private
protected
public
end;
{ TCocoaWSRadioGroup }
TCocoaWSRadioGroup = class(TWSRadioGroup)
private
protected
public
end;
{ TCocoaWSCustomCheckGroup }
TCocoaWSCustomCheckGroup = class(TWSCustomCheckGroup)
private
protected
public
end;
{ TCocoaWSCheckGroup }
TCocoaWSCheckGroup = class(TWSCheckGroup)
private
protected
public
end;
{ TCocoaWSCustomLabeledEdit }
TCocoaWSCustomLabeledEdit = class(TWSCustomLabeledEdit)
private
protected
public
end;
{ TCocoaWSLabeledEdit }
TCocoaWSLabeledEdit = class(TWSLabeledEdit)
private
protected
public
end;
{ TCocoaWSCustomPanel }
TCocoaWSCustomPanel = class(TWSCustomPanel)
private
protected
public
end;
{ TCocoaWSPanel }
TCocoaWSPanel = class(TWSPanel)
private
protected
public
end;
{ TCocoaWSCustomTrayIcon }
TCocoaWSCustomTrayIcon = class(TWSCustomTrayIcon)
public
{class function Hide(const ATrayIcon: TCustomTrayIcon): Boolean; override;
class function Show(const ATrayIcon: TCustomTrayIcon): Boolean; override;
class procedure InternalUpdate(const ATrayIcon: TCustomTrayIcon); override;
class function ShowBalloonHint(const ATrayIcon: TCustomTrayIcon): Boolean; override;
class function GetPosition(const ATrayIcon: TCustomTrayIcon): TPoint; override;}
end;
implementation
{$include cocoatrayicon.inc}
end.