added example/mouse_event.cpp