    /***************************************************************************
                              displaysettings.h  -  description
                                 -------------------
        begin                : Thu Dec 7 2000
        copyright            : (C) 2000 by Jan Walter
        email                : jan@blender.nl
     ***************************************************************************/

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

    #ifndef DISPLAYSETTINGS_H
    #define DISPLAYSETTINGS_H

    #include <blender.h>

    struct PyObject;

    /**The display settings are reflected in Blender's display buttons (F10).
      *@author Jan Walter
      */

    class DisplaySettings : public Blender {
    public:
    	DisplaySettings();
    	~DisplaySettings();
      /** This plays back an animation like if you press ALT+SHIFT+AKEY in Blender. The arguments start and end are optional arguments. If specified the animation play back starts and ends at the specified frames. The default is to play back the entire animation. */
      PyObject* playAnim(int start = -1, int end = -1);
      /** This renders a picture like if you press the RENDER button in Blender's display buttons (F10) or press F12 directly. */
      PyObject* render();
      /** In Blender you can set the draw type for objects individually (ZKEY, SHIFT+ZKEY, or ALT+ZKEY) or for the whole 3D window (DKEY). This function allows you to do the same within Python (mode 1 = bounding box, 2 = wireframe, 3 = solid, 4 = shaded solid, 5 = textured). */
      PyObject* setDrawType(int mode);
      /** This is the same like if you go in Blender to the radiosity buttons and press 'Collect Meshes' and 'GO'. */
      PyObject* startRadiosity();
    private: // Private attributes
      /** Start frame for animations */
      PyObject* startFrame;
      /** End frame for animations */
      PyObject* endFrame;
      /** Current frame for animations */
      PyObject* currentFrame;
      /** The image width in pixels */
      PyObject* xResolution;
      /** The image height in scanlines */
      PyObject* yResolution;
      /** Is the same as Blender's AspY / AspX (see display buttons [F10]) */
      PyObject* pixelAspectRatio;
    };

    #endif