Apply circle UI in selector button 13/61713/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 10 Mar 2016 04:59:54 +0000 (13:59 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 10 Mar 2016 04:59:54 +0000 (13:59 +0900)
Change-Id: I9b02a2b4981f0d5613373468580572795d492ea4

im_setting_selector/input_method_setting_selector_ui.cpp
packaging/org.tizen.inputmethod-setting.spec

index 652f9b478c16d23955dab26a785d737dac553cb5..754e417683d42f293ce3da72c4ce058ac04d601e 100644 (file)
@@ -380,6 +380,9 @@ Evas_Object *im_setting_selector_popup_create(void *data)
 
     if (APP_TYPE_NORMAL == ad->app_type) {
         Evas_Object *btn = elm_button_add(ad->popup);
+#ifdef _CIRCLE
+        elm_object_style_set(btn, "bottom");
+#endif
         elm_object_text_set(btn, IM_SETTING_SELECT_KEYBOARD);
         elm_object_part_content_set(ad->popup, "button1", btn);
         evas_object_smart_callback_add(btn, "clicked", im_setting_selector_select_keyboard_cb, ad);
index 8c95ba3b0e1755e78c935f73bdd13a313c598c6f..55f93dbde91ce1f8872690e15d72a7ba546508ea 100644 (file)
@@ -23,6 +23,7 @@ BuildRequires:  pkgconfig(pkgmgr-info)
 BuildRequires:  cmake
 BuildRequires:  efl-extension-devel
 BuildRequires:  pkgconfig(libtzplatform-config)
+BuildRequires:  model-build-features
 
 %description
 Setting Application for ISF.
@@ -46,6 +47,10 @@ CXXFLAGS+=" -D_MOBILE";
 %if "%{?profile}" == "wearable"
 CFLAGS+=" -D_WEARABLE";
 CXXFLAGS+=" -D_WEARABLE";
+%if "%{model_build_feature_formfactor}" == "circle"
+CFLAGS+=" -D_CIRCLE";
+CXXFLAGS+=" -D_CIRCLE";
+%endif
 %endif
 
 rm -rf CMakeFiles