Ultralight  1.0.0
A fast, lightweight, HTML UI engine for native apps.
ultralight::WindowListener Class Referenceabstract

Interface for all Window-related events. More...

#include <Window.h>

Public Member Functions

virtual void OnClose ()=0
 Called when the Window is closed.
 
virtual void OnResize (int width, int height)=0
 Called when the Window is resized. More...
 

Detailed Description

Interface for all Window-related events.

See also
Window::set_listener

Definition at line 27 of file Window.h.

Member Function Documentation

◆ OnResize()

virtual void ultralight::WindowListener::OnResize ( int  width,
int  height 
)
pure virtual

Called when the Window is resized.

Parameters
widthThe new width (in device coordinates).
heightThe new height (in device coordinates).

The documentation for this class was generated from the following file: