ClanLib  2.3.7
List of all members
CL_RenderWindowProvider Class Referenceabstract

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...
 

Detailed Description

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!

Constructor & Destructor Documentation

virtual CL_RenderWindowProvider::~CL_RenderWindowProvider ( )
inlinevirtual

Member Function Documentation

virtual void CL_RenderWindowProvider::flip_buffers ( int  interval = -1) const
pure virtual

Flip the render window's frame buffers.

virtual int CL_RenderWindowProvider::get_viewport_height ( ) const
pure virtual

Get viewport height of rendering window.

virtual int CL_RenderWindowProvider::get_viewport_width ( ) const
pure virtual

Get viewport width of rendering window.

virtual void CL_RenderWindowProvider::make_current ( ) const
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.


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