Panda3D
 All Classes Functions Variables Enumerations
graphicsWindowProc.h
1 // Filename: graphicswindowProc.h
2 // Created by: Bei Yang (Mar 2010)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef GRAPHICSWINDOWPROC_H
16 #define GRAPHICSWINDOWPROC_H
17 
18 #include "pandabase.h"
19 
20 #ifdef WIN32
21 #ifndef WIN32_LEAN_AND_MEAN
22 #define WIN32_LEAN_AND_MEAN 1
23 #endif
24 #include <windows.h>
25 #endif
26 
27 class GraphicsWindow;
28 
29 ////////////////////////////////////////////////////////////////////
30 // Class : GraphicsWindowProc
31 // Description : Defines an interface for storing platform-specific
32 // window processor methods.
33 ////////////////////////////////////////////////////////////////////
34 class EXPCL_PANDA_DISPLAY GraphicsWindowProc {
35 public:
37 #if defined(__WIN32__) || defined(_WIN32)
38  virtual LONG wnd_proc(GraphicsWindow* graphicsWindow, HWND hwnd,
39  UINT msg, WPARAM wparam, LPARAM lparam);
40 #endif
41  //purely virtual class
42 };
43 
44 #endif // GRAPHICSWINDOWPROC_H
A window, fullscreen or on a desktop, into which a graphics device sends its output for interactive d...
Defines an interface for storing platform-specific window processor methods.