OpenGLViewDemo Class Reference

#include <OpenGLViewDemo.h>

Inheritance diagram for OpenGLViewDemo:

Inheritance graph
[legend]
Collaboration diagram for OpenGLViewDemo:

Collaboration graph
[legend]
List of all members.

Protected Member Functions

 OpenGLViewDemo (HIViewRef inControl)
virtual ~OpenGLViewDemo ()
virtual ControlKind GetKind ()
virtual bool UseNonblockingTracking ()
 To enable the non-blocking tracking a subclass must override this method to return true.
virtual OSStatus Initialize (TCarbonEvent &inEvent)
virtual void DrawStaticBackground (RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing)
 Draw the static part (background) of the control.
virtual void CompatibleDraw (RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing)
 The fun part of the control.
virtual void TitleChanged ()
virtual void ValueChanged ()
virtual void BoundsChanged (UInt32 inOptions, const HIRect &inOriginalBounds, const HIRect &inCurrentBounds)
virtual void OwningWindowChanged (WindowRef oldWindow, WindowRef newWindow)
void BoundsOrWindowChanged ()
AGLContext GetOpenGLContext ()

Protected Attributes

AGLContext mContext

Constructor & Destructor Documentation

OpenGLViewDemo::OpenGLViewDemo HIViewRef  inControl  )  [protected]
 

OpenGLViewDemo::~OpenGLViewDemo  )  [protected, virtual]
 


Member Function Documentation

void OpenGLViewDemo::BoundsChanged UInt32  inOptions,
const HIRect &  inOriginalBounds,
const HIRect &  inCurrentBounds
[protected, virtual]
 

void OpenGLViewDemo::BoundsOrWindowChanged  )  [protected]
 

void OpenGLViewDemo::CompatibleDraw RgnHandle  inLimitRgn,
CGContextRef  inContext,
bool  inCompositing
[protected, virtual]
 

The fun part of the control.

Implements TViewNoCompositingCompatible.

void OpenGLViewDemo::DrawStaticBackground RgnHandle  inLimitRgn,
CGContextRef  inContext,
bool  inCompositing
[protected, virtual]
 

Draw the static part (background) of the control.

Reimplemented from TViewNoCompositingCompatible.

ControlKind OpenGLViewDemo::GetKind  )  [protected, virtual]
 

AGLContext OpenGLViewDemo::GetOpenGLContext  )  [protected]
 

OSStatus OpenGLViewDemo::Initialize TCarbonEvent &  inEvent  )  [protected, virtual]
 

void OpenGLViewDemo::OwningWindowChanged WindowRef  oldWindow,
WindowRef  newWindow
[protected, virtual]
 

void OpenGLViewDemo::TitleChanged  )  [protected, virtual]
 

virtual bool OpenGLViewDemo::UseNonblockingTracking  )  [inline, protected, virtual]
 

To enable the non-blocking tracking a subclass must override this method to return true.

Reimplemented from TViewNoCompositingCompatible.

void OpenGLViewDemo::ValueChanged  )  [protected, virtual]
 


Member Data Documentation

AGLContext OpenGLViewDemo::mContext [protected]
 


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




Generated on Sat Jul 8 13:08:37 2006 for AUGUI Framework by doxygen1.4.6

hosted on SourceForge.net Logo