summaryrefslogtreecommitdiffstats
path: root/lib/efl/native/evas.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-23 16:20:00 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-23 16:20:00 +0100
commit41cb58308c9454f4e8ecbe73fc83addec9237d84 (patch)
tree5ead55555f754419229412c5f726e2cf2d44b4c0 /lib/efl/native/evas.rb
parent9edd1ff3da38221719d8567e78803e9efa9a5b14 (diff)
downloadffi-efl-41cb58308c9454f4e8ecbe73fc83addec9237d84.zip
ffi-efl-41cb58308c9454f4e8ecbe73fc83addec9237d84.tar.gz
update eet,eina_log, evas enums, add evas :evas_bidi_direction spec
Diffstat (limited to 'lib/efl/native/evas.rb')
-rw-r--r--lib/efl/native/evas.rb21
1 files changed, 11 insertions, 10 deletions
diff --git a/lib/efl/native/evas.rb b/lib/efl/native/evas.rb
index 6a49864..f55830a 100644
--- a/lib/efl/native/evas.rb
+++ b/lib/efl/native/evas.rb
@@ -22,8 +22,8 @@ module Efl
#
# ENUMS
# typedef enum _Evas_BiDi_Direction {...} Evas_BiDi_Direction;
- enum :evas_bidi_direction, [ :evas_bidi_direction_natural, :evas_bidi_direction_neutral, evas_bidi_direction_natural,
- :evas_bidi_direction_ltr, :evas_bidi_direction_rtl ]
+ enum :evas_bidi_direction, [ :evas_bidi_direction_natural, 0, :evas_bidi_direction_neutral, 0, :evas_bidi_direction_ltr, 1,
+ :evas_bidi_direction_rtl, 2 ]
# typedef enum _Evas_Callback_Type {...} Evas_Callback_Type;
enum :evas_callback_type, [ :evas_callback_mouse_in, :evas_callback_mouse_out, :evas_callback_mouse_down, :evas_callback_mouse_up,
:evas_callback_mouse_move, :evas_callback_mouse_wheel, :evas_callback_multi_down, :evas_callback_multi_up, :evas_callback_multi_move,
@@ -33,9 +33,9 @@ module Efl
:evas_callback_render_flush_pre, :evas_callback_render_flush_post, :evas_callback_canvas_object_focus_in, :evas_callback_canvas_object_focus_out,
:evas_callback_image_unloaded, :evas_callback_render_pre, :evas_callback_render_post, :evas_callback_last ]
# typedef enum _Evas_Button_Flags {...} Evas_Button_Flags;
- enum :evas_button_flags, [ :evas_button_none, 0, :evas_button_double_click, (1 << 0), :evas_button_triple_click, (1 << 1) ]
+ enum :evas_button_flags, [ :evas_button_none, 0, :evas_button_double_click, (1<<0), :evas_button_triple_click, (1<<1) ]
# typedef enum _Evas_Event_Flags {...} Evas_Event_Flags;
- enum :evas_event_flags, [ :evas_event_flag_none, 0, :evas_event_flag_on_hold, (1 << 0), :evas_event_flag_on_scroll, (1 << 1) ]
+ enum :evas_event_flags, [ :evas_event_flag_none, 0, :evas_event_flag_on_hold, (1<<0), :evas_event_flag_on_scroll, (1<<1) ]
# typedef enum _Evas_Touch_Point_State {...} Evas_Touch_Point_State;
enum :evas_touch_point_state, [ :evas_touch_point_down, :evas_touch_point_up, :evas_touch_point_move, :evas_touch_point_still,
:evas_touch_point_cancel ]
@@ -83,12 +83,13 @@ module Efl
enum :evas_object_pointer_mode, [ :evas_object_pointer_mode_autograb, :evas_object_pointer_mode_nograb,
:evas_object_pointer_mode_nograb_no_repeat_updown ]
# typedef enum _Evas_Text_Style_Type {...} Evas_Text_Style_Type;
- enum :evas_text_style_type, [ :evas_text_style_plain, :evas_text_style_shadow, :evas_text_style_outline, :evas_text_style_soft_outline,
- :evas_text_style_glow, :evas_text_style_outline_shadow, :evas_text_style_far_shadow, :evas_text_style_outline_soft_shadow,
- :evas_text_style_soft_shadow, :evas_text_style_far_soft_shadow, :evas_text_style_shadow_direction_bottom_right, (0x0 << 4),
- :evas_text_style_shadow_direction_bottom, (0x1 << 4), :evas_text_style_shadow_direction_bottom_left, (0x2 << 4),
- :evas_text_style_shadow_direction_left, (0x3 << 4), :evas_text_style_shadow_direction_top_left, (0x4 << 4), :evas_text_style_shadow_direction_top,
- (0x5 << 4), :evas_text_style_shadow_direction_top_right, (0x6 << 4), :evas_text_style_shadow_direction_right, (0x7 << 4) ]
+ enum :evas_text_style_type, [ :evas_text_style_plain, 0, :evas_text_style_shadow, 1, :evas_text_style_outline, 2,
+ :evas_text_style_soft_outline, 3, :evas_text_style_glow, 4, :evas_text_style_outline_shadow, 5, :evas_text_style_far_shadow, 6,
+ :evas_text_style_outline_soft_shadow, 7, :evas_text_style_soft_shadow, 8, :evas_text_style_far_soft_shadow, 9,
+ :evas_text_style_shadow_direction_bottom_right, (0x0<<4), :evas_text_style_shadow_direction_bottom, (0x1<<4),
+ :evas_text_style_shadow_direction_bottom_left, (0x2<<4), :evas_text_style_shadow_direction_left, (0x3<<4), :evas_text_style_shadow_direction_top_left,
+ (0x4<<4), :evas_text_style_shadow_direction_top, (0x5<<4), :evas_text_style_shadow_direction_top_right, (0x6<<4),
+ :evas_text_style_shadow_direction_right, (0x7<<4) ]
# typedef enum _Evas_Textblock_Text_Type {...} Evas_Textblock_Text_Type;
enum :evas_textblock_text_type, [ :evas_textblock_text_raw, :evas_textblock_text_plain, :evas_textblock_text_markup ]
# typedef enum _Evas_Textblock_Cursor_Type {...} Evas_Textblock_Cursor_Type;