class diveWindow DIVE window class This class implements everything needed to use a DIVE context
DIVE window class This class implements everything needed to use a DIVE context. 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, DIVE context will simply attach to that window (@@ NOT TESTED! but should work). All window resises, moves etc are tracked so that DIVE buffer always covers entire frame window client area (or entire window area). You can set up some additional callbacks to process all input to the window such as mouse and keyboard.
virtual ~diveWindow()
bool Bind(HWND winHandle)
bool Unbind(bool Destroy)
bool SetCLUT(ULONG * NewCLUT, int Count)
bool SetPhysCLUT()
bool ResetPhysCLUT()
bool Show(bool Visible)
bool DisableAccelTable()
virtual MRESULT ClientMessage(ULONG Message, MPARAM MsgParm1, MPARAM MsgParm2)
u_char* BeginPaint(ULONG * BytesPerLine, long BufferNo)
void EndPaint()
inline void MaintainAspectRatio(bool State)
inline void Pause(bool State)
void MouseVisible(bool State)
inline void MouseCursor(ULONG ID)
inline void Switch(long BufferNo, PRECTL rect = NULL)
inline void WaitSwitch()
inline long ActiveBuff()
inline bool SetTitle(char *Title)
inline void Command(ULONG CommandCode)
bool AdjustAspectRatio(long *Width, long *Height)
bool Resize(long Width, long Height, bool Center)
bool ResizeBuffer(long Width, long Height, FOURCC Format)
bool FullScreen(bool State)
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 isAspectRatioConst()
inline bool isMinimized()
inline long BufferWidth()
inline long BufferHeight()
inline long WindowWidth()
inline long WindowHeight()
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de