Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Public Attributes
nsMouseScrollEvent Class Reference

#include <nsGUIEvent.h>

Inheritance diagram for nsMouseScrollEvent:
Inheritance graph
[legend]
Collaboration diagram for nsMouseScrollEvent:
Collaboration graph
[legend]

List of all members.

Public Types

enum  nsMouseScrollFlags { kIsFullPage = 1 << 0, kIsVertical = 1 << 1, kIsHorizontal = 1 << 2, kIsPixels = 1 << 3 }

Public Member Functions

 nsMouseScrollEvent (PRBool isTrusted, PRUint32 msg, nsIWidget *w)

Public Attributes

PRInt32 scrollFlags
PRInt32 delta
PRBool isShift
 PR_TRUE indicates the shift key is down.
PRBool isControl
 PR_TRUE indicates the control key is down.
PRBool isAlt
 PR_TRUE indicates the alt key is down.
PRBool isMeta
 PR_TRUE indicates the meta key is down (or, on Mac, the Command key)
nsIWidgetwidget
 Originator of the event.
voidnativeMsg
 Internal platform specific message.
PRUint8 eventStructType
PRUint32 message
nsPoint point
nsPoint refPoint
PRUint32 time
PRUint32 flags
PRUint32 internalAppFlags
nsHashKey * userType

Detailed Description

Definition at line 760 of file nsGUIEvent.h.


Member Enumeration Documentation

Enumerator:
kIsFullPage 
kIsVertical 
kIsHorizontal 
kIsPixels 

Definition at line 763 of file nsGUIEvent.h.

                          {
    kIsFullPage =   1 << 0,
    kIsVertical =   1 << 1,
    kIsHorizontal = 1 << 2,
    kIsPixels =     1 << 3
  };

Constructor & Destructor Documentation

nsMouseScrollEvent::nsMouseScrollEvent ( PRBool  isTrusted,
PRUint32  msg,
nsIWidget w 
) [inline]

Definition at line 770 of file nsGUIEvent.h.

    : nsInputEvent(isTrusted, msg, w, NS_MOUSE_SCROLL_EVENT),
      scrollFlags(0), delta(0)
  {
  }

Member Data Documentation

Definition at line 777 of file nsGUIEvent.h.

Definition at line 423 of file nsGUIEvent.h.

PRUint32 nsEvent::flags [inherited]

Definition at line 436 of file nsGUIEvent.h.

Definition at line 438 of file nsGUIEvent.h.

PR_TRUE indicates the alt key is down.

Definition at line 634 of file nsGUIEvent.h.

PR_TRUE indicates the control key is down.

Definition at line 632 of file nsGUIEvent.h.

PR_TRUE indicates the meta key is down (or, on Mac, the Command key)

Definition at line 636 of file nsGUIEvent.h.

PR_TRUE indicates the shift key is down.

Definition at line 630 of file nsGUIEvent.h.

Definition at line 425 of file nsGUIEvent.h.

Internal platform specific message.

Definition at line 466 of file nsGUIEvent.h.

nsPoint nsEvent::point [inherited]

Definition at line 428 of file nsGUIEvent.h.

Definition at line 430 of file nsGUIEvent.h.

Definition at line 776 of file nsGUIEvent.h.

PRUint32 nsEvent::time [inherited]

Definition at line 433 of file nsGUIEvent.h.

nsHashKey* nsEvent::userType [inherited]

Definition at line 440 of file nsGUIEvent.h.

Originator of the event.

Definition at line 464 of file nsGUIEvent.h.


The documentation for this class was generated from the following file: