27 _events_callback = object;
43 return _events_callback;
61 _properties_callback = object;
77 return _properties_callback;
91 _render_callback = object;
107 return _render_callback;
113 INLINE CallbackGraphicsWindow::WindowCallbackData::
128 INLINE CallbackGraphicsWindow::EventsCallbackData::
130 WindowCallbackData(window)
138 INLINE CallbackGraphicsWindow::PropertiesCallbackData::
140 WindowCallbackData(window),
141 _properties(properties)
158 INLINE CallbackGraphicsWindow::RenderCallbackData::
159 RenderCallbackData(
CallbackGraphicsWindow *window, RenderCallbackType callback_type, FrameMode frame_mode) :
161 _callback_type(callback_type),
162 _frame_mode(frame_mode),
172 INLINE CallbackGraphicsWindow::RenderCallbackType CallbackGraphicsWindow::RenderCallbackData::
173 get_callback_type()
const {
174 return _callback_type;
182 INLINE GraphicsOutput::FrameMode CallbackGraphicsWindow::RenderCallbackData::
183 get_frame_mode()
const {
195 _render_flag = render_flag;
201 INLINE
bool CallbackGraphicsWindow::RenderCallbackData::
202 get_render_flag()
const {
WindowProperties & get_properties() const
Returns the WindowProperties object that this callback should process.
void set_events_callback(CallbackObject *object)
Sets the CallbackObject that will be notified when this window is polled for window events,...
void set_properties_callback(CallbackObject *object)
Sets the CallbackObject that will be notified when this window receives a property change request fro...
CallbackObject * get_render_callback() const
Returns the CallbackObject set by set_render_callback().
CallbackObject * get_properties_callback() const
Returns the CallbackObject set by set_properties_callback().
void clear_render_callback()
Removes the callback set by an earlier call to set_render_callback().
CallbackObject * get_events_callback() const
Returns the CallbackObject set by set_events_callback().
void clear_events_callback()
Removes the callback set by an earlier call to set_events_callback().
A container for the various kinds of properties we might ask to have on a graphics window before we o...
This special window object doesn't represent a window in its own right, but instead hooks into some t...
This is a generic object that can be assigned to a callback at various points in the rendering proces...
void set_render_callback(CallbackObject *object)
Sets the CallbackObject that will be notified when this window is invoked (in the draw thread) to ren...
set_render_flag
If the callback type is RCT_begin_frame, this call is available to specify the return value from the ...
void clear_properties_callback()
Removes the callback set by an earlier call to set_properties_callback().