summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm/elm_scroll.rb
blob: 7c648bd8e7e24e675324f20199834ab3b884f820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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