halflife-thewastes-sdk/utils/WastedFX/inc/GLWindow.h
2023-09-06 03:25:39 +03:00

38 lines
No EOL
619 B
C++

/***
*
* WastedFX Tool chain
*
* Author: Joshua Coyne
* Copyright (C) 2003 The Wastes Project, All Rights Reserved.
*
***/
#if !defined( __GLWINDOW_H_ )
#define __GLWINDOW_H_
class CCamera;
class CTimer;
class CGLWindow : public CWindow
{
public:
CGLWindow( char *pszClassname, HINSTANCE hInstance );
~CGLWindow();
virtual void Update();
void OnLButtonDown();
void OnLButtonUp();
void OnRButtonDown();
void OnRButtonUp();
void InitGL( int iWidth, int iHeight );
BOOL SetPixelFormat();
void SetSize( int iWidth, int iHeight );
CCamera *m_pCamera;
CTimer *m_pTimer;
HDC m_hDC;
HGLRC m_hRC;
};
#endif