CL_Event_WindowResize3
Event callback interface for window resizes.
Overview
This interface is used to intercept resize events from ClanLib windows. To use this interface, inherit it and implement on_window_resize(). Then add it to a CL_EventChain_WindowResize chain. The topmost chain is located in CL_Display.
Inherited from public virtual CL_Event
Class members
- virtual
~CL_Event_WindowResize()
- virtual bool
on_window_resize( -
CL_DisplayCard *card, int new_width, int new_height)
Members with descriptions
- virtual
~CL_Event_WindowResize() -
Description:
- virtual bool
on_window_resize( -
CL_DisplayCard *card, int new_width, int new_height)
Parameters: card - Card/Window that the event originates from. new_width - The new width of the window. new_height - The new height of the window.
Description:
Called when a window resize event occours.
Return value:
If true is returned, the event chain that called this function will break the chain (stop sending it the remaining listeners on the chain).