-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Milestone
Description
Implement
IPointerFactory: has acreatePointer/destroyPointermethod. Add this to
Pointer.hImagePointerFactory/ImagePointer/ImagePointerRenderableadd to omegalib, basic
pointer factory for creating image-based pointers.- Add
Engine.setPointerFactorymethod. If set to NULL go back to standard pointer. - Register
Engine.setPointerFactory,ImagePointerFactoryand (if needed)IPointerFactory
to python.
Pointer factory can be added through a script or through config file using the
config-based module creation system:
modules:
{
imagePointer: { class="ImagePointerFactory"; image="foo.png" };
}
or, if we implement #136
modules:
{
ImagePointerFactory: { image="foo.png" };
}
NOTE ImagePointerFactory will need a static create method taking a module
name string to work with this. create will also take care of setting up stuff
based on the configuration entry.