NutsnBolts  0.1.0
An extension library for Coin
Loading...
Searching...
No Matches
SoEvent.h File Reference
#include <cstdio>
#include <Inventor/SbBasic.h>

Go to the source code of this file.

Functions

SoEventSoEvent_Clone (const SoEvent *ev)
 
void SoEvent_Dump (FILE *stream, const SoEvent *ev)
 
SbBool SoEvent_Equals (const SoEvent *ev1, const SoEvent *ev2)
 

Detailed Description

This file implements a couple of functions related to SoEvent objects.

Internal file.

Function Documentation

◆ SoEvent_Clone()

SoEvent * SoEvent_Clone ( const SoEvent * event)

This function clones an event.

Only which buttons and states the event has is copied. Modifier states, time stamps, and window positions are ignored.

◆ SoEvent_Dump()

void SoEvent_Dump ( FILE * stream,
const SoEvent * ev )

Dump debug information about event ev to stream stream.

◆ SoEvent_Equals()

SbBool SoEvent_Equals ( const SoEvent * ev1,
const SoEvent * ev2 )

Returns TRUE if ev1 and ev2 are equal events, and FALSE if they differ.

Only which buttons and which states the events have are checked. Modifier states, time stamps, and screen positions are ignored.