19 TypeHandle NativeWindowHandle::IntHandle::_type_handle;
20 TypeHandle NativeWindowHandle::SubprocessHandle::_type_handle;
22 #if defined(HAVE_X11) && !defined(CPPPARSER) 23 TypeHandle NativeWindowHandle::X11Handle::_type_handle;
25 #if defined(WIN32) && !defined(CPPPARSER) 26 TypeHandle NativeWindowHandle::WinHandle::_type_handle;
36 make_int(
size_t window) {
49 make_subprocess(
const Filename &filename) {
53 #if defined(HAVE_X11) && !defined(CPPPARSER) 58 make_x11(X11_Window window) {
63 #if defined(WIN32) && !defined(CPPPARSER) 68 make_win(HWND window) {
85 void NativeWindowHandle::IntHandle::
86 output(ostream &out)
const {
87 out <<
"(" << _handle <<
")";
93 void NativeWindowHandle::SubprocessHandle::
94 output(ostream &out)
const {
95 out <<
"(" << _filename <<
")";
98 #if defined(HAVE_X11) && !defined(CPPPARSER) 103 size_t NativeWindowHandle::X11Handle::
104 get_int_handle()
const {
105 return (
size_t)_handle;
109 #if defined(HAVE_X11) && !defined(CPPPARSER) 113 void NativeWindowHandle::X11Handle::
114 output(ostream &out)
const {
119 #if defined(WIN32) && !defined(CPPPARSER) 124 size_t NativeWindowHandle::WinHandle::
125 get_int_handle()
const {
126 return (
size_t)_handle;
130 #if defined(WIN32) && !defined(CPPPARSER) 134 void NativeWindowHandle::WinHandle::
135 output(ostream &out)
const {
This object represents a window on the desktop, not necessarily a Panda window.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual size_t get_int_handle() const
Returns the OS-specific handle converted to an integer, if this is possible for the particular repres...
The name of a file, such as a texture file or an Egg file.
TypeHandle is the identifier used to differentiate C++ class types.
PT(WindowHandle) NativeWindowHandle
Constructs a new WindowHandle with an int value, which is understood to be either an HWND or a Window...