summaryrefslogtreecommitdiffstats
path: root/lib/efl/native
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/native')
-rw-r--r--lib/efl/native/elm/elm_scroll.rb49
1 files changed, 49 insertions, 0 deletions
diff --git a/lib/efl/native/elm/elm_scroll.rb b/lib/efl/native/elm/elm_scroll.rb
new file mode 100644
index 0000000..d971ecb
--- /dev/null
+++ b/lib/efl/native/elm/elm_scroll.rb
@@ -0,0 +1,49 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/native'
+require 'efl/native/elementary'
+#
+module Efl
+ #
+ module ElmScroll
+ #
+ FCT_PREFIX = 'elm_scroll_' unless const_defined? :FCT_PREFIX
+ #
+ def self.method_missing meth, *args, &block
+ sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
+ self.send sym, *args, &block
+ end
+ #
+ end
+ #
+ module Native
+ #
+ ffi_lib 'elementary-ver-pre-svn-09.so.0'
+ #
+ # FUNCTIONS
+ fcts = [
+ # EAPI void elm_object_scroll_hold_push(Evas_Object *obj);
+ [ :elm_object_scroll_hold_push, [ :evas_object ], :void ],
+ # EAPI void elm_object_scroll_hold_pop(Evas_Object *obj);
+ [ :elm_object_scroll_hold_pop, [ :evas_object ], :void ],
+ # EAPI void elm_object_scroll_freeze_push(Evas_Object *obj);
+ [ :elm_object_scroll_freeze_push, [ :evas_object ], :void ],
+ # EAPI void elm_object_scroll_freeze_pop(Evas_Object *obj);
+ [ :elm_object_scroll_freeze_pop, [ :evas_object ], :void ],
+ # EAPI void elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock);
+ [ :elm_object_scroll_lock_x_set, [ :evas_object, :bool ], :void ],
+ # EAPI void elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock);
+ [ :elm_object_scroll_lock_y_set, [ :evas_object, :bool ], :void ],
+ # EAPI Eina_Bool elm_object_scroll_lock_x_get(const Evas_Object *obj);
+ [ :elm_object_scroll_lock_x_get, [ :evas_object ], :bool ],
+ # EAPI Eina_Bool elm_object_scroll_lock_y_get(const Evas_Object *obj);
+ [ :elm_object_scroll_lock_y_get, [ :evas_object ], :bool ],
+ ]
+ #
+ attach_fcts fcts
+ #
+ end
+end
+#
+# EOF