Drag and drop 2.5 integration! Finally, slashdot regulars can use
[blender-staging.git] / source / blender / editors / interface / interface_intern.h
index cd89650d750001d38d0def36ec5902816957008f..47892e45a028de48dc2013ab66aa4a44ec486b58 100644 (file)
@@ -46,6 +46,7 @@ struct uiLayout;
 struct bContextStore;
 struct Scene;
 struct ID;
+struct ImBuf;
 
 /* ****************** general defines ************** */
 
@@ -226,8 +227,14 @@ struct uiBut {
        int opcontext;
        struct IDProperty *opproperties;
        struct PointerRNA *opptr;
+       
+       /* Draggable data, type is WM_DRAG_... */
+       int dragtype;
+       void *dragpoin;
+       struct ImBuf *imb;
+       float imb_scale;
 
-               /* active button data */
+       /* active button data */
        struct uiHandleButtonData *active;
 
        char *editstr;