summaryrefslogtreecommitdiffstats
path: root/lib/efl/eina_rectangle.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/eina_rectangle.rb')
-rw-r--r--lib/efl/eina_rectangle.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/efl/eina_rectangle.rb b/lib/efl/eina_rectangle.rb
new file mode 100644
index 0000000..c8ba256
--- /dev/null
+++ b/lib/efl/eina_rectangle.rb
@@ -0,0 +1,18 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+module Efl
+ #
+ module Native
+ #
+ class EinaRectangleStruct < FFI::Struct
+ layout :x, :int,
+ :y, :int,
+ :w, :int,
+ :h, :int
+ end
+ end
+ #
+end
+#
+# EOF