Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXGLVisual Class Reference

Visual describes pixel format of a drawable. More...

#include <FXGLVisual.h>

Inheritance diagram for FX::FXGLVisual:

FX::FXVisual FX::FXId FX::FXObject List of all members.

Public Member Functions

 FXGLVisual (FXApp *a, FXuint flags)
virtual void create ()
virtual void detach ()
virtual void destroy ()
FXint getRedSize () const
FXint getGreenSize () const
FXint getBlueSize () const
FXint getAlphaSize () const
FXint getDepthSize () const
FXint getStencilSize () const
FXint getAccumRedSize () const
FXint getAccumGreenSize () const
FXint getAccumBlueSize () const
FXint getAccumAlphaSize () const
void setRedSize (FXint rs)
void setGreenSize (FXint gs)
void setBlueSize (FXint bs)
void setAlphaSize (FXint as)
void setDepthSize (FXint ds)
void setStencilSize (FXint ss)
void setAccumRedSize (FXint rs)
void setAccumGreenSize (FXint gs)
void setAccumBlueSize (FXint bs)
void setAccumAlphaSize (FXint as)
FXint getActualRedSize () const
FXint getActualGreenSize () const
FXint getActualBlueSize () const
FXint getActualAlphaSize () const
FXint getActualDepthSize () const
FXint getActualStencilSize () const
FXint getActualAccumRedSize () const
FXint getActualAccumGreenSize () const
FXint getActualAccumBlueSize () const
FXint getActualAccumAlphaSize () const
FXbool isDoubleBuffer () const
FXbool isStereo () const
FXbool isAccelerated () const
FXbool isBufferSwapCopy () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXGLVisual ()

Static Public Member Functions

static FXbool supported (FXApp *application, int &major, int &minor)

Friends

class FXWindow
class FXImage
class FXIcon
class FXBitmap
class FXDCWindow
class FXGLCanvas

Detailed Description

Visual describes pixel format of a drawable.


Constructor & Destructor Documentation

FX::FXGLVisual::FXGLVisual FXApp a,
FXuint  flags
 

Construct default visual.

virtual FX::FXGLVisual::~FXGLVisual  )  [virtual]
 

Destructor.


Member Function Documentation

static FXbool FX::FXGLVisual::supported FXApp application,
int &  major,
int &  minor
[static]
 

Test if OpenGL is possible, and what level is supported.

Because of remote display capability, the display server may support a different level of OpenGL than the client; it may even support no OpenGL at all! This function returns the lesser of the client support level and the display server support level.

virtual void FX::FXGLVisual::create  )  [virtual]
 

Create visual.

Reimplemented from FX::FXVisual.

virtual void FX::FXGLVisual::detach  )  [virtual]
 

Detach visual.

Reimplemented from FX::FXVisual.

virtual void FX::FXGLVisual::destroy  )  [virtual]
 

Destroy visual.

Reimplemented from FX::FXVisual.

FXint FX::FXGLVisual::getRedSize  )  const [inline]
 

Get sizes for bit-planes.

FXint FX::FXGLVisual::getGreenSize  )  const [inline]
 

FXint FX::FXGLVisual::getBlueSize  )  const [inline]
 

FXint FX::FXGLVisual::getAlphaSize  )  const [inline]
 

FXint FX::FXGLVisual::getDepthSize  )  const [inline]
 

FXint FX::FXGLVisual::getStencilSize  )  const [inline]
 

FXint FX::FXGLVisual::getAccumRedSize  )  const [inline]
 

FXint FX::FXGLVisual::getAccumGreenSize  )  const [inline]
 

FXint FX::FXGLVisual::getAccumBlueSize  )  const [inline]
 

FXint FX::FXGLVisual::getAccumAlphaSize  )  const [inline]
 

void FX::FXGLVisual::setRedSize FXint  rs  )  [inline]
 

Set sizes for bit-planes.

void FX::FXGLVisual::setGreenSize FXint  gs  )  [inline]
 

void FX::FXGLVisual::setBlueSize FXint  bs  )  [inline]
 

void FX::FXGLVisual::setAlphaSize FXint  as  )  [inline]
 

void FX::FXGLVisual::setDepthSize FXint  ds  )  [inline]
 

void FX::FXGLVisual::setStencilSize FXint  ss  )  [inline]
 

void FX::FXGLVisual::setAccumRedSize FXint  rs  )  [inline]
 

void FX::FXGLVisual::setAccumGreenSize FXint  gs  )  [inline]
 

void FX::FXGLVisual::setAccumBlueSize FXint  bs  )  [inline]
 

void FX::FXGLVisual::setAccumAlphaSize FXint  as  )  [inline]
 

FXint FX::FXGLVisual::getActualRedSize  )  const
 

Get ACTUAL sizes for bit-planes.

FXint FX::FXGLVisual::getActualGreenSize  )  const
 

FXint FX::FXGLVisual::getActualBlueSize  )  const
 

FXint FX::FXGLVisual::getActualAlphaSize  )  const
 

FXint FX::FXGLVisual::getActualDepthSize  )  const
 

FXint FX::FXGLVisual::getActualStencilSize  )  const
 

FXint FX::FXGLVisual::getActualAccumRedSize  )  const
 

FXint FX::FXGLVisual::getActualAccumGreenSize  )  const
 

FXint FX::FXGLVisual::getActualAccumBlueSize  )  const
 

FXint FX::FXGLVisual::getActualAccumAlphaSize  )  const
 

FXbool FX::FXGLVisual::isDoubleBuffer  )  const
 

Is it double buffered?

FXbool FX::FXGLVisual::isStereo  )  const
 

Is it stereo?

FXbool FX::FXGLVisual::isAccelerated  )  const
 

Is it hardware-accelerated?

FXbool FX::FXGLVisual::isBufferSwapCopy  )  const
 

Does it swap by copying instead of flipping buffers.

virtual void FX::FXGLVisual::save FXStream store  )  const [virtual]
 

Save visual info to a stream.

Reimplemented from FX::FXVisual.

virtual void FX::FXGLVisual::load FXStream store  )  [virtual]
 

Load visual info to a stream.

Reimplemented from FX::FXVisual.


Friends And Related Function Documentation

friend class FXWindow [friend]
 

Reimplemented from FX::FXVisual.

friend class FXImage [friend]
 

Reimplemented from FX::FXVisual.

friend class FXIcon [friend]
 

Reimplemented from FX::FXVisual.

friend class FXBitmap [friend]
 

Reimplemented from FX::FXVisual.

friend class FXDCWindow [friend]
 

Reimplemented from FX::FXVisual.

friend class FXGLCanvas [friend]
 

Reimplemented from FX::FXVisual.

Copyright © 1997-2005 Jeroen van der Zijp