![]() | |
![]() | ![]() |
CL_EventChain_WindowResizeEvent sending interface for window resizes. Parents: public CL_EventChain<CL_Event_WindowResize*>, public CL_Event_WindowResize Description
Event chains are used to route an event to an event listener. The toplevel event chain for window resizes, located in CL_Display, is called by ClanLib, but you can also send false events by calling on_window_resize() yourself. Note that CL_EventChain_WindowResize is inheriated from CL_EventWindowResize, so you can add a chain to the toplevel chain. This is useful, if you want to do more advanced routing of events. Class membersvirtual bool on_window_resize( CL_DisplayCard *card, int new_width, int new_height) See AlsoNone |