1#ifndef COIN_SOMOUSEBUTTONEVENT_H
2#define COIN_SOMOUSEBUTTONEVENT_H
27#include <Inventor/events/SoButtonEvent.h>
29#define SO_MOUSE_PRESS_EVENT(EVENT, BUTTON) \
30 (SoMouseButtonEvent::isButtonPressEvent(EVENT, SoMouseButtonEvent::BUTTON))
32#define SO_MOUSE_RELEASE_EVENT(EVENT, BUTTON) \
33 (SoMouseButtonEvent::isButtonReleaseEvent(EVENT, SoMouseButtonEvent::BUTTON))
47 ANY, BUTTON1, BUTTON2, BUTTON3, BUTTON4, BUTTON5
50 void setButton(Button button);
51 Button getButton(
void)
const;
53 static SbBool isButtonPressEvent(
const SoEvent * e, Button whichButton);
54 static SbBool isButtonReleaseEvent(
const SoEvent * e, Button whichButton);
The SbString class is a string class with convenience functions for string operations.
Definition SbString.h:42
The SoEvent class is the base class for all Coin events.
Definition SoEvent.h:34
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.