15 #include "pythonGraphicsWindowProc.h"
16 #include "graphicsWindowProcCallbackData.h"
20 TypeHandle PythonGraphicsWindowProc::_type_handle;
28 PythonGraphicsWindowProc::
29 PythonGraphicsWindowProc(PyObject*
function, PyObject* name) :
30 PythonCallbackObject(function)
41 PythonGraphicsWindowProc::
42 ~PythonGraphicsWindowProc(){
54 LONG PythonGraphicsWindowProc::
55 wnd_proc(
GraphicsWindow* graphicsWindow, HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam){
57 cdata.set_hwnd((
int)hwnd);
59 cdata.set_wparam(wparam);
60 cdata.set_lparam(lparam);
73 PyObject* PythonGraphicsWindowProc::
This specialization on CallbackData is passed when the callback is initiated from from an implementat...
A window, fullscreen or on a desktop, into which a graphics device sends its output for interactive d...
TypeHandle is the identifier used to differentiate C++ class types.