summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-28 16:09:49 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-28 16:09:49 +0100
commitf5be08ea606ad373f3bab8e5a0f258b82a9cf11f (patch)
treea5dee985149c7cdeb799958f99de8a1450d3b92b /lib
parent142e64c3cefcd11667adefdc61989536f6a34bd4 (diff)
downloadffi-efl-f5be08ea606ad373f3bab8e5a0f258b82a9cf11f.zip
ffi-efl-f5be08ea606ad373f3bab8e5a0f258b82a9cf11f.tar.gz
lib/efl/elm/elm_*.rb: Native::->Native.
Diffstat (limited to 'lib')
-rw-r--r--lib/efl/elm/elm_box.rb4
-rw-r--r--lib/efl/elm/elm_ctxpopup.rb2
-rw-r--r--lib/efl/elm/elm_debug.rb4
-rw-r--r--lib/efl/elm/elm_diskselector.rb12
-rw-r--r--lib/efl/elm/elm_flipselector.rb14
-rw-r--r--lib/efl/elm/elm_focus.rb24
-rw-r--r--lib/efl/elm/elm_genlist.rb24
-rw-r--r--lib/efl/elm/elm_hoversel.rb2
-rw-r--r--lib/efl/elm/elm_index.rb4
-rw-r--r--lib/efl/elm/elm_list.rb16
-rw-r--r--lib/efl/elm/elm_menu.rb16
-rw-r--r--lib/efl/elm/elm_mirroring.rb8
-rw-r--r--lib/efl/elm/elm_multibuttonentry.rb18
-rw-r--r--lib/efl/elm/elm_naviframe.rb10
-rw-r--r--lib/efl/elm/elm_scale.rb4
-rw-r--r--lib/efl/elm/elm_scroll.rb16
-rw-r--r--lib/efl/elm/elm_slideshow.rb8
-rw-r--r--lib/efl/elm/elm_toolbar.rb18
18 files changed, 102 insertions, 102 deletions
diff --git a/lib/efl/elm/elm_box.rb b/lib/efl/elm/elm_box.rb
index b0539a2..c12a560 100644
--- a/lib/efl/elm/elm_box.rb
+++ b/lib/efl/elm/elm_box.rb
@@ -17,7 +17,7 @@ module Efl
def padding_get
x = FFI::MemoryPointer.new :int
y = FFI::MemoryPointer.new :int
- Native::elm_box_padding_get @ptr, x, y
+ Native.elm_box_padding_get @ptr, x, y
[ x.read_int, y.read_int ]
end
alias :padding :padding_get
@@ -25,7 +25,7 @@ module Efl
def align_get
x = FFI::MemoryPointer.new :float
y = FFI::MemoryPointer.new :float
- Native::elm_box_align_get @ptr, x, y
+ Native.elm_box_align_get @ptr, x, y
[ x.read_float, y.read_float ]
end
alias :align :padding_get
diff --git a/lib/efl/elm/elm_ctxpopup.rb b/lib/efl/elm/elm_ctxpopup.rb
index 4a874a1..a60d153 100644
--- a/lib/efl/elm/elm_ctxpopup.rb
+++ b/lib/efl/elm/elm_ctxpopup.rb
@@ -16,7 +16,7 @@ module Efl
search_prefixes 'elm_ctxpopup_'
#
def item_append label, icon=nil, cb=nil, data=nil
- ElmObjectItem.new Native::elm_ctxpopup_item_append @ptr, label, icon, cb, data
+ ElmObjectItem.new Native.elm_ctxpopup_item_append @ptr, label, icon, cb, data
end
#
end
diff --git a/lib/efl/elm/elm_debug.rb b/lib/efl/elm/elm_debug.rb
index 43d1d3b..4bb5fa5 100644
--- a/lib/efl/elm/elm_debug.rb
+++ b/lib/efl/elm/elm_debug.rb
@@ -11,10 +11,10 @@ module Efl
class ElmObject
#
def tree_dump
- Native::elm_object_tree_dump @ptr
+ Native.elm_object_tree_dump @ptr
end
def tree_dot_dump filepath
- Native::elm_object_tree_dot_dump @ptr, filepath
+ Native.elm_object_tree_dot_dump @ptr, filepath
end
#
end
diff --git a/lib/efl/elm/elm_diskselector.rb b/lib/efl/elm/elm_diskselector.rb
index 16503f5..ae37e46 100644
--- a/lib/efl/elm/elm_diskselector.rb
+++ b/lib/efl/elm/elm_diskselector.rb
@@ -16,30 +16,30 @@ module Efl
search_prefixes 'elm_diskselector_'
#
def item_append label, icon=nil, cb=nil, data=nil
- ElmObjectItem.new Native::elm_diskselector_item_append @ptr, label, icon, cb, data
+ ElmObjectItem.new Native.elm_diskselector_item_append @ptr, label, icon, cb, data
end
#
def selected_item_get
- ElmObjectItem.new Native::elm_diskselector_selected_item_get @ptr
+ ElmObjectItem.new Native.elm_diskselector_selected_item_get @ptr
end
#
def first_item_get
- ElmObjectItem.new Native::elm_diskselector_first_item_get @ptr
+ ElmObjectItem.new Native.elm_diskselector_first_item_get @ptr
end
alias :first_item :first_item_get
#
def last_item_get
- ElmObjectItem.new Native::elm_diskselector_last_item_get @ptr
+ ElmObjectItem.new Native.elm_diskselector_last_item_get @ptr
end
alias :last_item :last_item_get
#
def item_prev_get it
- ElmObjectItem.new Native::elm_diskselector_item_prev_get it
+ ElmObjectItem.new Native.elm_diskselector_item_prev_get it
end
alias :item_prev :item_prev_get
#
def item_next_get it
- ElmObjectItem.new Native::elm_diskselector_item_next_get it
+ ElmObjectItem.new Native.elm_diskselector_item_next_get it
end
alias :item_next :item_next_get
#
diff --git a/lib/efl/elm/elm_flipselector.rb b/lib/efl/elm/elm_flipselector.rb
index ef64578..0db2677 100644
--- a/lib/efl/elm/elm_flipselector.rb
+++ b/lib/efl/elm/elm_flipselector.rb
@@ -16,35 +16,35 @@ module Efl
search_prefixes 'elm_flipselector_'
#
def item_append label, cb=nil, data=nil
- ElmObjectItem.new Native::elm_flipselector_item_append @ptr, label, cb, data
+ ElmObjectItem.new Native.elm_flipselector_item_append @ptr, label, cb, data
end
#
def item_prepend label, cb=nil, data=nil
- ElmObjectItem.new Native::elm_flipselector_item_prepend @ptr, label, cb, data
+ ElmObjectItem.new Native.elm_flipselector_item_prepend @ptr, label, cb, data
end
#
def first_item_get
- ElmObjectItem.new Native::elm_flipselector_first_item_get @ptr
+ ElmObjectItem.new Native.elm_flipselector_first_item_get @ptr
end
alias :first_item :first_item_get
#
def last_item_get
- ElmObjectItem.new Native::elm_flipselector_last_item_get @ptr
+ ElmObjectItem.new Native.elm_flipselector_last_item_get @ptr
end
alias :last_item :last_item_get
#
def selected_item_get
- ElmObjectItem.new Native::elm_flipselector_selected_item_get @ptr
+ ElmObjectItem.new Native.elm_flipselector_selected_item_get @ptr
end
alias :selected_item :selected_item_get
#
def item_prev_get it
- ElmObjectItem.new Native::elm_flipselector_item_prev_get it
+ ElmObjectItem.new Native.elm_flipselector_item_prev_get it
end
alias :item_prev :item_prev_get
#
def item_next_get it
- ElmObjectItem.new Native::elm_flipselector_item_next_get it
+ ElmObjectItem.new Native.elm_flipselector_item_next_get it
end
alias :item_next :item_next_get
#
diff --git a/lib/efl/elm/elm_focus.rb b/lib/efl/elm/elm_focus.rb
index 6f424f9..2fc99f9 100644
--- a/lib/efl/elm/elm_focus.rb
+++ b/lib/efl/elm/elm_focus.rb
@@ -11,58 +11,58 @@ module Efl
class ElmObject
#
def focus_get
- Native::elm_object_focus_get @ptr
+ Native.elm_object_focus_get @ptr
end
alias :focus :focus_get
#
def focus_set focus
- Native::elm_object_focus_set @ptr, focus
+ Native.elm_object_focus_set @ptr, focus
end
alias :focus= :focus_set
#
def focus_allow_get
- Native::elm_object_focus_allow_get @ptr
+ Native.elm_object_focus_allow_get @ptr
end
alias :focus :focus_allow_get
#
def focus_allow_set allow
- Native::elm_object_focus_allow_set @ptr, allow
+ Native.elm_object_focus_allow_set @ptr, allow
end
alias :focus_allow= :focus_allow_set
#
def focus_allow_custom_chain_set list
- Native::elm_object_focus_allow_custom_chain_set @ptr, list
+ Native.elm_object_focus_allow_custom_chain_set @ptr, list
end
alias :focus_allow_custom_chain= :focus_allow_custom_chain_set
#
def focus_allow_custom_chain_unset
- Native::elm_object_focus_allow_custom_chain_unset @ptr
+ Native.elm_object_focus_allow_custom_chain_unset @ptr
end
#
def focus_allow_custom_chain_get
- Native::elm_object_focus_allow_custom_chain_get @ptr
+ Native.elm_object_focus_allow_custom_chain_get @ptr
end
alias :focus_allow_custom_chain :focus_allow_custom_chain_get
#
def focus_custom_chain_append child, relative_child
- Native::elm_object_focus_custom_chain_append @ptr, child, relative_child
+ Native.elm_object_focus_custom_chain_append @ptr, child, relative_child
end
#
def focus_custom_chain_prepend child, relative_child
- Native::elm_object_focus_custom_chain_prepend @ptr, child, relative_child
+ Native.elm_object_focus_custom_chain_prepend @ptr, child, relative_child
end
#
def focus_cycle direction
- Native::elm_object_focus_cycle @ptr, direction
+ Native.elm_object_focus_cycle @ptr, direction
end
#
def tree_unfocusable_set unfocusable
- Native::elm_object_tree_unfocusable_set @ptr, unfocusable
+ Native.elm_object_tree_unfocusable_set @ptr, unfocusable
end
alias :tree_unfocusable= :tree_unfocusable_set
#
def tree_unfocusable_get
- Native::elm_object_tree_unfocusable_set @ptr
+ Native.elm_object_tree_unfocusable_set @ptr
end
alias :tree_unfocusable :tree_unfocusable_get
#
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
#
diff --git a/lib/efl/elm/elm_hoversel.rb b/lib/efl/elm/elm_hoversel.rb
index ec3c854..b1ae607 100644
--- a/lib/efl/elm/elm_hoversel.rb
+++ b/lib/efl/elm/elm_hoversel.rb
@@ -16,7 +16,7 @@ module Efl
search_prefixes 'elm_hoversel_'
#
def item_add label, icon_file=nil, icon_type=:elm_icon_none, cb=nil, data=nil
- ElmHoverselItem.new Native::elm_hoversel_item_add @ptr, label, icon_file, icon_type, cb, data
+ ElmHoverselItem.new Native.elm_hoversel_item_add @ptr, label, icon_file, icon_type, cb, data
end
#
end
diff --git a/lib/efl/elm/elm_index.rb b/lib/efl/elm/elm_index.rb
index c6ba981..0773af5 100644
--- a/lib/efl/elm/elm_index.rb
+++ b/lib/efl/elm/elm_index.rb
@@ -16,11 +16,11 @@ module Efl
search_prefixes 'elm_index_'
#
def item_selected_get idx
- ElmObjectItem.new Native::elm_index_item_selected_get @ptr, idx
+ ElmObjectItem.new Native.elm_index_item_selected_get @ptr, idx
end
#
def item_find item
- ElmObjectItem.new Native::elm_index_item_find @ptr, item
+ ElmObjectItem.new Native.elm_index_item_find @ptr, item
end
#
end
diff --git a/lib/efl/elm/elm_list.rb b/lib/efl/elm/elm_list.rb
index 1bd2c3b..3096b23 100644
--- a/lib/efl/elm/elm_list.rb
+++ b/lib/efl/elm/elm_list.rb
@@ -16,35 +16,35 @@ module Efl
search_prefixes 'elm_list_'
#
def item_append label, left_icon=nil, right_icon=nil, cb=nil, data=nil
- ElmObjectItem.new Native::elm_list_item_append @ptr, label, left_icon, right_icon, cb, data
+ ElmObjectItem.new Native.elm_list_item_append @ptr, label, left_icon, right_icon, cb, data
end
#
def item_prepend label, left_icon=nil, right_icon=nil, cb=nil, data=nil
- ElmObjectItem.new Native::elm_list_item_prepend @ptr, label, left_icon, right_icon, cb, data
+ ElmObjectItem.new Native.elm_list_item_prepend @ptr, label, left_icon, right_icon, cb, data
end
#
def item_insert_before before, label, left_icon=nil, right_icon=nil, cb=nil, data=nil
- ElmObjectItem.new Native::elm_list_item_insert_before @ptr, before, label, left_icon, right_icon, cb, data
+ ElmObjectItem.new Native.elm_list_item_insert_before @ptr, before, label, left_icon, right_icon, cb, data
end
#
def item_insert_after after, label, left_icon=nil, right_icon=nil, cb=nil, data=nil
- ElmObjectItem.new Native::elm_list_item_insert_after @ptr, after, label, left_icon, right_icon, cb, data
+ ElmObjectItem.new Native.elm_list_item_insert_after @ptr, after, label, left_icon, right_icon, cb, data
end
#
def item_sorted_insert label, left_icon, right_icon, cb, data, cmp_fct
- ElmObjectItem.new Native::elm_list_item_sorted_insert @ptr, label, left_icon, right_icon, cb, data, cmp_fct
+ ElmObjectItem.new Native.elm_list_item_sorted_insert @ptr, label, left_icon, right_icon, cb, data, cmp_fct
end
#
def selected_item_get
- ElmObjectItem.new Native::elm_list_selected_item_get @ptr
+ ElmObjectItem.new Native.elm_list_selected_item_get @ptr
end
#
def item_prev it
- ElmObjectItem.new Native::elm_list_item_prev it
+ ElmObjectItem.new Native.elm_list_item_prev it
end
#
def item_next it
- ElmObjectItem.new Native::elm_list_item_next it
+ ElmObjectItem.new Native.elm_list_item_next it
end
#
end
diff --git a/lib/efl/elm/elm_menu.rb b/lib/efl/elm/elm_menu.rb
index f285011..a148143 100644
--- a/lib/efl/elm/elm_menu.rb
+++ b/lib/efl/elm/elm_menu.rb
@@ -16,35 +16,35 @@ module Efl
search_prefixes 'elm_menu_'
#
def item_add parent, icon=nil, label=nil, cb=nil, data=nil
- ElmObjectItem.new Native::elm_menu_item_add @ptr, parent, icon, label, cb, data
+ ElmObjectItem.new Native.elm_menu_item_add @ptr, parent, icon, label, cb, data
end
#
def item_add_object parent, subobj, cb=nil, data=nil
- ElmObjectItem.new Native::elm_menu_item_add_object @ptr, parent, subobj, cb, data
+ ElmObjectItem.new Native.elm_menu_item_add_object @ptr, parent, subobj, cb, data
end
#
def item_separator_add parent
- ElmObjectItem.new Native::elm_menu_item_separator_add @ptr, parent
+ ElmObjectItem.new Native.elm_menu_item_separator_add @ptr, parent
end
#
def selected_item_get
- ElmObjectItem.new Native::elm_menu_selected_item_get @ptr
+ ElmObjectItem.new Native.elm_menu_selected_item_get @ptr
end
#
def last_item_get
- ElmObjectItem.new Native::elm_menu_last_item_get @ptr
+ ElmObjectItem.new Native.elm_menu_last_item_get @ptr
end
#
def first_item_get
- ElmObjectItem.new Native::elm_menu_first_item_get @ptr
+ ElmObjectItem.new Native.elm_menu_first_item_get @ptr
end
#
def item_next_get it
- ElmObjectItem.new Native::elm_menu_item_next_get it
+ ElmObjectItem.new Native.elm_menu_item_next_get it
end
#
def item_prev_get it
- ElmObjectItem.new Native::elm_menu_item_prev_get it
+ ElmObjectItem.new Native.elm_menu_item_prev_get it
end
#
end
diff --git a/lib/efl/elm/elm_mirroring.rb b/lib/efl/elm/elm_mirroring.rb
index e19c3fc..0f05389 100644
--- a/lib/efl/elm/elm_mirroring.rb
+++ b/lib/efl/elm/elm_mirroring.rb
@@ -11,21 +11,21 @@ module Efl
class ElmMirroring
#
def mirrored_get
- Native::elm_object_mirrored_get @ptr
+ Native.elm_object_mirrored_get @ptr
end
alias :mirrored :mirrored_get
#
def mirrored_set mirrored
- Native::elm_object_mirrored_set @ptr, mirrored
+ Native.elm_object_mirrored_set @ptr, mirrored
end
#
def mirrored_automatic_get
- Native::elm_object_mirrored_automatic_get @ptr
+ Native.elm_object_mirrored_automatic_get @ptr
end
alias :mirrored_automatic :mirrored_automatic_get
#
def mirrored_automatic_set auto
- Native::elm_object_mirrored_automatic_set @ptr, auto
+ Native.elm_object_mirrored_automatic_set @ptr, auto
end
#
end
diff --git a/lib/efl/elm/elm_multibuttonentry.rb b/lib/efl/elm/elm_multibuttonentry.rb
index b9b4ea2..e72e57e 100644
--- a/lib/efl/elm/elm_multibuttonentry.rb
+++ b/lib/efl/elm/elm_multibuttonentry.rb
@@ -16,39 +16,39 @@ module Efl
search_prefixes 'elm_multibuttonentry_'
#
def item_prepend label, data=nil
- ElmObjectItem.new Native::elm_multibuttonentry_item_prepend @ptr, label, data
+ ElmObjectItem.new Native.elm_multibuttonentry_item_prepend @ptr, label, data
end
#
def item_append label, data=nil
- ElmObjectItem.new Native::elm_multibuttonentry_item_append @ptr, label, data
+ ElmObjectItem.new Native.elm_multibuttonentry_item_append @ptr, label, data
end
#
def item_insert_before before, label, data=nil
- ElmObjectItem.new Native::elm_multibuttonentry_item_insert_before @ptr, before, label, data
+ ElmObjectItem.new Native.elm_multibuttonentry_item_insert_before @ptr, before, label, data
end
#
def item_insert_after after, label, data=nil
- ElmObjectItem.new Native::elm_multibuttonentry_item_insert_after @ptr, after, label, data
+ ElmObjectItem.new Native.elm_multibuttonentry_item_insert_after @ptr, after, label, data
end
#
def first_item_get
- ElmObjectItem.new Native::elm_multibuttonentry_first_item_get @ptr
+ ElmObjectItem.new Native.elm_multibuttonentry_first_item_get @ptr
end
#
def last_item_get
- ElmObjectItem.new Native::elm_multibuttonentry_last_item_get @ptr
+ ElmObjectItem.new Native.elm_multibuttonentry_last_item_get @ptr
end
#
def selected_item_get
- ElmObjectItem.new Native::elm_multibuttonentry_selected_item_get @ptr
+ ElmObjectItem.new Native.elm_multibuttonentry_selected_item_get @ptr
end
#
def item_prev it
- ElmObjectItem.new Native::elm_multibuttonentry_item_prev it
+ ElmObjectItem.new Native.elm_multibuttonentry_item_prev it
end
#
def item_next it
- ElmObjectItem.new Native::elm_multibuttonentry_item_next it
+ ElmObjectItem.new Native.elm_multibuttonentry_item_next it
end
end
#
diff --git a/lib/efl/elm/elm_naviframe.rb b/lib/efl/elm/elm_naviframe.rb
index ecb65d8..22d1dab 100644
--- a/lib/efl/elm/elm_naviframe.rb
+++ b/lib/efl/elm/elm_naviframe.rb
@@ -16,23 +16,23 @@ module Efl
search_prefixes 'elm_naviframe_'
#
def item_push label, prev_btn, next_btn, content, style
- ElmObjectItem.new Native::elm_naviframe_item_push @ptr, label, prev_btn, next_btn, content, style
+ ElmObjectItem.new Native.elm_naviframe_item_push @ptr, label, prev_btn, next_btn, content, style
end
#
def item_insert_before before, label, prev_btn, next_btn, content, style
- ElmObjectItem.new Native::elm_naviframe_item_push before, label, prev_btn, next_btn, content, style
+ ElmObjectItem.new Native.elm_naviframe_item_push before, label, prev_btn, next_btn, content, style
end
#
def item_insert_after after, label, prev_btn, next_btn, content, style
- ElmObjectItem.new Native::elm_naviframe_item_push after, label, prev_btn, next_btn, content, style
+ ElmObjectItem.new Native.elm_naviframe_item_push after, label, prev_btn, next_btn, content, style
end
#
def top_item_get
- ElmObjectItem.new Native::elm_naviframe_top_item_get @ptr
+ ElmObjectItem.new Native.elm_naviframe_top_item_get @ptr
end
#
def bottom_item_get
- ElmObjectItem.new Native::elm_naviframe_bottom_item_get @ptr
+ ElmObjectItem.new Native.elm_naviframe_bottom_item_get @ptr
end
end
#
diff --git a/lib/efl/elm/elm_scale.rb b/lib/efl/elm/elm_scale.rb
index 18cc451..be9263f 100644
--- a/lib/efl/elm/elm_scale.rb
+++ b/lib/efl/elm/elm_scale.rb
@@ -11,12 +11,12 @@ module Efl
class ElmScale
#
def scale_get
- Native::elm_object_scale_get @ptr
+ Native.elm_object_scale_get @ptr
end
alias :scale :scale_get
#
def scale_set scale
- Native::elm_object_scale_set @ptr, scale
+ Native.elm_object_scale_set @ptr, scale
end
alias :scale= :scale_set
#
diff --git a/lib/efl/elm/elm_scroll.rb b/lib/efl/elm/elm_scroll.rb
index 7c648bd..c3c1d95 100644
--- a/lib/efl/elm/elm_scroll.rb
+++ b/lib/efl/elm/elm_scroll.rb
@@ -11,35 +11,35 @@ module Efl
class ElmObject
#
def scroll_hold_push
- Native::elm_object_scroll_hold_push @ptr
+ Native.elm_object_scroll_hold_push @ptr
end
#
def scroll_hold_pop
- Native::elm_object_scroll_hold_pop @ptr
+ Native.elm_object_scroll_hold_pop @ptr
end
#
def scroll_freeze_push
- Native::elm_object_scroll_freeze_push @ptr
+ Native.elm_object_scroll_freeze_push @ptr
end
#
def scroll_freeze_pop
- Native::elm_object_scroll_freeze_pop @ptr
+ Native.elm_object_scroll_freeze_pop @ptr
end
#
def scroll_lock_x_set lock
- Native::elm_object_scroll_lock_x_set @ptr, lock
+ Native.elm_object_scroll_lock_x_set @ptr, lock
end
#
def scroll_lock_y_set lock
- Native::elm_object_scroll_lock_x_set @ptr, lock
+ Native.elm_object_scroll_lock_x_set @ptr, lock
end
#
def scroll_lock_x_get
- Native::elm_object_scroll_lock_x_set @ptr
+ Native.elm_object_scroll_lock_x_set @ptr
end
#
def scroll_lock_y_get
- Native::elm_object_scroll_lock_x_set @ptr
+ Native.elm_object_scroll_lock_x_set @ptr
end
#
end
diff --git a/lib/efl/elm/elm_slideshow.rb b/lib/efl/elm/elm_slideshow.rb
index d305b5f..8156ad2 100644
--- a/lib/efl/elm/elm_slideshow.rb
+++ b/lib/efl/elm/elm_slideshow.rb
@@ -16,20 +16,20 @@ module Efl
search_prefixes 'elm_slideshow_'
#
def item_add itc, data
- ElmObjectItem.new Native::elm_slideshow_item_append @ptr, itc, data
+ ElmObjectItem.new Native.elm_slideshow_item_append @ptr, itc, data
end
#
def item_sorted_insert itc, data, fct
- ElmObjectItem.new Native::elm_slideshow_item_sorted_insert @ptr, itc, data, fct
+ ElmObjectItem.new Native.elm_slideshow_item_sorted_insert @ptr, itc, data, fct
end
#
def item_current_get
- ElmObjectItem.new Native::elm_slideshow_item_current_get @ptr
+ ElmObjectItem.new Native.elm_slideshow_item_current_get @ptr
end
alias :item_current :item_current_get
#
def item_nth_get n
- ElmObjectItem.new Native::elm_slideshow_item_nth_get @ptr, n
+ ElmObjectItem.new Native.elm_slideshow_item_nth_get @ptr, n
end
alias :item_nth :item_nth_get
#
diff --git a/lib/efl/elm/elm_toolbar.rb b/lib/efl/elm/elm_toolbar.rb
index b4b99be..2bd1a19 100644
--- a/lib/efl/elm/elm_toolbar.rb
+++ b/lib/efl/elm/elm_toolbar.rb
@@ -16,43 +16,43 @@ module Efl
search_prefixes 'elm_toolbar_'
#
def item_append icon, label, cb=nil, data=nil
- ElmObjectItem.new Native::elm_toolbar_item_append @ptr, icon, label, cb, data
+ ElmObjectItem.new Native.elm_toolbar_item_append @ptr, icon, label, cb, data
end
#
def item_prepend icon, label, cb=nil, data=nil
- ElmObjectItem.new Native::elm_toolbar_item_prepend @ptr, icon, label, cb, data
+ ElmObjectItem.new Native.elm_toolbar_item_prepend @ptr, icon, label, cb, data
end
#
def item_insert_before before, icon, label, cb=nil, data=nil
- ElmObjectItem.new Native::elm_toolbar_item_insert_before @ptr, before, icon, label, cb, data
+ ElmObjectItem.new Native.elm_toolbar_item_insert_before @ptr, before, icon, label, cb, data
end
#
def item_insert_after after, icon, label, cb=nil, data=nil
- ElmObjectItem.new Native::elm_toolbar_item_insert_after @ptr, after, icon, label, cb, data
+ ElmObjectItem.new Native.elm_toolbar_item_insert_after @ptr, after, icon, label, cb, data
end
#
def first_item_get
- ElmObjectItem.new Native::elm_toolbar_first_item_get @ptr
+ ElmObjectItem.new Native.elm_toolbar_first_item_get @ptr
end
alias :first_item :first_item_get
#
def last_item_get
- ElmObjectItem.new Native::elm_toolbar_last_item_get @ptr
+ ElmObjectItem.new Native.elm_toolbar_last_item_get @ptr
end
alias :last_item :last_item_get
#
def item_prev_get it
- ElmObjectItem.new Native::elm_toolbar_item_prev it
+ ElmObjectItem.new Native.elm_toolbar_item_prev it
end
alias :item_prev :item_prev_get
#
def item_next_get it
- ElmObjectItem.new Native::elm_toolbar_item_next it
+ ElmObjectItem.new Native.elm_toolbar_item_next it
end
alias :item_next :item_next_get
#
def selected_item_get
- ElmObjectItem.new Native::elm_toolbar_selected_item_get @ptr
+ ElmObjectItem.new Native.elm_toolbar_selected_item_get @ptr
end
alias :selected_item :selected_item_get
end