summaryrefslogtreecommitdiff
path: root/src/corelib/x11
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-09-21 13:40:15 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-09-23 16:24:42 +0200
commit2de0a19405347f240eb9b6294ea6d631a38da2c6 (patch)
tree271bd5e65b9557cfa21baf3caee389ca6c7e287d /src/corelib/x11
parenta86b77cde8c444f6e62b3ec89288dff43680de15 (diff)
downloadfpGUI-2de0a19405347f240eb9b6294ea6d631a38da2c6.tar.xz
implement the higher level TfpgDrag and TfpgMimeData classes.
These are independant of the backend - they contain common code and interface. TfpgDrag will be used to initiate a drag action (acting as the source of a drag), and contain the data available for that drag action.
Diffstat (limited to 'src/corelib/x11')
-rw-r--r--src/corelib/x11/fpg_interface.pas2
-rw-r--r--src/corelib/x11/fpg_x11.pas4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/x11/fpg_interface.pas b/src/corelib/x11/fpg_interface.pas
index c4adf079..3a1e1920 100644
--- a/src/corelib/x11/fpg_interface.pas
+++ b/src/corelib/x11/fpg_interface.pas
@@ -33,6 +33,8 @@ type
TfpgApplicationImpl = TfpgX11Application;
TfpgClipboardImpl = TfpgX11Clipboard;
TfpgFileListImpl = TfpgX11FileList;
+ TfpgMimeDataImpl = TfpgX11MimeData;
+ TfpgDragImpl = TfpgX11Drag;
implementation
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas
index 6419818c..166e1205 100644
--- a/src/corelib/x11/fpg_x11.pas
+++ b/src/corelib/x11/fpg_x11.pas
@@ -346,6 +346,10 @@ type
end;
+ TfpgX11MimeData = class(TfpgMimeDataBase)
+ end;
+
+
TfpgX11Drag = class(TfpgDragBase)
private
FLastTarget: TfpgWinHandle;