15 #ifndef TINYSDLGRAPHICSWINDOW_H
16 #define TINYSDLGRAPHICSWINDOW_H
18 #include "pandabase.h"
22 #include "tinySDLGraphicsPipe.h"
23 #include "graphicsWindow.h"
24 #include "buttonHandle.h"
32 class EXPCL_TINYDISPLAY TinySDLGraphicsWindow :
public GraphicsWindow {
41 virtual ~TinySDLGraphicsWindow();
53 virtual void close_window();
54 virtual bool open_window();
57 void create_frame_buffer();
71 static void init_type() {
72 GraphicsWindow::init_type();
73 register_type(_type_handle,
"TinySDLGraphicsWindow",
74 GraphicsWindow::get_class_type());
77 return get_class_type();
79 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
85 #include "tinySDLGraphicsWindow.I"
virtual void process_events()
Do whatever processing is necessary to ensure that the window responds to user events.
virtual void end_flip()
This function will be called within the draw thread after begin_flip() has been called on all windows...
virtual void set_properties_now(WindowProperties &properties)
Applies the requested set of properties to the window, if possible, for instance to request a change ...
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...
A window, fullscreen or on a desktop, into which a graphics device sends its output for interactive d...
A container for the various kinds of properties we might ask to have on a graphics window before we o...
virtual bool supports_pixel_zoom() const
Returns true if a call to set_pixel_zoom() will be respected, false if it will be ignored...
An object to create GraphicsOutputs that share a particular 3-D API.
This is a base class for the various different classes that represent the result of a frame of render...
A thread; that is, a lightweight process.
Encapsulates all the communication with a particular instance of a given rendering backend...
This class is the main interface to controlling the render 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 frameBuffer before...
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...