class glWindow OpenGL window class This class implements everything needed to create and use a OpenGL context under OS/2
OpenGL window class This class implements everything needed to create and use a OpenGL context under OS/2. If you attach it to a frame window (by passing a handle of a frame window in constructor) it will replace system menu (or application menu if there is one) by a specialized one. If you pass a handle of a different-type window, OpenGL context will simply attach to that window (@@ NOT TESTED! but should work). Window resises, moves etc are disabled because OS/2 OpenGL does not support resizeable output as DIVE does (why???). You can set up some additional callbacks to process all input to the window such as mouse and keyboard.
virtual ~glWindow()
bool Bind(HWND winHandle)
bool Unbind(bool Destroy)
void Select()
bool Show(bool Visible)
bool DisableAccelTable()
virtual MRESULT ClientMessage(ULONG Message, MPARAM MsgParm1, MPARAM MsgParm2)
void SetPalette(u_long *palette, int count)
inline void Pause(bool State)
void MouseVisible(bool State)
inline void MouseCursor(ULONG ID)
void Flush(PRECTL rect)
inline void WaitFlush()
inline long ActiveBuff()
inline bool SetTitle(char *Title)
inline void Command(ULONG CommandCode)
bool SetPos(long X, long Y)
inline void SetKeyboardHandler(tKeyboardHandler Handler, void *param)
inline void SetTerminateHandler(tTerminateHandler Handler, void *param)
inline void SetMouseHandler(tMouseHandler Handler, void *param)
inline void SetFocusHandler(tFocusHandler Handler, void *param)
inline bool isPaused()
inline bool isMinimized()
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de