added partial mouse events on osx

This commit is contained in:
Omar Mohamed Ali Mudhir
2017-01-25 19:06:49 +00:00
parent 2f042c3e95
commit 9a4abe8bde
4 changed files with 73 additions and 31 deletions

View File

@@ -486,3 +486,16 @@ void App::resize(float w, float h)
YGNodeStyleSetHeight(y_root, height);
update_layout();
}
void App::mouse_down(int button, float x, float y)
{
printf("mouse click %f %f\n", x, y);
}
void App::mouse_move(float x, float y)
{
}
void App::mouse_up(int button, float x, float y)
{
}