canvasX = e->canvasX;
canvasY = e->canvasY;
+#if 0
printf("%s, screen: (%ld,%ld), client: (%ld,%ld),%s%s%s%s button: %hu, buttons: %hu, movement: (%ld,%ld), canvas: (%ld,%ld)\n",
emscripten_event_type_to_string(eventType), e->screenX, e->screenY, e->clientX, e->clientY,
e->ctrlKey ? " CTRL" : "", e->shiftKey ? " SHIFT" : "", e->altKey ? " ALT" : "", e->metaKey ? " META" : "",
e->button, e->buttons, e->movementX, e->movementY, e->canvasX, e->canvasY);
+#endif
if(e->shiftKey) mods.shift = true;
if(e->ctrlKey) mods.ctrl = true;
}
break;
case EMSCRIPTEN_EVENT_MOUSEMOVE: method = __ecereVMethodID___ecereNameSpace__ecere__gui__Window_OnMouseMove; break;
- //case EMSCRIPTEN_EVENT_MOUSEENTER: method = 0; break;
- //case EMSCRIPTEN_EVENT_MOUSELEAVE: method = 0; break;
+ case EMSCRIPTEN_EVENT_MOUSEENTER: method = 0; break;
+ case EMSCRIPTEN_EVENT_MOUSELEAVE: method = 0; break;
case EMSCRIPTEN_EVENT_MOUSEOVER: method = __ecereVMethodID___ecereNameSpace__ecere__gui__Window_OnMouseMove; break;
- //case EMSCRIPTEN_EVENT_MOUSEOUT: method = 0; break;
+ case EMSCRIPTEN_EVENT_MOUSEOUT: method = 0; break;
default: method = 0;
}
void ::StartMoving(Window window, int x, int y, bool fromKeyBoard)
{
- sflnprintf("class(EmscriptenInterface) ::StartMoving [STUB!]\n");
+ // sflnprintf("class(EmscriptenInterface) ::StartMoving [STUB!]\n");
}
void ::StopMoving(Window window)
{
- sflnprintf("class(EmscriptenInterface) ::StopMoving [STUB!]\n");
+ // sflnprintf("class(EmscriptenInterface) ::StopMoving [STUB!]\n");
}
void ::SetMousePosition(int x, int y)
{
- sflnprintf("class(EmscriptenInterface) ::SetMousePosition [STUB!]\n");
+ // sflnprintf("class(EmscriptenInterface) ::SetMousePosition [STUB!]\n");
}
void ::SetMouseRange(Window window, Box box)
{
- sflnprintf("class(EmscriptenInterface) ::SetMouseRange [STUB!]\n");
+ // sflnprintf("class(EmscriptenInterface) ::SetMouseRange [STUB!]\n");
}
void ::SetMouseCapture(Window window)
{
- sflnprintf("class(EmscriptenInterface) ::SetMouseCapture [STUB!]\n");
+ // sflnprintf("class(EmscriptenInterface) ::SetMouseCapture [STUB!]\n");
}
void ::SetMouseCursor(Window window, SystemCursor cursor)
{
- sflnprintf("class(EmscriptenInterface) ::SetMouseCursor [STUB!]\n");
+ // sflnprintf("class(EmscriptenInterface) ::SetMouseCursor [STUB!]\n");
}
sflnprintf("class(EmscriptenInterface) ::GetScreenArea [STUB!]\n");
}
}
-
#endif