Adding a few more events types.

This commit is contained in:
joki%netscape.com 1998-07-24 05:07:07 +00:00
parent f85ed9ce71
commit 89af3de0e4

View File

@ -205,6 +205,8 @@ struct nsMenuEvent : public nsGUIEvent {
#define NS_MOUSE_EXIT (NS_MOUSE_MESSAGE_START + 23)
#define NS_MOUSE_LEFT_DOUBLECLICK (NS_MOUSE_MESSAGE_START + 24)
#define NS_MOUSE_RIGHT_DOUBLECLICK (NS_MOUSE_MESSAGE_START + 25)
#define NS_MOUSE_LEFT_CLICK (NS_MOUSE_MESSAGE_START + 26)
#define NS_MOUSE_RIGHT_CLICK (NS_MOUSE_MESSAGE_START + 27)
#define NS_SCROLLBAR_MESSAGE_START 1000
#define NS_SCROLLBAR_POS (NS_SCROLLBAR_MESSAGE_START)
@ -212,6 +214,13 @@ struct nsMenuEvent : public nsGUIEvent {
#define NS_SCROLLBAR_PAGE_PREV (NS_SCROLLBAR_MESSAGE_START + 2)
#define NS_SCROLLBAR_LINE_NEXT (NS_SCROLLBAR_MESSAGE_START + 3)
#define NS_SCROLLBAR_LINE_PREV (NS_SCROLLBAR_MESSAGE_START + 4)
#define NS_STREAM_EVENT_START 1100
#define NS_PAGE_LOAD (NS_STREAM_EVENT_START)
#define NS_PAGE_UNLOAD (NS_STREAM_EVENT_START + 1)
#define NS_IMAGE_LOAD (NS_STREAM_EVENT_START + 2)
#define NS_IMAGE_ABORT (NS_STREAM_EVENT_START + 3)
#define NS_IMAGE_ERROR (NS_STREAM_EVENT_START + 4)
//@}
/*