%defattr(-,root,root,-)
%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/bin/system-syspopup
%if "%{?profile}" == "mobile"
-%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/shared/res/usb.edj
+%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/shared/res/usb-popup.edj
%endif
%{TZ_SYS_RO_SHARE}/packages/org.tizen.system-syspopup.xml
%endif
ADD_DEFINITIONS("-DPACKAGE=\"${PACKAGE}\"")
ADD_DEFINITIONS("-DLOCALEDIR=\"${LOCALEDIR}\"")
ADD_DEFINITIONS("-DRESDIR=\"${RESDIR}\"")
+ADD_DEFINITIONS("-DSYSTEM_RES=\"${SYSTEM_RES}\"")
IF(USB_POPUP STREQUAL on)
IF(PROFILE_MOBILE)
- ADD_DEFINITIONS("-DSYSTEM_RES=\"${SYSTEM_RES}\"")
- ADD_DEFINITIONS("-DELM_USB_EDC=\"${SYSTEM_RES}/usb.edj\"")
+ ADD_DEFINITIONS("-DELM_USB_EDC=\"${SYSTEM_RES}/usb-popup.edj\"")
ENDIF()
ENDIF(USB_POPUP STREQUAL on)
IF(USB_POPUP STREQUAL on)
IF(PROFILE_MOBILE)
- ADD_CUSTOM_TARGET(usb.edj
- COMMAND edje_cc -no-save ${CMAKE_SOURCE_DIR}/src/usb/usb.edc ${CMAKE_BINARY_DIR}/usb.edj
- DEPENDS ${CMAKE_SOURCE_DIR}/src/usb/usb.edc
- COMMENT "making usb edj file"
+ ADD_CUSTOM_TARGET(usb-popup.edj
+ COMMAND edje_cc -no-save ${CMAKE_SOURCE_DIR}/src/usb/usb-popup.edc ${CMAKE_BINARY_DIR}/usb-popup.edj
+ DEPENDS ${CMAKE_SOURCE_DIR}/src/usb/usb-popup.edc
+ COMMENT "making usb popup edj file"
)
- ADD_DEPENDENCIES(${PACKAGE} usb.edj)
- INSTALL(FILES ${CMAKE_BINARY_DIR}/usb.edj DESTINATION ${SYSTEM_RES})
+ ADD_DEPENDENCIES(${PACKAGE} usb-popup.edj)
+ INSTALL(FILES ${CMAKE_BINARY_DIR}/usb-popup.edj DESTINATION ${SYSTEM_RES})
ENDIF()
ENDIF(USB_POPUP STREQUAL on)
--- /dev/null
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+collections {
+ base_scale: 2.6;
+
+ #define POPUP_CHECK_VIEW_LAYOUT_MIN_INC 0 252
+ #define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 15
+ #define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 15
+ #define POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC 0 162
+ #define POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC 0 90
+ #define POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC 50 50
+
+ group { name: "popup_checkview_layout";
+ styles {
+ style { name: "popup_content_style";
+ base: "font=Tizen:style=Regular align=left font_size="POPUP_TEXT_FONT_SIZE1" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
+ tag: "br" "\n";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "bg";
+ scale: 1;
+ type: SPACER;
+ description { state: "default" 0.0;
+ min: POPUP_CHECK_VIEW_LAYOUT_MIN_INC;
+ fixed: 1 0;
+ }
+ }
+ part { name: "pad_l";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
+ fixed: 1 0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "pad_r";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
+ fixed: 1 0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 1.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ min: POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC;
+ align: 0.5 0.0;
+ rel2 {
+ relative: 1.0 0.0;
+ to: "pad_b";
+ }
+ }
+ }
+ part { name: "pad_b";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 1.0;
+ min: POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ part { name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ min: POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "pad_l";
+ to_y: "pad_b";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "pad_r";
+ to_y: "pad_b";
+ }
+ }
+ }
+ }
+ }
+}
+++ /dev/null
-/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-collections {
- base_scale: 2.6;
-
- #define POPUP_CHECK_VIEW_LAYOUT_MIN_INC 0 252
- #define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 15
- #define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 15
- #define POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC 0 162
- #define POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC 0 90
- #define POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC 50 50
-
- group { name: "popup_checkview_layout";
- styles {
- style { name: "popup_content_style";
- base: "font=Tizen:style=Regular align=left font_size="POPUP_TEXT_FONT_SIZE1" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- scale: 1;
- type: SPACER;
- description { state: "default" 0.0;
- min: POPUP_CHECK_VIEW_LAYOUT_MIN_INC;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 0 1;
- min: POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC;
- align: 0.5 0.0;
- rel2 {
- relative: 1.0 0.0;
- to: "pad_b";
- }
- }
- }
- part { name: "pad_b";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 1.0;
- min: POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- }
- }
- part { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 0.5;
- min: POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC;
- fixed: 1 1;
- rel1 {
- relative: 1.0 1.0;
- to_x: "pad_l";
- to_y: "pad_b";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "pad_r";
- to_y: "pad_b";
- }
- }
- }
- }
- }
-}