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