Panda3D
Public Member Functions | Static Public Member Functions

CallbackGraphicsWindow::PropertiesCallbackData Class Reference

Inheritance diagram for CallbackGraphicsWindow::PropertiesCallbackData:
CallbackGraphicsWindow::WindowCallbackData CallbackData TypedObject MemoryBase

List of all members.

Public Member Functions

 PropertiesCallbackData (CallbackGraphicsWindow *window, WindowProperties &properties)
virtual TypeHandle force_init_type ()
WindowPropertiesget_properties () const
 Returns the WindowProperties object that this callback should process.
virtual TypeHandle get_type () const
virtual void upcall ()
 You should make this call during the callback if you want to continue the normal function that would have been done in the absence of a callback.

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96.

Detailed Description

Definition at line 97 of file callbackGraphicsWindow.h.


Member Function Documentation

WindowProperties & CallbackGraphicsWindow::PropertiesCallbackData::get_properties ( ) const [inline]

Returns the WindowProperties object that this callback should process.

Any properties that are handled should be removed from this object; properties that are unhandled should be left alone.

Definition at line 193 of file callbackGraphicsWindow.I.

static void CallbackGraphicsWindow::PropertiesCallbackData::init_type ( ) [inline, static]

This function is declared non-inline to work around a compiler bug in g++ 2.96.

Making it inline seems to cause problems in the optimizer.

Reimplemented from CallbackGraphicsWindow::WindowCallbackData.

Definition at line 113 of file callbackGraphicsWindow.h.

void CallbackGraphicsWindow::PropertiesCallbackData::upcall ( ) [virtual]

You should make this call during the callback if you want to continue the normal function that would have been done in the absence of a callback.

Reimplemented from CallbackData.

Definition at line 285 of file callbackGraphicsWindow.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations