Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

Window.h

Go to the documentation of this file.
00001 
00007 #ifndef _WINDOW_H_
00008 #define _WINDOW_H_
00009 
00015 class Window {
00016 
00017 public:
00018 
00023      Window();
00024 
00029     ~Window();
00030 
00031 public:
00032 
00039     void registerClass( HINSTANCE hInst, const char* ATitle );
00040 
00050     BOOL initInstance( HINSTANCE hInst, int nCmdShow, const char* ATitle, const char* WTitle );
00051 
00057     const HWND & getHwnd() const;
00058 
00064     const HINSTANCE & get_hInstance() const;
00065 
00066     //These functions can't work right now because we don't keep track of the
00067     //Window as it moves.
00068     //int getTop() const;
00069     //int getLeft() const;
00070 
00071 
00077     void setWindowed( BOOL newWindowed );
00078 
00084     BOOL getWindowed() const;
00085 
00092     bool toggleWindowed();
00093 
00094 private:
00095 
00100     RECT oldPosition;
00101 
00106     BOOL windowed;
00107 
00112     HWND hWnd;
00113 
00118     HINSTANCE hInstance;
00119 
00120 };
00121 
00122 #endif

Generated on Tue Mar 4 02:29:25 2003 for SuperIsoBomb by doxygen1.2.18