updated Readme example

This commit is contained in:
vurtun 2015-10-10 10:08:37 +02:00
commit 28d7f02964
1 changed files with 2 additions and 0 deletions

View File

@ -423,6 +423,8 @@ WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR lpCmdLine, int shown)
input_motion(&gui.input, &msg);
else if (msg.message == WM_CHAR)
input_text(&gui.input, &msg);
else if (msg.message == WM_MOUSEWHEEL)
zr_input_scroll(&gui.input, GET_WHEEL_DELTA_WPARAM(msg.wParam)/120);
TranslateMessage(&msg);
DispatchMessage(&msg);
}