Added nsDragDropEvent

git-svn-id: svn://10.0.0.236/trunk@23409 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
1999-03-09 23:50:18 +00:00
parent bf53653ab4
commit 0d03271f02

View File

@@ -153,6 +153,33 @@ struct nsMenuEvent : public nsGUIEvent {
PRUint32 mCommand;
};
/**
* Event status for D&D Event
*/
enum nsDragDropEventStatus {
/// The event is a enter
nsDragDropEventStatus_eDragEntered,
/// The event is exit
nsDragDropEventStatus_eDragExited,
/// The event is drop
nsDragDropEventStatus_eDrop
};
/**
* Drag & Drop event
*
* When this event occurs the widget field in nsGUIEvent holds the "target"
* for the event
*/
struct nsDragDropEvent : public nsGUIEvent {
nsDragDropEventStatus mType;
PRBool mIsFileURL;
PRUnichar * mURL;
};
/**
* Event Struct Types
*/
@@ -166,6 +193,7 @@ struct nsMenuEvent : public nsGUIEvent {
#define NS_MOUSE_EVENT 8
#define NS_TOOLTIP_EVENT 9
#define NS_MENU_EVENT 10
#define NS_DRAGDROP_EVENT 11
/**
* GUI MESSAGES