1 #ifndef COIN_SOSPACEBALLBUTTONEVENT_H 2 #define COIN_SOSPACEBALLBUTTONEVENT_H 36 #include <Inventor/events/SoButtonEvent.h> 38 #define SO_SPACEBALL_PRESS_EVENT(EVENT, BUTTON) \ 39 (SoSpaceballButtonEvent::isButtonPressEvent(EVENT, SoSpaceballButtonEvent::BUTTON)) 41 #define SO_SPACEBALL_RELEASE_EVENT(EVENT, BUTTON) \ 42 (SoSpaceballButtonEvent::isButtonReleaseEvent(EVENT, SoSpaceballButtonEvent::BUTTON)) 57 ANY, BUTTON1, BUTTON2, BUTTON3, BUTTON4, BUTTON5, BUTTON6, BUTTON7,
61 void setButton(Button button);
62 Button getButton(
void)
const;
64 static SbBool isButtonPressEvent(
const SoEvent * e, Button whichButton);
65 static SbBool isButtonReleaseEvent(
const SoEvent * e, Button whichButton);
74 #endif // !COIN_SOSPACEBALLBUTTONEVENT_H
The SoEvent class is the base class for all Coin events.
Definition: SoEvent.h:45
The SbString class is a string class with convenience functions for string operations.
Definition: SbString.h:52