diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-28 16:09:49 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-28 16:09:49 +0100 |
commit | f5be08ea606ad373f3bab8e5a0f258b82a9cf11f (patch) | |
tree | a5dee985149c7cdeb799958f99de8a1450d3b92b /lib/efl/elm/elm_genlist.rb | |
parent | 142e64c3cefcd11667adefdc61989536f6a34bd4 (diff) | |
download | ffi-efl-f5be08ea606ad373f3bab8e5a0f258b82a9cf11f.zip ffi-efl-f5be08ea606ad373f3bab8e5a0f258b82a9cf11f.tar.gz |
lib/efl/elm/elm_*.rb: Native::->Native.
Diffstat (limited to 'lib/efl/elm/elm_genlist.rb')
-rw-r--r-- | lib/efl/elm/elm_genlist.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/efl/elm/elm_genlist.rb b/lib/efl/elm/elm_genlist.rb index f83cc4c..38cca8b 100644 --- a/lib/efl/elm/elm_genlist.rb +++ b/lib/efl/elm/elm_genlist.rb @@ -16,58 +16,58 @@ module Efl search_prefixes 'elm_genlist_' # def item_append itc, data, parent, flags, cb, cbdata - ElmObjectItem.new Native::elm_genlist_item_append @ptr, itc, data, parent, flags, cb, cbdata + ElmObjectItem.new Native.elm_genlist_item_append @ptr, itc, data, parent, flags, cb, cbdata end # def item_prepend itc, data, parent, flags, cb, cbdata - ElmObjectItem.new Native::elm_genlist_item_append @ptr, itc, data, parent, flags, cb, cbdata + ElmObjectItem.new Native.elm_genlist_item_append @ptr, itc, data, parent, flags, cb, cbdata end # def item_insert_before itc, data, parent, before, flags, cb, cbdata - ElmObjectItem.new Native::elm_genlist_item_insert_before @ptr, itc, data, parent, before, flags, cb, cbdata + ElmObjectItem.new Native.elm_genlist_item_insert_before @ptr, itc, data, parent, before, flags, cb, cbdata end # def item_insert_after itc, data, parent, before, flags, cb, cbdata - ElmObjectItem.new Native::elm_genlist_item_insert_after @ptr, itc, data, parent, before, flags, cb, cbdata + ElmObjectItem.new Native.elm_genlist_item_insert_after @ptr, itc, data, parent, before, flags, cb, cbdata end # def item_sorted_insert itc, data, parent, flags, cmp, cb, cbdata - ElmObjectItem.new Native::elm_genlist_item_sorted_insert @ptr, itc, data, parent, flags, cmp, cb, cbdata + ElmObjectItem.new Native.elm_genlist_item_sorted_insert @ptr, itc, data, parent, flags, cmp, cb, cbdata end # def selected_item_get - ElmObjectItem.new Native::elm_genlist_selected_item_get @ptr + ElmObjectItem.new Native.elm_genlist_selected_item_get @ptr end alias :selected_item :selected_item_get # def at_xy_item_get x, y @ri0 ||= FFI::MemoryPointer.new :int - i = ElmObjectItem.new ElmObjectItem.new Native::elm_genlist_first_item_get @ptr, x, y, @ri0 + i = ElmObjectItem.new ElmObjectItem.new Native.elm_genlist_first_item_get @ptr, x, y, @ri0 [ @ri0.read_int, i ] end # def first_item_get - ElmObjectItem.new Native::elm_genlist_first_item_get @ptr + ElmObjectItem.new Native.elm_genlist_first_item_get @ptr end alias :first_item :first_item_get # def last_item_get - ElmObjectItem.new Native::elm_genlist_last_item_get @ptr + ElmObjectItem.new Native.elm_genlist_last_item_get @ptr end alias :last_item :last_item_get # def item_next_get it - ElmObjectItem.new Native::elm_genlist_item_next_get it + ElmObjectItem.new Native.elm_genlist_item_next_get it end alias :item_next :item_next_get # def item_prev_get it - ElmObjectItem.new Native::elm_genlist_item_prev_get it + ElmObjectItem.new Native.elm_genlist_item_prev_get it end alias :item_prev :item_prev_get # def item_parent_get it - ElmObjectItem.new Native::elm_genlist_item_parent_get it + ElmObjectItem.new Native.elm_genlist_item_parent_get it end alias :item_parent :item_parent_get # |