doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ZWnd.h
Go to the documentation of this file.
1 /*
2 ===========================================================================
3 
4 Doom 3 GPL Source Code
5 Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
6 
7 This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
8 
9 Doom 3 Source Code is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 Doom 3 Source Code is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
21 
22 In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
23 
24 If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
25 
26 ===========================================================================
27 */
28 #if !defined(AFX_ZWND_H__44B4BA02_781B_11D1_B53C_00AA00A410FC__INCLUDED_)
29 #define AFX_ZWND_H__44B4BA02_781B_11D1_B53C_00AA00A410FC__INCLUDED_
30 
31 #if _MSC_VER >= 1000
32 #pragma once
33 #endif // _MSC_VER >= 1000
34 // ZWnd.h : header file
35 //
36 
37 #include "zclip.h"
38 
40 // CZWnd window
41 
42 class CZWnd : public CWnd
43 {
45 // Construction
46 public:
47  CZWnd();
48 
49 // Attributes
50 public:
51 
52 // Operations
53 public:
54 
55 // Overrides
56  // ClassWizard generated virtual function overrides
57  //{{AFX_VIRTUAL(CZWnd)
58  protected:
59  virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
60  //}}AFX_VIRTUAL
61 
62 // Implementation
63 public:
64  virtual ~CZWnd();
65 
67 
68  // Generated message map functions
69 protected:
72  //{{AFX_MSG(CZWnd)
73  afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
74  afx_msg void OnDestroy();
75  afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
76  afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
77  afx_msg void OnMButtonDown(UINT nFlags, CPoint point);
78  afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
79  afx_msg void OnPaint();
80  afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
81  afx_msg void OnMouseMove(UINT nFlags, CPoint point);
82  afx_msg void OnSize(UINT nType, int cx, int cy);
83  afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR* lpncsp);
84  afx_msg void OnKillFocus(CWnd* pNewWnd);
85  afx_msg void OnSetFocus(CWnd* pOldWnd);
86  afx_msg void OnClose();
87  afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
88  afx_msg void OnMButtonUp(UINT nFlags, CPoint point);
89  afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
90  afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
91  //}}AFX_MSG
92  DECLARE_MESSAGE_MAP()
93 };
94 
96 
97 //{{AFX_INSERT_LOCATION}}
98 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
99 
100 #endif // !defined(AFX_ZWND_H__44B4BA02_781B_11D1_B53C_00AA00A410FC__INCLUDED_)
afx_msg void OnDestroy()
Definition: ZWnd.cpp:97
afx_msg void OnLButtonDown(UINT nFlags, CPoint point)
Definition: ZWnd.cpp:113
Definition: ZWnd.h:42
DECLARE_DYNCREATE(CZWnd)
CONST PIXELFORMATDESCRIPTOR UINT
Definition: win_qgl.cpp:47
HGLRC m_hglrcZ
Definition: ZWnd.h:71
afx_msg void OnSetFocus(CWnd *pOldWnd)
Definition: ZWnd.cpp:203
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct)
Definition: ZWnd.cpp:84
afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR *lpncsp)
Definition: ZWnd.cpp:192
HDC m_dcZ
Definition: ZWnd.h:70
virtual ~CZWnd()
Definition: ZWnd.cpp:52
#define BOOL
Definition: mprintf.c:71
CZWnd()
Definition: ZWnd.cpp:47
afx_msg void OnClose()
Definition: ZWnd.cpp:209
afx_msg void OnMButtonDown(UINT nFlags, CPoint point)
Definition: ZWnd.cpp:122
#define FAR
Definition: jmorecfg.h:205
typedef HDC(WINAPI *PFNWGLGETCURRENTREADDCARBPROC)(void)
afx_msg void OnRButtonUp(UINT nFlags, CPoint point)
Definition: ZWnd.cpp:232
afx_msg void OnMouseMove(UINT nFlags, CPoint point)
Definition: ZWnd.cpp:166
virtual BOOL PreCreateWindow(CREATESTRUCT &cs)
Definition: ZWnd.cpp:242
afx_msg void OnMButtonUp(UINT nFlags, CPoint point)
Definition: ZWnd.cpp:223
Definition: ZClip.h:39
HGLRC
Definition: win_qgl.cpp:52
afx_msg void OnSize(UINT nType, int cx, int cy)
Definition: ZWnd.cpp:178
afx_msg void OnLButtonUp(UINT nFlags, CPoint point)
Definition: ZWnd.cpp:214
afx_msg void OnRButtonDown(UINT nFlags, CPoint point)
Definition: ZWnd.cpp:131
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
Definition: ZWnd.cpp:108
afx_msg void OnPaint()
Definition: ZWnd.cpp:140
afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags)
Definition: ZWnd.cpp:267
afx_msg void OnKillFocus(CWnd *pNewWnd)
Definition: ZWnd.cpp:197
CZClip * m_pZClip
Definition: ZWnd.h:66
afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR *lpMMI)
Definition: ZWnd.cpp:161