struct CCL::PointerEvent

Overview

Common properties of MouseEvent and TouchEvent. More…

#include <guievent.h>

struct PointerEvent: public CCL::GUIEvent
{
    // enums

    enum InputDevice;

    // structs

    struct PenInfo;

    // fields

    KeyState keys;
    InputDevice inputDevice;
    PenInfo penInfo;

    // construction

    PointerEvent (
        int eventClass,
        int eventType,
        double eventTime = 0,
        const KeyState& keys = KeyState (),
        InputDevice inputDevice = kPointerInput
    );
};

Inherited Members

public:
    // enums

    enum EventClass;

    // fields

    int eventClass;
    int eventType;
    double eventTime;

    // methods

    template  <class Event>
    const Event* as () const;

    const PointerEvent* as () const;

Detailed Documentation

Common properties of MouseEvent and TouchEvent.

<>