Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/lib/gui/gui/orxonox_gui_video.h @ 3624

Last change on this file since 3624 was 3624, checked in by bensch, 19 years ago

orxonox/trunk: gui: now the resolution is integrated from SDL. I hope this works on Windows too.
also fixed some virtual-function-stuff
also added better ability for menu→addItem, so now it should also work in non-GTK mode (after addaption).

File size: 1.8 KB
Line 
1/*!
2  \file orxonox_gui_video.h
3  \brief File that holds the class that creates the Video-Options.
4*/
5#ifndef _ORXONOX_GUI_VIDEO_H
6#define _ORXONOX_GUI_VIDEO_H
7
8#include "orxonox_gui.h"
9
10//! Class that creates the Video-Options.
11class OrxonoxGuiVideo
12{
13 private:
14  Frame* videoFrame;        //!< The Frame that holds the video options.
15  Box* videoBox;            //!< The Box that holds the video options.
16  CheckButton* fullscreen;  //!< CheckButton for fullscreen-mode
17  Menu* resolution;         //!< Menu for the resolution
18  CheckButton* wireframe;   //!< CheckButton for wireframe Mode.
19
20  // advanced-Performance-Options
21  Window* advancedWindow;   //!< A Window to display advanced options.
22  Button* advancedButton;   //!< A Button to open the Advanced Video Performance Window.
23  Box* advancedBox;         //!< A Box to pack the options into.
24  CheckButton* shadows;     //!< CheckButton for shadows
25  CheckButton* fog;         //!< CheckButton for fog.
26  CheckButton* reflections; //!< CheckButton for reflections
27  CheckButton* textures;    //!< CheckButton for textures
28  Menu* textureDetail;      //!< Menu for the Texture-Detail.
29 
30  Label* modelDetailLabel;  //!< Label for model-detail.
31  Menu* modelDetail;        //!< model-detail.
32 
33  Label* antiAliasingLabel; //!< Label for the anti-aliasing mode.
34  Menu* antiAliasing;       //!< Menu for the Antialiasing-mode.
35
36  Label* filterMethodLabel; //!< Label for filtering-Method.
37  Menu* filterMethod;       //!< Menu for filtering Method.
38
39  Button* closeButton;      //!< A Button to close the Advanced-settingsWindow.
40
41  Button* advancedWindowGetButton(void);
42  void advancedWindowCreate(void);
43 
44 public:
45  OrxonoxGuiVideo(void);
46  ~OrxonoxGuiVideo(void);
47
48  Widget* getWidget(void);
49
50  void getResolutions(Menu* menu);
51 
52
53};
54#endif /* _ORXONOX_GUI_VIDEO_H */
Note: See TracBrowser for help on using the repository browser.