void CEvent3dMouseListener::addToServer (CEventServer& server) { server.addListener (EventMouseMoveId, this); server.addListener (EventMouseDownId, this); server.addListener (EventMouseUpId, this); server.addListener (EventMouseWheelId, this); _AsyncListener.addToServer (server); }
//--------------------------------------------------- // addToServer : // Add the listener to the server. //--------------------------------------------------- void CEventsListener::addToServer(CEventServer& server) { server.addListener(EventGDMouseMove, this); server.addListener(EventMouseMoveId, this); server.addListener(EventMouseDownId, this); server.addListener(EventMouseUpId, this); server.addListener(EventMouseWheelId, this); server.addListener(EventKeyDownId, this); server.addListener(EventKeyUpId, this); server.addListener(EventDestroyWindowId,this); server.addListener(EventSetFocusId, this); server.addListener(EventDisplayChangeId, this); }// addToServer //