diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-28 11:45:25 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-28 11:45:25 +0100 |
commit | e0929df4e94fb8d4b3216f52694b558b3f04739f (patch) | |
tree | a0f286f4416b90e80ab4eaca10d23a632d1127cd /lib/efl/elm/elm_scroll.rb | |
parent | 6d11f53795cd8e11d36dd0ee07fc81c79c300808 (diff) | |
download | ffi-efl-e0929df4e94fb8d4b3216f52694b558b3f04739f.zip ffi-efl-e0929df4e94fb8d4b3216f52694b558b3f04739f.tar.gz |
parse elm_scroll.h, generate elm_scroll.rb
Diffstat (limited to 'lib/efl/elm/elm_scroll.rb')
-rw-r--r-- | lib/efl/elm/elm_scroll.rb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/lib/efl/elm/elm_scroll.rb b/lib/efl/elm/elm_scroll.rb new file mode 100644 index 0000000..7c648bd --- /dev/null +++ b/lib/efl/elm/elm_scroll.rb @@ -0,0 +1,50 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/elm/elm_object' +require 'efl/native/elm/elm_scroll' +# +module Efl + # + module Elm + # + class ElmObject + # + def scroll_hold_push + Native::elm_object_scroll_hold_push @ptr + end + # + def scroll_hold_pop + Native::elm_object_scroll_hold_pop @ptr + end + # + def scroll_freeze_push + Native::elm_object_scroll_freeze_push @ptr + end + # + def scroll_freeze_pop + Native::elm_object_scroll_freeze_pop @ptr + end + # + def scroll_lock_x_set 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 + end + # + def scroll_lock_x_get + Native::elm_object_scroll_lock_x_set @ptr + end + # + def scroll_lock_y_get + Native::elm_object_scroll_lock_x_set @ptr + end + # + end + # + end +end +# +# EOF |