/***************************************************************************
                            QGLFormat.h -  description
                             -------------------
    begin                : Wed Nov 21 12:08:37 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 12:08:37 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QGLFORMAT_H
#define QGLFORMAT_H

#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <qtobjc/QGL.h>

@interface QGLFormat : QGL 
- init;
- initWithInt: (int)options plane: (int)plane;
- initWithInt: (int)options ;
- (BOOL) doubleBuffer;
- setDoubleBuffer: (BOOL)enable;
- (BOOL) depth;
- setDepth: (BOOL)enable;
- (BOOL) rgba;
- setRgba: (BOOL)enable;
- (BOOL) alpha;
- setAlpha: (BOOL)enable;
- (BOOL) accum;
- setAccum: (BOOL)enable;
- (BOOL) stencil;
- setStencil: (BOOL)enable;
- (BOOL) stereo;
- setStereo: (BOOL)enable;
- (BOOL) directRendering;
- setDirectRendering: (BOOL)enable;
- (BOOL) hasOverlay;
- setOverlay: (BOOL)enable;
- (int) plane;
- setPlane: (int)plane;
- setOption: (int)opt;
- (BOOL) testOption: (int)opt;
+ (QGLFormat*) defaultFormat;
+ setDefaultFormat: (QGLFormat*)f;
+ (QGLFormat*) defaultOverlayFormat;
+ setDefaultOverlayFormat: (QGLFormat*)f;
+ (BOOL) hasOpenGL;
+ (BOOL) hasOpenGLOverlays;
@end

#endif
