diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-04 18:04:22 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-04 18:04:22 +0200 |
commit | e905aede58b598a0714852fb8ea6cdab353c8c45 (patch) | |
tree | 0be3fe555fa5c1efef431e03808141aa9f91058b /lib/efl/evas.rb | |
parent | a4db205dfc6d4a73107e170cf7f3cef81ef760b6 (diff) | |
download | ffi-efl-e905aede58b598a0714852fb8ea6cdab353c8c45.zip ffi-efl-e905aede58b598a0714852fb8ea6cdab353c8c45.tar.gz |
update evas and specs
Diffstat (limited to 'lib/efl/evas.rb')
-rw-r--r-- | lib/efl/evas.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/efl/evas.rb b/lib/efl/evas.rb index aada313..a99f652 100644 --- a/lib/efl/evas.rb +++ b/lib/efl/evas.rb @@ -78,6 +78,7 @@ module Efl Efl::Evas.evas_output_size_get @ptr, x, y [ x.read_int, y.read_int ] end + alias :size :output_size_get def output_viewport_get x = FFI::MemoryPointer.new :int y = FFI::MemoryPointer.new :int @@ -150,6 +151,18 @@ module Efl [ r.read_int, g.read_int, b.read_int, a.read_int ] end alias :color :color_get + def evas_get + REvas.new Efl::Evas.evas_object_evas_get @ptr + end + alias :evas :evas_get + def above_get + REvasObject.new Efl::Evas.evas_object_above_get @ptr + end + alias :above :above_get + def below_get + REvasObject.new Efl::Evas.evas_object_below_get @ptr + end + alias :below :below_get end end end |