From 6bca63fe6c918ec3386288fb3ff8f086c6ec681d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 12 Mar 2012 09:57:09 +0100 Subject: API update: elm_panel, elm_genlist, elm_colorselector --- lib/efl/native/elm/elm_colorselector.rb | 6 ++++++ lib/efl/native/elm/elm_genlist.rb | 3 --- lib/efl/native/elm/elm_panel.rb | 6 ------ 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/lib/efl/native/elm/elm_colorselector.rb b/lib/efl/native/elm/elm_colorselector.rb index 4fd325d..08f0d80 100644 --- a/lib/efl/native/elm/elm_colorselector.rb +++ b/lib/efl/native/elm/elm_colorselector.rb @@ -25,6 +25,12 @@ module Efl # typedef enum {...} Elm_Colorselector_Mode; enum :elm_colorselector_mode, [ :elm_colorselector_palette, 0, :elm_colorselector_components, 1, :elm_colorselector_both, 2 ] # + # TYPEDEFS + # typedef struct _Elm_Color_RGBA Elm_Color_RGBA; + typedef :pointer, :elm_color_rgba + # typedef struct _Elm_Custom_Palette Elm_Custom_Palette; + typedef :pointer, :elm_custom_palette + # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_colorselector_add(Evas_Object *parent); diff --git a/lib/efl/native/elm/elm_genlist.rb b/lib/efl/native/elm/elm_genlist.rb index bec6e1b..c991523 100644 --- a/lib/efl/native/elm/elm_genlist.rb +++ b/lib/efl/native/elm/elm_genlist.rb @@ -34,9 +34,6 @@ module Efl # typedef enum {...} Elm_Genlist_Item_Scrollto_Type; enum :elm_genlist_item_scrollto_type, [ :elm_genlist_item_scrollto_none, 0, :elm_genlist_item_scrollto_in, (1<<0), :elm_genlist_item_scrollto_top, (1<<1), :elm_genlist_item_scrollto_middle, (1<<2) ] - # typedef enum {...} Elm_Genlist_Item_Move_Effect_Mode; - enum :elm_genlist_item_move_effect_mode, [ :elm_genlist_tree_effect_none, 0, :elm_genlist_tree_effect_expand, 1, - :elm_genlist_tree_effect_contract, 2 ] # # TYPEDEFS # typedef Elm_Gen_Item_Class Elm_Genlist_Item_Class; diff --git a/lib/efl/native/elm/elm_panel.rb b/lib/efl/native/elm/elm_panel.rb index 4fe40a4..b39ba09 100644 --- a/lib/efl/native/elm/elm_panel.rb +++ b/lib/efl/native/elm/elm_panel.rb @@ -39,12 +39,6 @@ module Efl [ :elm_panel_hidden_get, [ :evas_object ], :bool ], # EAPI void elm_panel_toggle(Evas_Object *obj); [ :elm_panel_toggle, [ :evas_object ], :void ], - # EAPI void elm_panel_content_set(Evas_Object *obj, Evas_Object *content); - [ :elm_panel_content_set, [ :evas_object, :evas_object ], :void ], - # EAPI Evas_Object * elm_panel_content_get(const Evas_Object *obj); - [ :elm_panel_content_get, [ :evas_object ], :evas_object ], - # EAPI Evas_Object * elm_panel_content_unset(Evas_Object *obj); - [ :elm_panel_content_unset, [ :evas_object ], :evas_object ], ] # attach_fcts fcts -- cgit v1.1-2-g2b99