ClanLib
2.3.7
|
Provides generic render window services for clanDisplay. More...
#include <render_window_provider.h>
Public Member Functions | |
Construction | |
virtual | ~CL_RenderWindowProvider () |
Attributes | |
virtual int | get_viewport_width () const =0 |
Get viewport width of rendering window. More... | |
virtual int | get_viewport_height () const =0 |
Get viewport height of rendering window. More... | |
Operations | |
virtual void | flip_buffers (int interval=-1) const =0 |
Flip the render window's frame buffers. More... | |
virtual void | make_current () const =0 |
Sets this to the active render context. More... | |
Provides generic render window services for clanDisplay.
This type encapsulates a platform-specific rendering window. It is designed to encapsulate and hide platform dependencies from code that interacts with a rendering context or drawable. It is particularly useful for integrating third-party windowing libraries such as Fltk or wxWidgets with Clanlib drawing services.
!group=Display/Display Target Interface! !header=display.h!
|
inlinevirtual |
|
pure virtual |
Flip the render window's frame buffers.
|
pure virtual |
Get viewport height of rendering window.
|
pure virtual |
Get viewport width of rendering window.
|
pure virtual |
Sets this to the active render context.
More precisely, makes current the render context associated with the render window represented by this object to be the active context. Different render windows might actually share contexts.