Exemplo n.º 1
0
 static extern void Noesis_Win32Display_RegisterCallbacks(
     LocationChangedCallback locationChangedCallback,
     SizeChangedCallback sizeChangedCallback,
     StateChangedCallback stateChangedCallback,
     FileDroppedCallback fileDroppedCallback,
     ActivatedCallback activatedCallback,
     DeactivatedCallback deactivatedCallback,
     RenderCallback renderCallback,
     MouseMoveCallback mouseMoveCallback,
     MouseButtonDownCallback mouseButtonDownCallback,
     MouseButtonUpCallback mouseButtonUpCallback,
     MouseDoubleClickCallback mouseDoubleClickCallback,
     MouseWheelCallback mouseWheelCallback,
     KeyDownCallback keyDownCallback,
     KeyUpCallback keyUpCallback,
     CharCallback charCallback,
     TouchMoveCallback touchMoveCallback,
     TouchDownCallback touchDownCallback,
     TouchUpCallback touchUpCallback);
Exemplo n.º 2
0
 /// <summary>
 ///     Sets the mouse wheel callback.
 /// </summary>
 /// <param name="func">
 ///     The new mouse wheel callback function.  See <see cref="MouseWheelCallback" />.
 /// </param>
 public static void glutMouseWheelFunc([In] MouseWheelCallback func) {
     mouseWheelCallback = func;
     __glutMouseWheelFunc(mouseWheelCallback);
 }
Exemplo n.º 3
0
 private static extern void __glutMouseWheelFunc(MouseWheelCallback func);