From 7e1fc68c8697935f4401cd4b0ac5484ba5245657 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Wed, 22 Sep 2010 23:55:01 +0200 Subject: simple code formatting improvement --- src/corelib/x11/fpg_x11.pas | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas index 39e139d8..e7a74db5 100644 --- a/src/corelib/x11/fpg_x11.pas +++ b/src/corelib/x11/fpg_x11.pas @@ -362,19 +362,20 @@ type FMimeTypesArray: array of TAtom; xia_plain_text: TAtom; procedure InitializeMimeTypesToAtoms; - procedure Dragging(ev: TXEvent); - function IsDNDAware(win: TWindow): boolean; - procedure SendDNDLeave(ATarget: TWindow); - procedure SendDNDEnter(ATarget: TWindow); - procedure SendDNDPosition(ATarget: TWindow; x_root: cint; y_root: cint; AAction: TAtom; ATime: X.TTime); - procedure SendDNDDrop; - procedure HandleDNDStatus(ATarget: TWindow; AAccept: integer; ARect: TfpgRect; AAction: TAtom); - procedure HandleSelectionRequest(ev: TXEvent); + procedure Dragging(ev: TXEvent); + function IsDNDAware(win: TWindow): boolean; + procedure SendDNDLeave(ATarget: TWindow); + procedure SendDNDEnter(ATarget: TWindow); + procedure SendDNDPosition(ATarget: TWindow; x_root: cint; y_root: cint; AAction: TAtom; ATime: X.TTime); + procedure SendDNDDrop; + procedure HandleDNDStatus(ATarget: TWindow; AAccept: integer; ARect: TfpgRect; AAction: TAtom); + procedure HandleSelectionRequest(ev: TXEvent); protected FSource: TfpgX11Window; - function GetSource: TfpgX11Window; virtual; + function GetSource: TfpgX11Window; virtual; public - function Execute(const ADropActions: TfpgDropActions; const ADefaultAction: TfpgDropAction = daCopy): TfpgDropAction; override; + destructor Destroy; override; + function Execute(const ADropActions: TfpgDropActions; const ADefaultAction: TfpgDropAction = daCopy): TfpgDropAction; override; end; -- cgit v1.2.3-70-g09d2