14 #ifndef SUBPROCESSWINDOW_H
15 #define SUBPROCESSWINDOW_H
23 #define SUPPORT_SUBPROCESS_WINDOW 1
25 #undef SUPPORT_SUBPROCESS_WINDOW
28 #ifdef SUPPORT_SUBPROCESS_WINDOW
48 const std::string &name,
54 virtual ~SubprocessWindow();
65 virtual void close_window();
66 virtual bool open_window();
69 void internal_close_window();
70 bool internal_open_window();
72 ButtonHandle translate_key(
int &keycode,
int os_code,
unsigned int flags)
const;
73 void transition_button(
unsigned int flag,
ButtonHandle button);
85 unsigned int _last_event_flags;
91 static void init_type() {
92 GraphicsWindow::init_type();
94 GraphicsWindow::get_class_type());
97 return get_class_type();
99 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
The name of a file, such as a texture file or an Egg file.
A container for the various kinds of properties we might ask to have on a graphics frameBuffer before...
An offscreen buffer for rendering into.
This class is the main interface to controlling the render process.
This is a base class for the various different classes that represent the result of a frame of render...
virtual void begin_flip()
This function will be called within the draw thread after end_frame() has been called on all windows,...
virtual void end_frame(FrameMode mode, Thread *current_thread)
This function will be called within the draw thread after rendering is completed for a given frame.
virtual bool begin_frame(FrameMode mode, Thread *current_thread)
This function will be called within the draw thread before beginning rendering for a given frame.
An object to create GraphicsOutputs that share a particular 3-D API.
Encapsulates all the communication with a particular instance of a given rendering backend.
A window, fullscreen or on a desktop, into which a graphics device sends its output for interactive d...
virtual void process_events()
Do whatever processing is necessary to ensure that the window responds to user events.
virtual void set_properties_now(WindowProperties &properties)
Applies the requested set of properties to the window, if possible, for instance to request a change ...
This is a special class that is designed to faciliate SubprocessWindow.
Represents a texture object, which is typically a single 2-d image but may also represent a 1-d or 3-...
A thread; that is, a lightweight process.
TypeHandle is the identifier used to differentiate C++ class types.
A container for the various kinds of properties we might ask to have on a graphics window before we o...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.