diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-04 23:42:07 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-04 23:42:07 +0200 |
commit | e4baccaefd209a25daa3ff8d5277fe86aca1d379 (patch) | |
tree | eb2744b7a8624a7538cb0224d40879074c819653 /lib/efl/edje.rb | |
parent | 3974ea1fb3734cbf4150c759eebdf8a93d77dc8b (diff) | |
download | ffi-efl-seperate-natives.zip ffi-efl-seperate-natives.tar.gz |
FFI are in separate namespaces (Efl::Evas::Native), ruby classes are in upper level (Efl::Evas)seperate-natives
Diffstat (limited to 'lib/efl/edje.rb')
-rw-r--r-- | lib/efl/edje.rb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/efl/edje.rb b/lib/efl/edje.rb index 3570add..e4e0e60 100644 --- a/lib/efl/edje.rb +++ b/lib/efl/edje.rb @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # require 'efl/evas' -require 'efl/ffi/edje' +require 'efl/native/edje' # module Efl # @@ -10,34 +10,34 @@ module Efl # class REdje < Efl::Evas::REvasObject # - proxy_list [Efl::Edje,'edje_object_'].freeze + proxy_list [Efl::Edje::Native,'edje_object_'].freeze def part_object_get part # EAPI const Evas_Object *edje_object_part_object_get (const Evas_Object *obj, const char *part); - Efl::Evas::RevasObject.new Efl::Edje.edje_object_part_object_get @ptr, part + Evas::RevasObject.new Native.edje_object_part_object_get @ptr, part end def part_swallow_get part # EAPI Evas_Object *edje_object_part_swallow_get (const Evas_Object *obj, const char *part); - Efl::Evas::RevasObject.new Efl::Edje.edje_object_part_swallow_get @ptr, part + Evas::RevasObject.new Native.edje_object_part_swallow_get @ptr, part end def external_object_get part # EAPI Evas_Object *edje_object_part_external_object_get (const Evas_Object *obj, const char *part); - Efl::Evas::RevasObject.new Efl::Edje.edje_object_part_external_object_get @ptr, part + Evas::RevasObject.new Native.edje_object_part_external_object_get @ptr, part end def external_content_get part, content # EAPI Evas_Object *edje_object_part_external_content_get (const Evas_Object *obj, const char *part, const char *content); - Efl::Evas::RevasObject.new Efl::Edje.edje_object_part_external_content_get @ptr, part, content + Evas::RevasObject.new Native.edje_object_part_external_content_get @ptr, part, content end def part_box_remove part, child # EAPI Evas_Object *edje_object_part_box_remove (Evas_Object *obj, const char *part, Evas_Object *child); - Efl::Evas::RevasObject.new Efl::Edje.edje_object_part_box_remove @ptr, part, child + Evas::RevasObject.new Native.edje_object_part_box_remove @ptr, part, child end def part_box_remove_at part, pos # EAPI Evas_Object *edje_object_part_box_remove_at (Evas_Object *obj, const char *part, unsigned int pos); - Efl::Evas::RevasObject.new Efl::Edje.edje_object_part_box_remove_at @ptr, part, pos + Evas::RevasObject.new Native.edje_object_part_box_remove_at @ptr, part, pos end def part_table_child_get part, col, row # EAPI Evas_Object *edje_object_part_table_child_get (Evas_Object *obj, const char *part, unsigned int col, unsigned int row); - Efl::Evas::RevasObject.new Efl::Edje.edje_object_part_table_child_get @ptr, part, col, row + Evas::RevasObject.new Native.edje_object_part_table_child_get @ptr, part, col, row end end # @@ -48,7 +48,7 @@ module Efl class REvas def edje_object_add # EAPI Evas_Object *edje_object_add (Evas *evas); - Efl::Edje::REdje.new Efl::Edje.edje_object_add @ptr + Edje::REdje.new Edje::Native.edje_object_add @ptr end end # |