#include "SO3SCOL.h"#include "../SO3Material/SO3Compositor.h"#include "../SO3Material/SO3Material.h"#include "../SO3PhysicGraph/CollisionTools.h"#include "../SO3Renderer/SO3Viewport.h"#include "../SO3Renderer/SO3Window.h"#include "../SO3Renderer/SO3Root.h"#include "../SO3Renderer/SO3FlashControl.h"#include "../SO3SceneGraph/SO3Camera.h"#include "../SO3SceneGraph/SO3Entity.h"#include "../SO3SceneGraph/SO3Scene.h"Go to the source code of this file.
Defines | |
| #define | CALLMETHOD(m, s) |
| Default reflexes function associated with scol window. | |
| #define | NBWINDOWPKG 26 |
Functions | |
| int | bufferSetReflexes (mmachine m) |
| int | RetrieveMWin (mmachine m, WindowHandle windowHwnd) |
| int | SetFocusMWin (mmachine m, WindowHandle windowHwnd) |
| int | _METHODbufferMouseClick (mmachine m) |
| function called when scol mouse click event is called | |
| int | _METHODbufferMouseUnClick (mmachine m) |
| function called when scol mouse unclick event is called | |
| int | _METHODbufferMouseWheel (mmachine m) |
| function called when scol mouse wheel event is called | |
| int | _METHODbufferMouseDClick (mmachine m) |
| function called when scol mouse double click event is called | |
| int | _METHODbufferMouseMove (mmachine m) |
| function called when scol mouse move event is called | |
| int | _METHODbufferKeyDown (mmachine m) |
| function called when scol keyDown event is called | |
| int | _METHODbufferKeyUp (mmachine m) |
| function called when scol keyUp event is called | |
| int | _METHODbufferSize (mmachine m) |
| function called when scol window size event is called | |
| int | _METHODbufferDrop (mmachine m) |
| function called when scol window drop files event is called | |
| int | _METHODbufferClose (mmachine m) |
| function called when scol window close event is called | |
| int | _METHODbufferFocus (mmachine m) |
| function called when scol window focus event is called | |
| int | _METHODbufferKillFocus (mmachine m) |
| function called when scol window kill focus event is called | |
| int | _METHODbufferDestroy (mmachine m) |
| function called when scol window destroy event is called | |
| int | RFLbufferMouseClick (mmachine m) CALLMETHOD(m |
| Default reflexes function declaration. | |
| int MouseClick int | RFLbufferMouseUnClick (mmachine m) CALLMETHOD(m |
| int MouseClick int MouseUnClick int | RFLbufferMouseDClick (mmachine m) CALLMETHOD(m |
| int MouseClick int MouseUnClick int MouseDClick int | RFLbufferMouseWheel (mmachine m) CALLMETHOD(m |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int | RFLbufferMouseMove (mmachine m) CALLMETHOD(m |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int | RFLbufferKeyDown (mmachine m) CALLMETHOD(m |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int KeyDown int | RFLbufferKeyUp (mmachine m) CALLMETHOD(m |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int KeyDown int KeyUp int | RFLbufferSize (mmachine m) CALLMETHOD(m |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int KeyDown int KeyUp int Size int | RFLbufferDrop (mmachine m) CALLMETHOD(m |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int KeyDown int KeyUp int Size int Drop int | RFLbufferClose (mmachine m) CALLMETHOD(m |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int KeyDown int KeyUp int Size int Drop int Close int | RFLbufferFocus (mmachine m) CALLMETHOD(m |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int KeyDown int KeyUp int Size int Drop int Close int Focus int | RFLbufferKillFocus (mmachine m) CALLMETHOD(m |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int KeyDown int KeyUp int Size int Drop int Close int Focus int KillFocus int | RFLbufferDestroy (mmachine m) CALLMETHOD(m |
| int | SCOLloadWindow (mmachine m, cbmachine w) |
| Load the SO3Engine Window function. | |
| int | SCOLfreeWindow () |
| free the SO3Engine Window function | |
Variables | |
| int | BUFFER_MOUSEDOWN_EVENT |
| main include | |
| int | BUFFER_MOUSEUP_EVENT |
| int | BUFFER_MOUSEDCLICK_EVENT |
| int | BUFFER_WHEEL_EVENT |
| int | BUFFER_MOUSEMOVE_EVENT |
| int | BUFFER_SIZE_EVENT |
| int | BUFFER_CLOSE_EVENT |
| int | BUFFER_DROP_EVENT |
| int | BUFFER_DESTROY_EVENT |
| int | BUFFER_KEYDOWN_EVENT |
| int | BUFFER_KEYUP_EVENT |
| HWND | hwndScol |
| int | SO3BUFFER |
| char * | WINDOWname [NBWINDOWPKG] |
| int(* | WINDOWFunc [NBWINDOWPKG])(mmachine m) |
| int | WINDOWnarg [NBWINDOWPKG] |
| char * | WINDOWType [NBWINDOWPKG] |
| #define CALLMETHOD | ( | m, | |||
| s | ) |
{ \
_METHODbuffer##s(m); \
MMpull(m); \
return 0;}
Default reflexes function associated with scol window.
Definition at line 702 of file SCOLWindow.cpp.
| #define NBWINDOWPKG 26 |
Nb of Scol functions or types
Definition at line 727 of file SCOLWindow.cpp.
| int _METHODbufferClose | ( | mmachine | m | ) |
function called when scol window close event is called
| m | : current scol machine |
Definition at line 618 of file SCOLWindow.cpp.
| int _METHODbufferDestroy | ( | mmachine | m | ) |
function called when scol window destroy event is called
| m | : current scol machine |
Definition at line 686 of file SCOLWindow.cpp.
| int _METHODbufferDrop | ( | mmachine | m | ) |
function called when scol window drop files event is called
| m | : current scol machine |
Definition at line 589 of file SCOLWindow.cpp.
| int _METHODbufferFocus | ( | mmachine | m | ) |
function called when scol window focus event is called
| m | : current scol machine |
Definition at line 639 of file SCOLWindow.cpp.
| int _METHODbufferKeyDown | ( | mmachine | m | ) |
function called when scol keyDown event is called
| m | : current scol machine |
Definition at line 514 of file SCOLWindow.cpp.
| int _METHODbufferKeyUp | ( | mmachine | m | ) |
function called when scol keyUp event is called
| m | : current scol machine |
Definition at line 541 of file SCOLWindow.cpp.
| int _METHODbufferKillFocus | ( | mmachine | m | ) |
function called when scol window kill focus event is called
| m | : current scol machine |
Definition at line 664 of file SCOLWindow.cpp.
| int _METHODbufferMouseClick | ( | mmachine | m | ) |
function called when scol mouse click event is called
| m | : current scol machine |
Definition at line 209 of file SCOLWindow.cpp.
| int _METHODbufferMouseDClick | ( | mmachine | m | ) |
function called when scol mouse double click event is called
| m | : current scol machine |
Definition at line 386 of file SCOLWindow.cpp.
| int _METHODbufferMouseMove | ( | mmachine | m | ) |
function called when scol mouse move event is called
| m | : current scol machine |
Definition at line 453 of file SCOLWindow.cpp.
| int _METHODbufferMouseUnClick | ( | mmachine | m | ) |
function called when scol mouse unclick event is called
| m | : current scol machine |
Definition at line 275 of file SCOLWindow.cpp.
| int _METHODbufferMouseWheel | ( | mmachine | m | ) |
function called when scol mouse wheel event is called
| m | : current scol machine |
Definition at line 339 of file SCOLWindow.cpp.
| int _METHODbufferSize | ( | mmachine | m | ) |
function called when scol window size event is called
| m | : current scol machine |
Definition at line 567 of file SCOLWindow.cpp.
| int bufferSetReflexes | ( | mmachine | m | ) |
Definition at line 74 of file SCOLWindow.cpp.
| int RetrieveMWin | ( | mmachine | m, | |
| WindowHandle | windowHwnd | |||
| ) |
Definition at line 179 of file SCOLWindow.cpp.
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int KeyDown int KeyUp int Size int Drop int RFLbufferClose | ( | mmachine | m | ) |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int KeyDown int KeyUp int Size int Drop int Close int Focus int KillFocus int RFLbufferDestroy | ( | mmachine | m | ) |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int KeyDown int KeyUp int Size int RFLbufferDrop | ( | mmachine | m | ) |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int KeyDown int KeyUp int Size int Drop int Close int RFLbufferFocus | ( | mmachine | m | ) |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int RFLbufferKeyDown | ( | mmachine | m | ) |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int KeyDown int RFLbufferKeyUp | ( | mmachine | m | ) |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int KeyDown int KeyUp int Size int Drop int Close int Focus int RFLbufferKillFocus | ( | mmachine | m | ) |
| int RFLbufferMouseClick | ( | mmachine | m | ) |
Default reflexes function declaration.
| int MouseClick int MouseUnClick int RFLbufferMouseDClick | ( | mmachine | m | ) |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int RFLbufferMouseMove | ( | mmachine | m | ) |
| int MouseClick int RFLbufferMouseUnClick | ( | mmachine | m | ) |
| int MouseClick int MouseUnClick int MouseDClick int RFLbufferMouseWheel | ( | mmachine | m | ) |
| int MouseClick int MouseUnClick int MouseDClick int MouseWheel int MouseMove int KeyDown int KeyUp int RFLbufferSize | ( | mmachine | m | ) |
| int SCOLfreeWindow | ( | ) |
free the SO3Engine Window function
| m | : The VM |
Definition at line 886 of file SCOLWindow.cpp.
Load the SO3Engine Window function.
| m | : The VM | |
| w | : The Callback VM |
Definition at line 876 of file SCOLWindow.cpp.
| int SetFocusMWin | ( | mmachine | m, | |
| WindowHandle | windowHwnd | |||
| ) |
Definition at line 190 of file SCOLWindow.cpp.
Definition at line 137 of file SO3SCOL.cpp.
Definition at line 139 of file SO3SCOL.cpp.
Definition at line 138 of file SO3SCOL.cpp.
Definition at line 140 of file SO3SCOL.cpp.
Definition at line 141 of file SO3SCOL.cpp.
Definition at line 133 of file SO3SCOL.cpp.
Definition at line 135 of file SO3SCOL.cpp.
Definition at line 132 of file SO3SCOL.cpp.
Definition at line 136 of file SO3SCOL.cpp.
Definition at line 134 of file SO3SCOL.cpp.
| HWND hwndScol |
Definition at line 50 of file SCOLFlashControl.cpp.
| int SO3BUFFER |
Definition at line 108 of file SO3SCOL.cpp.
| int(* WINDOWFunc[NBWINDOWPKG])(mmachine m) |
{
_METHODbufferMouseClick,
_METHODbufferMouseUnClick,
_METHODbufferMouseDClick,
_METHODbufferMouseWheel,
_METHODbufferMouseMove,
_METHODbufferKeyDown,
_METHODbufferKeyUp,
_METHODbufferSize,
_METHODbufferDrop,
_METHODbufferClose,
_METHODbufferFocus,
_METHODbufferKillFocus,
_METHODbufferDestroy,
RFLbufferMouseClick,
RFLbufferMouseUnClick,
RFLbufferMouseDClick,
RFLbufferMouseWheel,
RFLbufferMouseMove,
RFLbufferKeyDown,
RFLbufferKeyUp,
RFLbufferSize,
RFLbufferDrop,
RFLbufferClose,
RFLbufferFocus,
RFLbufferKillFocus,
RFLbufferDestroy
}
Pointers to C functions that manipulate the VM for each scol function previously defined
Definition at line 769 of file SCOLWindow.cpp.
| char* WINDOWname[NBWINDOWPKG] |
Scol function names
Definition at line 733 of file SCOLWindow.cpp.
| int WINDOWnarg[NBWINDOWPKG] |
{
4,
4,
4,
4,
3,
3,
2,
3,
4,
2,
1,
1,
2,
5,
5,
5,
5,
4,
4,
3,
4,
5,
3,
2,
2,
3
}
Nb of arguments of each scol function
Definition at line 804 of file SCOLWindow.cpp.
| char* WINDOWType[NBWINDOWPKG] |
{
"fun [SO3_BUFFER I I I] SO3_BUFFER",
"fun [SO3_BUFFER I I I] SO3_BUFFER",
"fun [SO3_BUFFER I I I] SO3_BUFFER",
"fun [SO3_BUFFER I I I I] SO3_BUFFER",
"fun [SO3_BUFFER I I] SO3_BUFFER",
"fun [SO3_BUFFER I I] SO3_BUFFER",
"fun [SO3_BUFFER I] SO3_BUFFER",
"fun [SO3_BUFFER I I] SO3_BUFFER",
"fun [SO3_BUFFER I I [P r1]] SO3_BUFFER",
"fun [SO3_BUFFER] SO3_BUFFER",
"fun [SO3_BUFFER] SO3_BUFFER",
"fun [SO3_BUFFER] SO3_BUFFER",
"fun [SO3_BUFFER] SO3_BUFFER",
"fun [ObjWin SO3_BUFFER I I I] ObjWin",
"fun [ObjWin SO3_BUFFER I I I] ObjWin",
"fun [ObjWin SO3_BUFFER I I I] ObjWin",
"fun [ObjWin SO3_BUFFER I I I] ObjWin",
"fun [ObjWin SO3_BUFFER I I] ObjWin",
"fun [ObjWin SO3_BUFFER I I] ObjWin",
"fun [ObjWin SO3_BUFFER I] ObjWin",
"fun [ObjWin SO3_BUFFER I I] ObjWin",
"fun [ObjWin SO3_BUFFER I I [P r1]] ObjWin",
"fun [ObjWin SO3_BUFFER] ObjWin",
"fun [ObjWin SO3_BUFFER] ObjWin",
"fun [ObjWin SO3_BUFFER] ObjWin",
"fun [ObjWin SO3_BUFFER] ObjWin"
}
Prototypes of the scol functions
Definition at line 839 of file SCOLWindow.cpp.
1.6.3