summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_spin_button.c
diff options
context:
space:
mode:
authorWoochan Lee <wc0917.lee@samsung.com>2018-04-25 16:43:53 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2018-04-25 16:48:21 +0900
commitef2e6afd1f7c890297900937fa1f12f0f4f76980 (patch)
treede05efce05d3712a76c47b6f7555df3ee51145c0 /src/lib/elementary/efl_ui_spin_button.c
parent3d6c72438d4d311aabeec5ba90c659ae54f5c6fc (diff)
Intrudoce Efl Ui Date, Time interface and picker.
Summary: Create datepicker, timepicker with one manager class(efl_datetime). Test Plan: datepicker, timepicker sample. Reviewers: herb, Jaehyun_Cho, woohyun, SanghyeonLee Reviewed By: Jaehyun_Cho Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5871
Diffstat (limited to 'src/lib/elementary/efl_ui_spin_button.c')
-rw-r--r--src/lib/elementary/efl_ui_spin_button.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/elementary/efl_ui_spin_button.c b/src/lib/elementary/efl_ui_spin_button.c
index fe11db4..bb0e903 100644
--- a/src/lib/elementary/efl_ui_spin_button.c
+++ b/src/lib/elementary/efl_ui_spin_button.c
@@ -20,6 +20,7 @@
20 20
21#define EFL_UI_SPIN_BUTTON_DELAY_CHANGE_TIME 0.2 21#define EFL_UI_SPIN_BUTTON_DELAY_CHANGE_TIME 0.2
22 22
23static const char PART_NAME_ENTRY[] = "entry";
23static const char PART_NAME_DEC_BUTTON[] = "dec_button"; 24static const char PART_NAME_DEC_BUTTON[] = "dec_button";
24static const char PART_NAME_TEXT_BUTTON[] = "text_button"; 25static const char PART_NAME_TEXT_BUTTON[] = "text_button";
25static const char PART_NAME_INC_BUTTON[] = "inc_button"; 26static const char PART_NAME_INC_BUTTON[] = "inc_button";
@@ -723,13 +724,7 @@ _efl_ui_spin_button_efl_ui_widget_theme_apply(Eo *obj, Efl_Ui_Spin_Button_Data *
723 if (!int_ret) return EFL_UI_THEME_APPLY_FAILED; 724 if (!int_ret) return EFL_UI_THEME_APPLY_FAILED;
724 725
725 if (sd->ent) 726 if (sd->ent)
726 { 727 elm_widget_element_update(obj, sd->ent, PART_NAME_ENTRY);
727 //elm_widget_element_update(obj, sd->ent, PART_NAME_TEXT);
728 Eina_Strbuf *buf = eina_strbuf_new();
729 eina_strbuf_append_printf(buf, "spin_button/%s", elm_widget_style_get(obj));
730 elm_widget_style_set(sd->ent, eina_strbuf_string_get(buf));
731 eina_strbuf_free(buf);
732 }
733 728
734 if (sd->inc_button) 729 if (sd->inc_button)
735 elm_widget_element_update(obj, sd->inc_button, PART_NAME_INC_BUTTON); 730 elm_widget_element_update(obj, sd->inc_button, PART_NAME_INC_BUTTON);