97 lines
2.3 KiB
Plaintext
97 lines
2.3 KiB
Plaintext
class Evas_3D_Object (Eo.Base, Evas.Common_Interface)
|
|
{
|
|
legacy_prefix: null;
|
|
data: Evas_3D_Object_Data;
|
|
methods {
|
|
change {
|
|
/*@
|
|
Notify the object regarding its state change.
|
|
*/
|
|
params {
|
|
@in Evas_3D_State state; /*@ State that is changed */
|
|
@in Evas_3D_Object *ref; /*@ The Object that caused the change */
|
|
}
|
|
}
|
|
type_get @const {
|
|
/*@
|
|
Returns the type of the object.
|
|
*/
|
|
return: Evas_3D_Object_Type;
|
|
}
|
|
|
|
type_set {
|
|
/*@
|
|
Returns the type of the object.
|
|
*/
|
|
params{
|
|
@in Evas_3D_Object_Type type;
|
|
}
|
|
}
|
|
|
|
dirty_get @const {
|
|
/*@
|
|
Returns the status of a particular state of the object.
|
|
*/
|
|
return: bool;
|
|
params {
|
|
@in Evas_3D_State state; /*@ State whose status is being asked */
|
|
}
|
|
}
|
|
|
|
update {
|
|
/*@
|
|
Update request for the object.
|
|
*/
|
|
}
|
|
update_notify {
|
|
/*@
|
|
Pure virtual update_notify function..
|
|
Update request for the object.
|
|
*/
|
|
}
|
|
|
|
change_notify {
|
|
/*@
|
|
Pure virtual change_notify function..
|
|
Update request for the object.
|
|
*/
|
|
params {
|
|
@in Evas_3D_State state; /*@ State that is changed */
|
|
@in Evas_3D_Object *ref; /*@ The Object that caused the change */
|
|
}
|
|
}
|
|
callback_register {
|
|
/*@
|
|
Pure virtual register samrt callback function.
|
|
*/
|
|
params {
|
|
@in const(char)* event; /*@ Event type */
|
|
@in const(void)* data; /*@ User data*/
|
|
}
|
|
}
|
|
callback_unregister {
|
|
/*@
|
|
Pure virtual unregister smart callback function.
|
|
*/
|
|
params {
|
|
@in const(char)* event; /*@ Event type */
|
|
}
|
|
}
|
|
}
|
|
|
|
implements {
|
|
Eo.Base.constructor;
|
|
Eo.Base.event_callback_priority_add;
|
|
Eo.Base.event_callback_del;
|
|
Evas.Common_Interface.evas.get;
|
|
@virtual .update_notify;
|
|
@virtual .change_notify;
|
|
@virtual .callback_register;
|
|
@virtual .callback_unregister;
|
|
}
|
|
events {
|
|
clicked; /*@ Clicked Event */
|
|
collision; /*@ Collision Event */
|
|
}
|
|
}
|