forked from enlightenment/efl
78 lines
2.2 KiB
Plaintext
78 lines
2.2 KiB
Plaintext
import evas_canvas3d_types;
|
|
|
|
abstract @beta Evas.Canvas3D.Object extends Efl.Object
|
|
{
|
|
[[Evas 3D canvas object class]]
|
|
data: Evas_Canvas3D_Object_Data;
|
|
methods {
|
|
change {
|
|
[[Notify the object regarding its state change.]]
|
|
params {
|
|
@in state: Evas.Canvas3D.State; [[State that is changed.]]
|
|
@in ref: Evas.Canvas3D.Object; [[The Object that caused the change.]]
|
|
}
|
|
}
|
|
type_get @const {
|
|
[[Returns the type of the object.]]
|
|
return: Evas.Canvas3D.Object_Type; [[Object type]]
|
|
}
|
|
|
|
type_set {
|
|
[[Sets the type of the object.]]
|
|
params{
|
|
@in type: Evas.Canvas3D.Object_Type; [[Object type]]
|
|
}
|
|
}
|
|
|
|
dirty_get @const {
|
|
[[Returns the status of a particular state of the object.]]
|
|
return: bool; [[$true if the status is dirty, $false otherwise]]
|
|
params {
|
|
@in state: Evas.Canvas3D.State; [[State whose status is being asked.]]
|
|
}
|
|
}
|
|
|
|
update {
|
|
[[Update request for the object.]]
|
|
}
|
|
update_notify @pure_virtual {
|
|
[[Pure virtual update_notify function.
|
|
|
|
Update request for the object.]]
|
|
}
|
|
|
|
change_notify @pure_virtual {
|
|
[[Pure virtual change_notify function.
|
|
|
|
Update request for the object.]]
|
|
params {
|
|
@in state: Evas.Canvas3D.State; [[State that is changed.]]
|
|
@in ref: Evas.Canvas3D.Object; [[The Object that caused the change.]]
|
|
}
|
|
}
|
|
callback_register @pure_virtual {
|
|
[[Pure virtual register samrt callback function.]]
|
|
params {
|
|
@in event: string; [[Event type.]]
|
|
@in data: const(void_ptr); [[User data.]]
|
|
}
|
|
}
|
|
callback_unregister @pure_virtual {
|
|
[[Pure virtual unregister smart callback function.]]
|
|
params {
|
|
@in event: string; [[Event type.]]
|
|
}
|
|
}
|
|
}
|
|
|
|
implements {
|
|
Efl.Object.constructor;
|
|
Efl.Object.provider_find;
|
|
}
|
|
events {
|
|
/* FIXME: Make sure that these two events are actually being emitted */
|
|
clicked: Evas.Canvas3D.Node; [[Clicked Event.]]
|
|
collision: Evas.Canvas3D.Node; [[Collision Event.]]
|
|
}
|
|
}
|