summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm/elm_transit.rb
blob: 429c3178e88a80d59e2a1764b7eeebea87b941f5 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
require 'efl/elm/elm_object'
require 'efl/native/elm/elm_transit'
#
module Efl
    #
    module Elm
        #
        class ElmTransit < ElmObject
            #
            include Helper
            constructor :elm_transit_add
            search_prefixes 'elm_transit_'
            def effect_resizing_add from_w, from_h, to_w, to_h
                ElmTransitEffect.new Native.elm_transit_effect_resizing_add @ptr, from_w, from_h, to_w,to_h
            end
            #
            def effect_translation_add from_w, from_h, to_w, to_h
                ElmTransitEffect.new Native.elm_transit_effect_translation_add @ptr, from_dx, from_dy, to_dx, to_dy
            end
            #
            def effect_zoom_add from_rate, to_rate
                ElmTransitEffect.new Native.elm_transit_effect_zoom_add @ptr, from_rate, to_rate
            end
            #
            def effect_zoom_add from_rate, to_rate
                ElmTransitEffect.new Native.elm_transit_effect_zoom_add @ptr, from_rate, to_rate
            end
            #
            def effect_flip_add axis, cw
                ElmTransitEffect.new Native.elm_transit_effect_flip_add @ptr, axis, cw
            end
            #
            def effect_resizable_flip_add axis, cw
                ElmTransitEffect.new Native.elm_transit_effect_resizable_flip_add @ptr, axis, cw
            end
            #
            def effect_wipe_add type, dir
                ElmTransitEffect.new Native.elm_transit_effect_wipe_add @ptr, type, dir
            end
            #
            def effect_color_add from_r, from_g, from_b, from_a, to_r, to_g, to_b, to_a
                ElmTransitEffect.new Native.elm_transit_effect_color_add @ptr, from_r, from_g, from_b, from_a, to_r, to_g, to_b, to_a
            end
            #
            def effect_fade_add
                ElmTransitEffect.new Native.elm_transit_effect_fade_add @ptr
            end
            #
            def effect_blend_add
                ElmTransitEffect.new Native.elm_transit_effect_blend_add @ptr
            end
            #
            def effect_rotation_add from_degree, to_degree
                ElmTransitEffect.new Native.elm_transit_effect_rotation_add @ptr, from_degree, to_degree
            end
            #
            def effect_image_animation_add images
                ElmTransitEffect.new Native.elm_transit_effect_image_animation_add @ptr, images
            end
            #
        end
        #
        #
        class ElmTransitEffect < ElmObject
            #
            include Helper
            constructor :elm_transit_add
            search_prefixes 'elm_transit_effect_'
            #
        end
        #
    end
end
#
# EOF