summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-28 12:36:55 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-28 12:36:55 +0100
commitb93e6fff86d6f6baa2f045968b6b46ec1a23223c (patch)
treec694a56b1abdf4529bf738539c4ed47e16930ba6 /lib/efl/elm
parent9a924c6c52e33721b37905a8761348792b70a34b (diff)
downloadffi-efl-b93e6fff86d6f6baa2f045968b6b46ec1a23223c.zip
ffi-efl-b93e6fff86d6f6baa2f045968b6b46ec1a23223c.tar.gz
parse elm_scale.h, generate elm_scale.rb
Diffstat (limited to 'lib/efl/elm')
-rw-r--r--lib/efl/elm/elm_scale.rb28
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