Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-02-17 20:58:09 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-02-17 20:58:09 +0400
commite8a1daaf9bda8f03723879d76557278b9a025c0a (patch)
treecc67b46ef3a957c893df7e288354f126823d4d5e /intern/ghost/intern/GHOST_WindowX11.h
parent7c15fb4f2c710a15e0ae7bd758f1cf74a4e97e36 (diff)
Drag-n-drop support on Linux
This commit implements drag-n-drop support from external applications into Blender. Used xdnd implementation from Paul Sheer.
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowX11.h')
-rw-r--r--intern/ghost/intern/GHOST_WindowX11.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.h b/intern/ghost/intern/GHOST_WindowX11.h
index f1146db50f8..f5cbceff7a4 100644
--- a/intern/ghost/intern/GHOST_WindowX11.h
+++ b/intern/ghost/intern/GHOST_WindowX11.h
@@ -45,6 +45,7 @@
class STR_String;
class GHOST_SystemX11;
+class GHOST_DropTargetX11;
/**
* X11 implementation of GHOST_IWindow.
@@ -224,6 +225,9 @@ public:
XIC getX11_XIC() { return m_xic; }
#endif
+ GHOST_DropTargetX11* getDropTarget()
+ { return m_dropTarget; }
+
/*
* Need this in case that we want start the window
* in FullScree or Maximized state.
@@ -361,6 +365,8 @@ private :
/** Cache of XC_* ID's to XCursor structures */
std::map<unsigned int, Cursor> m_standard_cursors;
+ GHOST_DropTargetX11 * m_dropTarget;
+
#ifdef WITH_X11_XINPUT
/* Tablet devices */
XTablet m_xtablet;