summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorJi-Youn Park <jy0703.park@samsung.com>2016-03-17 17:38:52 +0830
committerJi-Youn Park <jy0703.park@samsung.com>2016-03-17 17:38:55 +0830
commit9dd69c849e49421c323f5cff3c72c5137370869d (patch)
treec401164cdbbd6813a7d719a5ab61b83d91a6b976 /legacy
parent570d532f11f35c3beec7e3feb8922c906481fba9 (diff)
Elm_Glveiw: add legacy API to .h file
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/lib/elm_glview_legacy.h62
1 files changed, 61 insertions, 1 deletions
diff --git a/legacy/elementary/src/lib/elm_glview_legacy.h b/legacy/elementary/src/lib/elm_glview_legacy.h
index fe2d57b99e..586b77cc57 100644
--- a/legacy/elementary/src/lib/elm_glview_legacy.h
+++ b/legacy/elementary/src/lib/elm_glview_legacy.h
@@ -25,8 +25,68 @@ EAPI Evas_Object *elm_glview_version_add(Evas_Object *parent, Evas_GL_Context_Ve
25 * 25 *
26 * @param obj The GLView object 26 * @param obj The GLView object
27 * 27 *
28 * @ingroup GLView 28 * @ingroup Elm_GLView
29 */ 29 */
30EAPI void elm_glview_changed_set(Evas_Object *obj); 30EAPI void elm_glview_changed_set(Evas_Object *obj);
31 31
32/**
33 * Gets the size of the GLView.
34 *
35 * @param obj The GLView object
36 * @param w pointer of int width
37 * @param h pointer of int height
38 *
39 * @ingroup Elm_GLView
40 */
41EAPI void elm_glview_size_get(const Elm_Glview *obj, int *w, int *h);
42
43/**
44 * Sets the size of the GLView.
45 *
46 * @param obj The GLView object
47 * @param w width of GLView
48 * @param h height of GLView
49 *
50 * @ingroup Elm_GLView
51 */
52EAPI void elm_glview_size_set(Elm_Glview *obj, int w, int h);
53
54/**
55 * Set the init function that runs once in the main loop.
56 * @param obj The GLView object
57 * @param func The callback function
58 *
59 * @ingroup GLView
60 */
61EAPI void elm_glview_init_func_set(Elm_Glview *obj, Elm_GLView_Func_Cb func);
62
63/**
64 * Set the delete function that runs in the main loop.
65 *
66 * @param obj The GLView object
67 * @param func The callback function
68 *
69 * @ingroup Elm_GLView
70 */
71EAPI void elm_glview_del_func_set(Elm_Glview *obj, Elm_GLView_Func_Cb func);
72
73/**
74 * Set the resize function that gets called when resize happens.
75 *
76 * @param obj The GLView object
77 * @param func The callback function
78 *
79 * @ingroup Elm_GLView
80 */
81EAPI void elm_glview_resize_func_set(Elm_Glview *obj, Elm_GLView_Func_Cb func);
82
83/**
84 * Set the render function that runs in the main loop.
85 *
86 * @param obj The GLView object
87 * @param func The callback function
88 *
89 * @ingroup Elm_GLView
90 */
91EAPI void elm_glview_render_func_set(Elm_Glview *obj, Elm_GLView_Func_Cb func);
32#include "elm_glview.eo.legacy.h" 92#include "elm_glview.eo.legacy.h"