Elementary: header split for DateTime, DaySelector, DiskSelector, Entry,
Flip, Flip Selector, Frame, Gesture Layer, GLView, Hover, Icon,
Inwin, Label.
2013-04-28 00:23:15 -07:00
|
|
|
/**
|
|
|
|
* Add a new glview to the parent
|
|
|
|
*
|
|
|
|
* @param parent The parent object
|
|
|
|
* @return The new object or NULL if it cannot be created
|
|
|
|
*
|
2016-03-16 08:05:31 -07:00
|
|
|
* @ingroup Elm_GLView
|
Elementary: header split for DateTime, DaySelector, DiskSelector, Entry,
Flip, Flip Selector, Frame, Gesture Layer, GLView, Hover, Icon,
Inwin, Label.
2013-04-28 00:23:15 -07:00
|
|
|
*/
|
|
|
|
EAPI Evas_Object *elm_glview_add(Evas_Object *parent);
|
|
|
|
|
2014-09-22 22:04:32 -07:00
|
|
|
/**
|
|
|
|
* Adds a new GLView to the parent, given an OpenGL-ES context version number.
|
|
|
|
*
|
|
|
|
* @param[in] parent The parent object
|
|
|
|
* @param[in] version Requested GL ES version number (default is 2.x, 1.x may also be supported)
|
|
|
|
* @return The new object or @c NULL if it cannot be created
|
|
|
|
*
|
|
|
|
* @since 1.12
|
|
|
|
*/
|
|
|
|
EAPI Evas_Object *elm_glview_version_add(Evas_Object *parent, Evas_GL_Context_Version version);
|
|
|
|
|
2016-03-10 21:57:34 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Notifies that there has been changes in the GLView.
|
|
|
|
*
|
|
|
|
* @param obj The GLView object
|
|
|
|
*
|
2016-03-17 02:08:52 -07:00
|
|
|
* @ingroup Elm_GLView
|
2016-03-10 21:57:34 -08:00
|
|
|
*/
|
|
|
|
EAPI void elm_glview_changed_set(Evas_Object *obj);
|
|
|
|
|
2016-03-17 02:08:52 -07:00
|
|
|
/**
|
|
|
|
* Gets the size of the GLView.
|
|
|
|
*
|
|
|
|
* @param obj The GLView object
|
|
|
|
* @param w pointer of int width
|
|
|
|
* @param h pointer of int height
|
|
|
|
*
|
|
|
|
* @ingroup Elm_GLView
|
|
|
|
*/
|
2016-03-17 04:44:51 -07:00
|
|
|
EAPI void elm_glview_size_get(const Evas_Object *obj, int *w, int *h);
|
2016-03-17 02:08:52 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the size of the GLView.
|
|
|
|
*
|
|
|
|
* @param obj The GLView object
|
|
|
|
* @param w width of GLView
|
|
|
|
* @param h height of GLView
|
|
|
|
*
|
|
|
|
* @ingroup Elm_GLView
|
|
|
|
*/
|
2016-03-17 04:44:51 -07:00
|
|
|
EAPI void elm_glview_size_set(Evas_Object *obj, int w, int h);
|
2016-03-17 02:08:52 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the init function that runs once in the main loop.
|
|
|
|
* @param obj The GLView object
|
|
|
|
* @param func The callback function
|
|
|
|
*
|
|
|
|
* @ingroup GLView
|
|
|
|
*/
|
2016-03-17 04:44:51 -07:00
|
|
|
EAPI void elm_glview_init_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func);
|
2016-03-17 02:08:52 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the delete function that runs in the main loop.
|
|
|
|
*
|
|
|
|
* @param obj The GLView object
|
|
|
|
* @param func The callback function
|
|
|
|
*
|
|
|
|
* @ingroup Elm_GLView
|
|
|
|
*/
|
2016-03-17 04:44:51 -07:00
|
|
|
EAPI void elm_glview_del_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func);
|
2016-03-17 02:08:52 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the resize function that gets called when resize happens.
|
|
|
|
*
|
|
|
|
* @param obj The GLView object
|
|
|
|
* @param func The callback function
|
|
|
|
*
|
|
|
|
* @ingroup Elm_GLView
|
|
|
|
*/
|
2016-03-17 04:44:51 -07:00
|
|
|
EAPI void elm_glview_resize_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func);
|
2016-03-17 02:08:52 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the render function that runs in the main loop.
|
|
|
|
*
|
|
|
|
* @param obj The GLView object
|
|
|
|
* @param func The callback function
|
|
|
|
*
|
|
|
|
* @ingroup Elm_GLView
|
|
|
|
*/
|
2016-03-17 04:44:51 -07:00
|
|
|
EAPI void elm_glview_render_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func);
|
2014-09-22 22:04:32 -07:00
|
|
|
#include "elm_glview.eo.legacy.h"
|