summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-24 09:15:51 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-24 09:15:51 +0100
commit3963549fbac802a853c94861d1b308bd9c821dde (patch)
treed66c41f9c860a36ef81a1c8f5e0abb0ba4e5ad76
parentdbb576957737a14d68a2cba602a731e1c8062856 (diff)
downloadffi-efl-3963549fbac802a853c94861d1b308bd9c821dde.zip
ffi-efl-3963549fbac802a853c94861d1b308bd9c821dde.tar.gz
update evas API
-rw-r--r--lib/efl/native/evas.rb4
-rw-r--r--spec/evas_spec.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/efl/native/evas.rb b/lib/efl/native/evas.rb
index f55830a..2beeacf 100644
--- a/lib/efl/native/evas.rb
+++ b/lib/efl/native/evas.rb
@@ -928,6 +928,10 @@ module Efl
[ :evas_object_textblock_style_set, [ :pointer, :pointer ], :void ],
# EAPI const Evas_Textblock_Style *evas_object_textblock_style_get(const Evas_Object *obj);
[ :evas_object_textblock_style_get, [ :pointer ], :pointer ],
+ # EAPI void evas_object_textblock_style_user_set(Evas_Object *obj, Evas_Textblock_Style *ts);
+ [ :evas_object_textblock_style_user_set, [ :pointer, :pointer ], :void ],
+ # EAPI const Evas_Textblock_Style *evas_object_textblock_style_user_get(const Evas_Object *obj);
+ [ :evas_object_textblock_style_user_get, [ :pointer ], :pointer ],
# EAPI void evas_object_textblock_replace_char_set(Evas_Object *obj, const char *ch);
[ :evas_object_textblock_replace_char_set, [ :pointer, :string ], :void ],
# EAPI const char *evas_object_textblock_replace_char_get(Evas_Object *obj);
diff --git a/spec/evas_spec.rb b/spec/evas_spec.rb
index c8c3bff..bd23f15 100644
--- a/spec/evas_spec.rb
+++ b/spec/evas_spec.rb
@@ -27,7 +27,7 @@ describe "Efl::Evas #{Efl::Evas.version.full}" do
Evas.shutdown.should == @init
end
#
- it "evas_bidi_direction should be correct" do
+ it "enum evas_bidi_direction should be correct" do
Efl::Native.enum_value(:evas_bidi_direction_natural).should == 0
Efl::Native.enum_value(:evas_bidi_direction_neutral).should == 0
Efl::Native.enum_value(:evas_bidi_direction_ltr).should == 1