summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-28 15:09:41 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-28 15:09:41 +0200
commit19324a30a17c6ea0b3d77d34160841ef90ce3ed1 (patch)
treea795d324e7822e433dcd66a4057f69d4ecc20d86
parent0035feb9b4f29f06ffd430b763534f40604af4a9 (diff)
downloadffi-efl-19324a30a17c6ea0b3d77d34160841ef90ce3ed1.zip
ffi-efl-19324a30a17c6ea0b3d77d34160841ef90ce3ed1.tar.gz
set hierarchy n lib and spec directories
-rw-r--r--lib/efl/ecore/ecore_getopt.rb (renamed from lib/efl/ecore_getopt.rb)0
-rw-r--r--lib/efl/eina/eina_list.rb (renamed from lib/efl/eina_list.rb)0
-rw-r--r--spec/ecore/ecore_getopt_spec.rb (renamed from spec/ecore_getopt_spec.rb)4
-rw-r--r--spec/eina/eina_list_spec.rb (renamed from spec/eina_list_spec.rb)2
-rw-r--r--spec/evas_spec.rb2
-rw-r--r--test/test_evas.rb8
6 files changed, 9 insertions, 7 deletions
diff --git a/lib/efl/ecore_getopt.rb b/lib/efl/ecore/ecore_getopt.rb
index 34c4539..34c4539 100644
--- a/lib/efl/ecore_getopt.rb
+++ b/lib/efl/ecore/ecore_getopt.rb
diff --git a/lib/efl/eina_list.rb b/lib/efl/eina/eina_list.rb
index 823fe72..823fe72 100644
--- a/lib/efl/eina_list.rb
+++ b/lib/efl/eina/eina_list.rb
diff --git a/spec/ecore_getopt_spec.rb b/spec/ecore/ecore_getopt_spec.rb
index 6f5c7f0..a296db7 100644
--- a/spec/ecore_getopt_spec.rb
+++ b/spec/ecore/ecore_getopt_spec.rb
@@ -1,8 +1,8 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-require 'efl/ecore'
-require 'efl/ecore_getopt'
+#require 'efl/ecore'
+require 'efl/ecore/ecore_getopt'
#
describe Efl::EcoreGetopt do
#
diff --git a/spec/eina_list_spec.rb b/spec/eina/eina_list_spec.rb
index 5dba1de..2522256 100644
--- a/spec/eina_list_spec.rb
+++ b/spec/eina/eina_list_spec.rb
@@ -1,7 +1,7 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-require 'efl/eina_list'
+require 'efl/eina/eina_list'
#
describe Efl::Eina::EinaList do
#
diff --git a/spec/evas_spec.rb b/spec/evas_spec.rb
index 6ef3cdb..03a9e61 100644
--- a/spec/evas_spec.rb
+++ b/spec/evas_spec.rb
@@ -256,7 +256,7 @@ describe Efl::Evas do
a = ['/tmp1','/tmp2']
@e.evas_font_path_append a[1]
@e.evas_font_path_prepend a[0]
- require 'efl/eina_list'
+ require 'efl/eina/eina_list'
Efl::Eina::EinaList.new(@e.evas_font_path_list).each_with_index do |p,i|
p.read_string.should eql a[i]
end
diff --git a/test/test_evas.rb b/test/test_evas.rb
index 516f35e..b393e82 100644
--- a/test/test_evas.rb
+++ b/test/test_evas.rb
@@ -2,7 +2,6 @@
# -*- coding: UTF-8 -*-
#
require 'efl/evas'
-require 'efl/eina_list'
#
include Efl
#
@@ -32,13 +31,16 @@ def destroy_canvas c, pixels
end
#
def draw_scene c
- updates = Eina::EinaList.new c.render_updates
+ updates = c.render_updates
+ Evas::render_updates_free updates
# FIXME needs EinaRectangle
+# require 'efl/eina/eina_list'
+# updates = Eina::EinaList.new c.render_updates
# updates.each do |u|
# r = Eina::EinaRectangle.new u
# puts "UPDATED REGION: pos: #{r[:x]}, #{r[:y]} size: #{r[:w]}x#{r[:h]}"
# end
- Evas::render_updates_free updates.ptr
+# Evas::render_updates_free updates.ptr
end
#
def save_scene canvas, dest