27 _events_callback = object;
43 return _events_callback;
61 _properties_callback = object;
77 return _properties_callback;
91 _render_callback = object;
107 return _render_callback;
113INLINE CallbackGraphicsWindow::WindowCallbackData::
128INLINE CallbackGraphicsWindow::EventsCallbackData::
130 WindowCallbackData(window)
138INLINE CallbackGraphicsWindow::PropertiesCallbackData::
140 WindowCallbackData(window),
141 _properties(properties)
158INLINE CallbackGraphicsWindow::RenderCallbackData::
159RenderCallbackData(
CallbackGraphicsWindow *window, RenderCallbackType callback_type, FrameMode frame_mode) :
161 _callback_type(callback_type),
162 _frame_mode(frame_mode),
174 return _callback_type;
195 _render_flag = render_flag;
WindowProperties & get_properties() const
Returns the WindowProperties object that this callback should process.
get_frame_mode
If the callback type (returned by get_callback_type) is RCT_begin_frame or RCT_end_frame,...
get_callback_type
Since the render callback is shared for several functions, this method is needed to indicate which pa...
get_render_flag
Returns the current setting of the render flag.
set_render_flag
If the callback type is RCT_begin_frame, this call is available to specify the return value from the ...
get_window
Returns the window this callback was triggered from.
This special window object doesn't represent a window in its own right, but instead hooks into some t...
void clear_events_callback()
Removes the callback set by an earlier call to set_events_callback().
void clear_render_callback()
Removes the callback set by an earlier call to set_render_callback().
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().
void set_render_callback(CallbackObject *object)
Sets the CallbackObject that will be notified when this window is invoked (in the draw thread) to ren...
CallbackObject * get_properties_callback() const
Returns the CallbackObject set by set_properties_callback().
CallbackObject * get_events_callback() const
Returns the CallbackObject set by set_events_callback().
void set_events_callback(CallbackObject *object)
Sets the CallbackObject that will be notified when this window is polled for window events,...
void clear_properties_callback()
Removes the callback set by an earlier call to set_properties_callback().
This is a generic object that can be assigned to a callback at various points in the rendering proces...
A container for the various kinds of properties we might ask to have on a graphics window before we o...