From b306f4a5c9633127a45536ef5e562e1da2b0cf16 Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Mon, 20 Nov 2017 19:16:43 +0900 Subject: [PATCH] [4.0] Support 360x360 resoruce package for wearable Support 360x360 resource package for wearable. Make special PushButton for wearable. Change-Id: I36e41d17c90bb5a4aa7fe76056c962980ed459be --- .../styles/360x360/dali-toolkit-default-theme.json | 385 +++++++++++++++++++++ .../360x360/images/cursor_handler_drop_center.png | Bin 0 -> 3231 bytes .../360x360/images/selection_handle_drop_left.png | Bin 0 -> 3230 bytes .../360x360/images/selection_handle_drop_right.png | Bin 0 -> 3236 bytes .../styles/360x360/images/tw_bottom_btn_bg.png | Bin 0 -> 4234 bytes packaging/dali-toolkit.spec | 58 ++++ 6 files changed, 443 insertions(+) create mode 100644 dali-toolkit/styles/360x360/dali-toolkit-default-theme.json create mode 100644 dali-toolkit/styles/360x360/images/cursor_handler_drop_center.png create mode 100644 dali-toolkit/styles/360x360/images/selection_handle_drop_left.png create mode 100644 dali-toolkit/styles/360x360/images/selection_handle_drop_right.png create mode 100755 dali-toolkit/styles/360x360/images/tw_bottom_btn_bg.png diff --git a/dali-toolkit/styles/360x360/dali-toolkit-default-theme.json b/dali-toolkit/styles/360x360/dali-toolkit-default-theme.json new file mode 100644 index 0000000..735b0e5 --- /dev/null +++ b/dali-toolkit/styles/360x360/dali-toolkit-default-theme.json @@ -0,0 +1,385 @@ +/* + * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * + * This file is part of Dali Toolkit + * + * 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. + */ + + +//****************************************************************************** +// +// Default Reference style theme for a 480x800 resolution, The values determined by UX design specification. +// This file can be copied to a new folder within the styles/ directory and amended with new default values. +// Can be overriden if StyleManager applies another style sheet. +// +//****************************************************************************** + +{ + "config": + { + "alwaysShowFocus":false, + "clearFocusOnEscape":true + }, + "styles": + { + "TextLabel": + { + "pointSize":18, + "enableAutoScroll":false, + "autoScrollLoopCount":2, + "autoScrollGap":50, + "autoScrollSpeed":80 + }, + + "TextLabelFontSize0": + { + "pointSize":8 + }, + "TextLabelFontSize1": + { + "pointSize":10 + }, + "TextLabelFontSize2": + { + "pointSize":15 + }, + "TextLabelFontSize3": + { + "pointSize":19 + }, + "TextLabelFontSize4": + { + "pointSize":25 + }, + "TextField": + { + "pointSize":18, + "primaryCursorColor":[0.0,0.72,0.9,1.0], + "secondaryCursorColor":[0.0,0.72,0.9,1.0], + "cursorWidth":3, + "selectionHighlightColor":[0.75,0.96,1.0,1.0], + "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png", + "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" }, + "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }, + "enableSelection":true + }, + + "TextFieldFontSize0": + { + "pointSize":10 + }, + "TextFieldFontSize1": + { + "pointSize":10 + }, + "TextFieldFontSize2": + { + "pointSize":10 + }, + "TextFieldFontSize3": + { + "pointSize":10 + }, + "TextFieldFontSize4": + { + "pointSize":10 + }, + "TextSelectionPopup": + { + "popupMaxSize":[656,72], + "optionDividerSize":[2,0], + "popupDividerColor":[0.23,0.72,0.8,0.11], + "popupIconColor":[1.0,1.0,1.0,1.0], + "popupPressedColor":[0.24,0.72,0.8,0.11], + "background": { + "visualType": "IMAGE", + "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png" + }, + "backgroundBorder": { + "visualType": "IMAGE", + "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png", + "mixColor":[0.24,0.72,0.8,1.0] + }, + "popupFadeInDuration":0.25, + "popupFadeOutDuration":0.25 + }, + "TextSelectionPopupButton": + { + "label": + { + "visualType":"TEXT", + "pointSize":8 + }, + "unselectedBackgroundVisual": + { + "visualType": "IMAGE", + "url": "" + }, + "selectedBackgroundVisual": + { + "visualType": "IMAGE", + "url": "" + } + }, + "TextSelectionToolbar": + { + "enableOvershoot":true, + "enableScrollBar":true, + "scrollView": + { + "overshootAnimationSpeed":360.0, + "overshootSize":[720.0,130.0] + } + }, + "TextSelectionScrollBar": + { + "indicatorShowDuration":0.25, + "indicatorHideDuration":0.25, + "indicatorTransientDuration":1.0 + }, + "TextSelectionScrollIndicator": + { + "image": + { + "visualType":"IMAGE", + "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png" + }, + "color":[0.0,0.72,0.9,0.7] + }, + "ScrollView": + { + "overshootEffectColor":"B018", + "overshootAnimationSpeed":360.0, + "overshootSize":[720.0,130.0] + }, + "ItemView": + { + "overshootEffectColor":"B018", + "overshootAnimationSpeed":360.0, + "overshootSize":[720.0,130.0] + }, + "ScrollBar": + { + "indicatorShowDuration":0.25, + "indicatorHideDuration":0.25, + "color":[0.0,0.72,0.9,0.7] + }, + "TextEditor": + { + "pointSize":18, + "primaryCursorColor":[0.0,0.72,0.9,1.0], + "secondaryCursorColor":[0.0,0.72,0.9,1.0], + "cursorWidth":3, + "selectionHighlightColor":[0.75,0.96,1.0,1.0], + "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png", + "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" }, + "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }, + "enableScrollBar":true, + "scrollBarShowDuration":0.8, + "scrollBarFadeDuration":0.5, + "enableSelection":true + }, + "Popup": + { + "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png", + "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png", + "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png", + "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png", + "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png", + "popupBackgroundBorder":[17,17,13,13] + }, + "ConfirmationPopup": + { + "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png", + "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png", + "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png", + "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png", + "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png", + "popupBackgroundBorder":[17,17,13,13] + }, + "Slider": + { + "showPopup": true, + "showValue": true, + "valuePrecision": 0, + "trackVisual":{ + "url":"{DALI_IMAGE_DIR}slider-skin.9.png", + "size":[27,27] + }, + "progressVisual":{ + "url":"{DALI_IMAGE_DIR}slider-skin-progress.9.png", + "size":[27,27] + }, + "handleVisual":{ + "url":"{DALI_IMAGE_DIR}slider-skin-handle.png", + "size":[72,72] + }, + "popupVisual":"{DALI_IMAGE_DIR}slider-popup.9.png", + "popupArrowVisual":"{DALI_IMAGE_DIR}slider-popup-arrow.9.png", + "disableColor":[0.5, 0.5, 0.5, 1.0], + "popupTextColor":[0.5,0.5,0.5,1.0], + "hitRegion":[0, 72], + "marks":[], + "snapToMarks":false, + "markTolerance":0.05 + }, + "SliderHandleTextLabel": + { + "textColor":[0.8,0.8,1,1] + }, + "ProgressBar": + { + "trackVisual":{ + "visualType":"IMAGE", + "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png" + }, + "progressVisual":{ + "visualType":"IMAGE", + "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png" + }, + "secondaryProgressVisual":{ + "visualType":"IMAGE", + "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png" + }, + "indeterminateVisual":{ + "visualType":"IMAGE", + "pixelArea":[0.0, 0.0, 10.0, 1.0], + "wrapModeU":"REPEAT", + "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png" + }, + "indeterminateVisualAnimation": + [ + { + "target":"indeterminateVisual", + "property":"pixelArea", + "initialValue":[0.0, 0.0, 10.0, 1.0], + "targetValue":[-1.0, 0.0, 10.0, 1.0], + "animator": + { + "alphaFunction":"DEFAULT", + "timePeriod": + { + "duration":0.8, + "delay":0 + } + } + } + ], + "labelVisual":{ + "visualType": "TEXT", + "textColor": [ 1.0, 1.0, 1.0, 1.0 ], + "pointSize" : 12.0, // Point size must always be provided to Text Visual + "horizontalAlignment": "CENTER", + "verticalAlignment": "CENTER" + }, + "progressValue": 0.0, + "secondaryProgressValue":0.0, + "indeterminate": false + }, + "Button": + { + "initialAutoRepeatingDelay":2.0, + "nextAutoRepeatingDelay":0.9 + // Note: Visuals added to Button will be used in all derived buttons unless overridden. + }, + "PushButton": + { + "anchorPoint": [ 0.5, 1.0, 0.5 ], + "parentOrigin": [ 0.5, 1.0, 0,5 ], + "label": + { + "visualType": "TEXT", + "text" : "BOTTOM_BTN", + "horizontalAlignment": "CENTER", + "verticalAlignment": "CENTER", + "pointSize" : 6.0, + "textColor": [0.98,0.98,0.98,1.0] + }, + "background": + { + "visualType": "IMAGE", + "url": "{DALI_STYLE_IMAGE_DIR}tw_bottom_btn_bg.png", + "mixColor": [0.0,0.21,0.29,0.9] + }, + "selectedStateImage": + { + "visualType": "IMAGE", + "url": "{DALI_STYLE_IMAGE_DIR}tw_bottom_btn_bg.png", + "mixColor": [0.0,0.57,0.8,0.3] + } + }, + "CheckBoxButton": + { + "styles":["Button"], + "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ], + "label": + { + "visualType": "TEXT", + "pointSize" : 10.0, // Point size must always be provided to Text Visual + "verticalAlignment": "CENTER" + }, + "unselectedVisual": + { + "visualType": "IMAGE", + "url": "{DALI_IMAGE_DIR}checkbox-unselected.png" + }, + "selectedVisual": + { + "visualType": "IMAGE", + "url": "{DALI_IMAGE_DIR}checkbox-selected.png" + }, + "disabledUnselectedVisual": + { + "visualType": "IMAGE", + "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png" + }, + "disabledSelectedVisual": + { + "visualType": "IMAGE", + "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png" + } + }, + "RadioButton": + { + "styles":["Button"], + "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ], + "label": + { + "visualType": "TEXT", + "pointSize" : 10.0, // Point size must always be provided to Text Visual + "verticalAlignment": "CENTER" + }, + "unselectedVisual": + { + "visualType": "IMAGE", + "url": "{DALI_IMAGE_DIR}radio-button-unselected.png" + }, + "selectedVisual": + { + "visualType": "IMAGE", + "url": "{DALI_IMAGE_DIR}radio-button-selected.png" + }, + "disabledUnselectedVisual": + { + "visualType": "IMAGE", + "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png" + }, + "disabledSelectedVisual": + { + "visualType": "IMAGE", + "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png" + } + } + } +} diff --git a/dali-toolkit/styles/360x360/images/cursor_handler_drop_center.png b/dali-toolkit/styles/360x360/images/cursor_handler_drop_center.png new file mode 100644 index 0000000000000000000000000000000000000000..a9a2b9ebc642a10454032011fce3be45229daad2 GIT binary patch literal 3231 zcmV;Q3}Ew#P)Oz@Z0f2-7z;ux~O9+4z06=<WDR*FRcSTFz- zW=q650N5=6FiBTtNC2?60Km==3$g$R3;-}uh=nNt1bYBr$Ri_o0EC$U6h`t_Jn<{8 z5a%iY0C<_QJh>z}MS)ugEpZ1|S1ukX&Pf+56gFW3VVXcL!g-k)GJ!M?;PcD?0HBc- z5#WRK{dmp}uFlRjj{U%*%WZ25jX z{P*?XzTzZ-GF^d31o+^>%=Ap99M6&ogks$0k4OBs3;+Bb(;~!4V!2o<6ys46agIcq zjPo+3B8fthDa9qy|77CdEc*jK-!%ZRYCZvbku9iQV*~a}ClFY4z~c7+0P?$U!PF=S z1Au6Q;m>#f??3%Vpd|o+W=WE9003S@Bra6Svp>fO002awfhw>;8}z{#EWidF!3EsG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Udylr$&lo}}xNu4J!%WW{D((rYu@mE$;$<2a7vIF92uj^p$te*rLrD=XKk Rhpqqs002ovPDHLkV1g^k`1t?; literal 0 HcmV?d00001 diff --git a/dali-toolkit/styles/360x360/images/selection_handle_drop_left.png b/dali-toolkit/styles/360x360/images/selection_handle_drop_left.png new file mode 100644 index 0000000000000000000000000000000000000000..d9ed8b8906cce59cb194dcb6d71251c244e0407b GIT binary patch literal 3230 zcmV;P3}N$$P)Oz@Z0f2-7z;ux~O9+4z06=<WDR*FRcSTFz- zW=q650N5=6FiBTtNC2?60Km==3$g$R3;-}uh=nNt1bYBr$Ri_o0EC$U6h`t_Jn<{8 z5a%iY0C<_QJh>z}MS)ugEpZ1|S1ukX&Pf+56gFW3VVXcL!g-k)GJ!M?;PcD?0HBc- z5#WRK{dmp}uFlRjj{U%*%WZ25jX z{P*?XzTzZ-GF^d31o+^>%=Ap99M6&ogks$0k4OBs3;+Bb(;~!4V!2o<6ys46agIcq zjPo+3B8fthDa9qy|77CdEc*jK-!%ZRYCZvbku9iQV*~a}ClFY4z~c7+0P?$U!PF=S z1Au6Q;m>#f??3%Vpd|o+W=WE9003S@Bra6Svp>fO002awfhw>;8}z{#EWidF!3EsG z3;bXU&9EIRU@z1_9W=mEXoiz;4lcq~xDGvV5BgyU zp1~-*fe8db$Osc*A=-!mVv1NJjtCc-h4>-CNCXm#Bp}I%6j35eku^v$Qi@a{RY)E3 zJ#qp$hg?Rwkvqr$GJ^buyhkyVfwECO)C{#lxu`c9ghrwZ&}4KmnvWKso6vH!8a<3Q zq36)6Xb;+tK10Vaz~~qUGsJ8#F2=(`u{bOVlVi)VBCHIn#u~6ztOL7=^<&SmcLWlF zMZgI*1b0FpVIDz9SWH+>*hr`#93(Um+6gxa1B6k+CnA%mOSC4s5&6UzVlpv@SV$}* z))J2sFA#f(L&P^E5{W}HC%KRUNwK6<(h|}}(r!{C=`5+6G)NjFlgZj-YqAG9lq?`C z$c5yc>d>VnA`E_*3F2Qp##d8RZb=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Cz;~eY(cDM(28Dyq{*m>M4?_iynUBkc4TkHUI6gT!;y-fz>HMcd z&t%Ugo)`Y2{>!cx7B7DI)$7;J(U{Spm-3gBzioV_{p!H$8L!*M!p0uH$#^p{Ui4P` z?ZJ24cOCDe-w#jZd?0@)|7iKK^;6KN`;!@ylm7$*nDhK&GcDTy000JJOGiWi00000 z0Qp0^e*gdg32;bRa{vGf6951U69E94oEQKA00(qQO+^Ra3Iz=oFYQD36aWAL&`Cr= zRA}Dq*-wZ~Q5*;G&l_VbNGPSrzXcX*V&Tum!b)spfs$e+k;N=6l>8~#va?Y3!%9iE z$bzInA;khqQ$i>|o2#aon&G{7=A8FB-+HV2-uL$DoO|y%_q8HIpJf1haD1?jP)l(P zC$R?l0k5ILD+lY(UHyf&#aI0_*M=9aT$*~g_SmP!?@Ml4ZAk4OUNeN#>#GAw7D~a zdsyD>;#TH`^I|;1+Egp(oVk<=mV4w@;|+!q_5aQ}awihP;8RZAp~U^~a^cqf-B2dX zi(I&Eb8wFFT)5#mILDJ*xMhj^zu|E%+?T}t_wg$i?tS9^n>ioi8}KSo_YbVVM6Qv0 zjhBhKZ(t(#+VX0G&hI#1!ovAFo_D$P3_g^y*uAoilZ|3jBX=0d_T`v8CBPEWu~I zZLZNVJeWESOM8csGz0oL6<2W;S8)|raTQl_6<2W;S8)|raTQl_6*qhS0JLBJj8r-2 Q#{d8T07*qoM6N<$f}qL~PXGV_ literal 0 HcmV?d00001 diff --git a/dali-toolkit/styles/360x360/images/selection_handle_drop_right.png b/dali-toolkit/styles/360x360/images/selection_handle_drop_right.png new file mode 100644 index 0000000000000000000000000000000000000000..f66b26b4acfc76b251d8b46ac45bdb1369ba47d5 GIT binary patch literal 3236 zcmV;V3|sSwP)Oz@Z0f2-7z;ux~O9+4z06=<WDR*FRcSTFz- zW=q650N5=6FiBTtNC2?60Km==3$g$R3;-}uh=nNt1bYBr$Ri_o0EC$U6h`t_Jn<{8 z5a%iY0C<_QJh>z}MS)ugEpZ1|S1uk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z@$AX&(QVv?u#KwCPC4F>O%(h5 zbih>TDUj3KA1H6${t8)7=4bbM|4l&>i_yOB%!IBDZH;tS%jO{WB-1DYBaHb|Fwkz( zacMf^CSVAM^G#NjJBEB52e*XR{dH6+eJwG*+l>0{kJID+kYEvt`n6`1#6Eh2-^LF& z$rPgoY%rD>7Tt9P_E9!-eVZU3YWF4T#-E90eLO@)qRaThcm7}njv^hw2lSc5V^mq- zE6~vGiYbm!u-6@L#%kbB-)?@v6|@wsFR2{Z|8Wejt4LCRE3;3h`n+qgt7MGOnF zelu(G#^^Hk1$GXT7t8{6`FelcHhSc4h{BN?xgT%!ySkXnxj;P_3m2XPKS4w6YyvZn zvXC6(2zx_+D)^F0mGOdO-w45s{cLGhDw<8{0i-Z=+X0Gs0E-DD1;-E1d2 zoIi;(*iS=_cRYgJETS)rTO>QAAyQ_ZB^2aaQ!A;7Sp*#(e#J%M_3Yn#7tvj~Ia(Ek zJM3|U_<=X17hFxP5%FK8p4>*HkTA9!VDppi^peEr+6L3ryy7c;zzOwy+LBtgs}o1k zl3Zumd;ZKf3d*d{u?Kbk5cfNu)Q{F1>`qd>*q%@T8Y5AHv}r5kovDJ9rA*rf+T#o2 zr;%m%D^xf~X$!d0*JkA66DfzVVa+d9I&%EpM?r-Y=~nh#yek@^=K1WcYVkB~y73@U zU9vjp045mBh4xe`;h+udtB2z literal 0 HcmV?d00001 diff --git a/packaging/dali-toolkit.spec b/packaging/dali-toolkit.spec index e3b2732..641a335 100644 --- a/packaging/dali-toolkit.spec +++ b/packaging/dali-toolkit.spec @@ -51,9 +51,20 @@ user interface functionality. ############################## # resource ############################## +%package resources_360x360 +Summary: default resource files for 360x360 +Requires: %{name} = %{version}-%{release} +Conflicts: %{name}-resources_480x800 +Conflicts: %{name}-resources_720x1280 +Conflicts: %{name}-resources_1920x1080 +%description resources_360x360 +dali-toolkit default resource files for 360x360 +Contain po / sounds / common images / style / style images + %package resources_480x800 Summary: default resource files for 480x800 Requires: %{name} = %{version}-%{release} +Conflicts: %{name}-resources_360x360 Conflicts: %{name}-resources_720x1280 Conflicts: %{name}-resources_1920x1080 %description resources_480x800 @@ -63,6 +74,7 @@ Contain po / sounds / common images / style / style images %package resources_720x1280 Summary: default resource files for 720x1280 Requires: %{name} = %{version}-%{release} +Conflicts: %{name}-resources_360x360 Conflicts: %{name}-resources_480x800 Conflicts: %{name}-resources_1920x1080 %description resources_720x1280 @@ -72,6 +84,7 @@ Contain po / sounds / common images / style / style images %package resources_1920x1080 Summary: default resource files for 1920x1080 Requires: %{name} = %{version}-%{release} +Conflicts: %{name}-resources_360x360 Conflicts: %{name}-resources_480x800 Conflicts: %{name}-resources_720x1280 %description resources_1920x1080 @@ -227,6 +240,8 @@ rm -rf %{buildroot}%{dali_toolkit_style_files}/* # Make folder to contain style and style images # After making folder, copy local style and style images to new folder +mkdir -p %{buildroot}%{dali_toolkit_style_files}/360x360 +cp -r dali-toolkit/styles/360x360/* %{buildroot}%{dali_toolkit_style_files}/360x360 mkdir -p %{buildroot}%{dali_toolkit_style_files}/480x800 cp -r dali-toolkit/styles/480x800/* %{buildroot}%{dali_toolkit_style_files}/480x800 mkdir -p %{buildroot}%{dali_toolkit_style_files}/720x1280 @@ -241,6 +256,15 @@ cp dali-toolkit/styles/default-feedback-theme.json %{buildroot}%{dali_toolkit_st # Pre Install ############################## +%pre resources_360x360 +case "$1" in + 2) + pushd %{dali_toolkit_style_files} + rm -rf ./* + popd + ;; +esac + %pre resources_480x800 case "$1" in 2) @@ -275,6 +299,11 @@ esac /sbin/ldconfig exit 0 +%post resources_360x360 +pushd %{dali_toolkit_style_files}/360x360 +for FILE in *; do mv ./"${FILE}" ../"${FILE}"; done +popd + %post resources_480x800 pushd %{dali_toolkit_style_files}/480x800 for FILE in *; do mv ./"${FILE}" ../"${FILE}"; done @@ -294,6 +323,17 @@ popd # Pre Uninstall ############################## +%preun resources_360x360 +case "$1" in + 0) + %preun resources_360x360 + pushd %{dali_toolkit_style_files} + mv images ./360x360 + mv dali-toolkit-default-theme.json ./360x360 + popd + ;; +esac + %preun resources_480x800 case "$1" in 0) @@ -334,6 +374,15 @@ esac /sbin/ldconfig exit 0 +%postun resources_360x360 +case "$1" in + 0) + pushd %{dali_toolkit_style_files} + rm -rf * + popd + ;; +esac + %postun resources_480x800 case "$1" in 0) @@ -393,6 +442,15 @@ esac %{dev_include_path}/dali-toolkit/* %{_libdir}/pkgconfig/dali-toolkit.pc +%files resources_360x360 +%manifest dali-toolkit-resources.manifest +%defattr(-,root,root,-) +%{dali_toolkit_image_files}/* +%{dali_toolkit_sound_files}/* +%{dali_toolkit_style_files}/360x360/* +%{dali_toolkit_style_files}/default-feedback-theme.json +%{_datadir}/locale/*/LC_MESSAGES/* + %files resources_480x800 %manifest dali-toolkit-resources.manifest %defattr(-,root,root,-) -- 2.7.4