summaryrefslogtreecommitdiffstats
path: root/lib/efl/native/elm/elm_bubble.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-29 09:04:02 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-29 09:04:02 +0100
commita19eefaa43f4531a1a03a9a66072b5c9f56f8a50 (patch)
treef550562d3226d88caf5540e98f4ce7b6505cc824 /lib/efl/native/elm/elm_bubble.rb
parent04170bc0a407b106a10576e51369f91dc95ce19f (diff)
downloadffi-efl-a19eefaa43f4531a1a03a9a66072b5c9f56f8a50.zip
ffi-efl-a19eefaa43f4531a1a03a9a66072b5c9f56f8a50.tar.gz
update elementary API
Diffstat (limited to 'lib/efl/native/elm/elm_bubble.rb')
-rw-r--r--lib/efl/native/elm/elm_bubble.rb13
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/efl/native/elm/elm_bubble.rb b/lib/efl/native/elm/elm_bubble.rb
index 11b000b..635d3e8 100644
--- a/lib/efl/native/elm/elm_bubble.rb
+++ b/lib/efl/native/elm/elm_bubble.rb
@@ -21,14 +21,19 @@ module Efl
#
ffi_lib 'elementary-ver-pre-svn-09.so.0'
#
+ # ENUMS
+ # typedef enum {...} Elm_Bubble_Pos;
+ enum :elm_bubble_pos, [ :elm_bubble_pos_invalid, -1, :elm_bubble_pos_top_left, 0, :elm_bubble_pos_top_right, 1, :elm_bubble_pos_bottom_left,
+ 2, :elm_bubble_pos_bottom_right, 3 ]
+ #
# FUNCTIONS
fcts = [
# EAPI Evas_Object *elm_bubble_add(Evas_Object *parent);
[ :elm_bubble_add, [ :evas_object ], :evas_object ],
- # EAPI void elm_bubble_corner_set(Evas_Object *obj, const char *corner);
- [ :elm_bubble_corner_set, [ :evas_object, :string ], :void ],
- # EAPI const char *elm_bubble_corner_get(const Evas_Object *obj);
- [ :elm_bubble_corner_get, [ :evas_object ], :string ],
+ # EAPI void elm_bubble_pos_set(Evas_Object *obj, Elm_Bubble_Pos pos);
+ [ :elm_bubble_pos_set, [ :evas_object, :elm_bubble_pos ], :void ],
+ # EAPI Elm_Bubble_Pos elm_bubble_pos_get(const Evas_Object *obj);
+ [ :elm_bubble_pos_get, [ :evas_object ], :elm_bubble_pos ],
]
#
attach_fcts fcts