diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-04 08:08:20 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-04 08:08:20 +0200 |
commit | cf8be94835ba2e4f2aba1f448209cf7e9d3e93e3 (patch) | |
tree | 785706a312a17cc54dc6f168050a8bf2f7818234 /lib/efl/native/elm/elm_calendar.rb | |
parent | b0c5fce9347b087b07bfffc290366dafd0ea9ba3 (diff) | |
download | ffi-efl-cf8be94835ba2e4f2aba1f448209cf7e9d3e93e3.zip ffi-efl-cf8be94835ba2e4f2aba1f448209cf7e9d3e93e3.tar.gz |
update elm
Diffstat (limited to 'lib/efl/native/elm/elm_calendar.rb')
-rw-r--r-- | lib/efl/native/elm/elm_calendar.rb | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/lib/efl/native/elm/elm_calendar.rb b/lib/efl/native/elm/elm_calendar.rb index 2f93e11..79bfe1f 100644 --- a/lib/efl/native/elm/elm_calendar.rb +++ b/lib/efl/native/elm/elm_calendar.rb @@ -25,10 +25,20 @@ module Efl # typedef enum {...} _Elm_Calendar_Mark_Repeat_Type; enum :_elm_calendar_mark_repeat_type, [ :elm_calendar_unique, :elm_calendar_daily, :elm_calendar_weekly, :elm_calendar_monthly, :elm_calendar_annually ] + # typedef enum {...} _Elm_Calendar_Weekday; + enum :_elm_calendar_weekday, [ :elm_day_sunday, :elm_day_monday, :elm_day_tuesday, :elm_day_wednesday, :elm_day_thursday, :elm_day_friday, + :elm_day_saturday, :elm_day_last ] + # typedef enum {...} _Elm_Calendar_Select_Mode; + enum :_elm_calendar_select_mode, [ :elm_calendar_select_mode_default, 0, :elm_calendar_select_mode_always, 1, :elm_calendar_select_mode_none, + 2, :elm_calendar_select_mode_ondemand, 3 ] # # TYPEDEFS # typedef _Elm_Calendar_Mark_Repeat_Type Elm_Calendar_Mark_Repeat_Type; typedef :_elm_calendar_mark_repeat_type, :elm_calendar_mark_repeat_type + # typedef _Elm_Calendar_Weekday Elm_Calendar_Weekday; + typedef :_elm_calendar_weekday, :elm_calendar_weekday + # typedef _Elm_Calendar_Select_Mode Elm_Calendar_Select_Mode; + typedef :_elm_calendar_select_mode, :elm_calendar_select_mode # typedef struct _Elm_Calendar_Mark Elm_Calendar_Mark; typedef :pointer, :elm_calendar_mark # @@ -48,10 +58,10 @@ module Efl [ :elm_calendar_min_max_year_set, [ :evas_object, :int, :int ], :void ], # EAPI void elm_calendar_min_max_year_get(const Evas_Object *obj, int *min, int *max); [ :elm_calendar_min_max_year_get, [ :evas_object, :pointer, :pointer ], :void ], - # EAPI void elm_calendar_day_selection_disabled_set(Evas_Object *obj, Eina_Bool disabled); - [ :elm_calendar_day_selection_disabled_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_calendar_day_selection_disabled_get(const Evas_Object *obj); - [ :elm_calendar_day_selection_disabled_get, [ :evas_object ], :bool ], + # EAPI void elm_calendar_select_mode_set(Evas_Object *obj, Elm_Calendar_Select_Mode mode); + [ :elm_calendar_select_mode_set, [ :evas_object, :_elm_calendar_select_mode ], :void ], + # EAPI Elm_Calendar_Select_Mode elm_calendar_select_mode_get(const Evas_Object *obj); + [ :elm_calendar_select_mode_get, [ :evas_object ], :_elm_calendar_select_mode ], # EAPI void elm_calendar_selected_time_set(Evas_Object *obj, struct tm *selected_time); [ :elm_calendar_selected_time_set, [ :evas_object, :pointer ], :void ], # EAPI Eina_Bool elm_calendar_selected_time_get(const Evas_Object *obj, struct tm *selected_time); @@ -72,6 +82,10 @@ module Efl [ :elm_calendar_interval_set, [ :evas_object, :double ], :void ], # EAPI double elm_calendar_interval_get(const Evas_Object *obj); [ :elm_calendar_interval_get, [ :evas_object ], :double ], + # EAPI void elm_calendar_first_day_of_week_set(Evas_Object *obj, Elm_Calendar_Weekday day); + [ :elm_calendar_first_day_of_week_set, [ :evas_object, :_elm_calendar_weekday ], :void ], + # EAPI Elm_Calendar_Weekday elm_calendar_first_day_of_week_get(const Evas_Object *obj); + [ :elm_calendar_first_day_of_week_get, [ :evas_object ], :_elm_calendar_weekday ], ] # attach_fcts fcts |