HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DM_EventTable.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: DM_EventTable.h ( GR Library, C++)
7
*
8
* COMMENTS:
9
* Table for all viewport UI event hooks.
10
*/
11
#ifndef __DM_EventTable_H__
12
#define __DM_EventTable_H__
13
14
#include "
DM_API.h
"
15
#include "
DM_MouseHook.h
"
16
17
18
class
DM_API
DM_EventTable
19
{
20
public
:
21
static
DM_EventTable
*getTable();
22
23
/// @brief Register a mouse hook.
24
/// Register a mouse hook for creating mouse event hooks.
25
/// Returns true if the hook was successfully registered.
26
bool
registerMouseHook(
DM_MouseHook
*hook);
27
28
private
:
29
DM_EventTable
();
30
virtual
~
DM_EventTable
();
31
32
33
static
void
clearEventHookTable(
void
*);
34
static
void
clearMouseEventHooks(
void
*);
35
36
friend
class
DM_Viewport;
37
};
38
39
extern
"C"
{
40
/// The plugin entry point for event hook registration
41
SYS_VISIBILITY_EXPORT
extern
void
DMnewEventHook
(
DM_EventTable
*
table
);
42
};
43
44
45
46
#endif
DM_MouseHook.h
DM_EventTable
Definition:
DM_EventTable.h:18
SYS_VISIBILITY_EXPORT
#define SYS_VISIBILITY_EXPORT
Definition:
SYS_Visibility.h:81
DM_API
#define DM_API
Definition:
DM_API.h:10
table
GLenum GLenum GLsizei void * table
Definition:
glad.h:5129
DMnewEventHook
SYS_VISIBILITY_EXPORT void DMnewEventHook(DM_EventTable *table)
The plugin entry point for event hook registration.
DM_MouseHook
Definition:
DM_MouseHook.h:91
DM_API.h
DM
DM_EventTable.h
Generated on Sun Nov 17 2024 03:01:08 for HDK by
1.8.6