00001
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00040 #include "Generals.h"
00041
00042 #ifndef _CTOXICONFIG_CLASS_
00043 #define _CTOXICONFIG_CLASS_
00044
00045 class TOXITEADLL_API CToxiConfig {
00046 public:
00047
00049 CToxiConfig();
00050
00052 ~CToxiConfig();
00053
00055 void setWindowSize(int windowWidth,int windowHeight);
00056
00057 void setWindowLocation(int locationX,int locationY);
00058
00059 void setWindowColorBits(int depthBits);
00060
00061 void setFullscreen(bool fullscreen);
00062
00063 void setAutomaticStart(bool automaticStart);
00064
00065 void setWindowTitle(char *windowTitle);
00066
00067 void setWindowActive(bool active);
00068
00070 int getWindowWidth();
00071
00072 int getWindowHeight();
00073
00074 int getWindowColorBits();
00075
00076 bool getFullscreen();
00077
00078 bool getAutomaticStart();
00079
00080 char* getWindowTitle();
00081
00082 bool getWindowActive();
00083
00085 void setDefaultParams();
00086
00087 private:
00088
00089 int _width,
00090 _height,
00091 _bits;
00092
00093 int _xLocation,
00094 _yLocation;
00095
00096 bool _fullscreen,
00097 _active;
00098
00099 bool _loop_auto_start;
00100
00101 char *_title;
00102 };
00103
00104 #endif