diff options
Diffstat (limited to 'lib/efl/elm/elm_scale.rb')
-rw-r--r-- | lib/efl/elm/elm_scale.rb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/efl/elm/elm_scale.rb b/lib/efl/elm/elm_scale.rb new file mode 100644 index 0000000..18cc451 --- /dev/null +++ b/lib/efl/elm/elm_scale.rb @@ -0,0 +1,28 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/elm/elm_object' +require 'efl/native/elm/elm_scale' +# +module Efl + # + module Elm + # + class ElmScale + # + def scale_get + Native::elm_object_scale_get @ptr + end + alias :scale :scale_get + # + def scale_set scale + Native::elm_object_scale_set @ptr, scale + end + alias :scale= :scale_set + # + end + # + end +end +# +# EOF |