29 #include "../../idlib/precompiled.h"
50 mWnd = CreateStatusWindow ( WS_CHILD|WS_VISIBLE|WS_BORDER,
"", parent,
id );
71 SendMessage (
mWnd, WM_SIZE, 0, MAKELONG(width,height) );
90 GetWindowRect (
mWnd, &rStatus );
96 SendMessage (
mWnd, SB_SETPARTS, 1, (
LONG)parts );
97 SendMessage (
mWnd, SB_SETTEXT, 1, (
LPARAM)
"" );
104 parts[0] = (rStatus.right - rStatus.left) - zoomSize.cx - trisSize.cx - 40;
105 parts[1] = parts[0] + trisSize.cx;
106 parts[2] = parts[1] + zoomSize.cx;
107 parts[3] = parts[2] + 40;
110 SendMessage (
mWnd, SB_SETPARTS, 5, (
LONG)parts );
111 SendMessage (
mWnd, SB_SETTEXT, 0, (
LPARAM)
"" );
127 ShowWindow (
mWnd, visible?SW_SHOW:SW_HIDE );
void Resize(int width, int height)
CONST PIXELFORMATDESCRIPTOR UINT
bool Create(HWND parent, UINT id, bool visible=true)
rvGEOptions & GetOptions(void)
void SetStatusBarVisible(bool vis)
GLenum GLsizei GLsizei height
char * va(const char *fmt,...)