MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

dragndrop.h File Reference

#include "definterface.h"
#include <wx/frame.h>
#include <wx/dcscreen.h>

Include dependency graph for dragndrop.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  wxIFMDefaultDockingPlugin
class  wxIFMInitDragEvent
class  wxIFMDragEvent
class  wxIFMDockEventEx
class  wxIFMShowDropTargetsEvent
 Event for positioning drop target buttons. This event specifies the component that the mouse is hovering over, which is the component that the "cross" drop target buttons should be positioned over. The component actually being dragged is specified by GetDraggedComponent. More...
class  wxIFMDockTargetButton

Defines

#define IFM_DOCK_TARGET_BUTTON_WIDTH   20
#define IFM_DOCK_TARGET_BUTTON_SIZE   wxSize(IFM_DOCK_TARGET_BUTTON_WIDTH, IFM_DOCK_TARGET_BUTTON_WIDTH)
#define IFM_DRAG_DISTANCE   4
#define wxIFMInitDragEventFunctionHandler(func)   (wxObjectEventFunction)wxStaticCastEvent(wxIFMInitDragEventFunction, &func)
#define wxIFMDragEventFunctionHandler(func)   (wxObjectEventFunction)wxStaticCastEvent(wxIFMDragEventFunction, &func)
#define wxIFMShowDropTargetsEventFunctionHandler(func)   (wxObjectEventFunction)wxStaticCastEvent(wxIFMShowDropTargetsEventFunction, &func)
#define EVT_IFM_DRAG_INIT(func)   wx__DECLARE_EVT0(wxEVT_IFM_INITDRAG, wxIFMInitDragEventFunctionHandler(func))
#define EVT_IFM_DRAG_BEGIN(func)   wx__DECLARE_EVT0(wxEVT_IFM_BEGINDRAG, wxIFMDragEventFunctionHandler(func))
#define EVT_IFM_DRAG_END(func)   wx__DECLARE_EVT0(wxEVT_IFM_ENDDRAG, wxIFMDragEventFunctionHandler(func))
#define EVT_IFM_DRAG_DRAGGING(func)   wx__DECLARE_EVT0(wxEVT_IFM_DRAGGING, wxIFMDragEventFunctionHandler(func))
#define EVT_IFM_SHOWDROPTARGETS(func)   wx__DECLARE_EVT0(wxEVT_IFM_SHOWDROPTARGETS, wxIFMShowDropTargetsEventFunctionHandler(func))

Typedefs

typedef void(wxEvtHandler::* wxIFMInitDragEventFunction )(wxIFMInitDragEvent &)
typedef void(wxEvtHandler::* wxIFMDragEventFunction )(wxIFMDragEvent &)
typedef void(wxEvtHandler::* wxIFMShowDropTargetsEventFunction )(wxIFMShowDropTargetsEvent &)

Enumerations

enum  dock_button_icons {
  IFM_DOCK_ICON_LEFT, IFM_DOCK_ICON_RIGHT, IFM_DOCK_ICON_TOP, IFM_DOCK_ICON_BOTTOM,
  IFM_DOCK_ICON_TAB
}
enum  dock_button_ids {
  IFM_DOCK_ID_LEFT, IFM_DOCK_ID_RIGHT, IFM_DOCK_ID_BOTTOM, IFM_DOCK_ID_TOP,
  IFM_DOCK_ID_TAB, IFM_DOCK_ID_FRAME_LEFT, IFM_DOCK_ID_FRAME_RIGHT, IFM_DOCK_ID_FRAME_BOTTOM,
  IFM_DOCK_ID_FRAME_TOP
}

Functions

 DECLARE_EVENT_TYPE (wxEVT_IFM_INITDRAG, 0)
 DECLARE_EVENT_TYPE (wxEVT_IFM_BEGINDRAG, 0)
 DECLARE_EVENT_TYPE (wxEVT_IFM_ENDDRAG, 0)
 DECLARE_EVENT_TYPE (wxEVT_IFM_DRAGGING, 0)
 DECLARE_EVENT_TYPE (wxEVT_IFM_SHOWDROPTARGETS, 0)
 WX_DEFINE_ARRAY (wxIFMDockTargetButton *, DockButtonArray)


Detailed Description

Header file for the drag and drop docking plugin

Author:
Robin McNeill
Date:
Created: 01/15/05
Copyright (c) Robin McNeill Licensed under the terms of the wxWindows license

Definition in file dragndrop.h.


Define Documentation

#define EVT_IFM_DRAG_BEGIN func   )     wx__DECLARE_EVT0(wxEVT_IFM_BEGINDRAG, wxIFMDragEventFunctionHandler(func))
 

Definition at line 391 of file dragndrop.h.

#define EVT_IFM_DRAG_DRAGGING func   )     wx__DECLARE_EVT0(wxEVT_IFM_DRAGGING, wxIFMDragEventFunctionHandler(func))
 

Definition at line 393 of file dragndrop.h.

#define EVT_IFM_DRAG_END func   )     wx__DECLARE_EVT0(wxEVT_IFM_ENDDRAG, wxIFMDragEventFunctionHandler(func))
 

Definition at line 392 of file dragndrop.h.

#define EVT_IFM_DRAG_INIT func   )     wx__DECLARE_EVT0(wxEVT_IFM_INITDRAG, wxIFMInitDragEventFunctionHandler(func))
 

Definition at line 390 of file dragndrop.h.

#define EVT_IFM_SHOWDROPTARGETS func   )     wx__DECLARE_EVT0(wxEVT_IFM_SHOWDROPTARGETS, wxIFMShowDropTargetsEventFunctionHandler(func))
 

Definition at line 394 of file dragndrop.h.

#define IFM_DOCK_TARGET_BUTTON_SIZE   wxSize(IFM_DOCK_TARGET_BUTTON_WIDTH, IFM_DOCK_TARGET_BUTTON_WIDTH)
 

Definition at line 35 of file dragndrop.h.

#define IFM_DOCK_TARGET_BUTTON_WIDTH   20
 

Definition at line 34 of file dragndrop.h.

Referenced by wxIFMDefaultDockingPlugin::CreateTargetButtons(), and wxIFMDefaultDockingPlugin::OnShowDropTargets().

#define IFM_DRAG_DISTANCE   4
 

Definition at line 37 of file dragndrop.h.

Referenced by wxIFMDefaultDockingPlugin::OnDragInit().

#define wxIFMDragEventFunctionHandler func   )     (wxObjectEventFunction)wxStaticCastEvent(wxIFMDragEventFunction, &func)
 

Definition at line 385 of file dragndrop.h.

#define wxIFMInitDragEventFunctionHandler func   )     (wxObjectEventFunction)wxStaticCastEvent(wxIFMInitDragEventFunction, &func)
 

Definition at line 383 of file dragndrop.h.

#define wxIFMShowDropTargetsEventFunctionHandler func   )     (wxObjectEventFunction)wxStaticCastEvent(wxIFMShowDropTargetsEventFunction, &func)
 

Definition at line 387 of file dragndrop.h.


Typedef Documentation

typedef void(wxEvtHandler::* wxIFMDragEventFunction)(wxIFMDragEvent &)
 

Definition at line 380 of file dragndrop.h.

typedef void(wxEvtHandler::* wxIFMInitDragEventFunction)(wxIFMInitDragEvent &)
 

Definition at line 379 of file dragndrop.h.

typedef void(wxEvtHandler::* wxIFMShowDropTargetsEventFunction)(wxIFMShowDropTargetsEvent &)
 

Definition at line 381 of file dragndrop.h.


Enumeration Type Documentation

enum dock_button_icons
 

Enumerator:
IFM_DOCK_ICON_LEFT 
IFM_DOCK_ICON_RIGHT 
IFM_DOCK_ICON_TOP 
IFM_DOCK_ICON_BOTTOM 
IFM_DOCK_ICON_TAB 

Definition at line 42 of file dragndrop.h.

enum dock_button_ids
 

Enumerator:
IFM_DOCK_ID_LEFT 
IFM_DOCK_ID_RIGHT 
IFM_DOCK_ID_BOTTOM 
IFM_DOCK_ID_TOP 
IFM_DOCK_ID_TAB 
IFM_DOCK_ID_FRAME_LEFT 
IFM_DOCK_ID_FRAME_RIGHT 
IFM_DOCK_ID_FRAME_BOTTOM 
IFM_DOCK_ID_FRAME_TOP 

Definition at line 51 of file dragndrop.h.


Function Documentation

DECLARE_EVENT_TYPE wxEVT_IFM_SHOWDROPTARGETS  ,
 

DECLARE_EVENT_TYPE wxEVT_IFM_DRAGGING  ,
 

DECLARE_EVENT_TYPE wxEVT_IFM_ENDDRAG  ,
 

DECLARE_EVENT_TYPE wxEVT_IFM_BEGINDRAG  ,
 

DECLARE_EVENT_TYPE wxEVT_IFM_INITDRAG  ,
 

WX_DEFINE_ARRAY wxIFMDockTargetButton ,
DockButtonArray 
 

 

SourceForge Logo