1 #ifndef COIN_SOMOUSEBUTTONEVENT_H
2 #define COIN_SOMOUSEBUTTONEVENT_H
36 #include <Inventor/events/SoButtonEvent.h>
38 #define SO_MOUSE_PRESS_EVENT(EVENT, BUTTON) \
39 (SoMouseButtonEvent::isButtonPressEvent(EVENT, SoMouseButtonEvent::BUTTON))
41 #define SO_MOUSE_RELEASE_EVENT(EVENT, BUTTON) \
42 (SoMouseButtonEvent::isButtonReleaseEvent(EVENT, SoMouseButtonEvent::BUTTON))
56 ANY, BUTTON1, BUTTON2, BUTTON3, BUTTON4, BUTTON5
59 void setButton(Button button);
60 Button getButton(
void)
const;
62 static SbBool isButtonPressEvent(
const SoEvent * e, Button whichButton);
63 static SbBool isButtonReleaseEvent(
const SoEvent * e, Button whichButton);
72 #endif // !COIN_SOMOUSEBUTTONEVENT_H