--- /dev/null
+Jaehwan Kim <jae.hwan.kim@samsung.com>
+Seokjae Jeong <seok.j.jeong@samsung.com>
+ChunEon Park <chuneon.park@samsung.com>
+Juyung Seo <juyung.seo@samsung.com>
+WooHyun Jung <wh0705.jung@samsung.com>
+MyungJae Lee <mjae.lee@samsung.com>
+Cinwoo Kim <cinoo.kim@samsung.com>
+MyungWoon Kim <myoungwoon.kim@samsung.com>
+Hoyoung Chang <hyoyoung.chang@samsung.com>
+JeeYeon Park <jy0703.park@samsung.com>
+IlKook Yun <ilkook.yun@samsung.com>
+JeongHyun Yun <jh0506.yun@samsung.com>
+Thiep Ha <thiep.ha@samsung.com>
+
--- /dev/null
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ 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.
PREFIX ?= /usr
-INSTALL=install -c
-
-$(warning $(CC) )
-
-all: themes
- echo $(escaped_prefix)
-
-themes: copy_edc
+all:
cd themes && make
- rm themes/nbeat-*.edc
-
-install_themes:
- cd themes && make install
-
-install: install_themes
-
-copy_edc:
- cp themes/nbeat.edc themes/nbeat-blue.edc
- cp themes/nbeat.edc themes/nbeat-purple.edc
- cp themes/nbeat.edc themes/nbeat-green.edc
- cp themes/nbeat.edc themes/nbeat-black.edc
-nbeat:
- cd themes && make $@
+install:
+ cd themes && make $@
-nbeat-blue nbeat-purple nbeat-green nbeat-black:
- cp themes/nbeat.edc themes/$@.edc
- cd themes && make $@
- rm themes/nbeat-*.edc
+uninstall:
+ cd themes && make $@
clean:
- rm -rf themes/*.edj
- rm -rf themes/nbeat-*.edc
+ cd themes && make $@
distclean: clean
--- /dev/null
+Copyright (c) Samsung Electronics Co., Ltd. All rights reserved.
+Except as noted, this software is licensed under Apache License, Version 2.
+Please, see the LICENSE file for Apache License terms and conditions.
+efl-theme-tizen (1.0.15) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.15
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com> Tue, 05 Jun 2012 13:01:46 +0900
+
+efl-theme-tizen (1.0.14) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.14
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com> Tue, 05 Jun 2012 11:04:26 +0900
+
+efl-theme-tizen (1.0.13) unstable; urgency=low
+
+ * apply text class for accessibillty giant font
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.13
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com> Mon, 04 Jun 2012 16:03:13 +0900
+
+efl-theme-tizen (1.0.12) unstable; urgency=low
+
+ * package upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.12
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Fri, 25 May 2012 10:41:22 +0900
+
+efl-theme-tizen (1.0.11) unstable; urgency=low
+
+ * package upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.11
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Wed, 23 May 2012 10:08:22 +0900
+
+efl-theme-tizen (1.0.10) unstable; urgency=low
+
+ * package upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.10
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Thu, 17 May 2012 09:17:29 +0900
+
+efl-theme-tizen (1.0.9) unstable; urgency=low
+
+ * package upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.9
+
+ -- Shinwoo Kim <cinoo.kim@samsung.com> Wed, 16 May 2012 15:20:10 +0900
+
+efl-theme-tizen (1.0.8) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.8
+
+ -- ChunEon Park <chuneon.park@samsung.com> Fri, 11 May 2012 13:33:53 +0900
+
+efl-theme-tizen (1.0.7) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.7
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Fri, 04 May 2012 15:57:39 +0900
+
+efl-theme-tizen (1.0.6) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.6
+
+ -- Jeonghyun Yun <jh0506.yun@samsung.com> Thu, 03 May 2012 17:49:16 +0900
+
+efl-theme-tizen (1.0.5) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.5
+
+ -- Jeonghyun Yun <jh0506.yun@samsung.com> Fri, 27 Apr 2012 14:11:45 +0900
+
+efl-theme-tizen (1.0.4) unstable; urgency=low
+
+ * Package Upload
+ * Important Changes
+ [Slider] This resolves slider event issue when it's disabled.
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.4
+
+ -- Shinwoo Kim <cinoo.kim@samsung.com> Mon, 23 Apr 2012 18:18:46 +0900
+
+efl-theme-tizen (1.0.3) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.3
+
+ -- Shinwoo Kim <cinoo.kim@samsung.com> Fri, 20 Apr 2012 10:56:57 +0900
+
+efl-theme-tizen (1.0.2) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.2
+
+ -- Jeonghyun Yun <jh0506.yun@samsung.com> Fri, 06 Apr 2012 18:33:13 +0900
+
+efl-theme-tizen (1.0.1) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.1
+
+ -- Myungjae Lee <mjae.lee@samsung.com> Thu, 05 Apr 2012 14:44:50 +0900
+
+efl-theme-tizen (1.0.0) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_1.0.0
+
+ -- Jeonghyun Yun <jh0506.yun@samsung.com> Tue, 03 Apr 2012 17:13:50 +0900
+
+efl-theme-tizen (0.2.1-28) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_0.2.1-28
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Mon, 02 Apr 2012 14:30:06 +0900
+
+efl-theme-tizen (0.2.1-27) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_0.2.1-27
+
+ -- ChunEon Park <chuneon.park@samsung.com> Thu, 29 Mar 2012 17:30:26 +0900
+
+efl-theme-tizen (0.2.1-26) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_0.2.1-26
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Wed, 21 Mar 2012 20:42:32 +0900
+
+efl-theme-tizen (0.2.1-25) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_0.2.1-25
+
+ -- Jeonghyun Yun <jh0506.yun@samsung.com> Sun, 18 Mar 2012 15:23:06 +0900
+
+efl-theme-tizen (0.2.1-24) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_0.2.1-24
+
+ -- Jeonghyun Yun <jh0506.yun@samsung.com> Fri, 16 Mar 2012 21:54:53 +0900
+
+efl-theme-tizen (0.2.1-23) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_0.2.1-23
+
+ -- ChunEon Park <chuneon.park@samsung.com> Thu, 15 Mar 2012 19:10:16 +0900
+
+efl-theme-tizen (0.2.1-22) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_0.2.1-22
+
+ -- Jeonghyun Yun <jh0506.yun@samsung.com> Tue, 13 Mar 2012 19:44:25 +0900
+
+efl-theme-tizen (0.2.1-21) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_0.2.1-21
+
+ -- ChunEon Park <chuneon.park@samsung.com> Sat, 10 Mar 2012 12:44:45 +0900
+
+efl-theme-tizen (0.2.1-20) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_0.2.1-20
+
+ -- ChunEon Park <chuneon.park@samsung.com> Wed, 07 Mar 2012 11:40:42 +0900
+
+efl-theme-tizen (0.2.1-19) unstable; urgency=low
+
+ * Package Upload
+ * Important Changes
+ [layout for editfield] remove useless parts
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_0.2.1-19
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Mon, 27 Feb 2012 21:49:03 +0900
+
+efl-theme-tizen (0.2.1-18) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_0.2.1-18
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Fri, 24 Feb 2012 13:38:48 +0900
+
+efl-theme-tizen (0.2.1-17) unstable; urgency=low
+
+ * add genlist email style
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_0.2.1-17
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Fri, 24 Feb 2012 09:09:30 +0900
+
+efl-theme-tizen (0.2.1-16) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_0.2.1-16
+
+ -- ChunEon Park <chuneon.park@samsung.com> Mon, 20 Feb 2012 14:18:04 +0900
+
+efl-theme-tizen (0.2.1-15) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/e/efl-theme-tizen
+ * Tag: efl-theme-tizen_0.2.1-15
+
+ -- ChunEon Park <chuneon.park@samsung.com> Mon, 20 Feb 2012 12:09:25 +0900
+
+efl-theme-tizen (0.2.1-14) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/n/nbeat-theme
+ * Tag: efl-theme-tizen_0.2.1-14
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Wed, 15 Feb 2012 19:04:58 +0900
+
+efl-theme-tizen (0.2.1-13) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/n/nbeat-theme
+ * Tag: efl-theme-tizen_0.2.1-13
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Tue, 07 Feb 2012 10:23:41 +0900
+
+efl-theme-tizen (0.2.1-12) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/n/nbeat-theme
+ * Tag: efl-theme-tizen_0.2.1-12
+
+ -- ChunEon Park <chuneon.park@samsung.com> Fri, 27 Jan 2012 11:58:56 +0900
+
+efl-theme-tizen (0.2.1-11) unstable; urgency=low
+
+ * Package Upload - naviframe title fixed
+ * Git: slp/pkgs/n/nbeat-theme
+ * Tag: efl-theme-tizen_0.2.1-11
+
+ -- ChunEon Park <chuneon.park@samsung.com> Thu, 19 Jan 2012 17:52:22 +0900
+
+efl-theme-tizen (0.2.1-10) unstable; urgency=low
+
+ * Package Upload - sweep btn, bubble border changes
+ * Git: slp/pkgs/n/nbeat-theme
+ * Tag: efl-theme-tizen_0.2.1-10
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Mon, 16 Jan 2012 19:24:53 +0900
+
+efl-theme-tizen (0.2.1-9) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/n/nbeat-theme
+ * Tag: efl-theme-tizen_0.2.1-9
+
+ -- ChunEon Park <chuneon.park@samsung.com> Mon, 16 Jan 2012 13:44:00 +0900
+
+efl-theme-tizen (0.2.1-8) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp/pkgs/n/nbeat-theme
+ * Tag: efl-theme-tizen_0.2.1-8
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Thu, 12 Jan 2012 16:14:26 +0900
+
+efl-theme-tizen (0.2.1-7) unstable; urgency=low
+
+ * Package Upload
+ * Important Changes
+ [entry] remove background part because of removing deprecated API
+ * Git: slp/pkgs/n/nbeat-theme
+ * Tag: efl-theme-tizen_0.2.1-7
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Wed, 04 Jan 2012 13:57:45 +0900
+
+efl-theme-tizen (0.2.1-6) unstable; urgency=low
+
+ * Package Upload.
+ * Important Changes
+ [Genlist] Added dialogue/1text.4icon style (4.2.13).
+ [controlbar] delete system icon.
+ * Git: slp/pkgs/n/nbeat-theme
+ * Tag: efl-theme-tizen_0.2.1-6
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Tue, 27 Dec 2011 13:07:35 +0900
+
+efl-theme-tizen (0.2.1-5) unstable; urgency=low
+
+ * Package Upload.
+ * Git: slp/pkgs/n/nbeat-theme
+ * Tag: efl-theme-tizen_0.2.1-5
+
+ -- ChunEon Park <chuneon.park@samsung.com> Wed, 21 Dec 2011 11:29:20 +0900
+
+efl-theme-tizen (0.2.1-4) unstable; urgency=low
+
+ * Package Upload again and again.
+ * Git: slp/pkgs/n/nbeat-theme
+ * Tag: efl-theme-tizen_0.2.1-4
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Tue, 20 Dec 2011 11:21:53 +0900
+
+efl-theme-tizen (0.2.1-3) unstable; urgency=low
+
+ * Package Upload.
+ * Git: slp/pkgs/n/nbeat-theme
+ * Tag: efl-theme-tizen-0.2.1-3
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Mon, 19 Dec 2011 16:14:46 +0900
+
+efl-theme-tizen (0.2.1-2) unstable; urgency=low
+
+ * Package Upload.
+ * Git: slp/pkgs/n/nbeat-theme
+ * Tag: efl-theme-tizen-0.2.1-2
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Mon, 19 Dec 2011 13:58:37 +0900
+
+efl-theme-tizen (0.2.1-1) unstable; urgency=low
+
+ * Changed nbeat-theme to efl-theme-tizen.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: efl-theme-tizen-0.2.1-1
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Fri, 16 Dec 2011 15:14:23 +0900
+
+nbeat-theme (0.1.1-146) unstable; urgency=low
+
+ * naviframe more button position fixed.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-146
+
+ -- ChunEon Park <chuneon.park@samsung.com> Thu, 15 Dec 2011 16:05:51 +0900
+
+nbeat-theme (0.1.1-145) unstable; urgency=low
+
+ * new email app styles(3text.5icon.2, 2text.1icon.14)
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-145
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Wed, 14 Dec 2011 15:21:57 +0900
+
+nbeat-theme (0.1.1-144) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-144
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Mon, 05 Dec 2011 20:32:14 +0900
+
+nbeat-theme (0.1.1-143) unstable; urgency=low
+
+ * Package Upload
+ * Important Changes
+ [naviframe] Change push+pop effect time from 0.5 to 0.3 seconds.
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-143
+
+ -- ChunEon Park <chuneon.park@samsung.com> Fri, 02 Dec 2011 16:49:37 +0900
+
+nbeat-theme (0.1.1-142) unstable; urgency=low
+
+ * Package Upload
+ * Important Changes
+ [naviframe] Change push+pop effect time from 0.5 to 0.3 seconds.
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-142
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Thu, 01 Dec 2011 12:05:14 +0900
+
+nbeat-theme (0.1.1-141) unstable; urgency=low
+
+ * Package upload : [CQ : H0100137513 controlbar button style change
+ * Important Changes
+ [button][bug fix] CQ : H0100137513 fix disable mode.
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-141
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Thu, 01 Dec 2011 10:43:42 +0900
+
+nbeat-theme (0.1.1-140) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-140
+
+ -- ChunEon Park <chuneon.park@samsung.com> Tue, 29 Nov 2011 16:23:30 +0900
+
+nbeat-theme (0.1.1-139) unstable; urgency=low
+
+ * Package Upload
+ * Important Changes
+ [naviframe] revert to before commit: d0268df64ef9cd87d4dffc1aa24f85ba04a829a7 (control bar open close signals added)
+ [popup] title(textblock) vertical align issue
+ [entry,label] add align property for sync with valign support
+ [Genlist] Added dialogue/1text.1icon.5 style.
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-139
+
+ -- Shinwoo Kim <cinoo.kim@samsung.com> Sat, 26 Nov 2011 21:14:18 +0900
+
+nbeat-theme (0.1.1-138) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-138
+
+ -- Shinwoo Kim <cinoo.kim@samsung.com> Wed, 23 Nov 2011 12:41:58 +0900
+
+nbeat-theme (0.1.1-137) unstable; urgency=low
+
+ * Package Upload(revert naviframe)
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-137
+
+ -- ChunEon Park <chuneon.park@samsung.com> Tue, 22 Nov 2011 14:25:41 +0900
+
+nbeat-theme (0.1.1-136) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-136
+
+ -- Myungjae Lee <mjae.lee@samsung.com> Mon, 21 Nov 2011 19:10:22 +0900
+
+nbeat-theme (0.1.1-134) unstable; urgency=low
+
+ * Package Uplaod
+ * Important Changes
+ [naviframe] rollback the latest change, because of broken view in dialer
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-134
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Fri, 18 Nov 2011 11:38:18 +0900
+
+nbeat-theme (0.1.1-133) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-133
+
+ -- ChunEon Park <chuneon.park@samsung.com> Thu, 17 Nov 2011 22:30:02 +0900
+
+nbeat-theme (0.1.1-132) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-132
+
+ -- ChunEon Park <chuneon.park@samsung.com> Mon, 14 Nov 2011 20:59:42 +0900
+
+nbeat-theme (0.1.1-131) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-131
+
+ -- Myungjae Lee <mjae.lee@samsung.com> Mon, 14 Nov 2011 14:35:45 +0900
+
+nbeat-theme (0.1.1-130) unstable; urgency=low
+
+ * Package Upload
+ * Important Changes
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-130
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Mon, 14 Nov 2011 11:37:13 +0900
+
+nbeat-theme (0.1.1-129) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-129
+
+ -- Myungjae Lee <mjae.lee@samsung.com> Fri, 11 Nov 2011 20:22:30 +0900
+
+nbeat-theme (0.1.1-128) unstable; urgency=low
+
+ * Package Upload
+ * - bubble item color change
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-128
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Thu, 10 Nov 2011 20:12:47 +0900
+
+nbeat-theme (0.1.1-127) unstable; urgency=low
+
+ * repackaging
+
+ -- JeongHyun Yun <jh0506.yun@samsung.com> Wed, 09 Nov 2011 13:53:31 -0500
+
+nbeat-theme (0.1.1-126) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-126
+
+ -- ChunEon Park <chuneon.park@samsung.com> Tue, 08 Nov 2011 22:40:28 +0900
+
+nbeat-theme (0.1.1-125) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-125
+
+ -- ChunEon Park <chuneon.park@samsung.com> Mon, 07 Nov 2011 18:00:40 +0900
+
+nbeat-theme (0.1.1-124) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-124
+
+ -- Shinwoo Kim <cinoo.kim@samsung.com> Thu, 03 Nov 2011 21:01:41 +0900
+
+nbeat-theme (0.1.1-123) unstable; urgency=low
+
+ * Package Upload
+ * Important Changes
+ [editfield] Some changes following the change in editfield's structure
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-123
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Wed, 02 Nov 2011 22:53:54 +0900
+
+nbeat-theme (0.1.1-122) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-122
+
+ -- Myungjae Lee <mjae.lee@samsung.com> Mon, 31 Oct 2011 21:22:17 +0900
+
+nbeat-theme (0.1.1-121) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-121
+
+ -- Tae-Hwan Kim <the81.kim@samsung.com> Mon, 31 Oct 2011 10:06:56 +0900
+
+nbeat-theme (0.1.1-120) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-120
+
+ -- ChunEon Park <chuneon.park@samsung.com> Wed, 26 Oct 2011 21:41:23 +0900
+
+nbeat-theme (0.1.1-119) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-119
+
+ -- Myungjae Lee <mjae.lee@samsung.com> Tue, 25 Oct 2011 21:34:23 +0900
+
+nbeat-theme (0.1.1-118) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-118
+
+ -- ChunEon Park <chuneon.park@samsung.com> Tue, 25 Oct 2011 15:33:21 +0900
+
+nbeat-theme (0.1.1-117) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-117
+
+ -- ChunEon Park <chuneon.park@samsung.com> Mon, 24 Oct 2011 19:54:13 +0900
+
+nbeat-theme (0.1.1-116) unstable; urgency=low
+
+ * add bubble new style
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-116
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Fri, 21 Oct 2011 21:07:37 +0900
+
+nbeat-theme (0.1.1-115) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-115
+
+ -- ChunEon Park <chuneon.park@samsung.com> Wed, 19 Oct 2011 22:01:34 +0900
+
+nbeat-theme (0.1.1-114) unstable; urgency=low
+
+ * Package Upload.
+ * Important Changes
+ [Genlist] Changed item disable alpha value from 64 to 110.
+ [Genlist] Changed genlist text colors a little bit lighter.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-114
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Tue, 18 Oct 2011 19:21:25 +0900
+
+nbeat-theme (0.1.1-113) unstable; urgency=low
+
+ * add bubble {layout, entry} style
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-113
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Tue, 18 Oct 2011 14:21:32 +0900
+
+nbeat-theme (0.1.1-112) unstable; urgency=low
+
+ * Package Upload.
+ * Important Changes
+ [popup] Shifting description issue on down scale is resolved indirectly
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-112
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Mon, 17 Oct 2011 19:36:35 +0900
+
+nbeat-theme (0.1.1-111) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-111
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Fri, 14 Oct 2011 17:21:00 +0900
+
+nbeat-theme (0.1.1-110) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-110
+
+ -- ChunEon Park <chuneon.park@samsung.com> Thu, 13 Oct 2011 23:07:30 +0900
+
+nbeat-theme (0.1.1-109) unstable; urgency=low
+
+ * Package Upload.
+ * Important Changes
+ [Genlist] Changed TEXT part to TEXTBLOCK part of elm.text.1 and
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-109
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Thu, 13 Oct 2011 12:28:14 +0900
+
+nbeat-theme (0.1.1-108) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-108
+
+ -- ChunEon Park <chuneon.park@samsung.com> Wed, 12 Oct 2011 22:15:01 +0900
+
+nbeat-theme (0.1.1-107) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-107
+
+ -- ChunEon Park <chuneon.park@samsung.com> Wed, 12 Oct 2011 20:45:15 +0900
+
+nbeat-theme (0.1.1-106) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-106
+
+ -- ChunEon Park <chuneon.park@samsung.com> Tue, 11 Oct 2011 21:18:22 +0900
+
+nbeat-theme (0.1.1-105) unstable; urgency=low
+
+ * Package Upload
+ * Important Changes
+ [layout] apply indicator's height for base layout
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-105
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Tue, 11 Oct 2011 10:12:02 +0900
+
+nbeat-theme (0.1.1-104) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-104
+
+ -- ChunEon Park <chuneon.park@samsung.com> Mon, 10 Oct 2011 22:11:10 +0900
+
+nbeat-theme (0.1.1-103) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-103
+
+ -- ChunEon Park <chuneon.park@samsung.com> Fri, 07 Oct 2011 20:39:27 +0900
+
+nbeat-theme (0.1.1-102) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-102
+
+ -- Myungjae Lee <mjae.lee@samsung.com> Thu, 06 Oct 2011 19:49:57 +0900
+
+nbeat-theme (0.1.1-101) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-101
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Thu, 06 Oct 2011 17:08:35 +0900
+
+nbeat-theme (0.1.1-100) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-100
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Thu, 06 Oct 2011 15:24:58 +0900
+
+nbeat-theme (0.1.1-99) unstable; urgency=low
+
+ * EFL NBeat Black HD Theme is Released
+ * Git: git:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-99
+
+ -- Myoungwoon Kim <myoungwoon.kim@samsung.com> Wed, 05 Oct 2011 10:38:43 +0900
+
+nbeat-theme (0.1.1-98) unstable; urgency=low
+
+ * Package Upload. (HD BLACK Not Released Yet)
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-98
+
+ -- ChunEon Park <chuneon.park@samsung.com> Tue, 04 Oct 2011 21:25:28 +0900
+
+nbeat-theme (0.1.1-97) unstable; urgency=low
+
+ * EFL NBeat HD Black Theme Release.
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-97
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Tue, 04 Oct 2011 17:43:37 +0900
+
+nbeat-theme (0.1.1-96) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-96
+
+ -- ChunEon Park <chuneon.park@samsung.com> Tue, 04 Oct 2011 13:05:40 +0900
+
+nbeat-theme (0.1.1-95) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-95
+
+ -- ChunEon Park <chuneon.park@samsung.com> Tue, 04 Oct 2011 08:42:55 +0900
+
+nbeat-theme (0.1.1-94) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-94
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Fri, 23 Sep 2011 13:06:53 +0900
+
+nbeat-theme (0.1.1-93) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-93
+
+ -- ChunEon Park <chuneon.park@samsung.com> Wed, 21 Sep 2011 17:11:44 +0900
+
+nbeat-theme (0.1.1-92) unstable; urgency=low
+
+ * Package Upload.
+ * Important Changes
+ [Genlist] Changed elm.text.3 part's width from 83 to 120 pixel in 3text.1icon.2 style.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-92
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Mon, 19 Sep 2011 19:16:12 +0900
+
+nbeat-theme (0.1.1-91) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-91
+
+ -- Ilkook Yun <ilkook.yun@samsung.com> Fri, 16 Sep 2011 18:15:17 +0900
+
+nbeat-theme (0.1.1-90) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-90
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Thu, 15 Sep 2011 17:59:07 +0900
+
+nbeat-theme (0.1.1-89) unstable; urgency=low
+
+ * Package Upload.
+ * Important Changes
+ [Elm_Conform] Group added for added layout.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-89
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Thu, 15 Sep 2011 16:00:39 +0900
+
+nbeat-theme (0.1.1-88) unstable; urgency=low
+
+ * Package Upload.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-88
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Thu, 08 Sep 2011 19:37:26 +0900
+
+nbeat-theme (0.1.1-87) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-87
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Wed, 07 Sep 2011 09:51:44 +0900
+
+nbeat-theme (0.1.1-86) unstable; urgency=low
+
+ * Upload Package for EFL core migration
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-86
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Fri, 02 Sep 2011 18:50:08 +0900
+
+nbeat-theme (0.1.1-85) unstable; urgency=low
+
+ * Upload Package
+ * Important Changes
+ [Genlist] Added 3text.6icon and 2text.1icon.13 style for email application.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-85
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Fri, 02 Sep 2011 13:59:45 +0900
+
+nbeat-theme (0.1.1-84) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-84
+
+ -- ChunEon Park <chuneon.park@samsung.com> Thu, 25 Aug 2011 21:13:51 +0900
+
+nbeat-theme (0.1.1-83) unstable; urgency=low
+
+ * Package Upload
+ * Important Changes
+ [Genlist HD] Refactoring. Used macros widely. This supports HD.
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-83
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Wed, 24 Aug 2011 17:09:25 +0900
+
+nbeat-theme (0.1.1-82) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-82
+
+ -- ChunEon Park <chuneon.park@samsung.com> Tue, 23 Aug 2011 19:37:21 +0900
+
+nbeat-theme (0.1.1-81) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-81
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Tue, 23 Aug 2011 10:26:21 +0900
+
+nbeat-theme (0.1.1-80) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-80
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Thu, 18 Aug 2011 21:29:31 +0900
+
+nbeat-theme (0.1.1-79) unstable; urgency=low
+
+ * Package Upload
+ * Important Changes
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-79
+
+ -- Ilkook Yun <ilkook.yun@samsung.com> Thu, 18 Aug 2011 17:31:26 +0900
+
+nbeat-theme (0.1.1-78) unstable; urgency=low
+
+ * Package Upload
+ * Important Changes
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-78
+
+ -- Shinwoo Kim <cinoo.kim@samsung.com> Wed, 17 Aug 2011 13:20:56 +0900
+
+nbeat-theme (0.1.1-77) unstable; urgency=low
+
+ * Package Upload
+ * Important Changes
+ [nbeat-hd] Enabled nbeat-hd packaging.
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-77
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Thu, 11 Aug 2011 18:01:32 +0900
+
+nbeat-theme (0.1.1-76) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-76
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Wed, 10 Aug 2011 10:56:58 +0900
+
+nbeat-theme (0.1.1-75) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-75
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Wed, 10 Aug 2011 10:22:36 +0900
+
+nbeat-theme (0.1.1-74) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-74
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Tue, 09 Aug 2011 10:33:18 +0900
+
+nbeat-theme (0.1.1-73) unstable; urgency=low
+
+ * Sync with elementary.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-73
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Thu, 04 Aug 2011 16:03:09 +0900
+
+nbeat-theme (0.1.1-72) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-72
+
+ -- ChunEon Park <chuneon.park@samsung.com> Fri, 29 Jul 2011 22:14:29 +0900
+
+nbeat-theme (0.1.1-71) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-71
+
+ -- ChunEon Park <chuneon.park@samsung.com> Fri, 29 Jul 2011 20:18:28 +0900
+
+nbeat-theme (0.1.1-70) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-70
+
+ -- Myungjae Lee <mjae.lee@samsung.com> Fri, 29 Jul 2011 19:33:00 +0900
+
+nbeat-theme (0.1.1-69) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-69
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Thu, 28 Jul 2011 16:34:57 +0900
+
+nbeat-theme (0.1.1-68) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-68
+
+ -- ChunEon Park <chuneon.park@samsung.com> Thu, 28 Jul 2011 09:20:59 +0900
+
+nbeat-theme (0.1.1-67) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-67
+
+ -- ChunEon Park <chuneon.park@samsung.com> Tue, 26 Jul 2011 13:53:31 +0900
+
+nbeat-theme (0.1.1-66) unstable; urgency=low
+
+ * Package Upload: editfield disappeared password problem was fixed
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-66
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Mon, 25 Jul 2011 15:13:08 +0900
+
+nbeat-theme (0.1.1-65) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-65
+
+ -- ChunEon Park <chuneon.park@samsung.com> Fri, 22 Jul 2011 19:27:56 +0900
+
+nbeat-theme (0.1.1-64) unstable; urgency=low
+
+ * [svn_merge] Sync with elementary migration.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-64
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Thu, 21 Jul 2011 10:01:54 +0900
+
+nbeat-theme (0.1.1-63) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-63
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Tue, 19 Jul 2011 20:44:40 +0900
+
+nbeat-theme (0.1.1-62) unstable; urgency=low
+
+ * Upload Package
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-62
+
+ -- ChunEon Park <chuneon.park@samsung.com> Mon, 18 Jul 2011 22:18:03 +0900
+
+nbeat-theme (0.1.1-61) unstable; urgency=low
+
+ * Upload Package
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-61
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Mon, 18 Jul 2011 17:13:56 +0900
+
+nbeat-theme (0.1.1-60) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-60
+
+ -- ChunEon Park <chuneon.park@samsung.com> Wed, 13 Jul 2011 20:17:14 +0900
+
+nbeat-theme (0.1.1-59) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-59
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Mon, 11 Jul 2011 16:25:15 +0900
+
+nbeat-theme (0.1.1-58) unstable; urgency=low
+
+ * Package Upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-58
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Thu, 07 Jul 2011 13:18:04 +0900
+
+nbeat-theme (0.1.1-57) unstable; urgency=low
+
+ * [slider.edc] Slider indicator popup is removed in drag state.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-57
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Wed, 06 Jul 2011 22:16:10 +0900
+
+nbeat-theme (0.1.1-56) unstable; urgency=low
+
+ * Upload Package
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-56
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Wed, 06 Jul 2011 20:30:40 +0900
+
+nbeat-theme (0.1.1-55) unstable; urgency=low
+
+ * Sync with elementary
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-55
+
+ -- ChunEon Park <chuneon.park@samsung.com> Fri, 01 Jul 2011 18:01:41 +0900
+
+nbeat-theme (0.1.1-54) unstable; urgency=low
+
+ * Sync with elementary
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-54
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Thu, 30 Jun 2011 21:35:29 +0900
+
+nbeat-theme (0.1.1-53) unstable; urgency=low
+
+ * Sync with elementary
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-53
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Thu, 30 Jun 2011 21:03:15 +0900
+
+nbeat-theme (0.1.1-52) unstable; urgency=low
+
+ * Package Upload : fixing editfield bug
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-52
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Wed, 29 Jun 2011 18:30:26 +0900
+
+nbeat-theme (0.1.1-51) unstable; urgency=low
+
+ * Sync with elementary
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-51
+
+ -- ChunEon Park <chuneon.park@samsung.com> Tue, 28 Jun 2011 19:49:58 +0900
+
+nbeat-theme (0.1.1-50) unstable; urgency=low
+
+ * Sync with elementary
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-50
+
+ -- ChunEon Park <chuneon.park@samsung.com> Mon, 27 Jun 2011 20:04:25 +0900
+
+nbeat-theme (0.1.1-49) unstable; urgency=low
+
+ * Sync with elementary
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-49
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Fri, 24 Jun 2011 10:38:18 +0900
+
+nbeat-theme (0.1.1-48) unstable; urgency=low
+
+ * Sync with elementary
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-48
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Wed, 22 Jun 2011 14:25:04 +0900
+
+nbeat-theme (0.1.1-47) unstable; urgency=low
+
+ * Upload package
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-47
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Tue, 21 Jun 2011 08:30:54 +0900
+
+nbeat-theme (0.1.1-46) unstable; urgency=low
+
+ * Package Upload : sync with elementary
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-46
+
+ -- ChunEon Park <chuneon.park@samsung.com> Fri, 17 Jun 2011 22:12:17 +0900
+
+nbeat-theme (0.1.1-45) unstable; urgency=low
+
+ * Package Upload : sync with elementary
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-45
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Thu, 16 Jun 2011 17:35:25 +0900
+
+nbeat-theme (0.1.1-44) unstable; urgency=low
+
+ * Package Upload : for sync with elementary
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-44
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Tue, 07 Jun 2011 21:18:10 +0900
+
+nbeat-theme (0.1.1-43) unstable; urgency=low
+
+ * Sync with elementary.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-43
+
+ -- ChunEon Park <chuneon.park@samsung.com> Sat, 04 Jun 2011 20:16:13 +0900
+
+nbeat-theme (0.1.1-42) unstable; urgency=low
+
+ * Sync with elementary.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-42
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Thu, 02 Jun 2011 11:26:09 +0900
+
+nbeat-theme (0.1.1-41) unstable; urgency=low
+
+ * Upload Package - sync with elementary
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-41
+
+ -- ChunEon Park <chuneon.park@samsung.com> Fri, 27 May 2011 18:23:17 +0900
+
+nbeat-theme (0.1.1-40) unstable; urgency=low
+
+ * Upload Package - sync with elementary
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-40
+
+ -- ChunEon Park <chuneon.park@samsung.com> Wed, 25 May 2011 19:12:41 +0900
+
+nbeat-theme (0.1.1-39) unstable; urgency=low
+
+ * Upload Package - button
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-39
+
+ -- ChunEon Park <chuneon.park@samsung.com> Tue, 24 May 2011 14:21:08 +0900
+
+nbeat-theme (0.1.1-38) unstable; urgency=low
+
+ * Upload Package - controlbar
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-38
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Mon, 23 May 2011 20:31:48 +0900
+
+nbeat-theme (0.1.1-37) unstable; urgency=low
+
+ * Package Upload : sync with elementary
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-37
+
+ -- ChunEon Park <chuneon.park@samsung.com> Thu, 19 May 2011 15:15:56 +0900
+
+nbeat-theme (0.1.1-36) unstable; urgency=low
+
+ * Package Upload : sync with elementary
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-36
+
+ -- ChunEon Park <chuneon.park@samsung.com> Wed, 18 May 2011 16:01:59 +0900
+
+nbeat-theme (0.1.1-35) unstable; urgency=low
+
+ * Package Upload : sync with elementary
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-35
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Mon, 16 May 2011 10:41:28 +0900
+
+nbeat-theme (0.1.1-34) unstable; urgency=low
+
+ * Package Upload : for sync with elementary
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-34
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Fri, 13 May 2011 10:52:09 +0900
+
+nbeat-theme (0.1.1-33) unstable; urgency=low
+
+ * Package upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-33
+
+ -- ChunEon Park <chuneon.park@samsung.com> Mon, 09 May 2011 17:20:27 +0900
+
+nbeat-theme (0.1.1-32) unstable; urgency=low
+
+ * Package upload
+ * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-32
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Wed, 04 May 2011 19:11:43 +0900
+
+nbeat-theme (0.1.1-31) unstable; urgency=low
+
+ * Sync with elementary.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-31
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Wed, 04 May 2011 11:24:13 +0900
+
+nbeat-theme (0.1.1-30) unstable; urgency=low
+
+ * Package Upload : sync with elementary
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-30
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Sat, 30 Apr 2011 10:37:41 +0900
+
+nbeat-theme (0.1.1-29) unstable; urgency=low
+
+ * [Genlist] Upstream merge. Added genlist mode feature.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-29
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Wed, 27 Apr 2011 15:38:29 +0900
+
+nbeat-theme (0.1.1-28) unstable; urgency=low
+
+ * Package Upload : for sync with elementary
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-28
+
+ -- ChunEon Park <chuneon.park@samsung.com> Wed, 27 Apr 2011 13:58:36 +0900
+
+nbeat-theme (0.1.1-27) unstable; urgency=low
+
+ * Package Upload : for sync with elementary
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-27
+
+ -- ChunEon Park <chuneon.park@samsung.com> Mon, 25 Apr 2011 21:46:32 +0900
+
+nbeat-theme (0.1.1-26) unstable; urgency=low
+
+ * Package Upload : for sync with elementary
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-26
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Thu, 21 Apr 2011 21:22:45 +0900
+
+nbeat-theme (0.1.1-25) unstable; urgency=low
+
+ * Editfield : modify the title top gap
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-25
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Wed, 20 Apr 2011 13:51:59 +0900
+
+nbeat-theme (0.1.1-24) unstable; urgency=low
+
+ * Package upload : For sync with elementary
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-24
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Mon, 18 Apr 2011 16:50:24 +0900
+
+nbeat-theme (0.1.1-23) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-23
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Fri, 15 Apr 2011 19:22:09 +0900
+
+nbeat-theme (0.1.1-22) unstable; urgency=low
+
+ * Sync with elementary
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-22
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Thu, 14 Apr 2011 18:02:34 +0900
+
+nbeat-theme (0.1.1-21) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-21
+
+ -- ChunEon Park <chuneon.park@samsung.com> Mon, 11 Apr 2011 23:19:20 +0900
+
+nbeat-theme (0.1.1-20) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-20
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Mon, 11 Apr 2011 18:25:59 +0900
+
+nbeat-theme (0.1.1-19) unstable; urgency=low
+
+ * [Genlist] Added genlist styles.
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-19
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Fri, 08 Apr 2011 21:56:02 +0900
+
+nbeat-theme (0.1.1-18) unstable; urgency=low
+
+ * Upload package
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-18
+
+ -- Daniel Juyung Seo <juyung.seo@samsung.com> Fri, 08 Apr 2011 20:29:53 +0900
+
+nbeat-theme (0.1.1-17) unstable; urgency=low
+
+ * Upload package
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-17
+
+ -- ChunEon Park <chuneon.park@samsung.com> Thu, 07 Apr 2011 19:34:08 +0900
+
+nbeat-theme (0.1.1-16) unstable; urgency=low
+
+ * Upload package
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-16
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Fri, 01 Apr 2011 21:55:13 +0900
+
+nbeat-theme (0.1.1-15) unstable; urgency=low
+
+ * Package upload
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-15
+
+ -- ChunEon Park <chuneon.park@samsung.com> Thu, 31 Mar 2011 19:46:30 +0900
+
+nbeat-theme (0.1.1-14) unstable; urgency=low
+
+ * Package upload
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-14
+
+ -- ChunEon Park <chuneon.park@samsung.com> Mon, 28 Mar 2011 12:21:01 +0900
+
+nbeat-theme (0.1.1-13) unstable; urgency=low
+
+ * Package upload
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-13
+
+ -- ChunEon Park <chuneon.park@samsung.com> Fri, 25 Mar 2011 11:55:31 +0900
+
+nbeat-theme (0.1.1-12) unstable; urgency=low
+
+ * Package upload
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-12
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Thu, 24 Mar 2011 20:39:31 +0900
+
+nbeat-theme (0.1.1-11) unstable; urgency=low
+
+ * Upload Package
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-11
+
+ -- ChunEon Park <chuneon.park@samsung.com> Tue, 22 Mar 2011 23:04:07 +0900
+
+nbeat-theme (0.1.1-10) unstable; urgency=low
+
+ * Upload Package
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-10
+
+ -- ChunEon Park <chuneon.park@samsung.com> Tue, 22 Mar 2011 22:27:00 +0900
+
+nbeat-theme (0.1.1-9) unstable; urgency=low
+
+ * Upload Package
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-9
+
+ -- ChunEon Park <chuneon.park@samsung.com> Thu, 17 Mar 2011 22:54:52 +0900
+
+nbeat-theme (0.1.1-8) unstable; urgency=low
+
+ * Upload Package
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-8
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Wed, 16 Mar 2011 10:53:57 +0900
+
+nbeat-theme (0.1.1-7) unstable; urgency=low
+
+ * Package Upload
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-7
+
+ -- Jaehwan Kim <jae.hwan.kim@samsung.com> Fri, 11 Mar 2011 16:57:02 +0900
+
+nbeat-theme (0.1.1-6) unstable; urgency=low
+
+ * version up
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-6
+
+ -- Myungjae Lee <mjae.lee@samsung.com> Wed, 09 Mar 2011 13:15:06 +0900
+
+nbeat-theme (0.1.1-5) unstable; urgency=low
+
+ * PKG Upload : for sync with elementary
+ * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-5
+
+ -- WooHyun Jung <wh0705.jung@samsung.com> Mon, 07 Mar 2011 12:18:50 +0900
+
+nbeat-theme (0.1.1-4) unstable; urgency=low
+
+ * change icon file, fixing nbeat file perm
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-4
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Mon, 28 Feb 2011 16:56:20 +0900
+
+nbeat-theme (0.1.1-3) unstable; urgency=low
+
+ * version up
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-3
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Mon, 21 Feb 2011 14:32:13 +0900
+
+nbeat-theme (0.1.1-2) unstable; urgency=low
+
+ * version up
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-2
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Fri, 18 Feb 2011 19:30:11 +0900
+
+nbeat-theme (0.1.1-1) unstable; urgency=low
+
+ * add nbeat-theme to pkg repositary
+ * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme
+ * Tag: nbeat-theme_0.1.1-1
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com> Thu, 17 Feb 2011 17:03:57 +0900
+
nbeat-theme (0.1.0) unstable; urgency=low
* Initialized version
-Source: nbeat-theme
+Source: efl-theme-tizen
Section: misc
Priority: extra
-Maintainer: Seokjae Jeong <seok.j.jeong@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>, Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>
-Uploaders: Hyoyoung Chang <hyoyoung.chang@samsung.com>
+Maintainer: Seokjae Jeong <seok.j.jeong@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>, Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Shinwoo Kim <cinoo.kim@samsung.com>
+Uploaders: Hyoyoung Chang <hyoyoung.chang@samsung.com>, Tae-Hwan Kim <the81.kim@samsung.com>
Build-Depends: debhelper (>= 5), libedje-dev
Standards-Version: 0.1.0
-Package: nbeat-theme
+Package: efl-theme-tizen-hd
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: nbeat theme
+Description: tizen HD theme
-Package: nbeat-blue-theme
+Package: efl-theme-tizen-dev
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: nbeat blue theme
-
-Package: nbeat-purple-theme
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: nbeat purple theme
-
-Package: nbeat-green-theme
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: nbeat green theme
-
-Package: nbeat-black-theme
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: nbeat black theme
+Description: tizen theme dev
-This is nbeat-theme, written and maintained by Juyung Seo <juyung.seo@samsung.com>
-on Mon, 24 Jan 2011 18:00:00 +0900.
-The original source can always be found at:
- ftp://slp.samsung.net/dists/unstable/main/source/
-
-Copyright Holder: Juyung Seo
-
-License:
- Samsung
-
-/*
- * SLP2.0
- * Copyright (c) 2010 Samsung Electronics, Inc.
- * All rights reserved.
- *
- * This software is a confidential and proprietary information
- * of Samsung Electronics, Inc. ("Confidential Information"). You
- * shall not disclose such Confidential Information and shall use
- * it only in accordance with the terms of the license agreement
- * you entered into with Samsung Electronics.
- */
--- /dev/null
+opt/var/efl-theme-tizen-edc
--- /dev/null
+usr/share/elementary/themes/tizen-hd.edj
--- /dev/null
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
--- /dev/null
+Name: efl-theme-tizen-hd
+Summary: Tizen theme files
+Version: 1.0.112r05
+Release: 1
+Group: TO_BE/FILLED_IN
+License: APLv2
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: edje, edje-bin, embryo, embryo-bin
+
+
+%description
+Tizen HD theme for EFL
+
+
+%package -n efl-theme-tizen-devel
+Summary: Development package
+
+
+%description -n efl-theme-tizen-devel
+Development package
+
+
+%prep
+%setup -q
+
+
+%build
+export CFLAGS+=" --fPIC"
+export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib"
+
+make %{?jobs:-j%jobs}
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{buildsubdir}/LICENSE %{buildroot}/usr/share/license/%{name}
+
+
+%files
+%defattr(-,root,root,-)
+%{_datadir}/elementary/themes/tizen-hd.edj
+%manifest %{name}.manifest
+/usr/share/license/%{name}
+
+
+%files -n efl-theme-tizen-devel
+%defattr(-,root,root,-)
+/opt/var/efl-theme-tizen-edc/*
+
-PREFIX ?= /usr
-INSTALL=install -c
-themedir=$(DESTDIR)$(PREFIX)/share/elementary/themes
+TARGET=tizen-hd.edj
-all: nbeat nbeat-blue nbeat-purple nbeat-green nbeat-black
- echo $(escaped_prefix)
+PREFIX?=/usr
+INSTALL=install -c
+EDC_DIR=$(DESTDIR)/opt/var/efl-theme-tizen-edc
+THEME_DIR=$(DESTDIR)$(PREFIX)/share/elementary/themes
+EDJE_FLAGS_VERBOSE_ =
+EDJE_FLAGS_VERBOSE_0 =
+EDJE_FLAGS_VERBOSE_1 = -v
+TMP_INC=tmp-inc.edc
+SRC=tizen.edc
-.SUFFIXES: .edc .edj
-.edc.edj:
- cp ./inc/$(@:.edj=-inc.edc) ./inc/tmp-inc.edc
- #edje_cc -v -id ./images/$(@:.edj=) -sd ./sounds -fd ../objects $(@:.edj=.edc) # commented -sd ./sounds
- edje_cc -v -id ./images/$(@:.edj=) -fd ../objects $(@:.edj=.edc)
- rm ./inc/tmp-inc.edc
+all: $(TARGET)
-nbeat: nbeat.edj
-nbeat-blue: nbeat-blue.edj
-nbeat-purple: nbeat-purple.edj
-nbeat-green: nbeat-green.edj
-nbeat-black: nbeat-black.edj
+$(TARGET): clean
+ cp -f ./inc/$(@:.edj=-inc.edc) ./inc/$(TMP_INC)
+ edje_cc $(EDJE_FLAGS_$(V)) -id ./images/$(@:.edj=) -sd ./sounds -fd ../objects $(SRC) $@
clean:
rm -f *.edj
+ rm -f ./inc/$(TMP_INC)
+
+distclean: clean
install:
- mkdir -p $(themedir)
- $(INSTALL) nbeat*.edj $(themedir)
+ mkdir -p $(THEME_DIR)
+ $(INSTALL) $(TARGET) $(THEME_DIR)
+ mkdir -p $(EDC_DIR)
+ cp -r $(SRC) widgets $(EDC_DIR)
-distclean: clean
+uninstall:
+ rm -f $(THEME_DIR)/$(TARGET)
+ rm -f $(EDC_DIR)/$(SRC) && rm -rf $(EDC_DIR)/widgets
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+#define BG_DEFAULT_COLOR_INC 248 246 239 255
+#define BG_EDIT_MODE_COLOR_INC 248 246 239 255
+#define BG_GROUP_LIST_COLOR_INC 248 246 239 255
+#define BG_TRANSPARENT_COLOR_INC 0 0 0 0
+
+#define LAYOUT_BG_COLOR_INC 248 246 239 255
+#define LAYOUT_EDIT_MODE_BG_COLOR_INC 248 246 239 255
+#define LAYOUT_GROUP_LIST_BG_COLOR_INC 248 246 239 255
+#define LAYOUT_INDICATOR_HEIGHT_INC 60
+#define LAYOUT_INDICATOR_COLOR_INC 0 0 0 255
+
+#define NAVIFRAME_TITLE_BG_COLOR_INC 248 246 239 255
+#define NAVIFRAME_TOOLBAR_BG_COLOR_INC 248 246 239 255
+#define NAVIFRAME_TITLE_TOP_PADDING_INC 0 32
+#define NAVIFRAME_TITLE_RIGHT_PADDING_INC 17 0
+#define NAVIFRAME_TITLE_TOOLBAR_TOP_PADDING_INC 0 33
+#define NAVIFRAME_TITLE_TOOLBAR_BOTTOM_PADDING_INC 0 8
+#define NAVIFRAME_TITLE_H_INC 111
+#define NAVIFRAME_TAB_TITLE_H_INC 165
+#define NAVIFRAME_TOOLBAR_HEIGHT_INC 98
+#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 86 111
+#define NAVIFRAME_PREV_FUNC_BTN_SIZE_INC 86 98
+#define NAVIFRAME_TITLE_TAB_H_INC 68
+#define NAVIFRAME_TITLE_TAB_LARGE_H_INC 111
+#define NAVIFRAME_TITLE_TAB_FONT_SIZE_INC 44
+#define NAVIFRAME_TITLE_TAB_TEXT_H_INC 87
+#define NAVIFRAME_TITLE_FONT_SIZE_INC 56
+#define NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC 44
+#define NAVIFRAME_ICON_SIZE_INC 38 38
+#define NAVIFRAME_PADDING_INC 16 0
+#define NAVIFRAME_PADDING2_INC 2 0
+#define NAVIFRAME_PADDING3_INC 8 0
+#define NAVIFRAME_BOTTOM_TEXT_PADDING_INC 0 11
+#define NAVIFRAME_BOTTOM_PADDING_INC 0 10
+#define NAVIFRAME_BADGE_PADDING_INC 85 0
+#define NAVIFRAME_BADGE_TOP_PADDING_INC 0 6
+#define NAVIFRAME_BADGE_LEFT_TEXT_PADDING_INC 10 0
+#define NAVIFRAME_BADGE_TEXT_H_INC 26
+#define NAVIFRAME_BADGE_TEXT_W_INC 42
+#define NAVIFRAME_BADGE_BG_IMAGE_SIZE_INC 54 48
+#define NAVIFRAME_BADGE_BG_IMAGE_BORDER_INC 29 24 0 0
+#define NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC 115 0
+#define NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 15
+#define NAVIFRAME_ICON_PADDING_INC 70 0
+#define NAVIFRAME_TITLE_TEXT_COLOR_INC 59 115 182 255
+#define NAVIFRAME_TITLE_STYLE_COLOR_INC "#3B73B6"
+#define NAVIFRAME_SUBTITLE_TEXT_COLOR_INC 59 115 182 255
+#define NAVIFRAME_SUBTITLE_FONT_SIZE_INC 32
+#define NAVIFRAME_BADGE_TEXT_COLOR_INC 10 100 208 255;
+
+#define PROGRESSBAR_TITLE_FONT_SIZE_INC 28
+#define PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC 20
+
+#define POPUP_ITEM_BG_DEFAULT_MIN_INC 648 112
+#define POPUP_ITEM_LEFT_MIN_PADDING_INC 26 0
+#define POPUP_ITEM_RIGHT_MIN_PADDING_INC 26 0
+#define POPUP_ITEM_ICON_TEXT_PADDING_INC 16 0
+#define POPUP_ITEM_TEXT_DISABLED_COLOR_INC 128 128 128 255
+#define POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC 128 128 128 255
+
+#define POPUP_DEFAULT_TITLE_TEXT_COLOR_INC "#3b73b6"
+#define POPUP_DEFAULT_TITLE_TEXT_SHADOW_COLOR "#ffffff"
+#define POPUP_DEFAULT_TITLE_TEXT_SHADOW_STYLE "far_shadow,bottom"
+#define POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC "#000000"
+#define POPUP_DIM_BG_DEFAULT_COLOR_INC 0 0 0 0
+#define POPUP_DIM_BG_COLOR_INC 0 0 0 127
+#define POPUP_DIM_BG_CLICKED_COLOR_INC 0 0 0 127
+#define POPUP_DIM_BG_TRANS_COLOR_INC 0 0 0 0
+#define POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC 0 0 0 50
+
+#define CTXPOPUP_WIDTH_MIN_INC 386
+#define CTXPOPUP_WIDTH_MAX_INC 620
+#define CTXPOPUP_BUBBLE_BG_IMAGE_BORDER 24 24 22 30
+#define CTXPOPUP_BUBBLE_MASK_IMAGE_BORDER 10 10 10 10
+#define CTXPOPUP_SHADOW_LEFT_PADDING 10
+#define CTXPOPUP_SHADOW_RIGHT_PADDING 10
+#define CTXPOPUP_SHADOW_TOP_PADDING 8
+#define CTXPOPUP_SHADOW_BOTTOM_PADDING 16
+#define CTXPOPUP_CONTENT_PADDING 4
+#define CTXPOPUP_SCROLLER_PADDING 8
+#define CTXPOPUP_SCROLLER_MIN_SIZE_INC 9 12
+#define CTXPOPUP_FRAME_CORNER_ARROW_PADDING 20
+#define CTXPOPUP_BG_COLOR_INC 0 0 0 0
+#define CTXPOPUP_BG_PRESS_COLOR_INC 42 137 194 255
+#define CTXPOPUP_MAIN_TEXT_COLOR_INC 255 255 255 255
+#define CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC 255 255 255 178
+#define CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC 255 255 255 255
+#define CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC 255 255 255 255
+#define CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC 255 255 255 178
+#define CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC 255 255 255 255
+#define CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC 1
+#define CTXPOPUP_SEPARATOR_PADDING_INC 20
+#define CTXPOPUP_SEPARATOR_COLOR_INC 45 45 45 255
+#define CTXPOPUP_SEPARATOR2_COLOR_INC 91 91 91 255
+#define CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC 45 45 45 255
+#define CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC 91 91 91 255
+#define CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC 1 74
+#define CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC 1 74
+#define CTXPOPUP_TP_BG_COLOR_INC 7 180 211 255
+#define CTXPOPUP_ITEM_DISABLED_COLOR 0 0 0 0
+#define CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC 40
+#define CTXPOPUP_MAIN_TEXT_SIZE_INC 32
+#define CTXPOPUP_ITEM_HEIGHT_MIN_INC 110
+#define CTXPOPUP_ITEM_HEIGHT_MAX_INC 130
+#define CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC 128
+#define CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC 112
+#define CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC 96
+#define CTXPOPUP_ICON_WIDTH_INC 64
+#define CTXPOPUP_ICON_HEIGHT_INC 64
+#define CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC 48
+#define CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC 48
+#define CTXPOPUP_ARROW_SIZE_INC 48 48
+#define CTXPOPUP_VERTICAL_ARROW_SIZE_INC 40 30
+#define CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC 30 40
+#define CTXPOPUP_ITEM_TEXT_PADDING_INC 20
+#define CTXPOPUP_ITEM_ICON_PADDING_INC 16
+#define CTXPOPUP_IE_ARROW_SIZE_INC 52
+#define CTXPOPUP_IE_FONT_SIZE_INC 40
+#define CTXPOPUP_IE_ITEM_PADDING_INC 22
+#define CTXPOPUP_IE_ITEM_HEIGHT_INC 75
+#define CTXPOPUP_IE_CONTENT_WIDTH_MAX_INC 720
+#define CTXPOPUP_IE_ICON_WIDTH_INC 60
+#define CTXPOPUP_IE_ICON_HEIGHT_INC 60
+#define CTXPOPUP_TP_ARROW_SIZE_INC 30
+#define CTXPOPUP_TP_HEIGHT_INC 106
+#define CTXPOPUP_MORE_WIDTH_INC 502
+#define CTXPOPUP_MORE_ITEM_PADDING_INC 16
+#define CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC 110
+#define CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC 130
+#define CTXPOPUP_MORE_ICON_WIDTH_INC 64
+#define CTXPOPUP_MORE_ICON_HEIGHT_INC 64
+#define CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC 40
+#define CTXPOPUP_MORE_SEPARATOR_PADDING_INC 20
+#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC 336
+#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC 90
+#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC 130
+
+#define DISKSELECTOR_DF_FONT_COLOR_INC 255 255 255 178
+#define DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC 255 255 255 255
+#define DISKSELECTOR_DF_ITEM_MIN_SIZE_INC 70 106;
+#define DISKSELECTOR_DF_FONT_SIZE_INC 48
+#define DISKSELECTOR_DF_DATA_MIN_HEIGHT_INC "106"
+
+#define LABEL_TEXT_BLOCK_STYLE_COLOR_INC "#000000"
+#define LABEL_FONT_SIZE_INC 36
+
+#define GENGRID_FONT_STYLE_18_INC "26"
+#define GENGRID_PART_BG_COLOR_INC 0 0 0 0
+#define GENGRID_PART_REORDER_DEFAULT_BG_COLOR_INC 0 0 0 77
+#define GENGRID_PART_REORDER_BG_COLOR_INC 0 0 0 77
+#define GENGRID_PART_TEXTBLOCK_STYLE_COLOR_INC "#000000"
+#define GENGRID_PART_BACKGROUND_COLOR_INC 0 0 0 0
+#define GENGRID_EDIT_MODE_CHECK_TOP_RIGHT_INC 6 6
+#define GENGRID_EDIT_MODE_CHECK_SIZE_INC 54 54
+#define GENGRID_EDIT_MODE_CHECK_BG_COLOR_INC 0 0 0 154
+#define GENGRID_ITEM_CHECK_TOP_RIGHT_PADDING_INC 6 6
+
+#define GENGRID_DEFAULT_LEFT_TOP_PADDING_INC 2 2
+#define GENGRID_DEFAULT_RIGHT_BOTTOM_PADDING_INC 2 2
+#define GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC 1 1
+#define GENGRID_DEFAULT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1
+#define GENGRID_DEFAULT_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0
+#define GENGRID_DEFAULT_LEFT_TOP_FOCUS_PADDING_INC 2 2
+#define GENGRID_DEFAULT_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 2
+
+#define GENGRID_LANDSCAPE_LEFT_TOP_PADDING_INC 5 5
+#define GENGRID_LANDSCAPE_RIGHT_BOTTOM_PADDING_INC 5 5
+#define GENGRID_LANDSCAPE_LEFT_TOP_FOCUS_PADDING_INC 4 4
+#define GENGRID_LANDSCAPE_RIGHT_BOTTOM_FOCUS_PADDING_INC 4 4
+#define GENGRID_LANDSCAPE_GRID_TEXT_LEFT_TOP_PADDING_INC 5 5
+#define GENGRID_LANDSCAPE_GRID_TEXT_RIGHT_BOTTOM_PADDING_INC 5 59
+#define GENGRID_LANDSCAPE_GRID_TEXT_LEFT_TOP_FOCUS_PADDING_INC 4 4
+#define GENGRID_LANDSCAPE_GRID_TEXT_RIGHT_BOTTOM_FOCUS_PADDING_INC 4 60
+
+#define GENGRID_GRID_TEXT_LEFT_TOP_PADDING_INC 2 2
+#define GENGRID_GRID_TEXT_RIGHT_BOTTOM_PADDING_INC 2 62
+#define GENGRID_GRID_TEXT_ITEM_BG_LEFT_TOP_PADDING_INC 1 1
+#define GENGRID_GRID_TEXT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1
+#define GENGRID_GRID_TEXT_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0
+#define GENGRID_GRID_TEXT_LEFT_TOP_FOCUS_PADDING_INC 2 2
+#define GENGRID_GRID_TEXT_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 62
+
+#define GENGRID_GRID_TEXT2_LEFT_TOP_PADDING_INC 2 62
+#define GENGRID_GRID_TEXT2_RIGHT_BOTTOM_PADDING_INC 2 2
+#define GENGRID_GRID_TEXT2_ITEM_BG_LEFT_TOP_PADDING_INC 1 1
+#define GENGRID_GRID_TEXT2_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1
+#define GENGRID_GRID_TEXT2_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0
+#define GENGRID_GRID_TEXT2_LEFT_TOP_FOCUS_PADDING_INC 2 62
+#define GENGRID_GRID_TEXT2_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 2
+
+// Please do not use these !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+#define GENLIST_PADDING_5_INC 5
+#define GENLIST_PADDING_24_INC 24
+#define GENLIST_PADDING_64_INC 64
+#define GENLIST_PADDING_88_INC 88
+#define GENLIST_PADDING_34_INC 34
+#define GENLIST_PADDING_32_INC 32
+#define GENLIST_PADDING_16_INC 16
+#define GENLIST_SIZE_80_INC 80
+
+#define BUBBLE_DISCLIP_COLOR 255 255 255 102 // opacity 40%
+
+// List bg color
+#define GENLIST_LIST_BG_COLOR 248 246 239 255
+#define GENLIST_DIALOGUE_BG_COLOR 248 246 239 255
+#define GENLIST_LIST_PRESS_COLOR 87 135 194 255
+#define GENLIST_LIST_DIM_COLOR 219 217 212 255
+#define GENLIST_LIST_LINE1_COLOR 211 209 203 255
+#define GENLIST_LIST_LINE2_COLOR 255 255 255 255
+#define GENLIST_LIST_DIVIDER1_COLOR 185 184 178 255
+#define GENLIST_LIST_DIVIDER2_COLOR 255 255 255 255
+#define GENLIST_LIST_CENTERLINE1_COLOR 206 205 202 255
+#define GENLIST_SELECT_ALL_BG_COLOR 220 218 211 255
+
+// Group Index
+#define GENLIST_GROUPINDEX_LIST_SIZE 32
+#define GENLIST_GROUPINDEX_LIST_COLOR 59 115 182 255
+#define GENLIST_GROUPINDEX_LIST_FOCUS_COLOR 255 255 255 255
+
+#define GENLIST_GROUPINDEX_LIST_BG_COLOR 248 246 239 255
+#define GENLIST_GROUPINDEX_LIST_PRESS_COLOR 132 162 198 255
+#define GENLIST_GROUPINDEX_LINE_COLOR 59 115 182 255
+#define GENLIST_GROUPINDEX_LINE_FOCUS_COLOR 255 255 255 255
+
+// Genlist Text
+#define GENLIST_LIST_MAIN_TEXT_SIZE 44
+#define GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR 0 0 0 255
+#define GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR_STYLE "#000000FF"
+#define GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR 0 0 0 102
+#define GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE "#00000066"
+#define GENLIST_LIST_MAIN_TEXT_READ_COLOR 128 128 128 255
+#define GENLIST_LIST_MAIN_TEXT_READ_DIM_COLOR 128 128 128 204
+#define GENLIST_LIST_TEXT_FOCUS_COLOR 255 255 255 255
+#define GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE "#FFFFFFFF"
+
+#define GENLIST_LIST_SUB_TEXT_SIZE 32
+#define GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR 128 128 128 255
+#define GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR_STYLE "#808080FF"
+#define GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR 128 128 128 204
+#define GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR_STYLE "#808080CC"
+#define GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR 59 115 182 255
+#define GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR_STYLE "#3B73B6FF"
+#define GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR 59 115 182 76
+#define GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR_STYLE "#3B73B64C"
+
+#define GENLIST_CONTENTS_TEXT_SIZE 28
+#define GENLIST_CONTENTS_TEXT_COLOR 128 128 128 255
+#define GENLIST_CONTENTS_TEXT_COLOR_STYLE "#808080FF"
+
+#define GENLIST_LIST_BUBBLE_TEXT_SIZE 32
+#define GENLIST_LIST_BUBBLE_TEXT_COLOR 249 249 249 255
+
+// Dialogue group
+#define GENLIST_DIALOGUE_GROUP_TITLE_SIZE 32
+#define GENLIST_DIALOGUE_GROUP_TITLE_COLOR 59 115 182 255
+
+#define GENLIST_APPS_NAME_SIZE 30
+#define GENLIST_APPS_NAME_COLOR 128 128 128 255
+#define GENLIST_APPS_INC_SIZE 30
+#define GENLIST_APPS_INC_COLOR 0 0 0 255
+#define GENLIST_APPS_RATING_SIZE 24
+#define GENLIST_APPS_RATING_COLOR 128 128 128 255
+#define GENLIST_APPS_PRICE_SIZE 24
+#define GENLIST_APPS_PRICE_ORIGINAL_COLOR 59 115 182 255
+#define GENLIST_APPS_PRICE_SALE_COLOR 229 33 52 255
+#define GENLIST_APPS_PRICE_FREE_COLOR 59 115 182 255
+
+#define DIALOGUE_PASSWORD_TITLE_SIZE 32
+#define DIALOGUE_PASSWORD_TITLE_COLOR 128 128 128 255
+
+#define GENLIST_DIALOGUE_GROUP_HELP_TEXT_SIZE 32
+#define GENLIST_DIALOGUE_GROUP_HELP_TEXT_COLOR_STYLE "#808080FF"
+#define GENLIST_PART_MATCH_TAG_COLOR "+ color=#3F8DAD"
+
+#define BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC 255 255 255 255
+#define BUTTON_TEXT_SHADOW_DIM_COLOR_INC 255 255 255 255
+#define BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC 0 0 0 255
+
+#define BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC 255 255 255 255
+#define BUTTON_NAVIFRAME_TEXT_SHADOW_DIM_COLOR_INC 0 0 0 163
+
+#define BUTTON_TICKER_TEXT_SHADOW_NORMAL_COLOR_INC 0 0 0 127
+#define BUTTON_TICKER_TEXT_SHADOW_NORMAL_COLOR_INC 0 0 0 127
+
+#define BUTTON_NUMBER_TEXT_NORMAL_COLOR_INC 50 50 50 255
+#define BUTTON_NUMBER_TEXT_PRESSED_COLOR_INC 248 246 239 255
+#define BUTTON_NUMBER_TEXT_FOCUSED_COLOR_INC 248 246 239 255
+#define BUTTON_NUMBER_TEXT_DISABLE_VISIBLE_COLOR_INC 50 50 50 76
+
+#define BUTTON_SEARCH_BUTTON_TEXT_NORMAL_COLOR_INC 58 58 58 255
+#define BUTTON_SEARCH_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255
+#define BUTTON_SEARCH_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255
+#define BUTTON_SEARCH_BUTTON_TEXT_DISABLED_COLOR_INC 58 58 58 76
+#define BUTTON_SEARCH_BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC 0 0 0 163
+
+#define BUTTON_SEARCH_BUTTON_SEND_NORMAL_COLOR_INC 248 246 239 255
+#define BUTTON_SEARCH_BUTTON_SEND_PRESSED_COLOR_INC 248 246 239 255
+#define BUTTON_SEARCH_BUTTON_SEND_FOCUSED_COLOR_INC 248 246 239 255
+#define BUTTON_SEARCH_BUTTON_SEND_DISABLED_COLOR_INC 248 246 239 76
+#define BUTTON_SEARCH_BUTTON_SEND_SHADOW_NORMAL_COLOR_INC 0 0 0 163
+
+#define BUTTON_SEARCH_BUTTON_CANCEL_NORMAL_COLOR_INC 248 246 239 255
+#define BUTTON_SEARCH_BUTTON_CANCEL_PRESSED_COLOR_INC 248 246 239 255
+#define BUTTON_SEARCH_BUTTON_CANCEL_FOCUSED_COLOR_INC 248 246 239 255
+#define BUTTON_SEARCH_BUTTON_CANCEL_DISABLED_COLOR_INC 248 246 239 76
+#define BUTTON_SEARCH_BUTTON_CANCEL_SHADOW_NORMAL_COLOR_INC 0 0 0 163
+
+#define BUTTON_SEND_BUBBLE_TEXT_NORMAL_COLOR_INC 58 58 58 255
+#define BUTTON_SEND_BUBBLE_TEXT_PRESSED_COLOR_INC 58 58 58 255
+#define BUTTON_SEND_BUBBLE_TEXT_FOCUSED_COLOR_INC 58 58 58 255
+#define BUTTON_SEND_BUBBLE_TEXT_DISABLED_COLOR_INC 58 58 58 76
+#define BUTTON_SEND_BUBBLE_TEXT_SHADOW_NORMAL_COLOR_INC 255 255 255 153
+
+#define BUTTON_RECEIVE_BUBBLE_TEXT_NORMAL_COLOR_INC 248 246 239 255
+#define BUTTON_RECEIVE_BUBBLE_TEXT_PRESSED_COLOR_INC 248 246 239 255
+#define BUTTON_RECEIVE_BUBBLE_TEXT_FOCUSED_COLOR_INC 248 246 239 255
+#define BUTTON_RECEIVE_BUBBLE_TEXT_DISABLED_COLOR_INC 248 246 239 76
+#define BUTTON_RECEIVE_BUBBLE_TEXT_SHADOW_NORMAL_COLOR_INC 0 0 0 153
+
+#define BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC 58 58 58 255
+#define BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC 248 246 239 255
+#define BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC 248 246 239 255
+#define BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC 58 58 58 76
+
+#define BUTTON_POPUP_BUTTON_TEXT_NORMAL_COLOR_INC 58 58 58 255
+#define BUTTON_POPUP_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255
+#define BUTTON_POPUP_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255
+#define BUTTON_POPUP_BUTTON_TEXT_DISABLED_COLOR_INC 58 58 58 76
+
+#define BUTTON_EXPAND_BUTTON_NORMAL_COLOR_INC 249 249 249 255
+#define BUTTON_EXPAND_BUTTON_PRESSED_COLOR_INC 249 249 249 255
+#define BUTTON_EXPAND_BUTTON_FOCUSED_COLOR_INC 249 249 249 255
+#define BUTTON_EXPAND_BUTTON_DISABLED_COLOR_INC 48 49 50 255
+
+#define BUTTON_DELETE_BUTTON_TEXT_NORMAL_COLOR_INC 248 246 239 255
+#define BUTTON_DELETE_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255
+#define BUTTON_DELETE_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255
+#define BUTTON_DELETE_BUTTON_TEXT_DISABLED_COLOR_INC 248 246 239 76
+
+#define BUTTON_SWEEP_BUTTON_TEXT_NORMAL_COLOR_INC 58 58 58 255
+#define BUTTON_SWEEP_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255
+#define BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255
+#define BUTTON_SWEEP_BUTTON_TEXT_DISABLED_COLOR_INC 58 58 58 76
+
+#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_NORMAL_COLOR_INC 50 50 50 255
+#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255
+#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255
+#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_DISABLED_COLOR_INC 50 50 50 255
+
+#define BUTTON_CONTACT_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
+#define BUTTON_CONTACT_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
+#define BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
+#define BUTTON_CONTACT_BUTTON_TEXT_DISABLED_COLOR_INC 255 255 255 76
+
+#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_NORMAL_COLOR_INC 255 255 255 255
+#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_COLOR_INC 101 101 101 255
+#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_COLOR_INC 64 147 247 255
+#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DISABLED_COLOR_INC 101 101 101 76
+
+#define BUTTON_NAVIFRAME_TITLE_TEXT_NORMAL_COLOR_INC 77 77 77 255
+#define BUTTON_NAVIFRAME_TITLE_TEXT_PRESSED_COLOR_INC 248 246 239 255
+#define BUTTON_NAVIFRAME_TITLE_TEXT_FOCUSED_COLOR_INC 248 246 239 255
+#define BUTTON_NAVIFRAME_TITLE_TEXT_DISABLED_COLOR_INC 58 58 58 76
+
+#define BUTTON_DATETIME_AMPM_BG_MIN_INC 106 56
+
+#define BUTTON_SEARCH_BUTTON_BG_BORDER_INC 12 12 12 12
+#define BUTTON_SEARCH_BUTTON_BG_MIN_INC 100 66
+#define BUTTON_SEARCH_BUTTON_VISIBLE_BG_MIN_INC 148 66
+#define BUTTON_SEARCH_BUTTON_ICONONLY_BG_MIN_INC 66 66
+#define BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC 30
+
+#define BUTTON_BUBBLE_CIRCLE_BG_MIN_MAX_INC 74 74
+#define BUTTON_BUBBLE_CIRCLE_IMAGE_MIN_MAX_INC 74 74
+#define BUTTON_BUBBLE_CIRCLE_MIN_WIDTH_INC 74
+#define BUTTON_BUBBLE_CIRCLE_MIN_HEIGHT_INC 74
+
+#define BUTTON_SENT_BUBBLE_BG_BORDER_INC 12 12 12 12
+#define BUTTON_SENT_BUBBLE_TEXT_FONT_SIZE_INC 36
+#define BUTTON_SENT_BUBBLE_TEXT_MULTILINE_FONT_SIZE_INC 28
+
+#define BUTTON_RECEIVE_BUBBLE_BG_BORDER_INC 12 12 12 12
+#define BUTTON_RECEIVE_BUBBLE_TEXT_FONT_SIZE_INC 36
+#define BUTTON_RECEIVE_BUBBLE_TEXT_MULTILINE_FONT_SIZE_INC 28
+
+#define BUTTON_TEXT_STYLE1_BG_MIN_INC 100 74
+#define BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC 148 74
+#define BUTTON_TEXT_STYLE1_ICONONLY_BG_MIN_INC 74 74
+#define BUTTON_TEXT_STYLE1_BG_BORDER_INC 12 12 12 12
+#define BUTTON_TEXT_STYLE1_PADDING_MIN_INC 12 0
+#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC 44 44
+#define BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC 4 0
+#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC 44 44
+#define BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC 44 44
+#define BUTTON_TEXT_STYLE1_FONT_SIZE_INC 36
+
+#define BUTTON_TEXT_STYLE2_BG_MIN_INC 100 66
+#define BUTTON_TEXT_STYLE2_VISIBLE_BG_MIN_INC 148 66
+#define BUTTON_TEXT_STYLE2_ICONONLY_BG_MIN_INC 74 66
+#define BUTTON_TEXT_STYLE2_BG_BORDER_INC 12 12 12 12
+#define BUTTON_TEXT_STYLE2_PADDING_MIN_INC 12 0
+#define BUTTON_TEXT_STYLE2_VISIBLE_ICON_RECT_MIN_MAX_INC 44 44
+#define BUTTON_TEXT_STYLE2_VISIBLE_PADDING_ICON_TEXT_MIN_INC 4 0
+#define BUTTON_TEXT_STYLE2_VISIBLE_ICON_MIN_MAX_INC 44 44
+#define BUTTON_TEXT_STYLE2_ICONONLY_ICON_MIN_MAX_INC 44 44
+#define BUTTON_TEXT_STYLE2_FONT_SIZE_INC 36
+
+#define BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC 74 74
+#define BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC 74 74
+#define BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC 44 44
+
+#define BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC 74
+#define BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC 74
+#define BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC 110
+#define BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC 110
+
+#define BUTTON_POPUP_BG_NORMAL_MIN_INC 30 74
+#define BUTTON_POPUP_BG_BORDER_INC 12 12 12 12
+#define BUTTON_POPUP_PADDING_MIN_INC 12 3
+#define BUTTON_POPUP_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0
+#define BUTTON_POPUP_ICON_ICONONLY_MIN_INC 44 44
+#define BUTTON_POPUP_TEXT_MIN_INC 64 20
+#define BUTTON_POPUP_TEXT_FONT_SIZE_INC 36
+
+#define BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC 74 74
+#define BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC 74 74
+
+#define BUTTON_EDIT_NORMAL_MIN_WIDTH_INC 74
+#define BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC 74
+#define BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC 90
+#define BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC 90
+
+#define BUTTON_SWEEP_BG_NORMAL_MIN_INC 74 74
+#define BUTTON_SWEEP_BG_BORDER_INC 12 12 12 12
+#define BUTTON_SWEEP_PADDING_MIN_INC 12 0
+#define BUTTON_SWEEP_ICON_RECT_MIN_INC 0 44
+#define BUTTON_SWEEP_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0
+#define BUTTON_SWEEP_ICONONLY_ICON_MIN_INC 44 44
+#define BUTTON_SWEEP_TEXT_MIN_INC 50 26
+#define BUTTON_SWEEP_FONT_SIZE_INC 26
+
+#define BUTTON_EXPAND_BUTTON_TEXT_SIZE_INC 30
+
+#define BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC 98 46
+#define BUTTON_EXPANDABLE_NUMBER_BG_BORDER_INC 12 12 12 12
+#define BUTTON_EXPANDABLE_NUMBER_PADDING_MIN_INC 12 1
+#define BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC 24 46
+#define BUTTON_EXPANDABLE_NUMBER_TEXT_MIN_MAX_INC 50 46
+#define BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC 28
+
+#if 0
+#define BUTTON_CONTACT_DELETE_BG_NORMAL_MIN_INC 50 74
+#define BUTTON_CONTACT_DELETE_BG_BORDER_INC 8 0 5 5
+#define BUTTON_CONTACT_DELETE_PADDING_LEFT_TOP_MIN_INC 36 2
+#define BUTTON_CONTACT_DELETE_PADDING_RIGHT_BOTTOM_MIN_INC 14 2
+#define BUTTON_CONTACT_DELETE_PADDING_ICON_TEXT_VISIBLE_MIN_INC 5 0
+#define BUTTON_CONTACT_DELETE_ICON_ICONONLY_MIN_INC 42 42
+#define BUTTON_CONTACT_DELETE_FONT_SIZE_INC 32
+
+#define BUTTON_CONTACT_STYLE_BG_MIN_MAX_INC 74 74
+#define BUTTON_CONTACT_STYLE_IMAGE_MIN_MAX_INC 74 74
+
+#define BUTTON_TEXT_CONTACTS_DELETE_NORMAL_COLOR_INC 249 249 249 255
+#define BUTTON_TEXT_CONTACTS_DELETE_PRESSED_COLOR_INC 249 249 249 255
+#define BUTTON_TEXT_CONTACTS_DELETE_DISABLED_COLOR_INC 0 0 0 128
+#endif
+
+#define BUTTON_CONTACT_BG_MIN_INC 12 66
+#define BUTTON_CONTACT_BG_BORDER_INC 6 6 6 6
+#define BUTTON_CONTACT_LEFT_PADDING_MIN_INC 12 0
+#define BUTTON_CONTACT_RIGHT_PADDING_MIN_INC 12 0
+#define BUTTON_CONTACT_FONT_SIZE_INC 32
+
+#define BUTTON_NAVIFRAME_BACK_BUTTON_BG_MIN_MAX_INC 86 98
+#define BUTTON_NAVIFRAME_BACK_BUTTON_MIN_MAX_INC 60 60
+
+#define BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC 249 249 249 255
+#define BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC 249 249 249 255
+
+#define BUTTON_NAVIFRAME_TITLE_ICON_BG_MIN_MAX_INC 86 111
+#define BUTTON_NAVIFRAME_TITLE_ICON_IMAGE_MIN_MAX_INC 68 68
+#define BUTTON_NAVIFRAME_TITLE_ICON_TOP_PADDING_INC 0 32
+
+#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_NORMAL_MIN_INC 182 70
+#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_NORMAL_MAX_INC 9999 70
+#define BUTTON_NAVIFRAME_TITLE_TEXTBLOCK_MIN_INC 126 70
+#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_PRESSED_BORDER_INC 36 36 0 0
+#define BUTTON_NAVIFRAME_TITLE_TEXT_PADDING_MIN_INC 28 5
+#define BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC 32
+#define BUTTON_NAVIFRAME_TITLE_VISIBLE_ICON_RECT_MIN_MAX_INC 44 44
+#define BUTTON_NAVIFRAME_TITLE_ICONONLY_ICON_MIN_MAX_INC 44 44
+#define BUTTON_NAVIFRAME_TITLE_VISIBLE_PADDING_ICON_TEXT_MIN_INC 8 0
+#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_NORMAL_COLOR_INC 249 249 249 255
+
+#define BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC 82 82
+#define BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC 60 60
+
+#define BUTTON_TICKERNOTI_BG_MIN_MAX_INC 154 74
+#define BUTTON_TICKERNOTI_BG_BORDER_INC 12 12 12 12
+#define BUTTON_TICKERNOTI_PADDING_MIN_INC 12 0
+#define BUTTON_TICKERNOTI_VISIBLE_ICON_RECT_MIN_MAX_INC 44 44
+#define BUTTON_TICKERNOTI_VISIBLE_PADDING_ICON_TEXT_MIN_INC 4 0
+#define BUTTON_TICKERNOTI_VISIBLE_ICON_MIN_MAX_INC 44 44
+#define BUTTON_TICKERNOTI_ICONONLY_ICON_MIN_MAX_INC 44 44
+#define BUTTON_TICKERNOTI_FONT_SIZE_INC 36
+
+#define BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC 74 74
+#define BUTTON_COLORSELECTOR_BG_BORDER_INC 12 12 12 12
+#define BUTTON_COLORSELECTOR_IMAGE_MIN_MAX_INC 74 74
+
+#define BUTTON_DEFAULT_STYLE_BG_MIN_INC 100 74
+#define BUTTON_DEFAULT_STYLE_BG_BORDER_INC 12 12 12 12
+#define BUTTON_DEFAULT_STYLE_PADDING_MIN_INC 12 5
+#define BUTTON_DEFAULT_STYLE_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0
+#define BUTTON_DEFAULT_STYLE_ICONONLY_ICON_MIN_INC 44 44
+#define BUTTON_DEFAULT_STYLE_TEXT_MIN_INC 144 36
+#define BUTTON_DEFAULT_STYLE_FONT_SIZE_INC 36
+
+#define BUTTON_DEFAULT_STYLE_MULTILINE_BG_MIN_INC 100 80
+#define BUTTON_DEFAULT_STYLE_MULTILINE_PADDING_MIN_INC 12 0
+
+#define CHECK_DELETE_TEXT_DELETE_NORMAL_COLOR_INC 249 249 249 255
+#define CHECK_DELETE_TEXT_DELETE_PRESS_COLOR_INC 249 249 249 255
+
+#define CHECK_DEFAULT_TEXT_FONT_SIZE_INC 36
+
+#define CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC 132 70
+#define CHECK_ONOFF_ON_FONT_SIZE_INC 24
+#define CHECK_ONOFF_OFF_FONT_SIZE_INC 24
+#define CHECK_ONOFF_HANDLER_MIN_MAX_INC 64 64
+
+#define CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 74
+#define CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 74
+#define CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 100
+#define CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 100
+#define CHECK_STYLE_FAVORITE_BG_NORMAL_MIN_MAX_INC 74 74
+
+#define CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 64
+#define CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 64
+#define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 75
+#define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 91
+#define CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC 64 64
+
+#define CHECK_STYLE_DELETE_BUTTON_BG_IMAGE_MIN_MAX_WIDTH_INC 74 74
+#define CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC 124 74
+#define CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_BORDER_INC 8 0 5 5
+#define CHECK_STYLE_DELETE_BUTTON_TEXT_FONT_SIZE_INC 32
+
+#define INDEX_BG_NINEPATCH_INC 8 8 8 8
+#define INDEX_ITEM_WIDTH_INC 49
+#define INDEX_ITEM_HEIGHT_INC 33
+#define INDEX_LEVEL_PADDING_INC 70
+#define INDEX_1ST_LEVEL_POPUP_WIDTH_INC 188
+#define INDEX_2ND_LEVEL_POPUP_WIDTH_INC 188
+#define INDEX_POPUP_HEIGHT_INC 180
+#define INDEX_ROLLOVER_TEXT_SIZE_INC 26
+#define INDEX_POPUP_BG_NINEPATCH_INC 20 20 20 20
+#define INDEX_POPUP_TEXT_SIZE_INC 136
+#define INDEX_ROLLOVER_TEXT_COLOR_INC 160 159 154 255
+#define INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC 59 115 182 255
+#define INDEX_POPUP_TEXT_COLOR_INC 255 255 255 255
+#define INDEX_SCROLL_BG_COLOR_INC 230 227 216 255
+#define INDEX_BOTTOM_LINE_COLOR_INC 197 194 183 255
+#define INDEX_LEFT_LINE_COLOR_INC 65 119 184 255
+
+#define INDEX_PAGECONTROL_IND_INC 10 9
+#define INDEX_PAGECONTROL_IND_MIN_INC 10 9
+#define INDEX_PAGECONTROL_FONT_SIZE_INC 28
+#define INDEX_PAGECONTROL_FONT_COLOR_INC 120 120 120
+
+#define RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 64
+#define RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 64
+#define RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 76
+#define RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 76
+#define RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC 64 64
+#define RADIO_STYLE_DEFAULT_FONT_SIZE_INC 36
+
+#define PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 60
+#define PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 25
+#define PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 22
+#define PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 26
+#define PANES_STYLE_DEFAULT_FIXED_SIZE_INC 52
+
+#define SEGMENT_CONTROL_DEFAULT_ITEM_TEXT_COLOR_NORMAL_INC 153 153 153 255
+#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC 59 115 182 255
+#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC 59 115 182 255
+#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_DISABLED_INC 153 153 153 255
+
+#define SEGMENT_CONTROL_MULTILINE_TEXT_SIZE_INC 30
+#define SEGMENT_CONTROL_TEXT_SIZE_RANGE_MIN_INC 12
+#define SEGMENT_CONTROL_TEXT_SIZE_RANGE_MAX_INC 28
+#define SEGMENT_CONTROL_DIVIDER_LINE_MIN_SIZE_INC 2 32
+#define SEGMENT_CONTROL_TEXT_PADDING_MIN_SIZE_INC 18 0
+#define SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC 40 40
+#define SEGMENT_CONTROL_BADGE_TEXT_LEFT_PADDING_MIN_INC 22 45
+#define SEGMENT_CONTROL_BADGE_TEXT_RIGHT_PADDING_MIN_INC 18 47
+#define SEGMENT_CONTROL_BADGE_TEXT_COLOR_INC 10 100 208 255;
+#define SEGMENT_CONTROL_BADGE_TEXT_FONT_SIZE_INC 26;
+
+#define EDITFIELD_TITLE_SIZE_INC 32
+#define EDITFIELD_TITLE_COLOR_INC 59 115 182 255
+#define EDITFIELD_GUIDE_TEXT_COLOR_INC 121 131 138 255
+#define EDITFIELD_DEFAULT_ERASER_MINW_INC 48
+#define EDITFIELD_DEFAULT_ERASER_MINH_INC 48
+#define EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC 48
+#define EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC 70
+#define EDITFIELD_SEARCHBAR_ERASER_MINW_INC 38
+#define EDITFIELD_SEARCHBAR_ERASER_MINH_INC 38
+#define EDITFIELD_SEARCHBAR_ERASER_EVENT_MINW_INC 38
+#define EDITFIELD_SEARCHBAR_ERASER_EVENT_MINH_INC 50
+#define EDITFIELD_DEFAULT_MINH_INC 112
+#define EDITFIELD_TITLE_MINH_INC 128
+#define EDITFIELD_SEARCHBAR_MINH_INC 50
+#define EDITFIELD_DEFAULT_TOP1_SINGLE_INC 27
+#define EDITFIELD_DEFAULT_TOP1_MULTI_INC 56
+#define EDITFIELD_DEFAULT_TOP2_INC 8
+#define EDITFIELD_DEFAULT_LEFT1_INC 0
+#define EDITFIELD_DEFAULT_LEFT2_INC 0
+#define EDITFIELD_DEFAULT_LEFT3_INC 1
+#define EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 56
+#define EDITFIELD_DEFAULT_RIGHT2_INC 0
+#define EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC 25
+#define EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC 8
+#define EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC 32
+#define EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC 12
+#define EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC 85
+#define EDITFIELD_DEFAULT_BOTTOM3_MULTI_INC 60
+#define EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC 6
+#define EDITFIELD_SEARCHBAR_TOP1_MULTI_INC 10
+#define EDITFIELD_SEARCHBAR_TOP2_INC 10
+#define EDITFIELD_SEARCHBAR_LEFT1_INC 0
+#define EDITFIELD_SEARCHBAR_LEFT2_INC 0
+#define EDITFIELD_SEARCHBAR_LEFT3_INC 1
+#define EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 56
+#define EDITFIELD_SEARCHBAR_RIGHT2_INC 5
+#define EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC 8
+#define EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC 2
+#define EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC 16
+#define EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC 2
+#define EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC 50
+#define EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC 50
+
+#define BUTTON_TICKERNOTI_NORMAL_COLOR_INC 225 215 215 255
+#define BUTTON_TICKERNOTI_PRESSED_COLOR_INC 248 246 239 255
+#define BUTTON_TICKERNOTI_DISABLED_COLOR_INC 225 215 215 76
+
+#define BUTTON_DISCLIP_NORMAL_COLOR_INC 255 255 255 255
+#define BUTTON_DISCLIP_DISABLED_COLOR_INC 255 255 255 76
+
+#define CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC 50 50 50 255
+#define CHECK_DEFAULT_TEXT_PRESSED_COLOR_INC 248 246 239 255
+#define CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC 50 50 50 76
+#define CHECK_DISCLIP_NORMAL_COLOR_INC 255 255 255 255
+#define CHECK_DISCLIP_DISABLED_COLOR_INC 255 255 255 76
+
+#define RADIO_DEFAULT_TEXT_NORMAL_COLOR_INC 50 50 50 255
+#define RADIO_DEFAULT_TEXT_PRESSED_COLOR_INC 248 246 239 255
+#define RADIO_DEFAULT_TEXT_DISABLED_COLOR_INC 50 50 50 76
+#define RADIO_DISCLIP_NORMAL_COLOR_INC 255 255 255 255
+#define RADIO_DISCLIP_DISABLED_COLOR_INC 255 255 255 76
+
+#define CONTROLBAR_LARGE_HEIGHT_INC 122
+#define CONTROLBAR_SMALL_HEIGHT_INC 114
+#define CONTROLBAR_WIDTH_INC 122
+#define CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC 23 34 38 255
+#define CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC 58 68 74 255
+
+#define MULTIBUTTONENTRY_WIDTH_PAD_INC 26
+#define MULTIBUTTONENTRY_HEIGHT_PAD_INC 16
+#define MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC 8
+#define MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC 16
+#define MULTIBUTTONENTRY_LABEL_HEIGHT_INC 66 // same as button
+#define MULTIBUTTONENTRY_LABEL_PAD_INC 8
+#define MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC 36
+#define MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC "#808080"
+#define MULTIBUTTONENTRY_GUIDE_HEIGHT_INC 66 // same as button
+#define MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC 36
+#define MULTIBUTTONENTRY_GUIDE_TEXT_COLOR_INC "#79838A" //same as editfield
+#define MULTIBUTTONENTRY_BUTTON_HEIGHT_INC 66
+#define MULTIBUTTONENTRY_BUTTON_PAD_INC 12
+#define MULTIBUTTONENTRY_BUTTON_MAX_INC 324
+#define MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC 5 5 0 0
+#define MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC 32
+#define MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC 255 255 255 255
+#define MULTIBUTTONENTRY_BUTTON_TEXT_MAX_INC 300
+#define MULTIBUTTONENTRY_NUMBER_TEXT_COLOR_INC 128 128 128 255 // same as multibuttonentry label
+
+#define SEARCHBAR_CANCEL_BUTTON_W_INC 136
+#define SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 166
+#define SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 10
+#define SEARCHBAR_TOP_PADDING_INC 10
+#define SEARCHBAR_BOTTOM_PADDING_INC 10
+#define SEARCHBAR_HEIGHT_INC 66
+#define SEARCHBAR_LEFT_PADDING_INC 26
+#define SEARCHBAR_RIGHT_PADDING_INC 26
+#define SEARCHBAR_INPUTFIELD_BORDER_INC 9 9 9 9
+#define SEARCHBAR_LEFT_ICON_PADDING_INC 16
+#define SEARCHBAR_ICON_MIN_W_INC 44
+#define SEARCHBAR_ICON_MIN_H_INC 44
+#define SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 16
+#define SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 8
+#define SEARCHBAR_SEARCH_TEXTFIELD_H_INC 60
+#define SEARCHBAR_H_INC 86
+
+#define SELECTION_INFO_BACKGROUND_COLOR_INC 68 68 68 255
+#define SELECTION_INFO_TEXT_COLOR_INC 255 255 255 255
+#define SELECTION_INFO_MIN_VER_W_INC 720
+#define SELECTION_INFO_MIN_HORZ_W_INC 1280
+#define SELECTION_INFO_VER_PADDING_INC 48
+#define SELECTION_INFO_LEFT_PADDING_INC 16
+#define SELECTION_INFO_TEXT_FONT_SIZE_INC 32
+#define SELECTION_INFO_SHADOW_VER_W_INC 720
+#define SELECTION_INFO_SHADOW_VER_H_INC 10
+#define SELECTION_INFO_SHADOW_HORZ_W_INC 1280
+#define SELECTION_INFO_SHADOW_HORZ_H_INC 10
+#define SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC 150
+#define SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC 186
+
+#define POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC 648 300
+#define POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC 42
+
+#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC 720 0
+#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC 720 1120
+#define POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC 18 18 32 52
+#define POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC 648 80
+#define POPUP_BASE_DEFAULT_TITLE_VOLUMEBAR_MIN_INC 720 68
+#define POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC 16 0
+#define POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC 64 64
+#define POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC 648 300
+#define POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC 648 114
+#define POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC 50
+
+#define POPUP_DESC_LEFT_PADDING 0
+#define POPUP_DESC_RIGHT_PADDING 0
+#define POPUP_DESC_TOP_PADDING 14
+#define POPUP_DESC_BOTTOM_PADDING 34
+#define POPUP_LABEL_DESC_TOP_PADDING 39
+#define POPUP_LABEL_DESC_BOTTOM_PADDING 39
+#define POPUP_TITLE_TOP_PADDING 18
+#define POPUP_TITLE_BOTTOM_PADDING 0
+#define POPUP_TITLE_ICON_TEXT_PADDING_INC 16 0
+
+#define POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC 20
+#define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 36
+#define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 36
+#define POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC 20
+#define POPUP_CONTENT_DEFAULT_CONTENT_DEFAULT_MIN_INC 648 0
+
+#define POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC 0 114
+#define POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC 0 80
+
+#define POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC 648 294
+
+#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC 0 20
+#define POPUP_BUTTON_VERTICAL_ACTION_AREA_HEIGHT "294"
+#define POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC 394 74
+#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC 0 16
+#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC 9999 16
+
+#define POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC 3 3
+#define POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC 614 300
+#define POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC 0 0
+
+#define POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC 720 0
+#define POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC 668 300
+#define POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC 668 250
+#define POPUP_BASE_VOLUMEBAR_STYLE_BUTTONAREA_BG_DEFAULT_MIN_INC 668 134
+
+#define POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT "114"
+#define POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC 394 74
+#define POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC 648 74
+#define POPUP_BUTTON2_DEFAULT_HEIGHT_INC 74
+#define POPUP_BUTTON2_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC 270 74
+#define POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 20 74
+#define POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 36
+#define POPUP_BUTTON3_DEFAULT_HEIGHT_INC 74
+#define POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC 202 74
+#define POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 20 74
+#define POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 36
+
+#define PROGRESSBAR_DEFAULT_STYLE_TEXT_COLOR_INC 128 128 128 255
+#define PROGRESSBAR_DEFAULT_STYLE_STATUS_TEXT_COLOR_INC 128 128 128 255
+#define PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC 128 128 128 255
+#define PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC 128 128 128 255
+#define PROGRESSBAR_LIST_TITLE_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC 128 128 128 255
+#define PROGRESSBAR_LIST_PROCESS_WIDTH_INC 66
+#define PROGRESSBAR_LIST_PROCESS_HEIGHT_INC 66
+#define PROGRESSBAR_LIST_PROCESS_SMALL_INC 35
+#define PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE "32x32"
+#define PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC 36
+#define PROGRESSBAR_LIST_PENDING_HEIGHT_INC 34
+#define PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC 128 128
+
+#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC 128 128 128 255
+#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 32
+#define NOCONTENT_MIDDLE_PADDING_INC 38
+#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
+#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 280 280
+#define NOCONTENT_BG_COLOR_INC 0 0 0 0
+#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 76
+#define NOCONTENT_IMAGE_BG_COLOR_INC 128 128 128 255
+
+#define ENTRY_TEXT_SIZE_INC 44
+#define ENTRY_TEXT_COLOR_INC "#000000"
+#define ENTRY_CURSOR_COLOR_INC 59 115 182 255
+#define ENTRY_PREEDIT_BACKGROUND_COLOR_INC "#000000"
+#define ENTRY_PREEDIT_TEXT_COLOR_INC "#FFFFFF"
+#define ENTRY_PREEDIT_UNDERLINE_COLOR_INC "#000000"
+#define ENTRY_PREEDIT_SUB1_COLOR_INC "#2EA8E1"
+#define ENTRY_PREEDIT_SUB2_COLOR_INC "#9962C3"
+#define ENTRY_PREEDIT_SUB3_COLOR_INC "#76DE37"
+#define ENTRY_PREEDIT_SUB4_COLOR_INC "#999999"
+#define ENTRY_SELECTION_BG_COLOR 90 123 138 127
+#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE 48 67
+#define MAGNIFIER_HEIGHT_FILL 182
+#define MAGNIFIER_HEIGHT_FIXED 108
+#define MAGNIFIER_WIDTH_FIXED 358
+
+#define ENTRY_BUBBLE_EX_PAD 58
+#define ENTRY_BUBBLE_EX_CALLERID_PAD 178
+#define ENTRY_BUBBLE_IX_PAD 20
+#define ENTRY_BUBBLE_Y_PAD 15
+#define ENTRY_BUBBLE_BOTTOM_PAD 24
+#define ENTRY_BUBBLE_CALLERID_PAD 16
+#define ENTRY_BUBBLE_CALLERID_WIDTH 104
+#define ENTRY_BUBBLE_CALLERID_HEIGHT 104
+#define ENTRY_BUBBLE_DATE_AREA_TEXT_SIZE_INC 26
+#define ENTRY_BUBBLE_TEXT_SIZE 38
+
+#define ENTRY_BUBBLE_SENT_TEXT_COLOR "#000000"
+#define ENTRY_BUBBLE_SENT_TEXT_SHADOW_STYLE "far_shadow,bottom"
+#define ENTRY_BUBBLE_SENT_TEXT_SHADOW_COLOR "#ffffff7f"
+#define ENTRY_BUBBLE_RECEV_TEXT_COLOR "#FFFFFF"
+#define ENTRY_BUBBLE_RECEV_TEXT_SHADOW_STYLE "far_shadow,top"
+#define ENTRY_BUBBLE_RECEV_TEXT_SHADOW_COLOR "#0000009f"
+#define ENTRY_BUBBLE_RECEV_BG_BORDER_INC 58 24 62 20
+#define ENTRY_BUBBLE_SENT_BG_BORDER_INC 24 58 62 20
+#define ENTRY_BUBBLE_CALLERID_RELATIVE_INC 0.0 0.0
+#define ENTRY_BUBBLE_RECEV_CALLERID_REL_INC 1.0 0.0
+#define ENTRY_BUBBLE_BOTTOMRIGHT_PAD 120
+#define ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC "elm.rect.right.pad"
+#define ENTRY_BUBBLE_READ_TEXT_CALLID_REL1_X_INC "elm.rect.left.pad"
+#define ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC "elm.rect.groupchat.text.pad"
+#define ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 14
+#define ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC 0.0 1.0
+#define ENTRY_BUBBLE_READ_STATUS_TIME_PAD_REL_INC 1.0 1.0
+#define ENTRY_BUBBLE_STATUS_TIME_SIZE_INC 22
+#define ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC 139 139 139 255
+#define ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC 139 139 139 255
+#define ENTRY_BUBBLE_GROUPCHAT_SIZE_INC 24
+#define ENTRY_BUBBLE_GROUPCHAT_COLOR_INC 139 139 139 255
+#define ENTRY_BUBBLE_GROUPCHART_ENABLE_INC 1
+#define ENTRY_BUBBLE_GROUPCHART_PAD 36 30
+#define ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD 158 30
+#define ENTRY_BUBBLE_READ_STATUS_REL_INC 1.0 0.0
+#define ENTRY_BUBBLE_READ_TIME_REL_INC 1.0 1.0
+
+#define PANES_DEFAULT_FIXED_SEPERATOR_NORMAL_COLOR_INC 118 118 118 255
+
+#define DAYSELECTOR_BACKGROUND_COLOR_INC 82 84 87 255
+#define DAYSELECTOR_WEEKDAY_COLOR_INC 249 249 249 255
+#define DAYSELECTOR_SATURDAY_COLOR_INC 0 168 231 255
+#define DAYSELECTOR_SUNDAY_COLOR_INC 7 180 211 255
+#define DAYSELECTOR_DAY_PRESSED_COLOR_INC 249 249 249 255
+#define DAYSELECTOR_DAY_FONT_SIZE_INC 32
+#define DAYSELECTOR_CHECK_WIDTH_INC 94
+#define DAYSELECTOR_CHECK_HEIGHT_INC 90
+
+#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
+#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
+#define SLIDER_UNITS_TEXT_COLOR_INC 0 0 0 255
+#define SLIDER_UNITS_TEXT_SIZE_INC 30
+#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
+#define SLIDER_BASE_HEIGHT_INC 34
+#define SLIDER_BASE_MIN_WIDTH_INC 375
+#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
+#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
+#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
+#define SLIDER_INDICATOR_WIDTH_INC 72
+#define SLIDER_INDICATOR_HEIGHT_INC 72
+#define SLIDER_EBOOK_HEIGHT_INC 23
+#define SLIDER_EBOOK_UNITS_TEXT_COLOR_INC 164 160 149 255
+#define SLIDER_EBOOK_UNITS_TEXT_SIZE_INC 48
+#define SLIDER_EBOOK_INDICATOR_TEXT_COLOR_INC 7 180 211 255
+#define SLIDER_EBOOK_INDICATOR_DEFAULT_TEXT_SIZE_INC 36
+#define SLIDER_EBOOK_INDICATOR_DRAG_TEXT_SIZE_INC 48
+#define SLIDER_EBOOK_INDICATOR_WIDTH_INC 54
+#define SLIDER_EBOOK_INDICATOR_HEIGHT_INC 54
+
+#define TICKER_NOTI_DEFAULT_TEXT_COLOR_INC "#ffffff"
+#define TICKER_NOTI_DEFAULT_TEXT2_COLOR_INC "#ffffff"
+
+#define DATETIME_FIELD_MIN_SIZE_INC 48 112
+#define DATETIME_SEPARATOR_MIN_SIZE_INC 18 112
+#define DATETIME_TEXT_FONT_SIZE_INC 36
+#define DATETIME_TEXT_NORMAL_COLOR_INC 0 0 0 255
+#define DATETIME_SEPARATOR_TEXT_COLOR_INC 150 150 150 255
+#define DATETIME_TEXT_SELECTED_COLOR_INC 255 255 255 255
+#define DATETIME_LABEL_TEXT_BLOCK_STYLE_COLOR_INC 0 0 0 255
+#define DATETIME_LABEL_TEXT_BLOCK_STYLE_SELECTED_COLOR_INC 59 115 182 255
+
+#define COLORSELECTOR_MIN_W_INC 688
+#define COLORSELECTOR_MIN_H_INC 336
+#define COLORSELECTOR_MAX_W_INC 1014
+#define COLORSELECTOR_COLORBAR_HEIGHT 112
+#define COLORSELECTOR_COLORBAR_LEFT_PADDING 122
+#define COLORSELECTOR_COLORBAR_RIGHT_PADDING 122
+#define COLORSELECTOR_BUTTON_TOP_PADDING 19
+#define COLORSELECTOR_ARROW_BG_LEFT_PADDING 120
+#define COLORSELECTOR_ARROW_BG_RIGHT_PADDING 120
+#define COLORSELECTOR_ARROW_MIN_WIDTH 22
+#define COLORSELECTOR_ARROW_MIN_HEIGHT 70
+#define COLORSELECTOR_ARROW_REL1_OFFSET 0 5
+#define COLORSELECTOR_ARROW_REL2_OFFSET 0 5
+#define COLORSELECTOR_DRAGGABLE_EVENT_AREA 80 80
+#define COLORSELECTOR_BUTTON_LEFT_PADDING 32
+#define COLORSELECTOR_BUTTON_RIGHT_PADDING 32
+#define COLORSELECTOR_BUTTON_WIDTH 74
+#define COLORSELECTOR_BUTTON_HEIGHT 74
+#define COLORSELECTOR_BUTTON_BORDER 6 6 6 6
+#define COLORSELECTOR_PADDING_COLOR_INC 225 223 218 255
+
+#define COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC 86
+#define COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC 86
+#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_WIDTH_INC 84
+#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC 84
+#define COLORSELECTOR_PORTRAIT_HOR_PAD_INC "50"
+#define COLORSELECTOR_PORTRAIT_VER_PAD_INC "20"
+#define COLORSELECTOR_LANDSCAPE_HOR_PAD_INC "36"
+#define COLORSELECTOR_LANDSCAPE_VER_PAD_INC "0"
+#define COLORSELECTOR_PALETTE_BORDER_INC 11 11 11 11
+
+#define CALENDAR_DAY_FONT_SIZE_INC 24
+#define CALENDAR_DATE_FONT_SIZE_INC 32
+#define CALENDAR_MONTH_FONT_SIZE_INC 38
+#define CALENDAR_MONTH_FONT_COLOR_INC 249 249 249 255
+#define CALENDAR_SATURDAY_FONT_COLOR_INC 47 120 220 255
+#define CALENDAR_SUNDAY_FONT_COLOR_INC 226 20 20 255
+#define CALENDAR_WEEKDAY_FONT_COLOR_INC 249 249 249 255
+#define CALENDAR_SELECTED_DATE_FONT_COLOR_INC 255 255 255 255
+#define CALENDAR_SEPERATOR_FONT_COLOR_INC 68 68 68 255
+#define CALENDAR_BACKGROUND_COLOR_INC 89 89 89 255
+#define CALENDAR_BUTTON_HEIGHT_INC 66
+#define CALENDAR_BUTTON_WIDTH_INC 74
+#define CALENDAR_ARROW_WIDTH_INC 30
+#define CALENDAR_ARROW_HEIGHT_INC 36
+#define CALENDAR_BASE_MIN_WIDTH_INC 692
+#define CALENDAR_BASE_MIN_HEIGHT_INC 420
+#define CALENDAR_HEADER_MIN_WIDTH_INC 98
+#define CALENDAR_HEADER_MIN_HEIGHT_INC 90
+
+#define CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER 12 12 9 9
+#define CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 12
+#define CTXPOPUP_ENTRY_ITEM_TEXT_COLOR 249 249 249 255
+#define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR 68 68 68 255
+#define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR 0 0 0 255
+#define CTXPOPUP_ENTRY_SEPARATOR_WIDTH 1
+#define CTXPOPUP_ENTRY_SEPARATOR_HEIGHT 50
+#define CTXPOPUP_ENTRY_ITEM_HEIGHT 74
+#define CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH 14
+#define CTXPOPUP_ENTRY_ITEM_FONT_SIZE 28
+#define CTXPOPUP_ENTRY_ICON_SIZE 58
+#define CTXPOPUP_ENTRY_ITEM_WIDTH_MAX 240
+#define CTXPOPUP_ENTRY_LIST_SHADOW_PADDING 3
+#define CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR 200 200 200 127
+#define CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 18
+#define CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH 29
+
+#define TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC 100
+#define TICKERNOTI_DEFAULT_BG_TOTAL_MIN_HEIGHT_INC 112
+#define TICKERNOTI_DEFAULT_BG_BORDER_INC 2 2 2 14
+#define TICKERNOTI_DEFAULT_BG_PADDING_LEFT_TOP_INC 16 18
+#define TICKERNOTI_DEFAULT_BG_PADDING_RIGHT_BOTTOM_INC 16 18
+#define TICKERNOTI_DEFAULT_PADDING_AFTER_ICON_INC 16 0
+#define TICKERNOTI_DEFAULT_TEXT_MIN_INC 0 60
+#define TICKERNOTI_DEFAULT_BUTTON_MIN_INC 154 74
+#define TICKERNOTI_DEFAULT_BUTTON_MAX_INC 154 74
+#define TICKERNOTI_DEFAULT_ICON_MIN_INC 64 64
+#define TICKERNOTI_DEFAULT_PADDING_BEFORE_BUTTON_INC 16 0
+#define TICKERNOTI_DEFAULT_TEXT_FONT_SIZE_INC 30
+#define TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC 24
+#define TICKERNOTI_INFO_BG_MIN_HEIGHT_INC 60
+#define TICKERNOTI_INFO_BG_PADDING_LEFT_TOP_INC 8 5
+#define TICKERNOTI_INFO_BG_PADDING_RIGHT_BOTTOM_INC 8 5
+#define TICKERNOTI_BG_PADDING_AFTER_ICON_INC 15 0
+#define TICKERNOTI_INFO_TEXT_FONT_SIZE_INC 28
+#define TICKERNOTI_TEXT_ONLY_TEXT_MIN_INC 0 64
+
+#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE "00_scroll_bar.png"
+#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE "00_scroll_bar.png"
+#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE_BORDER 5 10 5 10
+#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE_BORDER 5 10 5 10
+#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238
+#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999
+#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC 208 16
+#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16
+#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE 6
+#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 6
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE "00_scroll_bar.png"
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE "00_scroll_bar.png"
+#define SCROLLER_MATCHLIST_SCROLLBAR_BG_IMAGE_BORDER 13 13 10 15
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_PADDING_SIZE 6
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_PADDING_SIZE 16
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_RUNNER_BORDER 0 0 4 4
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_RUNNER_BORDER 4 4 0 0
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE_BORDER 5 10 5 10
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE_BORDER 5 10 5 10
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER1 6 6 6 0
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER2 6 6 6 0
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER1 6 6 6 0
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER2 6 6 6 0
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE "00_scroll_bar.png"
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE "00_scroll_bar.png"
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 6
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE 16
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_RUNNER_BORDER 0 0 4 4
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_RUNNER_BORDER 4 4 0 0
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE_BORDER 5 10 5 10
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE_BORDER 5 10 5 10
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER1 6 6 6 0
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER2 6 6 6 0
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER1 6 6 6 0
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER2 6 6 6 0
+#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC 54 220
+#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC 220 54
+#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 54 26
+#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC 26 54
+#define SCROLLER_HANDLER_SCROLLBAR_PADDING_INC 4
+#define SCROLLER_HANDLER_SCROLLBAR_VBAR_BOTTOM_BORDER 10 10 0 10
+#define SCROLLER_HANDLER_SCROLLBAR_VBAR_RIGHT_BORDER 0 10 10 10
+
+#define TOOLBAR_ITEM_SEPARATOR_LEFT_COLOR_INC 53 53 53 255
+#define TOOLBAR_ITEM_SEPARATOR_MIDDLE_COLOR_INC 0 0 0 255
+#define TOOLBAR_ITEM_SEPARATOR_RIGHT_COLOR_INC 25 25 25 255
+#define TOOLBAR_ITEM_BG_REL1_OFFSET_INC 4 4
+#define TOOLBAR_ITEM_BG_REL2_OFFSET_INC -5 -5
+#define TOOLBAR_ITEM_BG_SELECTED_BORDER_INC 3 3 3 3
+#define TABBAR_ITEM_TEXTBLOCK_COLOR_INC "#999999"
+#define TABBAR_ITEM_SELECTED_TEXTBLOCK_COLOR_INC "#3b73b6"
+#define TABBAR_ITEM_BG_DEFAULT_BORDER_INC 9 9 9 9
+#define TABBAR_ITEM_BG_DEFAULT_VISIBLE_INC 0
+#define TABBAR_ITEM_BG_DEFAULT_COLOR_INC 255 255 255 0
+#define TABBAR_DEFAULT_HEIGHT_INC 111
+#define TABBAR_ICON_TEXT_HEIGHT_INC 111
+#define TABBAR_HORIZONTAL_HEIGHT_INC 91
+#define TABBAR_HORIZONTAL_ICON_TEXT_HEIGHT_INC 91
+#define TABBAR_ITEM_ICON_SIZE_INC 68 68
+#define TABBAR_ITEM_SMALL_ICON_SIZE_INC 44 44
+
+#define CONFORMANT_INDICATOR_BG_DEFAULT_COLOR_INC 52 52 50 255
+#define CONFORMANT_INDICATOR_BG_TRANSLUCENT_COLOR_INC 0 0 0 125
+#define CONFORMANT_INDICATOR_BG_TRANSPARENT_COLOR_INC 0 0 0 0
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+// LICENSE NOTE:
+// This file (and only this one) is licenses under public-domain. The reason
+// is that this is meant to serve as a template for making your own themes and
+// Elementary's LGPL license is not intended to follow. The images used do come
+// under LGPL, but this file specifically for the structure of your theme is
+// public-domain. This means you can take, use, re-license and otherwise
+// have zero restrictions on using this file as a base for your theme.
+
+// theme configuration file for each theme (tizen, tizen-black, ...)
+#include "inc/tmp-inc.edc"
+
+#define INDICATOR_H 27
+#define CONTROLBAR_LARGE_H 78
+#define CONTROLBAR_SMALL_H 65
+#define CONTROLBAR_W 78
+#define SOFTKEY_H 72
+#define SEGMENT_H 50
+#define PART_RECT(NAME, REFER_PART, COLOR) \
+ part { name: NAME; \
+ type: RECT; \
+ description { state: "default" 0.0; \
+ rel1.to: REFER_PART; \
+ rel2.to: REFER_PART; \
+ color: COLOR; \
+ } \
+ }
+
+externals {
+ external: "elm";
+}
+
+collections {
+#include "widgets/access.edc"
+#include "widgets/actionslider.edc"
+#include "widgets/badge.edc"
+#include "widgets/bg.edc"
+#include "widgets/bubble.edc"
+#include "widgets/button.edc"
+#include "widgets/calendar.edc"
+#include "widgets/check.edc"
+#include "widgets/colorselector.edc"
+#include "widgets/conformant.edc"
+#include "widgets/ctxpopup.edc"
+#include "widgets/datetime.edc"
+#include "widgets/dayselector.edc"
+#include "widgets/diskselector.edc"
+#include "widgets/editfield.edc"
+#include "widgets/entry.edc"
+#include "widgets/gengrid.edc"
+#include "widgets/scroller.edc"
+#include "widgets/genlist/genlist.edc" // include scroller first
+#include "widgets/index.edc"
+#include "widgets/label.edc"
+#include "widgets/layout.edc"
+#include "widgets/map.edc"
+#include "widgets/multibuttonentry.edc"
+//#include "widgets/multisense_ui.edc"
+#include "widgets/naviframe.edc"
+#include "widgets/notify.edc"
+#include "widgets/panes.edc"
+#include "widgets/photocam.edc"
+#include "widgets/popup.edc"
+#include "widgets/progressbar.edc"
+#include "widgets/radio.edc"
+#include "widgets/segmentedcontrol.edc"
+#include "widgets/selectioninfo.edc"
+#include "widgets/slider.edc"
+#include "widgets/tickernoti.edc"
+#include "widgets/toggle.edc"
+#include "widgets/toolbar.edc"
+
+/*
+sounds{
+ sound : "drag-start.wav" 0 100;
+ sound :"drag-accept.wav" 0 100;
+ sound :"button-pressed.wav" 0 100;
+ sound :"Waterdrop.wav" 0 100;
+}
+
+haptics{
+ haptic {
+ name:"1_haptic" ;
+ magnitude: 8000 ;
+ duration: 120 ;
+ attack_level: 123 ;
+ attack_time: 122 ;
+ fade_level: 16 ;
+ fade_time: 12 ;
+ type: MAGSWEEP ;
+ pattern:"01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,E1,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
+ }
+ haptic{
+ name: "2_haptic" ;
+ magnitude: 10000 ;
+ duration: 12 ;
+ attack_level: 123 ;
+ attack_time: 120 ;
+ fade_level: 16 ;
+ fade_time: 12 ;
+ type: MAGSWEEP ;
+ pattern: "01,00,03,00,38,00,42,00,00,00,19,00,21,00,F1,E0,01,E2,00,00,F1, E0, 02, E2, 01,1D,F1,E0,01,E2,03,BA,F1,E0,02,E2,04,E0,FF,20,17,00,00,7F,D1,2F,81,30,00,00,F4,01,00,00,00,20,1F,00,00,40,01,96,41,00,00,00,12,00,24,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,20,00,23,00,31,00,00,00" ;
+ }
+}
+*/
+
+}
+
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+///////////////////////////////////////////////////////////////////////////////////////
+//
+// access
+//
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/access/base/default";
+ images {
+ image: "access_glow.png" LOSSY 85;
+ }
+ parts {
+ part { name: "base";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "access_glow.png";
+ image.border: 6 6 6 6;
+ fill.smooth: 0;
+ }
+ }
+ }
+ }
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+ /********************/
+ /* elm_actionslider */
+ /********************/
+ #define ACTIONSLIDER_BG_H 96
+ #define ACTIONSLIDER_BG_LEFT_W 6
+ #define ACTIONSLIDER_BG_RIGHT_W 6
+
+ // button type
+ #define ACTIONSLIDER_BUTTON_W 64
+ #define ACTIONSLIDER_BUTTON_H 88
+ #define ACTIONSLIDER_BUTTON_TOP_PADDING_H 4
+ #define ACTIONSLIDER_BUTTON_BOTTOM_PADDING_H 4
+ #define ACTIONSLIDER_BUTTON_TEXT_PADDING_LEFT 12
+ #define ACTIONSLIDER_BUTTON_TEXT_PADDING_RIGHT 12
+
+ // bar type
+ #define ACTIONSLIDER_BAR_W 32
+ #define ACTIONSLIDER_BAR_H 86
+ #define ACTIONSLIDER_BAR_TOP_PADDING_H 5
+ #define ACTIONSLIDER_BAR_BOTTOM_PADDING_H 5
+ #define ACTIONSLIDER_BAR_TEXT_PADDING_LEFT 10
+ #define ACTIONSLIDER_BAR_TEXT_PADDING_RIGHT 10
+
+ // elm_actionslider default(button) style
+ group {
+ name: "elm/actionslider/base/default";
+ alias: "elm/actionslider/base/button";
+
+ images {
+ image: "01_action_slider_bg_left.png" COMP;
+ image: "01_action_slider_bg_center.png" COMP;
+ image: "01_action_slider_bg_right.png" COMP;
+ }
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ACTIONSLIDER_BG_H;
+ fixed: 0 1;
+ align: 0.5 0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 0.0; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "image.bg.left";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BG_LEFT_W 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 0.0 1.0; to: "bg"; }
+ image.normal: "01_action_slider_bg_left.png";
+ }
+ }
+ part {
+ name: "image.bg.right";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BG_RIGHT_W 0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1 { relative: 1.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 1.0; to: "bg"; }
+ image.normal: "01_action_slider_bg_right.png";
+ }
+ }
+ part {
+ name: "image.bg.center";
+ type: IMAGE;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1.0 0.0; to: "image.bg.left"; }
+ rel2 { relative: 0.0 1.0; to: "image.bg.right"; }
+ image.normal: "01_action_slider_bg_center.png";
+ }
+ }
+ part {
+ name: "padding.top";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ACTIONSLIDER_BUTTON_TOP_PADDING_H;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 0.0; to: "bg"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding.bottom";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ACTIONSLIDER_BUTTON_BOTTOM_PADDING_H;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ rel1 { relative: 0.0 1.0; to: "bg"; }
+ rel2 { relative: 1.0 1.0; to: "bg"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "icon.dragable.area";
+ type: RECT;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
+ rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "text.padding.left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BUTTON_TEXT_PADDING_LEFT 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 0.0 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
+ rel2 { relative: 0.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "text.padding.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BUTTON_TEXT_PADDING_RIGHT 0;
+ fixed: 1 0;
+ align: 1 0.5;
+ rel1 { relative: 1.0 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
+ rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.text.left";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
+ rel2 { relative: 0.5 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
+ color: 0 162 255 255;
+ text {
+ font: "Tizen:style=Roman";
+ size: 32;
+ align: 0 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part {
+ name: "elm.text.right";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
+ rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
+ color: 230 0 0 255;
+ text {
+ font: "Tizen:style=Roman";
+ size: 32;
+ align: 1 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part {
+ name: "elm.text.center";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ effect: SHADOW;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
+ rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
+ color: 230 0 0 255;
+ color2: 0 0 0 255;
+ text {
+ font: "Tizen:style=Roman";
+ size: 42;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BUTTON_W ACTIONSLIDER_BUTTON_H;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
+ rel2 { relative: 0.0 1.0; to: "icon.dragable.area"; }
+ }
+ dragable {
+ confine: "icon.dragable.area";
+ x: 1 1 1530;
+ y: 0 0 0;
+ }
+ }
+ } // end of parts
+ programs {
+ } // end of programs
+ } // end of group "elm/actionslider/base/default" and "elm/actionslider/base/button"
+
+ group {
+ name: "elm/actionslider/icon/default";
+ alias: "elm/actionslider/icon/button";
+
+ images {
+ image: "01_action_slider_button.png" COMP;
+ }
+ parts {
+ part {
+ name: "image.button";
+ type: IMAGE;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ image.normal: "01_action_slider_button.png";
+ }
+ }
+ } // end of parts
+ } // end of group "elm/actionslider/icon/default"
+
+ // elm_actionslider bar_green style
+ group {
+ name: "elm/actionslider/base/bar_green";
+
+ images {
+ image: "01_action_slider_bg_left.png" COMP;
+ image: "01_action_slider_bg_center.png" COMP;
+ image: "01_action_slider_bg_right.png" COMP;
+ image: "01_action_slider_bar_green_left.png" COMP;
+ image: "01_action_slider_bar_green_center.png" COMP;
+ }
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ACTIONSLIDER_BG_H;
+ fixed: 0 1;
+ align: 0.5 0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 0.0; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "image.bg.left";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BG_LEFT_W 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 0.0 1.0; to: "bg"; }
+ image.normal: "01_action_slider_bg_left.png";
+ }
+ }
+ part {
+ name: "image.bg.right";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BG_RIGHT_W 0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1 { relative: 1.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 1.0; to: "bg"; }
+ image.normal: "01_action_slider_bg_right.png";
+ }
+ }
+ part {
+ name: "image.bg.center";
+ type: IMAGE;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1.0 0.0; to: "image.bg.left"; }
+ rel2 { relative: 0.0 1.0; to: "image.bg.right"; }
+ image.normal: "01_action_slider_bg_center.png";
+ }
+ }
+ part {
+ name: "padding.top";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ACTIONSLIDER_BAR_TOP_PADDING_H;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 0.0; to: "bg"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding.bottom";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ACTIONSLIDER_BAR_BOTTOM_PADDING_H;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ rel1 { relative: 0.0 1.0; to: "bg"; }
+ rel2 { relative: 1.0 1.0; to: "bg"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "text.padding.left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BAR_TEXT_PADDING_LEFT 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 0.0 0.0; to: "image.bg.center"; }
+ rel2 { relative: 0.0 1.0; to: "image.bg.center"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "text.padding.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BAR_TEXT_PADDING_RIGHT 0;
+ fixed: 1 0;
+ align: 1 0.5;
+ rel1 { relative: 1.0 0.0; to: "image.bg.center"; }
+ rel2 { relative: 1.0 1.0; to: "image.bg.center"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.text.right";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
+ rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
+ color: 255 255 255 255;
+ text {
+ font: "Tizen:style=Roman";
+ size: 42;
+ align: 1 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part {
+ name: "bar.padding.left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 3 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 0.0 1.0; to: "bg"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "image.bar.left";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ min: 6 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 1.0 1.0; to_x: "bar.padding.left"; to_y: "padding.top"; }
+ rel2 { relative: 1.0 0.0; to_x: "bar.padding.left"; to_y: "padding.bottom"; }
+ image.normal: "01_action_slider_bar_green_left.png";
+ }
+ }
+ part {
+ name: "bar.padding.center";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 11 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 1.0 1.0; to_x: "image.bar.left"; to_y: "padding.top"; }
+ rel2 { relative: 1.0 0.0; to_x: "image.bar.left"; to_y: "padding.bottom"; }
+ }
+ }
+ part {
+ name: "image.bar.center";
+ type: IMAGE;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
+ rel2 { relative: 0.0 0.0; to_x: "elm.swallow.icon"; to_y: "padding.bottom"; }
+ image.normal: "01_action_slider_bar_green_center.png";
+ }
+ }
+ part {
+ name: "icon.dragable.area";
+ type: RECT;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
+ rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BAR_W ACTIONSLIDER_BAR_H;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
+ rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
+ }
+ dragable {
+ confine: "icon.dragable.area";
+ x: 1 1 1530;
+ y: 0 0 0;
+ }
+ }
+ part {
+ name: "elm.text.center";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ effect: SHADOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
+ rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
+ color: 255 255 255 255;
+ color2: 0 0 0 255;
+ text {
+ font: "Tizen:style=Roman";
+ size: 42;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ } // end of parts
+ programs {
+ program {
+ name: "show_text_center";
+ signal: "elm,show,text,center";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "elm.text.center";
+ }
+ program {
+ name: "hide_text_center";
+ signal: "elm,hide,text,center";
+ source: "elm";
+ action: STATE_SET "hide" 0.0;
+ target: "elm.text.center";
+ }
+ } // end of programs
+ } // end of group "elm/actionslider/base/bar_green"
+
+ group {
+ name: "elm/actionslider/icon/bar_green";
+
+ images {
+ image: "01_action_slider_bar_green_right.png" COMP;
+ }
+ parts {
+ part {
+ name: "image.button";
+ type: IMAGE;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ image.normal: "01_action_slider_bar_green_right.png";
+ }
+ }
+ } // end of parts
+ } // end of group "elm/actionslider/icon/bar_green"
+
+ // elm_actionslider bar_red style
+ group {
+ name: "elm/actionslider/base/bar_red";
+
+ images {
+ image: "01_action_slider_bg_left.png" COMP;
+ image: "01_action_slider_bg_center.png" COMP;
+ image: "01_action_slider_bg_right.png" COMP;
+ image: "01_action_slider_bar_red_left.png" COMP;
+ image: "01_action_slider_bar_red_center.png" COMP;
+ }
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ACTIONSLIDER_BG_H;
+ fixed: 0 1;
+ align: 0.5 0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 0.0; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "image.bg.left";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BG_LEFT_W 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 0.0 1.0; to: "bg"; }
+ image.normal: "01_action_slider_bg_left.png";
+ }
+ }
+ part {
+ name: "image.bg.right";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BG_RIGHT_W 0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1 { relative: 1.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 1.0; to: "bg"; }
+ image.normal: "01_action_slider_bg_right.png";
+ }
+ }
+ part {
+ name: "image.bg.center";
+ type: IMAGE;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1.0 0.0; to: "image.bg.left"; }
+ rel2 { relative: 0.0 1.0; to: "image.bg.right"; }
+ image.normal: "01_action_slider_bg_center.png";
+ }
+ }
+ part {
+ name: "padding.top";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ACTIONSLIDER_BAR_TOP_PADDING_H;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 0.0; to: "bg"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding.bottom";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ACTIONSLIDER_BAR_BOTTOM_PADDING_H;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ rel1 { relative: 0.0 1.0; to: "bg"; }
+ rel2 { relative: 1.0 1.0; to: "bg"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "text.padding.left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BAR_TEXT_PADDING_LEFT 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 0.0 0.0; to: "image.bg.center"; }
+ rel2 { relative: 0.0 1.0; to: "image.bg.center"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "text.padding.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BAR_TEXT_PADDING_RIGHT 0;
+ fixed: 1 0;
+ align: 1 0.5;
+ rel1 { relative: 1.0 0.0; to: "image.bg.center"; }
+ rel2 { relative: 1.0 1.0; to: "image.bg.center"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.text.right";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
+ rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
+ color: 255 255 255 255;
+ text {
+ font: "Tizen:style=Roman";
+ size: 42;
+ align: 1 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part {
+ name: "bar.padding.left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 3 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 0.0 1.0; to: "bg"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "image.bar.left";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ min: 6 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 1.0 1.0; to_x: "bar.padding.left"; to_y: "padding.top"; }
+ rel2 { relative: 1.0 0.0; to_x: "bar.padding.left"; to_y: "padding.bottom"; }
+ image.normal: "01_action_slider_bar_red_left.png";
+ }
+ }
+ part {
+ name: "bar.padding.center";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 11 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 1.0 1.0; to_x: "image.bar.left"; to_y: "padding.top"; }
+ rel2 { relative: 1.0 0.0; to_x: "image.bar.left"; to_y: "padding.bottom"; }
+ }
+ }
+ part {
+ name: "image.bar.center";
+ type: IMAGE;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
+ rel2 { relative: 0.0 0.0; to_x: "elm.swallow.icon"; to_y: "padding.bottom"; }
+ image.normal: "01_action_slider_bar_red_center.png";
+ }
+ }
+ part {
+ name: "icon.dragable.area";
+ type: RECT;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
+ rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ACTIONSLIDER_BAR_W ACTIONSLIDER_BAR_H;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
+ rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
+ }
+ dragable {
+ confine: "icon.dragable.area";
+ x: 1 1 1530;
+ y: 0 0 0;
+ }
+ }
+ part {
+ name: "elm.text.center";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ effect: SHADOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
+ rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
+ color: 255 255 255 255;
+ color2: 0 0 0 255;
+ text {
+ font: "Tizen:style=Roman";
+ size: 42;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ } // end of parts
+ programs {
+ program {
+ name: "show_text_center";
+ signal: "elm,show,text,center";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "elm.text.center";
+ }
+ program {
+ name: "hide_text_center";
+ signal: "elm,hide,text,center";
+ source: "elm";
+ action: STATE_SET "hide" 0.0;
+ target: "elm.text.center";
+ }
+ } // end of programs
+ } // end of group "elm/actionslider/base/bar_red"
+
+ group {
+ name: "elm/actionslider/icon/bar_red";
+
+ images {
+ image: "01_action_slider_bar_red_right.png" COMP;
+ }
+ parts {
+ part {
+ name: "image.button";
+ type: IMAGE;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ image.normal: "01_action_slider_bar_red_right.png";
+ }
+ }
+ } // end of parts
+ } // end of group "elm/actionslider/icon/bar_red"
+
+
+ // elm_actionslider callslider style
+ group {
+ name: "elm/actionslider/base/callslider";
+
+ images {
+ image: "08_voicecall_multi_tasking_bg.png" COMP;
+ image: "08_voicecall_multi_tasking_arrow_left.png" COMP;
+ image: "08_voicecall_multi_tasking_arrow_right.png" COMP;
+ }
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 480 42;
+ fixed: 1 0;
+ align: 0 0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "image.bg";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to:"bg";}
+ rel2 { relative: 1.0 1.0; to:"bg";}
+ image.normal: "08_voicecall_multi_tasking_bg.png";
+ }
+ }
+ part {
+ name: "padding.top";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 3;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 0.0; to: "bg"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding.bottom";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 3;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ rel1 { relative: 0.0 1.0; to: "bg"; }
+ rel2 { relative: 1.0 1.0; to: "bg"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "text.padding.left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 5 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 0.0 1.0; to: "bg"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "text.padding.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 5 0;
+ fixed: 1 0;
+ align: 1 0.5;
+ rel1 { relative: 1.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 1.0; to: "bg"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.text.left";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
+ rel2 { relative: 0.5 0.0; to_x: "bg"; to_y: "padding.bottom"; }
+ color: 230 228 229 255;
+ text {
+ font: "Tizen:style=Roman";
+ size: 22;
+ align: 0 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part {
+ name: "elm.text.right";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0.5 1.0; to_x: "bg"; to_y: "padding.top"; }
+ rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
+ color: 230 228 229 255;
+ text {
+ font: "Tizen:style=Roman";
+ size: 22;
+ align: 1 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part {
+ name: "drag.padding.left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 0.0 1.0; to: "bg"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "drag.padding.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ align: 1 0.5;
+ rel1 { relative: 1.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 1.0; to: "bg"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "icon.dragable.area";
+ type: RECT;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "drag.padding.left"; to_y: "padding.top"; }
+ rel2 { relative: 0.0 0.0; to_x: "drag.padding.right"; to_y: "padding.bottom"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.swallow.space";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 40 36;
+ fixed: 1 0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.5 0.0; to: "icon.dragable.area"; }
+ rel2 { relative: 0.5 1.0; to: "icon.dragable.area"; }
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "image.button.left";
+ type: IMAGE;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: 16 15;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 { relative: 0.0 0.5; to:"elm.swallow.space";}
+ rel2 { relative: 0.0 0.5; to:"elm.swallow.space";}
+ //rel1 { relative: 0.0 0.5; to:"elm.swallow.icon";}
+ //rel2 { relative: 0.0 0.5; to:"elm.swallow.icon";}
+ image.normal: "08_voicecall_multi_tasking_arrow_left.png";
+ }
+ }
+ part {
+ name: "image.button.right";
+ type: IMAGE;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: 16 15;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 { relative: 1.0 0.5; to:"elm.swallow.space";}
+ rel2 { relative: 1.0 0.5; to:"elm.swallow.space";}
+ //rel1 { relative: 1.0 0.5; to:"elm.swallow.icon";}
+ //rel2 { relative: 1.0 0.5; to:"elm.swallow.icon";}
+ image.normal: "08_voicecall_multi_tasking_arrow_right.png";
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 40 36;
+ fixed: 0 0;
+ align: 0 0.5;
+ rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
+ rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
+ color: 0 0 0 0;
+ }
+ dragable {
+ confine: "icon.dragable.area";
+ x: 1 1 1530;
+ y: 0 0 0;
+ }
+ }
+ } // end of parts
+ } // end of group "elm/actionslider/base/callslider"
+
+ group {
+ name: "elm/actionslider/icon/callslider";
+
+ data {
+ /* Set padding value */
+ item: "left" "19";
+ item: "right" "19";
+ }
+
+ images {
+ image: "08_voicecall_multi_tasking_button.png" COMP;
+ }
+ parts {
+ part {
+ name: "image.button";
+ type: IMAGE;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 0 0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ image.normal: "08_voicecall_multi_tasking_button.png";
+ //image.border: 19 19 0 0;
+ image.border: 19 19 18 18;
+ image.border_scale: 1;
+ }
+ }
+ part {
+ name: "elm.text.button";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0.0 0.0; to: "image.button"; }
+ rel2 { relative: 1.0 1.0; to: "image.button"; }
+ color: 53 45 39 255;
+ text {
+ font: "Tizen:style=Roman";
+ size: 22;
+ align: 0.5 0.5;
+ text: "";
+ text_class: "tizen";
+ }
+ }
+ }
+ } // end of parts
+ } // end of group "elm/actionslider/icon/callslider"
+
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+#define STYLE1_ICON_W 50
+#define STYLE1_ICON_H 50
+#define STYLE1_BADGE_W 34
+#define STYLE1_BADGE_H 34
+#define STYLE1_BADGE_BORDER 16
+#define STYLE1_BADGE_PADDING 8
+#define STYLE1_BADGE_OVER_X 8
+#define STYLE1_BADGE_OVER_Y -6
+
+#define STYLE2_ICON_W 50
+#define STYLE2_ICON_H 50
+#define STYLE2_BADGE_W 40
+#define STYLE2_BADGE_H 40
+#define STYLE2_BADGE_BORDER 19
+#define STYLE2_BADGE_PADDING 8
+#define STYLE2_BADGE_OVER_X 2
+#define STYLE2_BADGE_OVER_Y -8
+
+group
+{
+ name: "elm/icon_badge/base/style1";
+
+ images {
+ image : "00_badge_34x34.png" COMP;
+ }
+
+ parts {
+ part {
+ name: "elm.icon";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: STYLE1_ICON_W STYLE1_ICON_H;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ }
+ }
+
+ part {
+ name: "elm.badge.bg";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to_x: "elm.badge.padding.left"; to_y: "elm.badge.text"; }
+ rel2 { relative: 1.0 1.0; to_x: "elm.badge.padding.right"; to_y: "elm.badge.text"; }
+ image.normal: "00_badge_34x34.png";
+ image.border: STYLE1_BADGE_BORDER STYLE1_BADGE_BORDER STYLE1_BADGE_BORDER STYLE1_BADGE_BORDER;
+ image.border_scale:1;
+ }
+ }
+
+ part {
+ name: "elm.badge.text";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1 { relative: (STYLE1_ICON_W-STYLE1_BADGE_W+STYLE1_BADGE_OVER_X+STYLE1_BADGE_PADDING)/STYLE1_ICON_W (STYLE1_BADGE_OVER_Y)/STYLE1_ICON_H; to: "elm.icon"; }
+ rel2 { relative: (STYLE1_ICON_W+STYLE1_BADGE_OVER_X-STYLE1_BADGE_PADDING)/STYLE1_ICON_W (STYLE1_BADGE_H+STYLE1_BADGE_OVER_Y)/STYLE1_ICON_H; to: "elm.icon"; }
+ text {
+ font: "Tizen";
+ size: 20;
+ min: 1 1;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ color: 255 255 255 255;
+ }
+ }
+
+ part {
+ name: "elm.badge.padding.left";
+ type: RECT;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: STYLE1_BADGE_PADDING 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "elm.badge.text"; }
+ rel2 { relative: 0.0 1.0; to: "elm.badge.text"; }
+ color: 0 0 0 0;
+ }
+ }
+
+ part {
+ name: "elm.badge.padding.right";
+ type: RECT;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: STYLE1_BADGE_PADDING 0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "elm.badge.text"; }
+ rel2 { relative: 1.0 1.0; to: "elm.badge.text"; }
+ color: 0 0 0 0;
+ }
+ }
+ }
+}
+
+group
+{
+ name: "elm/icon_badge/base/style2";
+
+ images {
+ image : "00_badge_40x40.png" COMP;
+ }
+
+ parts {
+ part {
+ name: "elm.icon";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: STYLE2_ICON_W STYLE2_ICON_H;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ }
+ }
+
+ part {
+ name: "elm.badge.bg";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to_x: "elm.badge.padding.left"; to_y: "elm.badge.text"; }
+ rel2 { relative: 1.0 1.0; to_x: "elm.badge.padding.right"; to_y: "elm.badge.text"; }
+ image.normal: "00_badge_40x40.png";
+ image.border: STYLE2_BADGE_BORDER STYLE2_BADGE_BORDER STYLE2_BADGE_BORDER STYLE2_BADGE_BORDER;
+ image.border_scale:1;
+ }
+ }
+
+ part {
+ name: "elm.badge.text";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1 { relative: (STYLE2_ICON_W-STYLE2_BADGE_W+STYLE2_BADGE_OVER_X+STYLE2_BADGE_PADDING)/STYLE2_ICON_W (STYLE2_BADGE_OVER_Y)/STYLE2_ICON_H; to: "elm.icon"; }
+ rel2 { relative: (STYLE2_ICON_W+STYLE2_BADGE_OVER_X-STYLE2_BADGE_PADDING)/STYLE2_ICON_W (STYLE2_BADGE_H+STYLE2_BADGE_OVER_Y)/STYLE2_ICON_H; to: "elm.icon"; }
+ text {
+ font: "Tizen";
+ size: 22;
+ min: 1 1;
+ align: 0.6 0.48;
+ text_class: "tizen";
+ }
+ color: 255 255 255 255;
+ }
+ }
+
+ part {
+ name: "elm.badge.padding.left";
+ type: RECT;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: STYLE2_BADGE_PADDING 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "elm.badge.text"; }
+ rel2 { relative: 0.0 1.0; to: "elm.badge.text"; }
+ color: 0 0 0 0;
+ }
+ }
+
+ part {
+ name: "elm.badge.padding.right";
+ type: RECT;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: STYLE2_BADGE_PADDING 0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "elm.badge.text"; }
+ rel2 { relative: 1.0 1.0; to: "elm.badge.text"; }
+ color: 0 0 0 0;
+ }
+ }
+ }
+}
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+///////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/bg/base/default";
+ parts {
+ part { name: "base";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: BG_DEFAULT_COLOR_INC;
+ }
+ }
+ part { name: "elm.swallow.rectangle";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.background";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/bg/base/list";
+ alias: "elm/bg/base/group_list";
+ parts {
+ part { name: "base";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: BG_GROUP_LIST_COLOR_INC;
+ }
+ }
+ part { name: "elm.swallow.rectangle";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.background";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/bg/base/edit_mode";
+ parts {
+ part { name: "base";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: BG_EDIT_MODE_COLOR_INC;
+ }
+ }
+ part { name: "elm.swallow.rectangle";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.background";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/bg/base/transparent";
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ color: BG_TRANSPARENT_COLOR_INC;
+ }
+ }
+ part { name: "elm.swallow.rectangle";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.background";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ }
+ }
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+#define BUBBLE_WIDTH 380
+
+#define BUBBLE_DATE_PAD 15
+#define BUBBLE_DATE_HEIGHT 30
+
+#define BUBBLE_TOP_PAD 10
+#define BUBBLE_RIGHT_PAD 15
+#define BUBBLE_ICON_PAD 6
+
+images {
+ image: "00_MessageBubble_BG_receive.png" COMP;
+ image: "00_MessageBubble_BG_send.png" COMP;
+}
+
+// deprecated style
+group {
+ name: "elm/bubble/base/default";
+ alias: "elm/bubble/base/readmessage";
+
+ parts {
+ part {
+ name: "elm.rect.left.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: BUBBLE_DATE_PAD 0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 0.0 0.0; }
+ }
+ description {
+ state: "expand" 0.0;
+ inherit: "default" 0.0;
+ min: BUBBLE_DATE_PAD BUBBLE_DATE_HEIGHT;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "elm.rect.top.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 BUBBLE_TOP_PAD;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 1.0; to_y: "elm.rect.left.pad"; }
+ rel2 { relative: 1.0 1.0; to_y: "elm.rect.left.pad"; }
+ }
+ }
+ part {
+ name: "elm.rect.right.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: BUBBLE_RIGHT_PAD 0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 1.0 0.0; to: "elm.swallow.content"; }
+ rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; }
+ }
+ }
+ part {
+ name: "elm.rect.bottom.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 BUBBLE_TOP_PAD;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 1.0; to_y: "elm.rect.icon.bottom.pad"; }
+ rel2 { relative: 1.0 1.0; }
+ }
+ }
+ part {
+ name: "elm.rect.icon.top.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 1.0; to: "elm.swallow.content"; }
+ rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; }
+ }
+ description {
+ state: "expand" 0.0;
+ inherit: "default" 0.0;
+ min: 0 BUBBLE_ICON_PAD;
+ fixed: 0 1;
+ }
+ }
+ part {
+ name: "elm.rect.icon.bottom.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 1.0; to: "elm.swallow.icon"; }
+ rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; }
+ }
+ description {
+ state: "expand" 0.0;
+ inherit: "default" 0.0;
+ min: 0 BUBBLE_ICON_PAD;
+ fixed: 0 1;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ text {
+ font: "Tizen:style=Roman";
+ size: 14;
+ min: 1 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ color: 76 75 73 255;
+ rel1 { relative: 1.0 0.0; to: "elm.rect.left.pad"; }
+ rel2 { relative: 1.0 1.0; to: "elm.rect.left.pad"; }
+ }
+ description {
+ state: "expand" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.image.bg";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
+ rel2 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
+ image {
+ normal: "00_MessageBubble_BG_receive.png";
+ border: 1 11 7 12;
+ border_scale: 1;
+ }
+ }
+ }
+ part {
+ name: "elm.rect.bg.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 1.0 0.0; to: "elm.image.bg"; }
+ rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
+ rel2 { relative: 0.7 1.0; to_y: "elm.rect.top.pad"; }
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 1.0; to: "elm.rect.icon.top.pad"; }
+ rel2 { relative: 0.5 1.0; to_y: "elm.rect.icon.top.pad"; }
+ }
+ description {
+ state: "expand" 0.0;
+ inherit : "default" 0.0;
+ min: 0 50; //default height of icon
+ fixed: 0 1;
+ }
+ }
+ part {
+ name: "elm.swallow.sweep";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
+ rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
+ }
+ }
+ /*part {
+ name: "elm.info";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 1.0 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: -5 4;
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -5 4;
+ }
+ color: 0 0 0 64;
+ text {
+ font: "Helvetica_:style=Bold";
+ size: 16;
+ min: 1 1;
+ max: 1 1;
+ align: 1.0 0.0;
+ }
+ }
+ }*/
+ }
+ programs {
+ program {
+ name: "text_add";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "expand" 0.0;
+ target: "elm.rect.left.pad";
+ target: "elm.text";
+ }
+ program {
+ name: "text_del";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.rect.left.pad";
+ target: "elm.text";
+ }
+ program {
+ name: "icon_add";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "expand" 0.0;
+ target: "elm.rect.icon.top.pad";
+ target: "elm.swallow.icon";
+ target: "elm.rect.icon.bottom.pad";
+ }
+ program {
+ name: "icon_del";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.rect.icon.top.pad";
+ target: "elm.swallow.icon";
+ target: "elm.rect.icon.bottom.pad";
+ }
+ }
+}
+
+// deprecated style
+group {
+ name: "elm/bubble/base/sentmessage";
+
+ parts {
+ part {
+ name: "elm.rect.right.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: BUBBLE_DATE_PAD 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 1.0 0.0; }
+ rel2 { relative: 1.0 0.0; }
+ }
+ description {
+ state: "expand" 0.0;
+ inherit: "default" 0.0;
+ min: BUBBLE_DATE_PAD BUBBLE_DATE_HEIGHT;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "elm.rect.top.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 BUBBLE_TOP_PAD;
+ fixed: 0 1;
+ align: 1.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 1.0; to_y: "elm.rect.right.pad"; }
+ rel2 { relative: 1.0 1.0; to_y: "elm.rect.right.pad"; }
+ }
+ }
+ part {
+ name: "elm.rect.left.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: BUBBLE_RIGHT_PAD 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 0.0; to: "elm.swallow.content"; }
+ rel2 { relative: 0.0 1.0; to: "elm.swallow.content"; }
+ }
+ }
+ part {
+ name: "elm.rect.bottom.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 BUBBLE_TOP_PAD;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 1.0; to_y: "elm.rect.icon.bottom.pad"; }
+ rel2 { relative: 1.0 1.0; }
+ }
+ }
+ part {
+ name: "elm.rect.icon.top.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 1.0; to: "elm.swallow.content"; }
+ rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; }
+ }
+ description {
+ state: "expand" 0.0;
+ inherit: "default" 0.0;
+ min: 0 BUBBLE_ICON_PAD;
+ fixed: 0 1;
+ }
+ }
+ part {
+ name: "elm.rect.icon.bottom.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 1.0; to: "elm.swallow.icon"; }
+ rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; }
+ }
+ description {
+ state: "expand" 0.0;
+ inherit: "default" 0.0;
+ min: 0 BUBBLE_ICON_PAD;
+ fixed: 0 1;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 1.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ text {
+ font: "Tizen:style=Roman";
+ size: 14;
+ min: 1 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ color: 76 75 73 255;
+ rel1 { relative: 0.0 0.0; to: "elm.rect.right.pad"; }
+ rel2 { relative: 0.0 1.0; to: "elm.rect.right.pad"; }
+ }
+ description {
+ state: "expand" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.image.bg";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 0.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
+ rel2 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
+ image {
+ normal: "00_MessageBubble_BG_send.png";
+ border: 11 1 7 12;
+ border_scale: 1;
+ }
+ }
+ }
+ part {
+ name: "elm.rect.bg.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
+ rel2 { relative: 0.0 1.0; to: "elm.image.bg"; }
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 1.0 0.0;
+ fixed: 1 1;
+ rel1 { relative: 0.3 1.0; to_y: "elm.rect.top.pad"; }
+ rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ align: 1.0 0.0;
+ rel1 { relative: 0.5 1.0; to_y: "elm.rect.icon.top.pad"; }
+ rel2 { relative: 1.0 1.0; to: "elm.rect.icon.top.pad"; }
+ }
+ description {
+ state: "expand" 0.0;
+ inherit : "default" 0.0;
+ min: 0 50; //default height of icon
+ fixed: 0 1;
+ }
+ }
+ part {
+ name: "elm.swallow.sweep";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
+ rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
+ }
+ }
+ /*part {
+ name: "elm.info";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 1.0 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: -5 4;
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -5 4;
+ }
+ color: 0 0 0 64;
+ text {
+ font: "Helvetica_:style=Bold";
+ size: 16;
+ min: 1 1;
+ max: 1 1;
+ align: 1.0 0.0;
+ }
+ }
+ }*/
+ }
+ programs {
+ program {
+ name: "text_add";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "expand" 0.0;
+ target: "elm.rect.right.pad";
+ target: "elm.text";
+ }
+ program {
+ name: "text_del";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.rect.right.pad";
+ target: "elm.text";
+ }
+ program {
+ name: "icon_add";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "expand" 0.0;
+ target: "elm.rect.icon.top.pad";
+ target: "elm.swallow.icon";
+ target: "elm.rect.icon.bottom.pad";
+ }
+ program {
+ name: "icon_del";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.rect.icon.top.pad";
+ target: "elm.swallow.icon";
+ target: "elm.rect.icon.bottom.pad";
+ }
+ }
+}
+
+ group { name: "elm/layout/bubble/readmessage/default";
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.padding.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_5_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1.relative: 0.0 0.0;
+ rel2 {
+ relative: 0.0 1.0;
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.select_icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "selectview" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.padding.icon1.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_5_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ color: 0 255 255 255;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.select_icon";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.select_icon";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel2 {
+ relative: 0.76 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "selectview" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon1.right";
+ }
+ rel2 {
+ relative: 0.86 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ }
+ }
+ part { name: "elm.padding.contents";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 0.0 1.0; to_y: "elm.icon"; }
+ rel2 { relative: 1.0 1.0; to_y: "elm.icon"; }
+ }
+ }
+ part { name: "elm.swallow.icon1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+ max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 0.0223 1.00; to_y: "elm.padding.contents"; }
+ rel2 { relative: 0.0223 1.00; }
+ }
+ description { state: "contents_on" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.icon2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+ max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 1.0 1.00; to_x: "elm.swallow.icon1"; to_y: "elm.padding.contents"; }
+ rel2 { relative: 1.0 1.00; }
+ }
+ description { state: "contents_on" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.padding.bottom";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_PADDING_24_INC;
+ fixed: 0 1;
+ visible: 0;
+ rel1.relative: 0.0 1.0;
+ align: 0.0 1.0;
+ }
+ description { state: "contents_on" 0.0;
+ inherit: "default" 0.0;
+ min: 0 GENLIST_PADDING_88_INC;
+ }
+ }
+ part { name: "disclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: BUBBLE_DISCLIP_COLOR;
+ }
+ }
+ }
+ programs {
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_defaultview";
+ signal: "elm,state,select,disable";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ //transition: DECELERATE 0.7;
+ target: "elm.swallow.select_icon";
+ target: "elm.icon";
+ }
+ program { name: "go_selectview";
+ signal: "elm,state,select,enable";
+ source: "elm";
+ action: STATE_SET "selectview" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.swallow.select_icon";
+ target: "elm.icon";
+ }
+ program { name: "go_contents_on";
+ signal: "elm,state,contents,enabled";
+ source: "elm";
+ action: STATE_SET "contents_on" 0.0;
+ target: "elm.swallow.icon1";
+ target: "elm.swallow.icon2";
+ target: "elm.padding.bottom";
+ }
+ program { name: "go_contents_off";
+ signal: "elm,state,contents,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon1";
+ target: "elm.swallow.icon2";
+ target: "elm.padding.bottom";
+ }
+ }
+ }
+
+ group { name: "elm/layout/bubble/sentmessage/default";
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.padding.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_5_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1.relative: 0.0 0.0;
+ rel2 {
+ relative: 0.0 1.0;
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.select_icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "selectview" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.padding.icon1.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_5_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ color: 0 255 255 255;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.select_icon";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.select_icon";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.24 0.0; //to_y: "elm.rect.top.pad"; }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "selectview" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.0;
+ rel1 {
+ relative: 0.28 0.0;
+ }
+ }
+ }
+ part { name: "elm.padding.contents";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 0.0 1.0; to_y: "elm.icon"; }
+ rel2 { relative: 1.0 1.0; to_y: "elm.icon"; }
+ }
+ }
+ part { name: "elm.swallow.icon1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+ max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+ align: 1.0 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 0.0 1.00; to_x: "elm.swallow.icon2"; to_y: "elm.padding.contents"; }
+ rel2 { relative: 0.0 1.00; to_x: "elm.swallow.icon2"; }
+ }
+ description { state: "contents_on" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.icon2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+ max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+ align: 1.0 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 0.9777 1.00; to_y: "elm.padding.contents"; }
+ rel2 { relative: 0.9777 1.00; }
+ }
+ description { state: "contents_on" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.padding.bottom";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_PADDING_24_INC;
+ fixed: 0 1;
+ visible: 0;
+ rel1.relative: 0.0 1.0;
+ align: 0.0 1.0;
+ }
+ description { state: "contents_on" 0.0;
+ inherit: "default" 0.0;
+ min: 0 GENLIST_PADDING_88_INC;
+ }
+ }
+ part { name: "disclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: BUBBLE_DISCLIP_COLOR;
+ }
+ }
+ }
+ programs {
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_defaultview";
+ signal: "elm,state,select,disable";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ //transition: DECELERATE 0.7;
+ target: "elm.swallow.select_icon";
+ target: "elm.icon";
+ }
+ program { name: "go_selectview";
+ signal: "elm,state,select,enable";
+ source: "elm";
+ action: STATE_SET "selectview" 0.0;
+ //transition: DECELERATE 0.7;
+ target: "elm.swallow.select_icon";
+ target: "elm.icon";
+ }
+ program { name: "go_contents_on";
+ signal: "elm,state,contents,enabled";
+ source: "elm";
+ action: STATE_SET "contents_on" 0.0;
+ target: "elm.swallow.icon1";
+ target: "elm.swallow.icon2";
+ target: "elm.padding.bottom";
+ }
+ program { name: "go_contents_off";
+ signal: "elm,state,contents,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon1";
+ target: "elm.swallow.icon2";
+ target: "elm.padding.bottom";
+ }
+ }
+ }
+
+ group { name: "elm/layout/bubble/seperator/default";
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_PADDING_24_INC;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ }
+
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+#define BUTTON_STATE_ENABLED 0
+#define BUTTON_STATE_DISABLED 1
+
+ sounds {
+ sample {
+ name: "touch_sound" AS_IS;
+ source: "S_Touch_30ms.wav";
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/style1";
+ alias: "elm/button/base/text_only/style1";
+ alias: "elm/button/base/center";
+ alias: "elm/button/base/icon_and_text/center";
+ alias: "elm/button/base/nocontents/search_button";
+ alias: "elm/button/base/style1/multiline";
+ images {
+ image: "00_button_01.png" COMP;
+ image: "00_button_01_press.png" COMP;
+ image: "00_button_01_dim.png" COMP;
+ }
+ script {
+ public button_state = BUTTON_STATE_ENABLED;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ image {
+ normal: "00_button_01.png";
+ border: BUTTON_TEXT_STYLE1_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: BUTTON_TEXT_STYLE1_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_TEXT_STYLE1_BG_MIN_INC;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TEXT_STYLE1_ICONONLY_BG_MIN_INC;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: BUTTON_TEXT_STYLE1_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "icon_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ align: 0.0 0.5;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_after_icon";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 0.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "icon_rect";
+ }
+ rel2.to: "icon_rect";
+ fixed: 1 0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_before_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.text";
+ to_y: "padding_right_bottom";
+ }
+ fixed: 1 0;
+ min: BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ fixed: 1 0;
+ }
+ description { state: "visible" 0.0;
+ fixed: 1 0;
+ min: BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "padding_before_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "padding_before_text";
+ to_y: "padding_right_bottom";
+ }
+ }
+ description { state: "icononly" 0.0;
+ min: BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_TEXT_STYLE1_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_DIM_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: BUTTON_DISCLIP_NORMAL_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_DISCLIP_DISABLED_COLOR_INC;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ after: "text_clicked";
+ }
+ program { name: "text_clicked";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "clicked", 0.0);
+ }
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (strcmp(st, "icononly"))
+ {
+ emit("elm,action,default,text,set", "");
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"button_image", "default", 0.0);
+ }
+ after: button_unpress;
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"icon_rect", "visible", 0.0);
+ set_state(PART:"padding_after_icon", "visible", 0.0);
+ set_state(PART:"bg", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"icon_rect", "icononly", 0.0);
+ set_state(PART:"padding_after_icon", "icononly", 0.0);
+ set_state(PART:"bg", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"icon_rect", "visible", 0.0);
+ set_state(PART:"padding_after_icon", "visible", 0.0);
+ set_state(PART:"bg", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"icon_rect", "icononly", 0.0);
+ set_state(PART:"padding_after_icon", "icononly", 0.0);
+ set_state(PART:"bg", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ target: "padding_after_icon";
+ target: "icon_rect";
+ target: "bg";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "disabler";
+ target: "clipper";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(button_state, BUTTON_STATE_DISABLED);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "clipper";
+ target: "disabler";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(button_state, BUTTON_STATE_ENABLED);
+ }
+ }
+ program { name: "focused";
+ //signal: "elm,action,focus";
+ //source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "unfocused";
+ //signal: "elm,action,unfocus";
+ //source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ after: "unfocus_text";
+ }
+ program { name: "unfocus_text";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+//////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/style1/auto_expand";
+ inherit: "elm/button/base/style1";
+ parts {
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_TEXT_STYLE1_FONT_SIZE_INC;
+ min: 1 0;
+ max: 1 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_DIM_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC;
+ }
+ }
+ }
+ }
+
+//////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/datetime_ampm/default";
+ inherit: "elm/button/base/style1/auto_expand";
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ image {
+ normal: "00_button_01.png";
+ border: BUTTON_TEXT_STYLE1_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ min: BUTTON_DATETIME_AMPM_BG_MIN_INC;
+ max: BUTTON_DATETIME_AMPM_BG_MIN_INC;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_DATETIME_AMPM_BG_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ color: BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text.min: 1 1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_DIM_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC;
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/style1/delete";
+ inherit: "elm/button/base/style1";
+ images {
+ image: "00_button_delete.png" COMP;
+ image: "00_button_delete_dim.png" COMP;
+ image: "00_button_delete_press.png" COMP;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ image {
+ normal: "00_button_delete.png";
+ border: BUTTON_TEXT_STYLE1_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_delete_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_delete_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_delete_press.png";
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_DELETE_BUTTON_TEXT_NORMAL_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_TEXT_STYLE1_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_DELETE_BUTTON_TEXT_PRESSED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_DELETE_BUTTON_TEXT_DISABLED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_DIM_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_DELETE_BUTTON_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/search_button/text";
+ alias: "elm/button/base/searchbar/default";
+ inherit: "elm/button/base/style1";
+ images {
+ image: "00_button_03.png" COMP;
+ image: "00_button_03_dim.png" COMP;
+ image: "00_button_03_press.png" COMP;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ image {
+ normal: "00_button_03.png";
+ border: BUTTON_SEARCH_BUTTON_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_03_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_03_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_03_press.png";
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_SEARCH_BUTTON_BG_MIN_INC;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_SEARCH_BUTTON_VISIBLE_BG_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_SEARCH_BUTTON_ICONONLY_BG_MIN_INC;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_SEARCH_BUTTON_TEXT_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_SEARCH_BUTTON_TEXT_PRESSED_COLOR_INC;
+ color2: BUTTON_SEARCH_BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_SEARCH_BUTTON_TEXT_DISABLED_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_SEARCH_BUTTON_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/search_button/send";
+ inherit: "elm/button/base/style1";
+ images {
+ image: "00_button_03_send.png" COMP;
+ image: "00_button_03_send_dim.png" COMP;
+ image: "00_button_03_send_press.png" COMP;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ image {
+ normal: "00_button_03_send.png";
+ border: BUTTON_SEARCH_BUTTON_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_03_send_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_03_send_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_03_send_press.png";
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_SEARCH_BUTTON_BG_MIN_INC;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_SEARCH_BUTTON_VISIBLE_BG_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_SEARCH_BUTTON_ICONONLY_BG_MIN_INC;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_SEARCH_BUTTON_SEND_NORMAL_COLOR_INC;
+ color2: BUTTON_SEARCH_BUTTON_SEND_SHADOW_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_SEARCH_BUTTON_SEND_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_SEARCH_BUTTON_SEND_DISABLED_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_SEARCH_BUTTON_SEND_FOCUSED_COLOR_INC;
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/search_button/cancel";
+ inherit: "elm/button/base/style1";
+ images {
+ image: "00_button_03_cancel.png" COMP;
+ image: "00_button_03_cancel_dim.png" COMP;
+ image: "00_button_03_cancel_press.png" COMP;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ image {
+ normal: "00_button_03_cancel.png";
+ border: BUTTON_SEARCH_BUTTON_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_03_cancel_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_03_cancel_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_03_cancel_press.png";
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_SEARCH_BUTTON_BG_MIN_INC;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_SEARCH_BUTTON_VISIBLE_BG_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_SEARCH_BUTTON_ICONONLY_BG_MIN_INC;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_SEARCH_BUTTON_CANCEL_NORMAL_COLOR_INC;
+ color2: BUTTON_SEARCH_BUTTON_CANCEL_SHADOW_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_SEARCH_BUTTON_CANCEL_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_SEARCH_BUTTON_CANCEL_DISABLED_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_SEARCH_BUTTON_CANCEL_FOCUSED_COLOR_INC;
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/style2";
+ alias: "elm/button/base/text_only/style2";
+ alias: "elm/button/base/style2/multiline";
+ images {
+ image: "00_button_03.png" COMP;
+ image: "00_button_03_press.png" COMP;
+ image: "00_button_03_dim.png" COMP;
+ }
+ script {
+ public button_state = BUTTON_STATE_ENABLED;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ image {
+ normal: "00_button_01.png";
+ border: BUTTON_TEXT_STYLE2_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: BUTTON_TEXT_STYLE2_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_TEXT_STYLE2_BG_MIN_INC;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TEXT_STYLE2_VISIBLE_BG_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TEXT_STYLE2_ICONONLY_BG_MIN_INC;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: BUTTON_TEXT_STYLE2_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "icon_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ align: 0.0 0.5;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TEXT_STYLE2_VISIBLE_ICON_RECT_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE2_VISIBLE_ICON_RECT_MIN_MAX_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_after_icon";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ visible: 0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "icon_rect";
+ }
+ rel2.to: "icon_rect";
+ align: 0.0 0.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TEXT_STYLE2_VISIBLE_PADDING_ICON_TEXT_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_before_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.text";
+ to_y: "padding_right_bottom";
+ }
+ fixed: 1 0;
+ min: BUTTON_TEXT_STYLE2_VISIBLE_PADDING_ICON_TEXT_MIN_INC;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ fixed: 1 0;
+ }
+ description { state: "visible" 0.0;
+ fixed: 1 0;
+ min: BUTTON_TEXT_STYLE2_VISIBLE_ICON_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE2_VISIBLE_ICON_MIN_MAX_INC;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "padding_before_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "padding_before_text";
+ to_y: "padding_right_bottom";
+ }
+ }
+ description { state: "icononly" 0.0;
+ min: BUTTON_TEXT_STYLE2_ICONONLY_ICON_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE2_ICONONLY_ICON_MIN_MAX_INC;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper";
+ effect: SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_TEXT_STYLE2_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_DIM_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: BUTTON_DISCLIP_NORMAL_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_DISCLIP_DISABLED_COLOR_INC;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ after: "text_clicked";
+ }
+ program { name: "text_clicked";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "clicked", 0.0);
+ }
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (strcmp(st, "icononly"))
+ {
+ emit("elm,action,default,text,set", "");
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"button_image", "default", 0.0);
+ }
+ after: button_unpress;
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"icon_rect", "visible", 0.0);
+ set_state(PART:"padding_after_icon", "visible", 0.0);
+ set_state(PART:"bg", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"icon_rect", "icononly", 0.0);
+ set_state(PART:"padding_after_icon", "icononly", 0.0);
+ set_state(PART:"bg", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"icon_rect", "visible", 0.0);
+ set_state(PART:"padding_after_icon", "visible", 0.0);
+ set_state(PART:"bg", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"icon_rect", "icononly", 0.0);
+ set_state(PART:"padding_after_icon", "icononly", 0.0);
+ set_state(PART:"bg", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ target: "padding_after_icon";
+ target: "icon_rect";
+ target: "bg";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "clipper";
+ target: "disabler";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(button_state, BUTTON_STATE_DISABLED);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "clipper";
+ target: "disabler";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(button_state, BUTTON_STATE_ENABLED);
+ }
+ }
+ program { name: "focused";
+ //signal: "elm,action,focus";
+ //source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "unfocused";
+ //signal: "elm,action,unfocus";
+ //source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ after: "unfocus_text";
+ }
+ program { name: "unfocus_text";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/sweep";
+ alias: "elm/button/base/text_only/sweep";
+ alias: "elm/button/base/hidden";
+ alias: "elm/button/base/sweep/multiline";
+ images {
+ image: "00_button_01.png" COMP;
+ image: "00_button_01_press.png" COMP;
+ image: "00_button_01_dim.png" COMP;
+ }
+ script {
+ public button_state = BUTTON_STATE_ENABLED;
+ }
+ styles{
+ style { name: "btn_sweep_multiline";
+ base: "font=Tizen:style=Regular font_size="BUTTON_SWEEP_FONT_SIZE_INC" align=center color=#ffffff wrap=mixed linegap=-7 ellipsis=1.0 text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_SWEEP_BG_NORMAL_MIN_INC;
+ image {
+ normal: "00_button_01.png";
+ border: BUTTON_SWEEP_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: BUTTON_SWEEP_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: BUTTON_SWEEP_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "icon_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_SWEEP_ICON_RECT_MIN_INC;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.swallow.content";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.content";
+ to_y: "padding_right_bottom";
+ }
+ align: 0.0 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "padding_icon_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ visible: 0;
+ fixed: 1 0;
+ min: 0 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "icon_rect";
+ }
+ rel2.to: "icon_rect";
+ align: 0.0 0.0;
+ }
+ description { state: "visible" 0.0; //when icon is visible
+ inherit: "default" 0.0;
+ min: BUTTON_SWEEP_PADDING_ICON_TEXT_VISIBLE_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ fixed: 1 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_SWEEP_ICONONLY_ICON_MIN_INC;
+ max: BUTTON_SWEEP_ICONONLY_ICON_MIN_INC;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ description { state: "icononly" 0.0;
+ min: BUTTON_SWEEP_ICONONLY_ICON_MIN_INC;
+ max: BUTTON_SWEEP_ICONONLY_ICON_MIN_INC;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_icon_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_SWEEP_BUTTON_TEXT_NORMAL_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ style: "btn_sweep_multiline";
+ align: 0.5 0.45;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: BUTTON_SWEEP_TEXT_MIN_INC;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 0 0;
+ color: BUTTON_SWEEP_BUTTON_TEXT_PRESSED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_SWEEP_BUTTON_TEXT_DISABLED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_DIM_COLOR_INC;
+ visible: 1;
+ min: BUTTON_SWEEP_TEXT_MIN_INC;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 0 0;
+ color: BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: BUTTON_DISCLIP_NORMAL_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_DISCLIP_DISABLED_COLOR_INC;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ after: "text_clicked";
+ }
+ program { name: "text_clicked";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "clicked", 0.0);
+ }
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (strcmp(st, "icononly"))
+ {
+ emit("elm,action,default,text,set", "");
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"button_image", "default", 0.0);
+ }
+ after: button_unpress;
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ target: "padding_icon_text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "clipper";
+ target: "disabler";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(button_state, BUTTON_STATE_DISABLED);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "clipper";
+ target: "disabler";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(button_state, BUTTON_STATE_ENABLED);
+ }
+ }
+ program { name: "focused";
+ //signal: "elm,action,focus";
+ //source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "unfocused";
+ //signal: "elm,action,unfocus";
+ //source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ after: "unfocus_text";
+ }
+ program { name: "unfocus_text";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/sweep/delete";
+ inherit: "elm/button/base/sweep";
+ alias: "elm/button/base/sweep/delete/multiline";
+ images {
+ image: "00_button_delete_press.png" COMP;
+ image: "00_button_delete.png" COMP;
+ image: "00_button_delete_dim.png" COMP;
+ }
+ styles{
+ style { name: "btn_sweep_delete_multiline";
+ base: "font=Tizen:style=Regular font_size="BUTTON_SWEEP_FONT_SIZE_INC" align=center color=#ffffff wrap=mixed linegap=-7 ellipsis=1.0 text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_SWEEP_BG_NORMAL_MIN_INC;
+ image {
+ normal: "00_button_delete.png";
+ border: BUTTON_SWEEP_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_delete_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_delete_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_delete_press.png";
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_icon_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_DELETE_BUTTON_TEXT_NORMAL_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ style: "btn_sweep_multiline";
+ align: 0.5 0.45;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: BUTTON_SWEEP_TEXT_MIN_INC;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 0 0;
+ color: BUTTON_DELETE_BUTTON_TEXT_PRESSED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_DELETE_BUTTON_TEXT_DISABLED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_DIM_COLOR_INC;
+ visible: 1;
+ min: BUTTON_SWEEP_TEXT_MIN_INC;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 0 0;
+ color: BUTTON_DELETE_BUTTON_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/popup_button/default";
+ alias: "elm/button/base/popup_button/menustyle";
+ alias: "elm/button/base/popup_button/liststyle";
+ alias: "elm/button/base/popup_button/volumebarstyle";
+ alias: "elm/button/base/popup_button/customstyle";
+ alias: "elm/button/base/popup_button/verticalbuttonstyle";
+ alias: "elm/button/base/popup_button/default/multiline";
+ images {
+ image: "00_button_01.png" COMP;
+ image: "00_button_01_dim.png" COMP;
+ image: "00_button_01_press.png" COMP;
+ }
+ script {
+ public button_state = BUTTON_STATE_ENABLED;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_POPUP_BG_NORMAL_MIN_INC;
+ image {
+ normal: "00_button_01.png";
+ border: BUTTON_POPUP_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: BUTTON_POPUP_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ rel1.relative: 1.0 1.0;
+ min: BUTTON_POPUP_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "padding_icon_text";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 0.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "elm.swallow.content";
+ }
+ rel2.to: "elm.swallow.content";
+ fixed: 1 0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "visible" 0.0; //when icon is visible
+ inherit: "default" 0.0;
+ min: BUTTON_POPUP_PADDING_ICON_TEXT_VISIBLE_MIN_INC;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ fixed: 1 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_POPUP_ICON_ICONONLY_MIN_INC;
+ visible: 1;
+ align: 0.5 0.5;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper";
+ effect: SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_icon_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_POPUP_BUTTON_TEXT_NORMAL_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_POPUP_TEXT_FONT_SIZE_INC;
+ min: 0 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: BUTTON_POPUP_TEXT_MIN_INC;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 0 0;
+ color: BUTTON_POPUP_BUTTON_TEXT_PRESSED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_POPUP_BUTTON_TEXT_DISABLED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC;
+ visible: 1;
+ min: BUTTON_POPUP_TEXT_MIN_INC;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 0 0;
+ color: BUTTON_POPUP_BUTTON_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: BUTTON_DISCLIP_NORMAL_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_DISCLIP_DISABLED_COLOR_INC;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ after: "text_clicked";
+ }
+ program { name: "text_clicked";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "clicked", 0.0);
+ }
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (strcmp(st, "icononly"))
+ {
+ emit("elm,action,default,text,set", "");
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"button_image", "default", 0.0);
+ }
+ after: button_unpress;
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ target: "padding_icon_text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "clipper";
+ target: "disabler";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(button_state, BUTTON_STATE_DISABLED);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "clipper";
+ target: "disabler";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(button_state, BUTTON_STATE_ENABLED);
+ }
+ }
+ program { name: "focused";
+ //signal: "elm,action,focus";
+ //source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "unfocused";
+ //signal: "elm,action,unfocus";
+ //source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ after: "unfocus_text";
+ }
+ program { name: "unfocus_text";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+#define BUTTON_CIRCLE_STYLES(style_name, image_normal, image_press, min_width, min_height) \
+ group { name: "elm/button/base/"style_name; \
+ images { \
+ image: "00_circle_button.png" COMP; \
+ image: "00_circle_button_press.png" COMP; \
+ image: "00_circle_button_dim.png" COMP; \
+ image: image_normal COMP; \
+ image: image_press COMP; \
+ } \
+ parts { \
+ part { name: "button_image"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \
+ max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \
+ image.normal: "00_circle_button.png"; \
+ } \
+ description { \
+ state: "clicked" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_circle_button_press.png"; \
+ } \
+ description { \
+ state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_circle_button_dim.png"; \
+ } \
+ } \
+ part { name: "button_center_part"; \
+ scale: 1; \
+ clip_to: "icon_clipper"; \
+ description { state: "default" 0.0; \
+ min: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \
+ max: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \
+ image.normal: image_normal; \
+ } \
+ description { state: "clicked" 0.0; \
+ inherit: "default"; \
+ image.normal: image_press; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default"; \
+ } \
+ } \
+ part { name: "icon_clipper"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ color: 101 101 101 255; \
+ } \
+ description { state: "clicked" 0.0; \
+ color: 248 246 239 255; \
+ } \
+ description { state: "disabled" 0.0; \
+ color: 101 101 101 76; \
+ } \
+ } \
+ part { name: "over1"; \
+ type: RECT; \
+ ignore_flags: ON_HOLD; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ min: min_width min_height; \
+ } \
+ } \
+ part { name: "over2"; \
+ repeat_events: 1; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "disabler"; \
+ type: RECT; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ visible: 0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ } \
+ programs { \
+ program { name: "button_click"; \
+ signal: "mouse,down,1"; \
+ source: "over1"; \
+ action: SIGNAL_EMIT "elm,action,press" ""; \
+ after: "button_click_anim"; \
+ } \
+ program { name: "button_click_anim"; \
+ action: STATE_SET "clicked" 0.0; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ target: "icon_clipper"; \
+ } \
+ program { name: "button_unclick"; \
+ signal: "mouse,up,1"; \
+ source: "over2"; \
+ action: SIGNAL_EMIT "elm,action,unpress" ""; \
+ after: "button_unclick_anim"; \
+ } \
+ program { name: "button_unclick_anim"; \
+ action: STATE_SET "default" 0.0; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ target: "icon_clipper"; \
+ } \
+ program { name: "touch_snd"; \
+ signal: "mouse,clicked,1"; \
+ source: "over1"; \
+ action: PLAY_SAMPLE "touch_sound" 1.0; \
+ after: button_unclick3; \
+ } \
+ program { name: "button_unclick3"; \
+ action: SIGNAL_EMIT "elm,action,click" ""; \
+ } \
+ program { name: "disable"; \
+ signal: "elm,state,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "disabler"; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ target: "icon_clipper"; \
+ } \
+ program { name: "enable"; \
+ signal: "elm,state,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "disabler"; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ target: "icon_clipper"; \
+ } \
+ } \
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("reveal","00_button_right.png", "00_button_right_press.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("reveal/extended", "00_button_right.png", "00_button_right_press.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("expand/closed", "00_button_expand_closed.png", "00_button_expand_closed_press.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("expand/closed/extended", "00_button_expand_closed.png", "00_button_expand_closed_press.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("expand/opened", "00_button_expand_opened.png", "00_button_expand_opened_press.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("expand/opened/extended", "00_button_expand_opened.png", "00_button_expand_opened_press.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("info", "00_button_info.png", "00_button_info_press.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("info/extended", "00_button_info.png", "00_button_info_press.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("rename", "00_button_rename.png", "00_button_rename_press.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("rename/extended", "00_button_rename.png", "00_button_rename_press.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("call", "00_button_call.png", "00_button_call_press.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("call/extended", "00_button_call.png", "00_button_call_press.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("plus", "00_button_plus.png", "00_button_plus_press.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("plus/extended", "00_button_plus.png", "00_button_plus_press.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("minus", "00_button_expand_minus.png", "00_button_expand_minus_press.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("minus/extended", "00_button_expand_minus.png", "00_button_expand_minus_press.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("cancel", "00_button_expand_cancel.png", "00_button_expand_cancel_press.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("cancel/extended", "00_button_expand_cancel.png", "00_button_expand_cancel_press.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("send", "00_button_expand_send.png", "00_button_expand_send_press.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_STYLES("send/extended", "00_button_expand_send.png", "00_button_expand_send_press.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC)
+///////////////////////////////////////////////////////////////////////////////////////
+
+
+#define BUTTON_CIRCLE_WARNING_STYLES(style_name, min_width, min_height) \
+ group { name: "elm/button/base/"style_name; \
+ inherit: "elm/button/base/info"; \
+ images { \
+ image: "00_circle_delete_button.png" COMP; \
+ image: "00_circle_delete_button_press.png" COMP; \
+ image: "00_circle_delete_button_dim.png" COMP; \
+ image: "00_button_warning.png" COMP; \
+ image: "00_button_warning_press.png" COMP; \
+ } \
+ parts { \
+ part { name: "button_image"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ image.normal: "00_circle_delete_button.png"; \
+ } \
+ description { \
+ state: "clicked" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_circle_delete_button_press.png"; \
+ } \
+ description { \
+ state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_circle_delete_button_dim.png"; \
+ } \
+ } \
+ part { name: "button_center_part"; \
+ scale: 1; \
+ clip_to: "icon_clipper"; \
+ description { state: "default" 0.0; \
+ image.normal: "00_button_warning.png"; \
+ } \
+ description { state: "clicked" 0.0; \
+ inherit: "default"; \
+ image.normal: "00_button_warning_press.png"; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default"; \
+ } \
+ } \
+ part { name: "icon_clipper"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ color: 248 246 239 255; \
+ } \
+ description { state: "clicked" 0.0; \
+ color: 248 246 239 255; \
+ } \
+ description { state: "disabled" 0.0; \
+ color: 248 246 239 76; \
+ } \
+ } \
+ part { name: "over1"; \
+ type: RECT; \
+ ignore_flags: ON_HOLD; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ min: min_width min_height; \
+ } \
+ } \
+ } \
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_WARNING_STYLES("warning", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CIRCLE_WARNING_STYLES("warning/extended", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/circle/empty";
+ images {
+ image: "00_circle_button.png" COMP;
+ image: "00_circle_button_press.png" COMP;
+ image: "00_circle_button_dim.png" COMP;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC;
+ max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC;
+ fixed: 1 1;
+ image.normal: "00_circle_button.png";
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_circle_button_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_circle_button_dim.png";
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ clip_to: "icon_clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC;
+ max: BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC;
+ }
+ }
+ part { name: "icon_clipper";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 101 101 101 255;
+ }
+ description { state: "clicked" 0.0;
+ color: 248 246 239 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 101 101 101 76;
+ }
+ }
+ part { name: "over1";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over2";
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ target: "icon_clipper";
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over1";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick2;
+ }
+ program { name: "button_unclick2";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "button_unclick";
+ signal: "mouse,up,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ after: "button_unclick_anim";
+ }
+ program { name: "button_unclick_anim";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "icon_clipper";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ target: "button_image";
+ target: "icon_clipper";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "button_image";
+ target: "icon_clipper";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+#define BUTTON_EDIT_STYLES(style_name, image_normal, image_press, min_width, min_height) \
+ group { name: "elm/button/base/contacts/"style_name; \
+ alias: "elm/button/base/"style_name; \
+ images { \
+ image: "00_circle_button.png" COMP; \
+ image: "00_circle_button_press.png" COMP; \
+ image: "00_circle_button_dim.png" COMP; \
+ image: edit_normal COMP; \
+ image: edit_press COMP; \
+ } \
+ parts { \
+ part { name: "button_image"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC; \
+ max: BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC; \
+ image.normal: "00_circle_button.png"; \
+ } \
+ description { state: "clicked" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_circle_button_press.png"; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_circle_button_dim.png"; \
+ } \
+ } \
+ part { name: "button_center_part"; \
+ mouse_events: 0; \
+ scale: 1; \
+ clip_to: "icon_clipper"; \
+ description { state: "default" 0.0; \
+ min: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \
+ max: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \
+ image.normal: image_normal; \
+ } \
+ description { \
+ state: "clicked" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: image_press; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ } \
+ part { name: "icon_clipper"; \
+ scale: 1; \
+ type: RECT; \
+ description { state: "default" 0.0; \
+ color: 101 101 101 255; \
+ } \
+ description { state: "clicked" 0.0; \
+ color: 248 246 239 255; \
+ } \
+ description { state: "disabled" 0.0; \
+ color: 101 101 101 76; \
+ } \
+ } \
+ part { name: "over1"; \
+ type: RECT; \
+ repeat_events: 1; \
+ ignore_flags: ON_HOLD; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ min: min_width min_height; \
+ } \
+ } \
+ part { name: "over2"; \
+ repeat_events: 1; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "disabler"; \
+ type: RECT; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ visible: 0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ } \
+ programs { \
+ program { name: "button_click"; \
+ signal: "mouse,down,1"; \
+ source: "over1"; \
+ action: SIGNAL_EMIT "elm,action,press" ""; \
+ after: "button_click_anim"; \
+ } \
+ program { name: "button_click_anim"; \
+ action: STATE_SET "clicked" 0.0; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ target: "icon_clipper"; \
+ } \
+ program { name: "button_unclick"; \
+ signal: "mouse,up,1"; \
+ source: "over2"; \
+ action: SIGNAL_EMIT "elm,action,unpress" ""; \
+ after: "button_unclick_anim"; \
+ } \
+ program { name: "button_unclick_anim"; \
+ action: STATE_SET "default" 0.0; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ target: "icon_clipper"; \
+ } \
+ program { name: "touch_snd"; \
+ signal: "mouse,clicked,1"; \
+ source: "over1"; \
+ action: PLAY_SAMPLE "touch_sound" 1.0; \
+ after: button_unclick3; \
+ } \
+ program { name: "button_unclick3"; \
+ action: SIGNAL_EMIT "elm,action,click" ""; \
+ } \
+ program { name: "disable"; \
+ signal: "elm,state,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "disabler"; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ target: "icon_clipper"; \
+ } \
+ program { name: "enable"; \
+ signal: "elm,state,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "disabler"; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ target: "icon_clipper"; \
+ } \
+ } \
+ }
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_EDIT_STYLES("icon_plus", "00_button_plus.png", "00_button_plus_press.png", BUTTON_EDIT_NORMAL_MIN_WIDTH_INC, BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_EDIT_STYLES("icon_plus/extended", "00_button_plus.png", "00_button_plus_press.png", BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC, BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_EDIT_STYLES("icon_expand", "00_button_expand_closed.png", "00_button_expand_closed_press.png", BUTTON_EDIT_NORMAL_MIN_WIDTH_INC, BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_EDIT_STYLES("icon_expand/extended", "00_button_expand_closed.png", "00_button_expand_closed_press.png", BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC, BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_EDIT_STYLES("icon_expand_closed", "00_button_expand_closed.png", "00_button_expand_closed_press.png", BUTTON_EDIT_NORMAL_MIN_WIDTH_INC, BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_EDIT_STYLES("icon_expand_opened", "00_button_expand_opened.png", "00_button_expand_opened_press.png", BUTTON_EDIT_NORMAL_MIN_WIDTH_INC, BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+
+#define BUTTON_EDIT_MINUS_STYLES(style_name, min_width, min_height) \
+ group { name: "elm/button/base/contacts/"style_name; \
+ alias: "elm/button/base/"style_name; \
+ inherit: "elm/button/base/contacts/icon_plus"; \
+ images { \
+ image: "00_circle_delete_button.png" COMP; \
+ image: "00_circle_delete_button_press.png" COMP; \
+ image: "00_circle_delete_button_dim.png" COMP; \
+ image: "00_button_expand_minus.png" COMP; \
+ image: "00_button_expand_minus_press.png" COMP; \
+ } \
+ parts { \
+ part { name: "button_image"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ image.normal: "00_circle_delete_button.png"; \
+ } \
+ description { state: "clicked" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_circle_delete_button_press.png"; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_circle_delete_button_dim.png"; \
+ } \
+ } \
+ part { name: "button_center_part"; \
+ mouse_events: 0; \
+ scale: 1; \
+ clip_to: "icon_clipper"; \
+ description { state: "default" 0.0; \
+ image.normal: "00_button_expand_minus.png"; \
+ } \
+ description { \
+ state: "clicked" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_button_expand_minus_press.png"; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ } \
+ part { name: "icon_clipper"; \
+ scale: 1; \
+ type: RECT; \
+ description { state: "default" 0.0; \
+ color: 248 246 239 255; \
+ } \
+ description { state: "clicked" 0.0; \
+ color: 248 246 239 255; \
+ } \
+ description { state: "disabled" 0.0; \
+ color: 248 246 239 76; \
+ } \
+ } \
+ part { name: "over1"; \
+ type: RECT; \
+ repeat_events: 1; \
+ ignore_flags: ON_HOLD; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ min: min_width min_height; \
+ } \
+ } \
+ } \
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_EDIT_MINUS_STYLES("icon_minus", BUTTON_EDIT_NORMAL_MIN_WIDTH_INC, BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_EDIT_MINUS_STYLES("icon_minus/extended", BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC, BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC)
+
+
+////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/default";
+ images {
+ image: "00_button_01.png" COMP;
+ image: "00_button_01_press.png" COMP;
+ image: "00_button_01_dim.png" COMP;
+ }
+ script {
+ public button_state = BUTTON_STATE_ENABLED;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_DEFAULT_STYLE_BG_MIN_INC;
+ image {
+ normal: "00_button_01.png";
+ border: BUTTON_DEFAULT_STYLE_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: BUTTON_DEFAULT_STYLE_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: BUTTON_DEFAULT_STYLE_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "padding_icon_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ visible: 0;
+ fixed: 1 0;
+ min: 0 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "elm.swallow.content";
+ }
+ rel2.to: "elm.swallow.content";
+ align: 0.0 0.0;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "visible" 0.0; //when icon is visible
+ inherit: "default" 0.0;
+ min: BUTTON_DEFAULT_STYLE_PADDING_ICON_TEXT_VISIBLE_MIN_INC;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "disclip";
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ description { state: "icononly" 0.0;
+ min: BUTTON_DEFAULT_STYLE_ICONONLY_ICON_MIN_INC;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "padding_right_bottom";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "disclip";
+ effect: FAR_SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_icon_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_DEFAULT_STYLE_BUTTON_TEXT_NORMAL_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_DEFAULT_STYLE_FONT_SIZE_INC;
+ min: 0 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: BUTTON_DEFAULT_STYLE_TEXT_MIN_INC;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: BUTTON_DEFAULT_STYLE_TEXT_MIN_INC;
+ color: BUTTON_DEFAULT_STYLE_BUTTON_TEXT_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_DEFAULT_STYLE_BUTTON_TEXT_DISABLED_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_DIM_COLOR_INC;
+ visible: 1;
+ min: BUTTON_DEFAULT_STYLE_TEXT_MIN_INC;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 0 0;
+ color: BUTTON_DEFAULT_STYLE_BUTTON_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: BUTTON_DISCLIP_NORMAL_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_DISCLIP_DISABLED_COLOR_INC;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ after: "text_clicked";
+ }
+ program { name: "text_clicked";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "clicked", 0.0);
+ }
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (strcmp(st, "icononly"))
+ {
+ emit("elm,action,default,text,set", "");
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"button_image", "default", 0.0);
+ }
+ after: button_unpress;
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ target: "padding_icon_text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "disabler";
+ target: "disclip";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(button_state, BUTTON_STATE_DISABLED);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "disabler";
+ target: "disclip";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(button_state, BUTTON_STATE_ENABLED);
+ }
+ }
+ program { name: "focused";
+ //signal: "elm,action,focus";
+ //source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "unfocused";
+ //signal: "elm,action,unfocus";
+ //source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ after: "unfocus_text";
+ }
+ program { name: "unfocus_text";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/multiline";
+ alias: "elm/button/base/text_only/multiline";
+ inherit: "elm/button/base/default";
+ styles{
+ style { name: "btn_multiline_style";
+ base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_MULTILINE_FONT_SIZE_INC" align=center color=#ffffff wrap=mixed ellipsis=1.0 text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_DEFAULT_STYLE_MULTILINE_BG_MIN_INC;
+ image {
+ normal: "00_button_01.png";
+ border: BUTTON_DEFAULT_STYLE_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: BUTTON_DEFAULT_STYLE_MULTILINE_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: BUTTON_DEFAULT_STYLE_MULTILINE_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "disclip";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_icon_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC;
+ text {
+ style: "btn_multiline_style";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 80 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 0 0;
+ color: BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC;
+ visible: 1;
+ min: 80 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 0 0;
+ color: BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC;
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+#define BUTTON_COLORSELECTOR_STYLES(style_name, image_normal, image_press) \
+ group { name: "elm/button/base/"style_name; \
+ images { \
+ image: image_normal COMP; \
+ image: image_press COMP; \
+ image: image_dim COMP; \
+ image: "00_button_01.png" COMP; \
+ image: "00_button_01_press.png" COMP; \
+ } \
+ parts { \
+ part { name: "button_image"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC; \
+ max: BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC; \
+ image { \
+ normal: "00_button_01.png"; \
+ border: BUTTON_COLORSELECTOR_BG_BORDER_INC; \
+ border_scale: 1; \
+ } \
+ } \
+ description { \
+ state: "clicked" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_button_01_press.png"; \
+ } \
+ description { \
+ state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_button_01_dim.png"; \
+ } \
+ description { \
+ state: "focused" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_button_01_press.png"; \
+ } \
+ } \
+ part { name: "button_center_part"; \
+ scale: 1; \
+ clip_to: "icon_clipper"; \
+ description { state: "default" 0.0; \
+ min: BUTTON_COLORSELECTOR_IMAGE_MIN_MAX_INC; \
+ max: BUTTON_COLORSELECTOR_IMAGE_MIN_MAX_INC; \
+ image.normal: image_normal; \
+ } \
+ description { \
+ state: "clicked" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: image_press; \
+ } \
+ description { \
+ state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ } \
+ part { name: "icon_clipper"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ color: 50 50 50 255; \
+ } \
+ description { state: "clicked" 0.0; \
+ color: 248 246 239 255; \
+ } \
+ description { state: "disabled" 0.0; \
+ color: 50 50 50 76; \
+ } \
+ } \
+ part { name: "over1"; \
+ type: RECT; \
+ ignore_flags: ON_HOLD; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "over2"; \
+ repeat_events: 1; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "disabler"; \
+ type: RECT; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ visible: 0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ } \
+ programs { \
+ program { name: "button_click"; \
+ signal: "mouse,down,1"; \
+ source: "over1"; \
+ action: SIGNAL_EMIT "elm,action,press" ""; \
+ after: "button_click_anim"; \
+ } \
+ program { name: "button_click_anim"; \
+ action: STATE_SET "clicked" 0.0; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ target: ""icon_clipper""; \
+ } \
+ program { name: "button_unclick"; \
+ signal: "mouse,up,1"; \
+ source: "over2"; \
+ action: SIGNAL_EMIT "elm,action,unpress" ""; \
+ after: "button_unclick_anim"; \
+ } \
+ program { name: "button_unclick_anim"; \
+ action: STATE_SET "default" 0.0; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ target: ""icon_clipper""; \
+ } \
+ program { name: "touch_snd"; \
+ signal: "mouse,clicked,1"; \
+ source: "over1"; \
+ action: PLAY_SAMPLE "touch_sound" 1.0; \
+ after: button_unclick3; \
+ } \
+ program { name: "button_unclick3"; \
+ action: SIGNAL_EMIT "elm,action,click" ""; \
+ } \
+ program { name: "disable"; \
+ signal: "elm,state,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "disabler"; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ target: ""icon_clipper""; \
+ } \
+ program { name: "enable"; \
+ signal: "elm,state,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "disabler"; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ target: ""icon_clipper""; \
+ } \
+ } \
+ }
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_COLORSELECTOR_STYLES("colorselector/left/default", "00_button_left.png", "00_button_left_press.png")
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_COLORSELECTOR_STYLES("colorselector/right/default", "00_button_right.png", "00_button_right_press.png")
+///////////////////////////////////////////////////////////////////////////////////////
+
+ group { name: "elm/button/base/contact";
+ alias: "elm/button/base/text_only/contact";
+ images {
+ image: "00_contacts_button.png" COMP;
+ image: "00_contacts_button_press.png" COMP;
+ }
+ script {
+ public button_state = BUTTON_STATE_ENABLED;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ to_x: "padding.left";
+ to_y: "elm.text";
+ }
+ rel2 {
+ to_x: "padding.right";
+ to_y: "elm.text";
+ }
+ min: BUTTON_CONTACT_BG_MIN_INC;
+ image {
+ normal: "00_contacts_button.png";
+ border: BUTTON_CONTACT_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_contacts_button_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_contacts_button_press.png";
+ }
+ }
+ part { name: "padding.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: BUTTON_CONTACT_LEFT_PADDING_MIN_INC;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.text";
+ }
+ align: 1.0 0.0;
+ }
+ }
+ part { name: "padding.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: BUTTON_CONTACT_RIGHT_PADDING_MIN_INC;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.text";
+ }
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ color: BUTTON_CONTACT_BUTTON_TEXT_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_CONTACT_FONT_SIZE_INC;
+ min: 1 1;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 1 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 1 1;
+ color: BUTTON_CONTACT_BUTTON_TEXT_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_CONTACT_BUTTON_TEXT_DISABLED_COLOR_INC;
+ visible: 1;
+ min: 1 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 1 1;
+ color: BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ part { name: "over1";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel2.relative: 1.0 0.5;
+ }
+ }
+ part { name: "over2";
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ rel1.to: "button_image";
+ rel2.to: "button_image";
+ }
+ }
+ part { name: "over3";
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "button_image";
+ rel2.to: "button_image";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "button_image";
+ rel2.to: "button_image";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "clicked") || !strcmp(st, "focused"))
+ {
+ emit("elm,action,default,text,set", "");
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"button_image", "default", 0.0);
+ }
+ after: button_unpress;
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "disabler";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(button_state, BUTTON_STATE_DISABLED);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "disabler";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(button_state, BUTTON_STATE_ENABLED);
+ }
+ }
+ program { name: "focused";
+ //signal: "elm,action,focus";
+ //source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "unfocused";
+ //signal: "elm,action,unfocus";
+ //source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/naviframe/back_btn/default";
+ alias: "elm/button/base/naviframe/prev_btn/default";
+ alias: "elm/button/base/naviframe/end_btn/default";
+ images {
+ image: "00_icon_Back.png" COMP;
+ image: "00_icon_Back_press.png" COMP;
+ image: "00_icon_Back_dim.png" COMP;
+ }
+ parts {
+ part { name: "button_image";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_BACK_BUTTON_BG_MIN_MAX_INC;
+ max: BUTTON_NAVIFRAME_BACK_BUTTON_BG_MIN_MAX_INC;
+ visible: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "back_button";
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_BACK_BUTTON_MIN_MAX_INC;
+ max: BUTTON_NAVIFRAME_BACK_BUTTON_MIN_MAX_INC;
+ rel1.to: "button_image";
+ rel2.to: "button_image";
+ image.normal: "00_icon_Back.png";
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_icon_Back_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_icon_Back_dim.png";
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ target: "back_button";
+ }
+ program { name: "button_unclick";
+ signal: "mouse,up,1";
+ source: "over3";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ after: "button_unclick_anim";
+ }
+ program { name: "button_unclick_anim";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "back_button";
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "disabler";
+ target: "back_button";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "disabler";
+ target: "back_button";
+ }
+ }
+ }
+
+//////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/naviframe/toolbar/default";
+ alias: "elm/button/base/naviframe/title/default";
+ images {
+ image: "00_toolbar_button.png" COMP;
+ image: "00_toolbar_button_press.png" COMP;
+ image: "00_toolbar_button_dim.png" COMP;
+ image: "00_badge_bg.png" COMP;
+ }
+ styles{
+ style { name: "btn_naviframe_toolbar";
+ base: "font=Tizen:style=Bold font_size="BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC" align=center color=#ffffff ellipsis=1.0 wrap=none text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ }
+ }
+ script {
+ public button_state = BUTTON_STATE_ENABLED;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_TITLE_TEXT_BG_NORMAL_MIN_INC;
+ max: BUTTON_NAVIFRAME_TITLE_TEXT_BG_NORMAL_MAX_INC;
+ fixed: 1 1;
+ rel1.to: "padding_text_left_top";
+ rel2.to: "padding_text_right_bottom";
+ image {
+ normal: "00_toolbar_button.png";
+ border: BUTTON_NAVIFRAME_TITLE_TEXT_BG_PRESSED_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_toolbar_button_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_toolbar_button_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_toolbar_button_press.png";
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: BUTTON_NAVIFRAME_TITLE_TEXT_PADDING_MIN_INC;
+ fixed: 1 1;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: BUTTON_NAVIFRAME_TITLE_TEXT_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "padding_text_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: BUTTON_NAVIFRAME_TITLE_TEXT_PADDING_MIN_INC;
+ fixed: 1 1;
+ rel1.to: "elm.text";
+ rel2 {
+ relative: 0.0 0.0;
+ to: "elm.text";
+ }
+ align: 1.0 0.0;
+ }
+ }
+ part { name: "padding_text_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_TITLE_TEXT_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "elm.text";
+ }
+ rel2.to: "elm.text";
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ clip_to: "disclip";
+ mouse_events: 0;
+ effect: FAR_SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: BUTTON_NAVIFRAME_TITLE_TEXTBLOCK_MIN_INC;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_NAVIFRAME_TITLE_TEXT_NORMAL_COLOR_INC;
+ color2: BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ min: 0 1;
+ max: 1 1;
+ style: "btn_naviframe_toolbar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_NAVIFRAME_TITLE_TEXT_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_NAVIFRAME_TITLE_TEXT_DISABLED_COLOR_INC;
+ color2: BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_NAVIFRAME_TITLE_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ part { name: "disclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: BUTTON_DISCLIP_NORMAL_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_DISCLIP_DISABLED_COLOR_INC;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ rel1.to: "button_image";
+ rel2.to: "button_image";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "button_image";
+ rel2.to: "button_image";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "button_image";
+ rel2.to: "button_image";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "clicked") || !strcmp(st, "focused"))
+ {
+ emit("elm,action,default,text,set", "");
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"button_image", "default", 0.0);
+ }
+ after: button_unpress;
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "disclip";
+ target: "disabler";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(button_state, BUTTON_STATE_DISABLED);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "disclip";
+ target: "disabler";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(button_state, BUTTON_STATE_ENABLED);
+ }
+ }
+ program { name: "focused";
+ //signal: "elm,action,focus";
+ //source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "unfocused";
+ //signal: "elm,action,unfocus";
+ //source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+//////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/naviframe/toolbar/left";
+ inherit: "elm/button/base/naviframe/toolbar/default";
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_TITLE_TEXT_BG_NORMAL_MIN_INC;
+ max: BUTTON_NAVIFRAME_TITLE_TEXT_BG_NORMAL_MAX_INC;
+ fixed: 1 1;
+ rel1.to: "padding_text_left_top";
+ rel2.to: "padding_text_right_bottom";
+ align: 1.0 0.5;
+ image {
+ normal: "00_toolbar_button.png";
+ border: BUTTON_NAVIFRAME_TITLE_TEXT_BG_PRESSED_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_toolbar_button_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_toolbar_button_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_toolbar_button_press.png";
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ clip_to: "disclip";
+ mouse_events: 0;
+ effect: FAR_SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: BUTTON_NAVIFRAME_TITLE_TEXTBLOCK_MIN_INC;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ align: 1.0 0.5;
+ color: BUTTON_NAVIFRAME_TITLE_TEXT_NORMAL_COLOR_INC;
+ color2: BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ min: 0 1;
+ max: 1 1;
+ style: "btn_naviframe_toolbar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_NAVIFRAME_TITLE_TEXT_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_NAVIFRAME_TITLE_TEXT_DISABLED_COLOR_INC;
+ color2: BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_NAVIFRAME_TITLE_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ }
+ }
+
+//////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/naviframe/toolbar/right";
+ inherit: "elm/button/base/naviframe/toolbar/default";
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_TITLE_TEXT_BG_NORMAL_MIN_INC;
+ max: BUTTON_NAVIFRAME_TITLE_TEXT_BG_NORMAL_MAX_INC;
+ fixed: 1 1;
+ rel1.to: "padding_text_left_top";
+ rel2.to: "padding_text_right_bottom";
+ align: 0.0 0.5;
+ image {
+ normal: "00_toolbar_button.png";
+ border: BUTTON_NAVIFRAME_TITLE_TEXT_BG_PRESSED_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_toolbar_button_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_toolbar_button_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_toolbar_button_press.png";
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ clip_to: "disclip";
+ mouse_events: 0;
+ effect: FAR_SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: BUTTON_NAVIFRAME_TITLE_TEXTBLOCK_MIN_INC;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ align: 0.0 0.5;
+ color: BUTTON_NAVIFRAME_TITLE_TEXT_NORMAL_COLOR_INC;
+ color2: BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ min: 0 1;
+ max: 1 1;
+ style: "btn_naviframe_toolbar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_NAVIFRAME_TITLE_TEXT_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_NAVIFRAME_TITLE_TEXT_DISABLED_COLOR_INC;
+ color2: BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_NAVIFRAME_TITLE_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ }
+ }
+
+////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/naviframe/title_icon";
+ parts {
+ part { name: "button_image";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: BUTTON_NAVIFRAME_TITLE_ICON_BG_MIN_MAX_INC;
+ max: BUTTON_NAVIFRAME_TITLE_ICON_BG_MIN_MAX_INC;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "top_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: BUTTON_NAVIFRAME_TITLE_ICON_TOP_PADDING_INC;
+ fixed: 0 1;
+ align: 0 0;
+ rel1 { relative: 0.0 0.0; to: "button_image"; }
+ rel2 { relative: 1.0 0.0; to: "button_image"; }
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "elm.icon.clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ max: BUTTON_NAVIFRAME_TITLE_ICON_IMAGE_MIN_MAX_INC;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 1.0; to: "top_padding"; }
+ rel2 { relative: 1.0 1.0; to: "button_image"; }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.icon.proxy";
+ type: PROXY;
+ scale: 1;
+ clip_to: "elm.icon.proxy.clipper";
+ description { state: "default" 0.0;
+ source: "elm.swallow.content";
+ rel1.to: "elm.swallow.content";
+ rel1.offset: 0 -2;
+ rel2.to: "elm.swallow.content";
+ rel2.offset: -1 -3;
+ }
+ }
+ part { name: "elm.icon.proxy.clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_COLOR_INC;
+ }
+ description { state: "clicked" 0.0;
+ color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DISABLED_COLOR_INC;
+ }
+ }
+ part { name: "elm.icon.clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_NORMAL_COLOR_INC;
+ }
+ description { state: "clicked" 0.0;
+ color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_NORMAL_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DISABLED_COLOR_INC;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ target: "elm.icon.clipper";
+ target: "elm.icon.proxy.clipper";
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ action: STATE_SET "default" 0.0;
+ target: "elm.icon.clipper";
+ target: "elm.icon.proxy.clipper";
+ after: button_unpress;
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "disabler";
+ target: "elm.icon.clipper";
+ target: "elm.icon.proxy.clipper";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "elm.icon.clipper";
+ target: "elm.icon.proxy.clipper";
+ target: "disabler";
+ }
+ }
+ }
+
+/////////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/naviframe/more/default";
+ images {
+ image: "00_icon_more.png" COMP;
+ image: "00_icon_more_press.png" COMP;
+ image: "00_icon_more_dim.png" COMP;
+ }
+ parts {
+ part { name: "button_image";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC;
+ max: BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC;
+ visible: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "more_image";
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC;
+ max: BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC;
+ rel1.to: "button_image";
+ rel2.to: "button_image";
+ image.normal: "00_icon_more.png";
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_icon_more_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_icon_more_dim.png";
+ }
+ }
+ part { name: "elm.text.badge.bg";
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to: "left.padding.text.badge";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "right.padding.text.badge";
+ relative: 1.0 1.0;
+ }
+ align: 1.0 0.0;
+ image {
+ normal: "00_badge_bg.png";
+ border: 20 20 0 0;
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "left.padding.text.badge";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: 16 48;
+ rel1 {
+ to: "elm.text.badge";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.text.badge";
+ relative: 0.0 0.0;
+ }
+ align: 1.0 0.0;
+ }
+ }
+ part { name: "right.padding.text.badge";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: 16 48;
+ rel1 {
+ to: "button_image";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "button_image";
+ relative: 1.0 0.0;
+ }
+ align: 1.0 0.0;
+ }
+ }
+ part { name: "elm.text.badge";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ rel1 {
+ to: "button_image";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "right.padding.text.badge";
+ relative: 0.0 1.0;
+ }
+ align: 1.0 0.0;
+ color: 10 100 208 255;
+ text {
+ font: "Tizen:style=Bold";
+ size: 26;
+ min: 0 0;
+ max: 1 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ target: "more_image";
+ }
+ program { name: "button_unclick";
+ signal: "mouse,up,1";
+ source: "over3";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ after: "button_unclick_anim";
+ }
+ program { name: "button_unclick_anim";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "more_image";
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "badge_text_show";
+ signal: "elm,state,elm.text.badge,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text.badge";
+ target: "elm.text.badge.bg";
+ }
+ program { name: "badge_text_hide";
+ signal: "elm,state,elm.text.badge,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.badge";
+ target: "elm.text.badge.bg";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ target: "button_image";
+ target: "more_image";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "button_image";
+ target: "more_image";
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/tickernoti";
+ images {
+ image: "00_notification_button_bg.png" COMP;
+ image: "00_notification_button_bg_press.png" COMP;
+ image: "00_notification_button_bg_dim.png" COMP;
+ }
+ script {
+ public button_state = BUTTON_STATE_ENABLED;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_TICKERNOTI_BG_MIN_MAX_INC;
+ max: BUTTON_TICKERNOTI_BG_MIN_MAX_INC;
+ image {
+ normal: "00_notification_button_bg.png";
+ border: BUTTON_TICKERNOTI_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_notification_button_bg_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_notification_button_bg_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_notification_button_bg_press.png";
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: BUTTON_TICKERNOTI_PADDING_MIN_INC;
+ fixed: 1 1;
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_TICKERNOTI_BG_MIN_MAX_INC;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: BUTTON_TICKERNOTI_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "icon_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ align: 0.0 0.5;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TICKERNOTI_VISIBLE_ICON_RECT_MIN_MAX_INC;
+ max: BUTTON_TICKERNOTI_VISIBLE_ICON_RECT_MIN_MAX_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_after_icon";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ visible: 0;
+ fixed: 1 0;
+ min: 0 0;
+ align: 0.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "icon_rect";
+ }
+ rel2.to: "icon_rect";
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TICKERNOTI_VISIBLE_PADDING_ICON_TEXT_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_before_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ visible: 0;
+ align: 1.0 0.5;
+ fixed: 1 0;
+ min: BUTTON_TICKERNOTI_VISIBLE_PADDING_ICON_TEXT_MIN_INC;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.text";
+ to_y: "padding_right_bottom";
+ }
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ }
+ description { state: "visible" 0.0;
+ fixed: 1 0;
+ min: BUTTON_TICKERNOTI_VISIBLE_ICON_MIN_MAX_INC;
+ max: BUTTON_TICKERNOTI_VISIBLE_ICON_MIN_MAX_INC;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "padding_before_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "padding_before_text";
+ to_y: "padding_right_bottom";
+ }
+ }
+ description { state: "icononly" 0.0;
+ min: BUTTON_TICKERNOTI_ICONONLY_ICON_MIN_MAX_INC;
+ max: BUTTON_TICKERNOTI_ICONONLY_ICON_MIN_MAX_INC;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ effect: FAR_SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_TICKERNOTI_NORMAL_COLOR_INC;
+ color2: BUTTON_TICKER_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_TICKERNOTI_FONT_SIZE_INC;
+ min: 1 0;
+ max: 1 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_TICKERNOTI_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_TICKERNOTI_DISABLED_COLOR_INC;
+ color2: BUTTON_TICKER_TEXT_SHADOW_NORMAL_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_TICKERNOTI_PRESSED_COLOR_INC;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: BUTTON_DISCLIP_NORMAL_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_DISCLIP_DISABLED_COLOR_INC;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ after: "text_clicked";
+ }
+ program { name: "text_clicked";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "clicked", 0.0);
+ }
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (strcmp(st, "icononly"))
+ {
+ emit("elm,action,default,text,set", "");
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"button_image", "default", 0.0);
+ }
+ after: button_unpress;
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"icon_rect", "visible", 0.0);
+ set_state(PART:"padding_after_icon", "visible", 0.0);
+ set_state(PART:"bg", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"icon_rect", "icononly", 0.0);
+ set_state(PART:"padding_after_icon", "icononly", 0.0);
+ set_state(PART:"bg", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"icon_rect", "visible", 0.0);
+ set_state(PART:"padding_after_icon", "visible", 0.0);
+ set_state(PART:"bg", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"icon_rect", "icononly", 0.0);
+ set_state(PART:"padding_after_icon", "icononly", 0.0);
+ set_state(PART:"bg", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ target: "padding_after_icon";
+ target: "icon_rect";
+ target: "bg";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "disabler";
+ target: "clipper";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(button_state, BUTTON_STATE_DISABLED);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "disabler";
+ target: "clipper";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(button_state, BUTTON_STATE_ENABLED);
+ }
+ }
+ program { name: "focused";
+ //signal: "elm,action,focus";
+ //source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "unfocused";
+ //signal: "elm,action,unfocus";
+ //source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ after: "unfocus_text";
+ }
+ program { name: "unfocus_text";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/expandable_number";
+ alias: "elm/button/base/text_only/expandable_number";
+ images {
+ image: "00_button_02.png" COMP;
+ image: "00_button_02_press.png" COMP;
+ image: "00_button_02_dim.png" COMP;
+ image: "00_arrow_expand.png" COMP;
+ }
+ script {
+ public button_state = BUTTON_STATE_ENABLED;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC;
+ max: BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC;
+ image {
+ normal: "00_button_02.png";
+ border: BUTTON_EXPANDABLE_NUMBER_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_02_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_02_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_02_press.png";
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: BUTTON_EXPANDABLE_NUMBER_PADDING_MIN_INC;
+ fixed: 1 1;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: BUTTON_EXPANDABLE_NUMBER_PADDING_MIN_INC;
+ fixed: 1 1;
+ }
+ }
+ part { name: "icon_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC;
+ max: BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "padding_right_bottom";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "arrow_expand";
+ scale: 1;
+ clip_to: "icon_clipper";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ min: BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC;
+ max: BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC;
+ fixed: 0 0;
+ rel1.to: "icon_rect";
+ rel2.to: "icon_rect";
+ image.normal:"00_arrow_expand.png";
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_EXPANDABLE_NUMBER_TEXT_MIN_MAX_INC;
+ max: BUTTON_EXPANDABLE_NUMBER_TEXT_MIN_MAX_INC;
+ fixed:1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x:"padding_left_top";
+ to_y:"padding_right_bottom";
+ }
+ align: 0.0 0.5;
+ color: BUTTON_NUMBER_TEXT_NORMAL_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC;
+ min: 0 0;
+ fit: 1 1;
+ size_range: 28 32;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_NUMBER_TEXT_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_NUMBER_TEXT_DISABLE_VISIBLE_COLOR_INC;
+ color2: BUTTON_TEXT_SHADOW_DIM_COLOR_INC;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_NUMBER_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ part { name: "icon_clipper";
+ scale: 1;
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 58 58 58 255;
+ }
+ description { state: "clicked" 0.0;
+ color: 248 246 239 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 58 58 58 76;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ target: "icon_clipper";
+ after: "text_clicked";
+ }
+ program { name: "text_clicked";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "clicked", 0.0);
+ }
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ script {
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ {
+ set_state(PART:"button_image", "default", 0.0);
+ set_state(PART:"elm.text", "visible", 0.0);
+ set_state(PART:"icon_clipper", "default", 0.0);
+ }
+ }
+ after: button_unpress;
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "disabler";
+ target: "icon_clipper";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(button_state, BUTTON_STATE_DISABLED);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "disabler";
+ target: "icon_clipper";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(button_state, BUTTON_STATE_ENABLED);
+ }
+ }
+ program { name: "focused";
+ //signal: "elm,action,focus";
+ //source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "unfocused";
+ //signal: "elm,action,unfocus";
+ //source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ after: "unfocus_text";
+ }
+ program { name: "unfocus_text";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/bubble_sent";
+ inherit: "elm/button/base/style1";
+ images {
+ image: "00_messagebubble_button_sent.png" COMP;
+ image: "00_messagebubble_button_sent_press.png" COMP;
+ image: "00_messagebubble_button_sent_dim.png" COMP;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ image {
+ normal: "00_messagebubble_button_sent.png";
+ border: BUTTON_SENT_BUBBLE_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_messagebubble_button_sent_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_messagebubble_button_sent_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_messagebubble_button_sent_press.png";
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ effect: FAR_SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_SEND_BUBBLE_TEXT_NORMAL_COLOR_INC;
+ color2: BUTTON_SEND_BUBBLE_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_SENT_BUBBLE_TEXT_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_SEND_BUBBLE_TEXT_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_SEND_BUBBLE_TEXT_DISABLED_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_SEND_BUBBLE_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ }
+ }
+
+////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/bubble_sent/multiline";
+ inherit: "elm/button/base/bubble_sent";
+ styles{
+ style { name: "bubble_sent_multiline";
+ base: "font=Tizen:style=Regular font_size="BUTTON_SENT_BUBBLE_TEXT_MULTILINE_FONT_SIZE_INC" align=center color=#ffffff wrap=mixed ellipsis=1.0 text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ effect: FAR_SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_SEND_BUBBLE_TEXT_NORMAL_COLOR_INC;
+ color2: BUTTON_SEND_BUBBLE_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ style: "bubble_sent_multiline";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_SEND_BUBBLE_TEXT_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_SEND_BUBBLE_TEXT_DISABLED_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_SEND_BUBBLE_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/bubble_receive";
+ inherit: "elm/button/base/style1";
+ images {
+ image: "00_messagebubble_button_receive.png" COMP;
+ image: "00_messagebubble_button_receive_press.png" COMP;
+ image: "00_messagebubble_button_receive_dim.png" COMP;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ image {
+ normal: "00_messagebubble_button_receive.png";
+ border: BUTTON_RECEIVE_BUBBLE_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_messagebubble_button_receive_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_messagebubble_button_receive_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_messagebubble_button_receive_press.png";
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_RECEIVE_BUBBLE_TEXT_NORMAL_COLOR_INC;
+ color2: BUTTON_RECEIVE_BUBBLE_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_RECEIVE_BUBBLE_TEXT_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_RECEIVE_BUBBLE_TEXT_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_RECEIVE_BUBBLE_TEXT_DISABLED_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_RECEIVE_BUBBLE_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/bubble_receive/multiline";
+ inherit: "elm/button/base/bubble_receive";
+ styles{
+ style { name: "bubble_receive_multiline";
+ base: "font=Tizen:style=Regular font_size="BUTTON_RECEIVE_BUBBLE_TEXT_MULTILINE_FONT_SIZE_INC" align=center color=#ffffff wrap=mixed ellipsis=1.0 text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_RECEIVE_BUBBLE_TEXT_NORMAL_COLOR_INC;
+ color2: BUTTON_RECEIVE_BUBBLE_TEXT_SHADOW_NORMAL_COLOR_INC;
+ text {
+ style: "btn_style1_multiline";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_RECEIVE_BUBBLE_TEXT_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_RECEIVE_BUBBLE_TEXT_DISABLED_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_RECEIVE_BUBBLE_TEXT_FOCUSED_COLOR_INC;
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////
+group { name: "elm/button/base/bubble_circle/receive";
+ images {
+ image: "00_messagebubble_circle_receive.png" COMP;
+ image: "00_messagebubble_circle_receive_press.png" COMP;
+ image: "00_button_right.png" COMP;
+ image: "00_button_right_press.png" COMP;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_BUBBLE_CIRCLE_BG_MIN_MAX_INC;
+ max: BUTTON_BUBBLE_CIRCLE_BG_MIN_MAX_INC;
+ image.normal: "00_messagebubble_circle_receive.png";
+ }
+ description {
+ state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_messagebubble_circle_receive_press.png";
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "image";
+ scale: 1;
+ clip_to: "icon_clipper";
+ description { state: "default" 0.0;
+ min: BUTTON_BUBBLE_CIRCLE_IMAGE_MIN_MAX_INC;
+ max: BUTTON_BUBBLE_CIRCLE_IMAGE_MIN_MAX_INC;
+ image.normal: "00_button_right.png";
+ }
+ description {
+ state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_right_press.png";
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "icon_clipper";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 248 246 239 255;
+ }
+ description { state: "clicked" 0.0;
+ color: 248 246 239 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 248 246 239 76;
+ }
+ }
+ part { name: "over1";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over2";
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ target: "image";
+ target: "icon_clipper";
+ }
+ program { name: "button_unclick";
+ signal: "mouse,up,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ after: "button_unclick_anim";
+ }
+ program { name: "button_unclick_anim";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "image";
+ target: "icon_clipper";
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over1";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ target: "button_image";
+ target: "icon_clipper";
+
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "button_image";
+ target: "icon_clipper";
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////
+group { name: "elm/button/base/bubble_circle/sent";
+ images {
+ image: "00_messagebubble_circle_sent.png" COMP;
+ image: "00_messagebubble_circle_sent_press.png" COMP;
+ image: "00_button_right.png" COMP;
+ image: "00_button_right_press.png" COMP;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_BUBBLE_CIRCLE_BG_MIN_MAX_INC;
+ max: BUTTON_BUBBLE_CIRCLE_BG_MIN_MAX_INC;
+ image.normal: "00_messagebubble_circle_sent.png";
+ }
+ description {
+ state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_messagebubble_circle_sent_press.png";
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "image";
+ scale: 1;
+ clip_to: "icon_clipper";
+ description { state: "default" 0.0;
+ min: BUTTON_BUBBLE_CIRCLE_IMAGE_MIN_MAX_INC;
+ max: BUTTON_BUBBLE_CIRCLE_IMAGE_MIN_MAX_INC;
+ image.normal: "00_button_right.png";
+ }
+ description {
+ state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_right_press.png";
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "icon_clipper";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 101 101 101 255;
+ }
+ description { state: "clicked" 0.0;
+ color: 248 246 239 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 101 101 101 76;
+ }
+ }
+ part { name: "over1";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over2";
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ target: "image";
+ target: "icon_clipper";
+ }
+ program { name: "button_unclick";
+ signal: "mouse,up,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ after: "button_unclick_anim";
+ }
+ program { name: "button_unclick_anim";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "image";
+ target: "icon_clipper";
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over1";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ target: "button_image";
+ target: "icon_clipper";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "button_image";
+ target: "icon_clipper";
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+#if 0
+ group { name: "elm/button/base/contacts/delete";
+ images {
+ image: "00_button_edit_Delete.png" COMP;
+ image: "00_button_edit_Delete_press.png" COMP;
+ image: "00_button_edit_dim.png" COMP;
+ image: "00_button_edit_focus.png" COMP;
+ }
+ script {
+ public button_state = BUTTON_STATE_ENABLED;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_CONTACT_DELETE_BG_NORMAL_MIN_INC;
+ image {
+ normal: "00_button_edit_Delete.png";
+ border: BUTTON_CONTACT_DELETE_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_edit_Delete_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_edit_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_edit_focus.png";
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: BUTTON_CONTACT_DELETE_PADDING_LEFT_TOP_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: BUTTON_CONTACT_DELETE_PADDING_RIGHT_BOTTOM_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "padding_icon_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 0.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "elm.swallow.content";
+ }
+ rel2.to: "elm.swallow.content";
+ fixed: 1 0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "visible" 0.0; //when icon is visible
+ inherit: "default" 0.0;
+ min: BUTTON_CONTACT_DELETE_PADDING_ICON_TEXT_VISIBLE_MIN_INC;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ fixed: 1 0;
+ }
+ description { state: "visible" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ description { state: "icononly" 0.0;
+ min: BUTTON_CONTACT_DELETE_ICON_ICONONLY_MIN_INC;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_icon_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_TEXT_CONTACTS_DELETE_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: BUTTON_CONTACT_DELETE_FONT_SIZE_INC;
+ min: 1 0;
+ text: "Delete";
+ max: 1 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_TEXT_CONTACTS_DELETE_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_TEXT_CONTACTS_DELETE_DISABLED_COLOR_INC;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ color: BUTTON_TEXT_CONTACTS_DELETE_PRESSED_COLOR_INC;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ after: "text_clicked";
+ }
+ program { name: "text_clicked";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "clicked", 0.0);
+ }
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (strcmp(st, "icononly"))
+ {
+ emit("elm,action,default,text,set", "");
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"button_image", "default", 0.0);
+ }
+ after: button_unpress;
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ target: "padding_icon_text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "disabler";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(button_state, BUTTON_STATE_DISABLED);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "disabler";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(button_state, BUTTON_STATE_ENABLED);
+ }
+ }
+ program { name: "focused";
+ //signal: "elm,action,focus";
+ //source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "unfocused";
+ //signal: "elm,action,unfocus";
+ //source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ after: "unfocus_text";
+ }
+ program { name: "unfocus_text";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+/////////////////////////////////////////////////////////////////////
+#define BUTTON_CONTACT_STYLES(style_name, image_normal, image_press) \
+ group { name: "elm/button/base/contact/"style_name; \
+ images { \
+ image: "00_circle_button.png" COMP; \
+ image: "00_circle_button_press.png" COMP; \
+ image: image_normal COMP; \
+ image: image_press COMP; \
+ } \
+ parts { \
+ part { name: "button_image"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: BUTTON_CONTACT_STYLE_BG_MIN_MAX_INC; \
+ max: BUTTON_CONTACT_STYLE_BG_MIN_MAX_INC; \
+ image.normal: "00_circle_button.png"; \
+ } \
+ description { \
+ state: "clicked" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_circle_button_press.png"; \
+ } \
+ description { \
+ state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_circle_button.png"; \
+ } \
+ } \
+ part { name: "button_center_part"; \
+ scale: 1; \
+ clip_to: "disclip"; \
+ description { state: "default" 0.0; \
+ min: BUTTON_CONTACT_STYLE_IMAGE_MIN_MAX_INC; \
+ max: BUTTON_CONTACT_STYLE_IMAGE_MIN_MAX_INC; \
+ image.normal: image_normal; \
+ } \
+ description { \
+ state: "clicked" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: image_press; \
+ } \
+ description { \
+ state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ } \
+ part { name: "over1"; \
+ type: RECT; \
+ ignore_flags: ON_HOLD; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "over2"; \
+ repeat_events: 1; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "disclip"; \
+ type: RECT; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: BUTTON_DISCLIP_NORMAL_COLOR_INC; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ color: BUTTON_DISCLIP_DISABLED_COLOR_INC; \
+ } \
+ } \
+ part { name: "disabler"; \
+ type: RECT; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ visible: 0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ } \
+ programs { \
+ program { name: "button_click"; \
+ signal: "mouse,down,1"; \
+ source: "over1"; \
+ action: SIGNAL_EMIT "elm,action,press" ""; \
+ after: "button_click_anim"; \
+ } \
+ program { name: "button_click_anim"; \
+ action: STATE_SET "clicked" 0.0; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ } \
+ program { name: "button_unclick"; \
+ signal: "mouse,up,1"; \
+ source: "over2"; \
+ action: SIGNAL_EMIT "elm,action,unpress" ""; \
+ after: "button_unclick_anim"; \
+ } \
+ program { name: "button_unclick_anim"; \
+ action: STATE_SET "default" 0.0; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ } \
+ program { name: "touch_snd"; \
+ signal: "mouse,clicked,1"; \
+ source: "over1"; \
+ action: PLAY_SAMPLE "touch_sound" 1.0; \
+ after: button_unclick3; \
+ } \
+ program { name: "button_unclick3"; \
+ action: SIGNAL_EMIT "elm,action,click" ""; \
+ } \
+ program { name: "disable"; \
+ signal: "elm,state,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "disabler"; \
+ target: "disclip"; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ } \
+ program { name: "enable"; \
+ signal: "elm,state,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "disabler"; \
+ target: "disclip"; \
+ target: "button_image"; \
+ target: "button_center_part"; \
+ } \
+ } \
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ BUTTON_CONTACT_STYLES("expand_closed", "00_button_expand_closed.png", "00_button_expand_closed_press.png")
+
+ BUTTON_CONTACT_STYLES("expand_opened", "00_button_expand_opened.png", "00_button_expand_opened_press.png")
+
+ BUTTON_CONTACT_STYLES("plus", "00_button_plus.png", "00_button_plus_press.png")
+
+///////////////////////////////////////////////////////////////////////////////////////
+#endif
+
+#undef BUTTON_STATE_ENABLED
+#undef BUTTON_STATE_DISABLED
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+#define CH(_pos) \
+ part { name: "ch_"#_pos".base"; \
+ type: RECT; \
+ scale: 1;\
+ description { state: "default" 0.0; \
+ rel1 { \
+ relative: (_pos % 7 / 7) 0; \
+ to: "header"; \
+ } \
+ rel2 { \
+ relative: (_pos % 7 / 7 + 1 / 7) 1; \
+ to: "header"; \
+ } \
+ color: 0 0 0 0; \
+ visible: 0; \
+ } \
+ } \
+ part { name: "ch_"#_pos".text"; \
+ type: TEXT; \
+ mouse_events: 0; \
+ scale: 1; \
+ clip_to: "ch_"#_pos".clipper"; \
+ description { \
+ state: "default" 0.0; \
+ rel1.to: "ch_"#_pos".base"; \
+ rel2.to: "ch_"#_pos".base"; \
+ color: CALENDAR_WEEKDAY_FONT_COLOR_INC; \
+ text { \
+ font: "Tizen:style=Roman"; \
+ size: CALENDAR_DAY_FONT_SIZE_INC; \
+ min: 1 1; \
+ align: 0.5 0.5; \
+ text_class: "tizen"; \
+ } \
+ } \
+ } \
+ part { name: "ch_"#_pos".clipper"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel1.to: "ch_"#_pos".base"; \
+ rel2.to: "ch_"#_pos".base"; \
+ } \
+ }
+
+#define CIT(_pos) \
+ part { name: "cit_"#_pos".rect"; \
+ scale: 1;\
+ description { state: "default" 0.0; \
+ rel1 { \
+ relative: (_pos % 7 / 7) \
+ (_pos / 7 / 6 - _pos % 7 / 7 / 6); \
+ to: "base"; \
+ } \
+ rel2 { \
+ relative: (_pos % 7 / 7 + 1 / 7) \
+ (_pos / 7 / 6 - _pos % 7 / 7 / 6 + 1 / 6); \
+ to: "base"; \
+ offset: 0 0; \
+ } \
+ image { \
+ normal: "00_picker_field_bg.png"; \
+ } \
+ visible: 1; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ image { \
+ normal: "00_picker_btn_press.png"; \
+ border: 2 2 4 4; \
+ } \
+ } \
+ description { state: "expand" 0.0; \
+ inherit: "default" 0.0; \
+ rel1 { \
+ relative: (_pos % 7 / 7) \
+ (_pos / 7 / 5 - _pos % 7 / 7 / 5); \
+ to: "base"; \
+ } \
+ rel2 { \
+ relative: (_pos % 7 / 7 + 1 / 7) \
+ (_pos / 7 / 5 - _pos % 7 / 7 / 5 + 1 / 5); \
+ to: "base"; \
+ offset: 0 0; \
+ } \
+ } \
+ description { state: "invisible" 0.0; \
+ inherit: "default" 0.0; \
+ min: 0 0; \
+ max: 0 0;\
+ } \
+ description { state: "today_normal" 0.0; \
+ inherit: "default" 0.0; \
+ image { \
+ normal: "00_picker_btn_current.png"; \
+ border: 5 4 4 4; \
+ } \
+ }\
+ description { state: "today_expand" 0.0; \
+ inherit: "expand" 0.0; \
+ image { \
+ normal: "00_picker_btn_current.png"; \
+ border: 5 4 4 4; \
+ } \
+ } \
+ } \
+ part { \
+ name: "cit_"#_pos".event"; \
+ type: RECT; \
+ scale: 1;\
+ repeat_events: 1; \
+ description { \
+ rel1.to: "cit_"#_pos".rect"; \
+ rel2.to: "cit_"#_pos".rect"; \
+ state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { \
+ name: "cit_"#_pos".bg"; \
+ mouse_events: 0; \
+ scale: 1;\
+ description { state: "default" 0.0; \
+ visible: 0; \
+ color: 255 255 255 0; \
+ rel1 { \
+ to: "cit_"#_pos".rect"; \
+ relative: 0.0 0.0; \
+ } \
+ rel2 { \
+ to: "cit_"#_pos".rect"; \
+ relative: 1.0 1.0; \
+ } \
+ image { \
+ normal: "00_calend_picker_day_press.png"; \
+ } \
+ image.middle: SOLID; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ color: 255 255 255 255; \
+ } \
+ } \
+ part { name: "cit_"#_pos".text"; \
+ type: TEXT; \
+ mouse_events: 0; \
+ scale: 1; \
+ description { \
+ state: "default" 0.0; \
+ rel1.to: "cit_"#_pos".rect"; \
+ rel2.to: "cit_"#_pos".rect"; \
+ color: CALENDAR_WEEKDAY_FONT_COLOR_INC; \
+ text { \
+ font: "Tizen:style=Medium"; \
+ size: CALENDAR_DATE_FONT_SIZE_INC; \
+ min: 1 1; \
+ align: 0.5 0.5; \
+ text_class: "tizen"; \
+ } \
+ } \
+ description { state: "saturday" 0.0; \
+ inherit: "default" 0.0; \
+ color: CALENDAR_SATURDAY_FONT_COLOR_INC; \
+ } \
+ description { state: "sunday" 0.0; \
+ inherit: "default" 0.0; \
+ color: CALENDAR_SUNDAY_FONT_COLOR_INC; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ color: CALENDAR_SELECTED_DATE_FONT_COLOR_INC; \
+ } \
+ description { state: "selected_saturday" 0.0; \
+ inherit: "default" 0.0; \
+ color: CALENDAR_SELECTED_DATE_FONT_COLOR_INC; \
+ } \
+ description { state: "selected_sunday" 0.0; \
+ inherit: "default" 0.0; \
+ color: CALENDAR_SELECTED_DATE_FONT_COLOR_INC; \
+ } \
+ } \
+ part { name: "cit_"#_pos".check"; \
+ mouse_events: 0; \
+ scale: 1;\
+ description { state: "default" 0.0; \
+ rel1 { \
+ to: "cit_"#_pos".rect"; \
+ relative: 0.7 0.6; \
+ offset: 1 1; \
+ } \
+ rel2 { \
+ to: "cit_"#_pos".rect"; \
+ relative: 1.1 1.2; \
+ offset: -2 -2; \
+ } \
+ aspect: 1 1; \
+ visible: 0; \
+ image.normal: "00_check_checking.png"; \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ programs { \
+ program { \
+ name: "cit_"#_pos".go_active"; \
+ signal: "cit_"#_pos",selected"; \
+ source: "elm"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"cit_"#_pos".text", st, 30, vl); \
+ if (!strcmp(st, "saturday")) \
+ set_state(PART:"cit_"#_pos".text", "selected_saturday", 0.0); \
+ else if (!strcmp(st, "sunday")) \
+ set_state(PART:"cit_"#_pos".text", "selected_sunday", 0.0); \
+ else \
+ set_state(PART:"cit_"#_pos".text", "selected", 0.0); \
+ set_state(PART:"cit_"#_pos".bg", "selected", 0.0); \
+ } \
+ } \
+ program { \
+ name: "cit_"#_pos".go_passive"; \
+ signal: "cit_"#_pos",unselected"; \
+ source: "elm"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"cit_"#_pos".text", st, 30, vl); \
+ if (!strcmp(st, "selected_saturday")) \
+ set_state(PART:"cit_"#_pos".text", "saturday", 0.0); \
+ else if (!strcmp(st, "selected_sunday")) \
+ set_state(PART:"cit_"#_pos".text", "sunday", 0.0); \
+ else \
+ set_state(PART:"cit_"#_pos".text", "default", 0.0); \
+ set_state(PART:"cit_"#_pos".bg", "default", 0.0); \
+ } \
+ } \
+ program { \
+ name: "cit_"#_pos".weekday"; \
+ signal: "cit_"#_pos",weekday"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "cit_"#_pos".text"; \
+ } \
+ program { \
+ name: "cit_"#_pos".saturday"; \
+ signal: "cit_"#_pos",saturday"; \
+ source: "elm"; \
+ action: STATE_SET "saturday" 0.0; \
+ target: "cit_"#_pos".text"; \
+ } \
+ program { \
+ name: "cit_"#_pos".sunday"; \
+ signal: "cit_"#_pos",sunday"; \
+ source: "elm"; \
+ action: STATE_SET "sunday" 0.0; \
+ target: "cit_"#_pos".text"; \
+ } \
+ program { \
+ name: "cit_"#_pos".is_today"; \
+ signal: "cit_"#_pos",today"; \
+ source: "elm"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"cit_"#_pos".rect", st, 30, vl); \
+ if (!strcmp(st, "expand")) \
+ { \
+ set_state(PART:"cit_"#_pos".rect", "today_expand", 0.0); \
+ } \
+ else \
+ { \
+ set_state(PART:"cit_"#_pos".rect", "today_normal", 0.0); \
+ } \
+ } \
+ } \
+ program { \
+ name: "cit_"#_pos".not_today"; \
+ signal: "cit_"#_pos",not_today"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "cit_"#_pos".rect"; \
+ } \
+ program { \
+ source: "cit_"#_pos".clicked"; \
+ signal: "mouse,clicked,1"; \
+ source: "cit_"#_pos".event"; \
+ action: SIGNAL_EMIT "elm,action,selected" #_pos; \
+ } \
+ program { \
+ name: "cit_"#_pos".clear"; \
+ signal: "cit_"#_pos",clear"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "cit_"#_pos".check"; \
+ } \
+ program { \
+ name: "cit_"#_pos".checked"; \
+ signal: "cit_"#_pos",checked"; \
+ source: "elm"; \
+ action: STATE_SET "visible" 0.0; \
+ target: "cit_"#_pos".check"; \
+ } \
+ program { \
+ name: "cit_"#_pos".go_expanded"; \
+ signal: "cit_"#_pos",cell_expanded"; \
+ source: "elm"; \
+ action: STATE_SET "expand" 0.0; \
+ target: "cit_"#_pos".rect"; \
+ } \
+ program { \
+ name: "cit_"#_pos".go_default"; \
+ signal: "cit_"#_pos",cell_default"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "cit_"#_pos".rect"; \
+ } \
+ program { \
+ name: "cit_"#_pos".go_invisible"; \
+ signal: "cit_"#_pos",cell_invisible"; \
+ source: "elm"; \
+ action: STATE_SET "invisible" 0.0; \
+ target: "cit_"#_pos".rect"; \
+ } \
+ }
+
+#define CSEPV(_pos) \
+ part { name: "csep_"#_pos".vertical"; \
+ type: RECT; \
+ scale: 1;\
+ description { state: "default" 0.0; \
+ rel1 { \
+ relative: (_pos / 7) 0; \
+ to: "base"; \
+ } \
+ rel2 { \
+ relative: (_pos / 7) 1; \
+ to: "base"; \
+ offset: 1 0; \
+ } \
+ color: CALENDAR_SEPERATOR_FONT_COLOR_INC; \
+ visible: 1; \
+ } \
+ }
+
+#define CSEPH(_pos) \
+ part { name: "csep_"#_pos".horizontal"; \
+ type: RECT; \
+ scale: 1;\
+ description { state: "default" 0.0; \
+ rel1 { \
+ relative: 0 (_pos / 6); \
+ to: "base"; \
+ } \
+ rel2 { \
+ relative: 1 (_pos / 6); \
+ to: "base"; \
+ offset: 0 1; \
+ } \
+ color: CALENDAR_SEPERATOR_FONT_COLOR_INC; \
+ visible: 1; \
+ } \
+ description { state: "expand" 0.0; \
+ inherit: "default" 0.0; \
+ rel1 { \
+ relative: 0 (_pos / 5); \
+ to: "base"; \
+ } \
+ rel2 { \
+ relative: 1 (_pos / 5); \
+ to: "base"; \
+ offset: 0 1; \
+ } \
+ } \
+ description { state: "invisible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ } \
+ } \
+ programs { \
+ program { \
+ name: "cseph_"_pos".go_show"; \
+ signal: "cseph_"#_pos",row_show"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "csep_"#_pos".horizontal"; \
+ } \
+ program { \
+ name: "cseph_"_pos".go_hide"; \
+ signal: "cseph_"#_pos",row_hide"; \
+ source: "elm"; \
+ action: STATE_SET "expand" 0.0; \
+ target: "csep_"#_pos".horizontal"; \
+ } \
+ program { \
+ name: "cseph_"_pos".go_invisible"; \
+ signal: "cseph_"#_pos",row_invisible"; \
+ source: "elm"; \
+ action: STATE_SET "invisible" 0.0; \
+ target: "csep_"#_pos".horizontal"; \
+ } \
+ }
+
+ group { name: "elm/calendar/base/default";
+ images {
+ image: "00_check_checking.png" COMP;
+ image: "00_picker_arrow_left.png" COMP;
+ image: "00_picker_arrow_left_press.png" COMP;
+ image: "00_picker_arrow_right.png" COMP;
+ image: "00_picker_arrow_right_press.png" COMP;
+ image: "00_picker_btn_press.png" COMP;
+ image: "00_picker_btn_normal.png" COMP;
+ image: "00_calend_picker_day_press.png" COMP;
+ image: "00_picker_btn_current.png" COMP;
+ image: "00_picker_btn_press.png" COMP;
+ image: "00_picker_field_bg.png" COMP;
+ }
+ script {
+ public day_type;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 30;
+ color: CALENDAR_BACKGROUND_COLOR_INC;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "spinner-base";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: CALENDAR_HEADER_MIN_WIDTH_INC CALENDAR_HEADER_MIN_HEIGHT_INC;
+ max: 999999 CALENDAR_HEADER_MIN_HEIGHT_INC;
+ rel1.to: "bg";
+ rel1.offset: 5 9;
+ rel2.to: "bg";
+ rel2.offset: -5 -9;
+ color: CALENDAR_BACKGROUND_COLOR_INC;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "table-base";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: CALENDAR_BASE_MIN_WIDTH_INC CALENDAR_BASE_MIN_HEIGHT_INC;
+ rel1.to_x: "bg";
+ rel1.to_y: "spinner-base";
+ rel1.offset: 6 0;
+ rel1.relative: 0 1;
+ rel2.to: "bg";
+ rel2.offset: -6 -3;
+ color: CALENDAR_BACKGROUND_COLOR_INC;
+ }
+ }
+ part { name: "header";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "table-base";
+ rel1.relative: 0 0;
+ rel2.to: "table-base";
+ rel2.relative: 1 0.1;
+ color: CALENDAR_BACKGROUND_COLOR_INC;
+ }
+ }
+ part { name: "sep_header";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "header";
+ rel1.relative: 0 1;
+ rel2.to: "header";
+ rel2.relative: 1 1;
+ rel2.offset: 0 2;
+ color: CALENDAR_SEPERATOR_FONT_COLOR_INC;
+ }
+ }
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to_x: "table-base";
+ rel1.to_y: "sep_header";
+ rel1.relative: 0 1;
+ rel1.offset: 3 0;
+ rel2.to: "table-base";
+ rel2.relative: 1 1;
+ rel2.offset: -3 -5;
+ color: 202 2 2 0;
+ }
+ }
+ part { name: "sep_vertical1";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.relative: 1/7 0;
+ rel2.to: "base";
+ rel2.relative: 1/7 1;
+ rel2.offset: 1 0;
+ color: CALENDAR_SEPERATOR_FONT_COLOR_INC;
+ }
+ }
+ part { name: "left_bt";
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 { to: "spinner-base";
+ offset: 0 0;
+ }
+ rel2 { to: "spinner-base";
+ offset: 0 0;
+ }
+ align: 0.0 0.5;
+ min: CALENDAR_BUTTON_WIDTH_INC CALENDAR_BUTTON_HEIGHT_INC;
+ max: CALENDAR_BUTTON_WIDTH_INC CALENDAR_BUTTON_HEIGHT_INC;
+ fixed: 1 1;
+ image {
+ normal: "00_picker_btn_normal.png";
+ border: 4 4 4 4;
+ border_scale: 1;
+ }
+ fill.smooth : 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_picker_btn_press.png";
+ }
+ }
+ part { name: "left_arrow";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 { to: "left_bt"; }
+ rel2 { to: "left_bt"; }
+ align: 0.5 0.5;
+ min: CALENDAR_ARROW_WIDTH_INC CALENDAR_ARROW_HEIGHT_INC;
+ max: CALENDAR_ARROW_WIDTH_INC CALENDAR_ARROW_HEIGHT_INC;
+ fixed: 1 1;
+ image {
+ normal: "00_picker_arrow_left.png";
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_picker_arrow_left_press.png";
+ }
+ }
+ part { name: "right_bt";
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 { to: "spinner-base";
+ offset: 0 0;
+ }
+ rel2 { to: "spinner-base";
+ offset: 0 0;
+ }
+ align: 1.0 0.5;
+ min: CALENDAR_BUTTON_WIDTH_INC CALENDAR_BUTTON_HEIGHT_INC;
+ max: CALENDAR_BUTTON_WIDTH_INC CALENDAR_BUTTON_HEIGHT_INC;
+ fixed: 1 1;
+ image {
+ normal: "00_picker_btn_normal.png";
+ border: 4 4 4 4;
+ border_scale: 1;
+ }
+ fill.smooth : 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_picker_btn_press.png";
+ }
+ }
+ part { name: "right_arrow";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 { to: "right_bt"; }
+ rel2 { to: "right_bt"; }
+ align: 0.5 0.5;
+ fixed: 1 1;
+ min: CALENDAR_ARROW_WIDTH_INC CALENDAR_ARROW_HEIGHT_INC;
+ max: CALENDAR_ARROW_WIDTH_INC CALENDAR_ARROW_HEIGHT_INC;
+ image {
+ normal: "00_picker_arrow_right.png";
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_picker_arrow_right_press.png";
+ }
+ }
+ part { name: "month_text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0 0.5;
+ fixed: 1 1;
+ rel1 { relative: 1.0 0.0;
+ offset: 3 2;
+ to: "left_bt";
+ to_y: "spinner-base";
+ }
+ rel2 { relative: 0.0 1.0;
+ offset: -3 -2;
+ to_x: "right_bt";
+ to_y: "spinner-base";
+ }
+ color: CALENDAR_MONTH_FONT_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: CALENDAR_MONTH_FONT_SIZE_INC;
+ min: 1 1;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ CH(0) CH(1) CH(2) CH(3) CH(4) CH(5) CH(6)
+ CIT(0) CIT(1) CIT(2) CIT(3) CIT(4) CIT(5) CIT(6)
+ CIT(7) CIT(8) CIT(9) CIT(10) CIT(11) CIT(12) CIT(13)
+ CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
+ CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
+ CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
+ CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
+ CSEPV(1) CSEPV(2) CSEPV(3) CSEPV(4) CSEPV(5) CSEPV(6)
+ CSEPH(1) CSEPH(2) CSEPH(3) CSEPH(4) CSEPH(5) CSEPH(6)
+ }
+ programs {
+ program { name: "dec_start";
+ signal: "mouse,down,1";
+ source: "left_bt";
+ action: SIGNAL_EMIT "elm,action,decrement,start" "";
+ }
+ program { name: "dec_stop";
+ signal: "mouse,up,1";
+ source: "left_bt";
+ action: SIGNAL_EMIT "elm,action,stop" "";
+ }
+ program { name: "inc_start";
+ signal: "mouse,down,1";
+ source: "right_bt";
+ action: SIGNAL_EMIT "elm,action,increment,start" "";
+ }
+ program { name: "inc_stop";
+ signal: "mouse,up,1";
+ source: "right_bt";
+ action: SIGNAL_EMIT "elm,action,stop" "";
+ }
+ program {
+ name: "left_bt_click";
+ signal: "mouse,down,1";
+ source: "left_bt";
+ action: STATE_SET "clicked" 0.0;
+ target: "left_bt";
+ target: "left_arrow";
+ }
+ program {
+ name: "left_bt_unclick";
+ signal: "mouse,up,1";
+ source: "left_bt";
+ action: STATE_SET "default" 0.0;
+ target: "left_bt";
+ target: "left_arrow";
+ }
+ program {
+ name: "right_bt_click";
+ signal: "mouse,down,1";
+ source: "right_bt";
+ action: STATE_SET "clicked" 0.0;
+ target: "right_bt";
+ target: "right_arrow";
+ }
+ program {
+ name: "right_bt_unclick";
+ signal: "mouse,up,1";
+ source: "right_bt";
+ action: STATE_SET "default" 0.0;
+ target: "right_bt";
+ target: "right_arrow";
+ }
+ }
+ }
+
+#undef CIT
+#undef CH
+
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+#define CHECK_STATE_DEFAULT 0
+#define CHECK_STATE_VISIBLE 1
+#define CHECK_STATE_DISABLED_VISIBLE 2
+#define CHECK_STATE_DISABLED 3
+
+#define CHECK_HIDE 0
+#define CHECK_SHOW 1
+////////////////////////////////////////////////////////////////////////////////
+#define CHECK_STYLE_DEFAULT(style_name, min_width, min_height) \
+ group { name: "elm/check/base/"style_name; \
+ images { \
+ image: "00_check_bg.png" COMP; \
+ image: "00_check_bg_press.png" COMP; \
+ image: "00_check_bg_dim.png" COMP; \
+ image: "00_check_checking.png" COMP; \
+ image: "00_check_checking_dim.png" COMP; \
+ } \
+ script { \
+ public check_state = CHECK_STATE_DEFAULT; \
+ public check_visible = CHECK_HIDE; \
+ } \
+ parts { \
+ part { name: "back_bg"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel2.relative: 0.0 1.0; \
+ align: 0 0.5; \
+ min: min_width min_height; \
+ fixed: 1 0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "bg"; \
+ mouse_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \
+ max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \
+ fixed: 1 1; \
+ rel1.to: "back_bg"; \
+ rel2.to: "back_bg"; \
+ image.normal: "00_check_bg.png"; \
+ fill.smooth : 0; \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ description { state: "pressed" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_check_bg_press.png"; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_check_bg_dim.png"; \
+ } \
+ } \
+ part { name: "check"; \
+ clip_to: "sequence_clip"; \
+ mouse_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel1.to: "bg"; \
+ rel2.to: "bg"; \
+ visible: 0; \
+ image.normal: "00_check_checking.png"; \
+ color: 255 255 255 0; \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ color: 255 255 255 255; \
+ } \
+ description { state: "disabled_visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ image.normal: "00_check_checking_dim.png"; \
+ } \
+ } \
+ part { name: "sequence_clip"; \
+ type: RECT; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ rel2.relative: 0.0 1.0; \
+ color: 255 255 255 255; \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ rel2.relative: 1.0 1.0; \
+ } \
+ } \
+ part { name: "elm.swallow.content"; \
+ type: SWALLOW; \
+ clip_to: "disclip"; \
+ description { state: "default" 0.0; \
+ fixed: 1 0; \
+ visible: 0; \
+ align: 0.0 0.5; \
+ rel1 { \
+ to_x: "bg"; \
+ relative: 1.0 0.0; \
+ offset: 1 1; \
+ } \
+ rel2 { \
+ to_x: "bg"; \
+ relative: 1.0 1.0; \
+ offset: 2 -2; \
+ } \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ fixed: 1 1; \
+ visible: 1; \
+ aspect: 1.0 1.0; \
+ aspect_preference: VERTICAL; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ description { state: "disabled_visible" 0.0; \
+ inherit: "default" 0.0; \
+ fixed: 1 1; \
+ visible: 1; \
+ aspect: 1.0 1.0; \
+ } \
+ } \
+ part { name: "elm.text"; \
+ type: TEXTBLOCK; \
+ mouse_events: 0; \
+ clip_to: "disclip"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ fixed: 0 1; \
+ rel1 { \
+ relative: 1.0 0.5; \
+ offset: 1 1; \
+ to_x: "elm.swallow.content"; \
+ } \
+ rel2 { \
+ relative: 1.0 0.5; \
+ offset: -2 -2; \
+ } \
+ align: 0.0 0.5; \
+ text { \
+ style: "check_label_textblock_style"; \
+ min: 0 0; \
+ } \
+ color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC; \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ text.min: 1 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ description { state: "disabled_visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ text.min: 1 1; \
+ color: CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC; \
+ } \
+ } \
+ part { name: "events1"; \
+ type: RECT; \
+ ignore_flags: ON_HOLD; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "events2"; \
+ type: RECT; \
+ repeat_events: 1; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "disclip"; \
+ type: RECT; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: CHECK_DISCLIP_NORMAL_COLOR_INC; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ color: CHECK_DISCLIP_DISABLED_COLOR_INC; \
+ } \
+ } \
+ part { name: "disabler"; \
+ type: RECT; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ visible: 0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ } \
+ programs { \
+ program { name: "show"; \
+ signal: "show"; \
+ script { \
+ set_int(check_visible, CHECK_SHOW); \
+ } \
+ } \
+ program { name: "hide"; \
+ signal: "hide"; \
+ script { \
+ set_int(check_visible, CHECK_HIDE); \
+ } \
+ } \
+ program { name: "click"; \
+ signal: "mouse,clicked,1"; \
+ source: "events1"; \
+ action: SIGNAL_EMIT "elm,action,check,toggle" ""; \
+ } \
+ program { name: "bg_normal"; \
+ signal: "mouse,up,1"; \
+ source: "events2"; \
+ action: STATE_SET "default" 0.0; \
+ target: "bg"; \
+ } \
+ program { name: "pressed"; \
+ signal: "mouse,down,1"; \
+ source: "events2"; \
+ action: STATE_SET "pressed" 0.0; \
+ target: "bg"; \
+ } \
+ program { name: "mouse,out"; \
+ signal: "mouse,out"; \
+ source: "events2"; \
+ script { \
+ if (get_int(check_state) == CHECK_STATE_VISIBLE) \
+ { \
+ set_state(PART:"check", "visible", 0.0); \
+ set_state(PART:"sequence_clip", "visible", 0.0); \
+ } \
+ else \
+ { \
+ set_state(PART:"check", "default", 0.0); \
+ set_state(PART:"sequence_clip", "default", 0.0); \
+ } \
+ } \
+ } \
+ program { name: "check_on"; \
+ signal: "elm,state,check,on"; \
+ source: "elm"; \
+ script { \
+ set_int(check_state, CHECK_STATE_VISIBLE); \
+ if (get_int(check_visible) == CHECK_SHOW) \
+ { \
+ run_program(PROGRAM:"check_show_effect"); \
+ run_program(PROGRAM:"check_draw_effect"); \
+ } \
+ else \
+ { \
+ set_state(PART:"check", "visible", 0.0); \
+ set_state(PART:"sequence_clip", "visible", 0.0); \
+ } \
+ } \
+ } \
+ program { name: "check_off"; \
+ signal: "elm,state,check,off"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "check"; \
+ script { \
+ if (get_int(check_state) == CHECK_STATE_VISIBLE) \
+ { \
+ set_int(check_state, CHECK_STATE_DEFAULT); \
+ set_state(PART:"check", "default", 0.0); \
+ set_state(PART:"sequence_clip", "default", 0.0); \
+ } \
+ } \
+ } \
+ program { name: "check_show_effect"; \
+ action: STATE_SET "visible" 0.0; \
+ transition: LINEAR 0.233; \
+ target: "check"; \
+ } \
+ program { name: "check_draw_effect"; \
+ action: STATE_SET "visible" 0.0; \
+ transition: LINEAR 0.267; \
+ target: "sequence_clip"; \
+ } \
+ program { name: "text_show"; \
+ signal: "elm,state,text,visible"; \
+ source: "elm"; \
+ action: STATE_SET "visible" 0.0; \
+ target: "elm.text"; \
+ } \
+ program { name: "text_hide"; \
+ signal: "elm,state,text,hidden"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text"; \
+ } \
+ program { name: "icon_show"; \
+ signal: "elm,state,icon,visible"; \
+ source: "elm"; \
+ action: STATE_SET "visible" 0.0; \
+ target: "elm.swallow.content"; \
+ } \
+ program { name: "icon_hide"; \
+ signal: "elm,state,icon,hidden"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.swallow.content"; \
+ } \
+ program { name: "disable"; \
+ signal: "elm,state,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "disabler"; \
+ target: "disclip"; \
+ target: "bg"; \
+ after: "disable_text"; \
+ } \
+ program { name: "disable_text"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"elm.text", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ set_state(PART:"elm.text", "disabled_visible", 0.0); \
+ else \
+ set_state(PART:"elm.text", "disabled", 0.0); \
+ get_state(PART:"elm.swallow.content", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); \
+ else \
+ set_state(PART:"elm.swallow.content", "disabled", 0.0); \
+ get_state(PART:"check", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ { \
+ set_state(PART:"check", "disabled_visible", 0.0); \
+ set_int(check_state, CHECK_STATE_DISABLED_VISIBLE); \
+ } \
+ } \
+ } \
+ program { name: "enable"; \
+ signal: "elm,state,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "disabler"; \
+ target: "disclip"; \
+ target: "bg"; \
+ after: "enable_text"; \
+ } \
+ program { name: "enable_text"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"elm.text", st, 30, vl); \
+ if (!strcmp(st, "disabled_visible")) \
+ set_state(PART:"elm.text", "visible", 0.0); \
+ else \
+ set_state(PART:"elm.text", "default", 0.0); \
+ get_state(PART:"elm.swallow.content", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ set_state(PART:"elm.swallow.content", "visible", 0.0); \
+ else \
+ set_state(PART:"elm.swallow.content", "default", 0.0); \
+ get_state(PART:"check", st, 30, vl); \
+ if (!strcmp(st, "disabled_visible")) \
+ { \
+ set_state(PART:"check", "visible", 0.0); \
+ set_state(PART:"sequence_clip", "visible", 0.0); \
+ set_int(check_state, CHECK_STATE_VISIBLE); \
+ } \
+ else \
+ set_int(check_state, CHECK_STATE_DEFAULT); \
+ } \
+ } \
+ } \
+ }
+////////////////////////////////////////////////////////////////////////////////
+CHECK_STYLE_DEFAULT("default", CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC)
+////////////////////////////////////////////////////////////////////////////////
+CHECK_STYLE_DEFAULT("default/extended", CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC)
+////////////////////////////////////////////////////////////////////////////////
+
+#define CHECK_STYLE_FOR_GENLIST(style_name, min_width, min_height) \
+ group { name: "elm/check/base/"style_name; \
+ images { \
+ image: "00_check_bg.png" COMP; \
+ image: "00_check_bg_dim.png" COMP; \
+ image: "00_check_checking.png" COMP; \
+ image: "00_check_checking_dim.png" COMP; \
+ } \
+ script { \
+ public check_state = CHECK_STATE_DEFAULT; \
+ } \
+ parts { \
+ part { name: "back_bg"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: min_width min_height; \
+ fixed: 0 0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "bg"; \
+ mouse_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \
+ max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \
+ fixed: 1 1; \
+ rel1.to: "back_bg"; \
+ rel2.to: "back_bg"; \
+ image.normal: "00_check_bg.png"; \
+ fill.smooth : 0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_check_bg_dim.png"; \
+ } \
+ } \
+ part { name: "check"; \
+ mouse_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel1.to: "bg"; \
+ rel2.to: "bg"; \
+ visible: 0; \
+ image.normal: "00_check_checking.png"; \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ description { state: "disabled_visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ image.normal: "00_check_checking_dim.png"; \
+ } \
+ } \
+ part { name: "elm.swallow.content"; \
+ type: SWALLOW; \
+ clip_to: "disclip"; \
+ description { state: "default" 0.0; \
+ fixed: 1 0; \
+ visible: 0; \
+ align: 0.0 0.5; \
+ rel1 { \
+ to_x: "bg"; \
+ relative: 1.0 0.0; \
+ offset: 1 1; \
+ } \
+ rel2 { \
+ to_x: "bg"; \
+ relative: 1.0 1.0; \
+ offset: 2 -2; \
+ } \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ fixed: 1 1; \
+ visible: 1; \
+ aspect: 1.0 1.0; \
+ aspect_preference: VERTICAL; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ description { state: "disabled_visible" 0.0; \
+ inherit: "default" 0.0; \
+ fixed: 1 1; \
+ visible: 1; \
+ aspect: 1.0 1.0; \
+ } \
+ } \
+ part { name: "elm.text"; \
+ type: TEXTBLOCK; \
+ mouse_events: 0; \
+ clip_to: "disclip"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ fixed: 0 1; \
+ rel1 { \
+ relative: 1.0 0.5; \
+ offset: 1 1; \
+ to_x: "elm.swallow.content"; \
+ } \
+ rel2 { \
+ relative: 1.0 0.5; \
+ offset: -2 -2; \
+ } \
+ align: 0.0 0.5; \
+ text { \
+ style: "check_label_textblock_style"; \
+ min: 0 0; \
+ } \
+ color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC; \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ text.min: 1 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ description { state: "disabled_visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ text.min: 1 1; \
+ color: CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC; \
+ } \
+ } \
+ part { name: "events1"; \
+ type: RECT; \
+ ignore_flags: ON_HOLD; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "events2"; \
+ type: RECT; \
+ repeat_events: 1; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "disclip"; \
+ type: RECT; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: CHECK_DISCLIP_NORMAL_COLOR_INC; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ color: CHECK_DISCLIP_DISABLED_COLOR_INC; \
+ } \
+ } \
+ part { name: "disabler"; \
+ type: RECT; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ visible: 0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ } \
+ programs { \
+ program { name: "click"; \
+ signal: "mouse,clicked,1"; \
+ source: "events1"; \
+ action: SIGNAL_EMIT "elm,action,check,toggle" ""; \
+ } \
+ program { name: "check_on"; \
+ signal: "elm,state,check,on"; \
+ source: "elm"; \
+ script { \
+ set_int(check_state, CHECK_STATE_VISIBLE); \
+ set_state(PART:"check", "visible", 0.0); \
+ } \
+ } \
+ program { name: "check_off"; \
+ signal: "elm,state,check,off"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "check"; \
+ script { \
+ if (get_int(check_state) == CHECK_STATE_VISIBLE) \
+ { \
+ set_int(check_state, CHECK_STATE_DEFAULT); \
+ set_state(PART:"check", "default", 0.0); \
+ } \
+ } \
+ } \
+ program { name: "text_show"; \
+ signal: "elm,state,text,visible"; \
+ source: "elm"; \
+ action: STATE_SET "visible" 0.0; \
+ target: "elm.text"; \
+ } \
+ program { name: "text_hide"; \
+ signal: "elm,state,text,hidden"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text"; \
+ } \
+ program { name: "icon_show"; \
+ signal: "elm,state,icon,visible"; \
+ source: "elm"; \
+ action: STATE_SET "visible" 0.0; \
+ target: "elm.swallow.content"; \
+ } \
+ program { name: "icon_hide"; \
+ signal: "elm,state,icon,hidden"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.swallow.content"; \
+ } \
+ program { name: "disable"; \
+ signal: "elm,state,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "disabler"; \
+ target: "disclip"; \
+ target: "bg"; \
+ after: "disable_text"; \
+ } \
+ program { name: "disable_text"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"elm.text", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ set_state(PART:"elm.text", "disabled_visible", 0.0); \
+ else \
+ set_state(PART:"elm.text", "disabled", 0.0); \
+ get_state(PART:"elm.swallow.content", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); \
+ else \
+ set_state(PART:"elm.swallow.content", "disabled", 0.0); \
+ get_state(PART:"check", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ { \
+ set_state(PART:"check", "disabled_visible", 0.0); \
+ set_int(check_state, CHECK_STATE_DISABLED_VISIBLE); \
+ } \
+ } \
+ } \
+ program { name: "enable"; \
+ signal: "elm,state,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "disabler"; \
+ target: "disclip"; \
+ target: "bg"; \
+ after: "enable_text"; \
+ } \
+ program { name: "enable_text"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"elm.text", st, 30, vl); \
+ if (!strcmp(st, "disabled_visible")) \
+ set_state(PART:"elm.text", "visible", 0.0); \
+ else \
+ set_state(PART:"elm.text", "default", 0.0); \
+ get_state(PART:"elm.swallow.content", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ set_state(PART:"elm.swallow.content", "visible", 0.0); \
+ else \
+ set_state(PART:"elm.swallow.content", "default", 0.0); \
+ get_state(PART:"check", st, 30, vl); \
+ if (!strcmp(st, "disabled_visible")) \
+ { \
+ set_state(PART:"check", "visible", 0.0); \
+ set_int(check_state, CHECK_STATE_VISIBLE); \
+ } \
+ else \
+ set_int(check_state, CHECK_STATE_DEFAULT); \
+ } \
+ } \
+ } \
+ }
+////////////////////////////////////////////////////////////////////////////////
+CHECK_STYLE_FOR_GENLIST("default/genlist_edit", CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC)
+////////////////////////////////////////////////////////////////////////////////
+ styles {
+ style { name: "check_label_textblock_style";
+ base: "font=Tizen:style=Roman font_size="CHECK_DEFAULT_TEXT_FONT_SIZE_INC" color=#ffffff wrap=char text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "whitecolor" "+ color=#ffffff";
+ tag: "tab" "\t";
+ }
+ }
+
+ group { name: "elm/check/base/multicheck";
+ images {
+ image: "00_check_bg.png" COMP;
+ image: "00_check_bg_press.png" COMP;
+ image: "multicheck_0001.png" COMP;
+ image: "multicheck_0002.png" COMP;
+ image: "multicheck_0003.png" COMP;
+ image: "multicheck_0004.png" COMP;
+ image: "multicheck_0005.png" COMP;
+ image: "multicheck_0006.png" COMP;
+ image: "00_check_checking.png" COMP;
+ }
+ script {
+ public check_state = 0; //0:default, 1: visible, 2: disabled_visible
+ }
+ parts {
+ part { name: "bg";
+ scale: 1;
+ clip_to: "disclip";
+ description { state: "default" 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.5;
+ min: 44 44;
+ max: 44 44;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ image.normal: "00_check_bg.png";
+ fill.smooth : 0;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_check_bg_press.png";
+ fill.smooth : 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "check";
+ mouse_events: 0;
+ clip_to: "disclip";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ visible: 0;
+ }
+ description { state: "visible_1" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image.normal: "multicheck_0001.png";
+ }
+ description { state: "visible_2" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image.normal: "multicheck_0002.png";
+ }
+ description { state: "visible_3" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image.normal: "multicheck_0003.png";
+ }
+ description { state: "visible_4" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image.normal: "multicheck_0004.png";
+ }
+ description { state: "visible_5" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image.normal: "multicheck_0005.png";
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image.normal: "multicheck_0006.png";
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image.normal: "multicheck_0006.png";
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_check_checking.png";
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ clip_to: "disclip";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ color: 255 255 255 255;
+ align: 0.0 0.5;
+ rel1 {
+ to_x: "bg";
+ relative: 1.0 0.0;
+ offset: 1 1;
+ }
+ rel2 {
+ to_x: "bg";
+ relative: 1.0 1.0;
+ offset: 2 -2;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ fixed: 1 1;
+ visible: 1;
+ aspect: 1.0 1.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ clip_to: "disclip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 0.5;
+ offset: 1 1;
+ to_x: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ offset: -2 -2;
+ }
+ align: 0.0 0.5;
+ text {
+ style: "check_label_textblock_style";
+ min: 0 0;
+ }
+ color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ color: CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC;
+ }
+ }
+ part { name: "events1";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 102;
+ }
+ }
+ part { name: "events2";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "click";
+ signal: "mouse,clicked,1";
+ source: "events1";
+ action: SIGNAL_EMIT "elm,action,check,toggle" "";
+ }
+ program { name: "bg_normal";
+ signal: "mouse,up,1";
+ source: "events2";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"check", st, 30, vl);
+ if (!strcmp(st, "pressed"))
+ set_state(PART:"check", "visible", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ }
+ program { name: "pressed";
+ signal: "mouse,down,1";
+ source: "events2";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"check", st, 30, vl);
+ if (!strcmp(st, "default"))
+ set_state(PART:"check", "pressed", 0.0);
+ else
+ set_state(PART:"check", "default", 0.0);
+ set_state(PART:"bg", "pressed", 0.0);
+ }
+ }
+ program { name: "mouse,out";
+ signal: "mouse,out";
+ source: "events2";
+ script {
+ if (get_int(check_state) == 1)
+ set_state(PART:"check", "visible", 0.0);
+ else
+ set_state(PART:"check", "default", 0.0);
+ }
+ }
+ program { name: "check_on";
+ signal: "elm,state,check,on";
+ source: "elm";
+ script {
+ set_int(check_state, 1);
+ }
+ after: "check_on_1";
+ }
+ program { name: "check_on_1";
+ in: 0.05 0.0;
+ script {
+ if (get_int(check_state) == 1)
+ set_state(PART:"check", "visible_1", 0.0);
+ }
+ after: "check_on_2";
+ }
+ program { name: "check_on_2";
+ in: 0.05 0.0;
+ script {
+ if (get_int(check_state) == 1)
+ set_state(PART:"check", "visible_2", 0.0);
+ }
+ after: "check_on_3";
+ }
+ program { name: "check_on_3";
+ in: 0.05 0.0;
+ script {
+ if (get_int(check_state) == 1)
+ set_state(PART:"check", "visible_3", 0.0);
+ }
+ after: "check_on_4";
+ }
+ program { name: "check_on_4";
+ in: 0.05 0.0;
+ script {
+ if (get_int(check_state) == 1)
+ set_state(PART:"check", "visible_4", 0.0);
+ }
+ after: "check_on_5";
+ }
+ program { name: "check_on_5";
+ in: 0.05 0.0;
+ script {
+ if (get_int(check_state) == 1)
+ set_state(PART:"check", "visible_5", 0.0);
+ }
+ after: "check_on_6";
+ }
+ program { name: "check_on_6";
+ in: 0.05 0.0;
+ script {
+ if (get_int(check_state) == 1)
+ set_state(PART:"check", "visible", 0.0);
+ }
+ }
+ program { name: "check_off";
+ signal: "elm,state,check,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "check";
+ script {
+ if (get_int(check_state) == 1)
+ {
+ set_int(check_state, 0);
+ set_state(PART:"check", "default", 0.0);
+ }
+ }
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ target: "disclip";
+ target: "bg";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "disabled", 0.0);
+ get_state(PART:"check", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"check", "disabled_visible", 0.0);
+ set_int(check_state, 2);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "disclip";
+ target: "bg";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ get_state(PART:"check", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ {
+ set_state(PART:"check", "visible", 0.0);
+ set_int(check_state, 1);
+ }
+ else
+ set_int(check_state, 0);
+ }
+ }
+ }
+ }
+
+//////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/check/base/on&off";
+ images {
+ image: "00_button_on.png" COMP;
+ image: "00_button_on_dim.png" COMP;
+ image: "00_button_off.png" COMP;
+ image: "00_button_off_dim.png" COMP;
+ image: "00_button_on_off_handler.png" COMP;
+ image: "00_button_on_off_handler_dim.png" COMP;
+ }
+ script {
+ public is_rtl = 0;
+ public is_drag = 0;
+ public was_drag = 0;
+ public check_on = 0;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC;
+ max: CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC;
+ rel2.relative: 0.0 1.0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ visible: 0;
+ }
+ }
+ part { name: "padding_left";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1{ relative: 0.0 0.0; to: "bg"; }
+ rel2{ relative: 0.0 1.0; to: "bg"; }
+ min: 0 0;
+ fixed: 1 1;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "padding_right";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "bg";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "bg";
+ }
+ min: 0 0;
+ fixed: 1 1;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "padding_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.to: "bg";
+ rel2 {
+ relative: 1.0 0.0;
+ to: "bg";
+ }
+ min: 0 0;
+ fixed: 1 1;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "padding_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "bg";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "bg";
+ }
+ min: 0 6;
+ fixed: 0 1;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bg_image";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "bg";
+ to_y: "padding_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "bg";
+ to_y: "padding_bottom";
+ }
+ image.normal: "00_button_off.png";
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_on.png";
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_off.png";
+ }
+ description { state: "visible_pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_on.png";
+ }
+ description { state: "visible_disable" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_on_dim.png";
+ }
+ description { state: "off_disable" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_off_dim.png";
+ }
+ }
+ part { name: "drag_container";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "padding_left";
+ to_y: "bg";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "padding_right";
+ to_y: "bg";
+ }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "clipper_inner";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "bg_image";
+ rel2.to: "bg_image";
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "button";
+ scale: 1;
+ clip_to: "clipper";
+ mouse_events: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "drag_container";
+ }
+ description { state: "default" 0.0;
+ min: CHECK_ONOFF_HANDLER_MIN_MAX_INC;
+ max: CHECK_ONOFF_HANDLER_MIN_MAX_INC;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ align: 0.0 0.0;
+ fixed: 1 1;
+ image.normal: "00_button_on_off_handler.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_on_off_handler_dim.png";
+ }
+ }
+ part { name: "button_events";
+ type: RECT;
+ dragable {
+ events: "button";
+ }
+ description { state: "default" 0.0;
+ rel1.to_x: "bg";
+ rel2.to_x: "bg";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "onrect";
+ type: RECT;
+ scale: 1;
+ clip_to: "clipper";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: -1.0 0.0;
+ to: "button";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "button";
+ }
+ align: 1.0 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "offrect";
+ type: RECT;
+ scale: 1;
+ clip_to: "clipper";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "button";
+ }
+ rel2 {
+ relative: 2.0 1.0;
+ to: "button";
+ }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.offtext";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper_inner";
+ description { state: "default" 0.0;
+ rel1.to: "offrect";
+ rel2.to: "offrect";
+ color: 255 255 255 255;
+ text {
+ font: "Tizen:style=Medium";
+ size: 20;
+ min: 0 1;
+ text_class: "tizen";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ }
+ }
+ part { name: "elm.ontext";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper_inner";
+ description { state: "default" 0.0;
+ rel1.to: "onrect";
+ rel2.to: "onrect";
+ color: 255 255 255 255;
+ text {
+ font: "Tizen:style=Medium";
+ size: 20;
+ min: 0 1;
+ text_class: "tizen";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ clip_to: "disclip";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ to_x: "bg";
+ relative: 1.0 0.0;
+ offset: 1 1;
+ }
+ rel2 {
+ to_x: "bg";
+ relative: 1.0 1.0;
+ offset: 2 -2;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ aspect: 1.0 1.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "disclip";
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 0.5;
+ offset: 1 1;
+ to_x: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ offset: -2 -2;
+ }
+ align: 0.0 0.5;
+ text {
+ style: "check_label_textblock_style";
+ min: 0 0;
+ }
+ color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ part { name: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ color: CHECK_DISCLIP_NORMAL_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: CHECK_DISCLIP_DISABLED_COLOR_INC;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,clicked,1";
+ source: "button";
+ script {
+ new Float:dx, Float:dy;
+ get_drag(PART:"button", dx, dy);
+ if (!get_int(was_drag)) {
+ if (dx > 0.5)
+ set_drag(PART:"button", 0.0, 0.0);
+ else
+ set_drag(PART:"button", 1.0, 0.0);
+ if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
+ (get_int(is_rtl) == 0) && (dx > 0.5)) {
+ if (get_int(check_on))
+ emit("elm,action,check,off", "");
+ }
+ else {
+ if (!get_int(check_on))
+ emit("elm,action,check,on", "");
+ }
+ }
+ }
+ }
+ program {
+ signal: "drag";
+ source: "button";
+ script {
+ set_int(is_drag, 1);
+ }
+ }
+ program {
+ signal: "mouse,down,1";
+ source: "button";
+ script {
+ set_int(was_drag, 0);
+ set_int(is_drag, 0);
+ }
+ }
+ program { name: "drag_end";
+ signal: "mouse,up,1";
+ source: "button";
+ script {
+ new Float:dx, Float:dy;
+ get_drag(PART:"button", dx, dy);
+ if (get_int(is_drag)) {
+ if (dx > 0.5)
+ set_drag(PART:"button", 1.0, 0.0);
+ else
+ set_drag(PART:"button", 0.0, 0.0);
+ if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
+ (get_int(is_rtl) == 0) && (dx > 0.5)) {
+ if (!get_int(check_on))
+ emit("elm,action,check,on", "");
+ }
+ else {
+ if (get_int(check_on))
+ emit("elm,action,check,off", "");
+ }
+ set_int(was_drag, get_int(is_drag));
+ set_int(is_drag, 0);
+ }
+ }
+ }
+ program { name: "check_on";
+ signal: "elm,state,check,on";
+ source: "elm";
+ script {
+ new Float:drag;
+ if (get_int(is_rtl) == 0) {
+ drag = 100.0;
+ }
+ else {
+ drag = 0.0;
+ }
+ set_drag(PART:"button", drag, 0.0);
+ set_state(PART:"bg_image", "visible", 0.0);
+ set_int(check_on, 1);
+ }
+ }
+ program { name: "check_off";
+ signal: "elm,state,check,off";
+ source: "elm";
+ script {
+ new Float:drag;
+ if (get_int(is_rtl) == 0) {
+ drag = 0.0;
+ }
+ else {
+ drag = 100.0;
+ }
+ set_drag(PART:"button", drag, 0.0);
+ set_state(PART:"bg_image", "default", 0.0);
+ set_int(check_on, 0);
+ }
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.offtext";
+ target: "elm.ontext";
+ target: "onrect";
+ target: "offrect";
+ target: "disabler";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ get_state(PART:"bg_image", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"bg_image", "visible_disable", 0.0);
+ else
+ set_state(PART:"bg_image", "off_disable", 0.0);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "disabled", 0.0);
+ set_state(PART:"button", "disabled", 0.0);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "onrect";
+ target: "offrect";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ get_state(PART:"bg_image", st, 30, vl);
+ if (!strcmp(st, "visible_disable"))
+ set_state(PART:"bg_image", "visible", 0.0);
+ else
+ set_state(PART:"bg_image", "default", 0.0);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"button", "default", 0.0);
+ }
+ }
+ program { name: "to_rtl";
+ signal: "edje,state,rtl";
+ source: "edje";
+ script {
+ set_int(is_rtl, 1);
+ }
+ }
+ program { name: "to_ltr";
+ signal: "edje,state,ltr";
+ source: "edje";
+ script {
+ set_int(is_rtl, 0);
+ }
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////////////
+
+#define CHECK_STYLE_FAVORITE(style_name, min_width, min_height) \
+ group { name: "elm/check/base/"style_name; \
+ images { \
+ image: "00_icon_favorite_on_74x74.png" COMP; \
+ image: "00_icon_favorite_on_74x74_dim.png" COMP; \
+ image: "00_icon_favorite_off_74x74.png" COMP; \
+ image: "00_icon_favorite_off_74x74_dim.png" COMP; \
+ } \
+ parts { \
+ part { name: "back_bg"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ rel2.relative: 0.0 1.0; \
+ align: 0 0.5; \
+ min: min_width min_height; \
+ fixed: 1 0; \
+ } \
+ } \
+ part { name: "bg"; \
+ type: RECT; \
+ clip_to: "disclip"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ rel1.to: "back_bg"; \
+ rel2.to: "back_bg"; \
+ min: CHECK_STYLE_FAVORITE_BG_NORMAL_MIN_MAX_INC; \
+ max: CHECK_STYLE_FAVORITE_BG_NORMAL_MIN_MAX_INC; \
+ fixed: 1 1; \
+ } \
+ } \
+ part { name: "check"; \
+ mouse_events: 0; \
+ clip_to: "disclip"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel1.to: "bg"; \
+ rel2.to: "bg"; \
+ image.normal: "00_icon_favorite_off_74x74.png"; \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_icon_favorite_on_74x74.png"; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_icon_favorite_off_74x74_dim.png"; \
+ } \
+ description { state: "disabled_visible" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_icon_favorite_on_74x74_dim.png"; \
+ } \
+ } \
+ part { name: "elm.swallow.content"; \
+ type: SWALLOW; \
+ clip_to: "disclip"; \
+ description { state: "default" 0.0; \
+ fixed: 1 0; \
+ visible: 0; \
+ align: 0.0 0.5; \
+ rel1 { \
+ to_x: "bg"; \
+ relative: 1.0 0.0; \
+ offset: 1 1; \
+ } \
+ rel2 { \
+ to_x: "bg"; \
+ relative: 1.0 1.0; \
+ offset: 2 -2; \
+ } \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ fixed: 1 1; \
+ visible: 1; \
+ aspect: 1.0 1.0; \
+ aspect_preference: VERTICAL; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ description { state: "disabled_visible" 0.0; \
+ inherit: "default" 0.0; \
+ fixed: 1 1; \
+ visible: 1; \
+ aspect: 1.0 1.0; \
+ } \
+ } \
+ part { name: "elm.text"; \
+ type: TEXTBLOCK; \
+ clip_to: "disclip"; \
+ mouse_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ fixed: 0 1; \
+ rel1 { \
+ relative: 1.0 0.5; \
+ offset: 1 1; \
+ to_x: "elm.swallow.content"; \
+ } \
+ rel2 { \
+ relative: 1.0 0.5; \
+ offset: -2 -2; \
+ } \
+ align: 0.0 0.5; \
+ text { \
+ style: "check_label_textblock_style"; \
+ min: 0 0; \
+ } \
+ color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC; \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ text.min: 1 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ description { state: "disabled_visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ text.min: 1 1; \
+ color: CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC; \
+ } \
+ } \
+ part { name: "disclip"; \
+ type: RECT; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: CHECK_DISCLIP_NORMAL_COLOR_INC; \
+ } \
+ } \
+ part { name: "events"; \
+ type: RECT; \
+ ignore_flags: ON_HOLD; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "disabler"; \
+ type: RECT; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ visible: 0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ } \
+ programs { \
+ program { name: "click"; \
+ signal: "mouse,up,1"; \
+ source: "events"; \
+ action: SIGNAL_EMIT "elm,action,check,toggle" ""; \
+ } \
+ program { name: "check_on"; \
+ signal: "elm,state,check,on"; \
+ source: "elm"; \
+ action: STATE_SET "visible" 0.0; \
+ target: "check"; \
+ } \
+ program { name: "check_off"; \
+ signal: "elm,state,check,off"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "check"; \
+ } \
+ program { name: "text_show"; \
+ signal: "elm,state,text,visible"; \
+ source: "elm"; \
+ action: STATE_SET "visible" 0.0; \
+ target: "elm.text"; \
+ } \
+ program { name: "text_hide"; \
+ signal: "elm,state,text,hidden"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text"; \
+ } \
+ program { name: "icon_show"; \
+ signal: "elm,state,icon,visible"; \
+ source: "elm"; \
+ action: STATE_SET "visible" 0.0; \
+ target: "elm.swallow.content"; \
+ } \
+ program { name: "icon_hide"; \
+ signal: "elm,state,icon,hidden"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.swallow.content"; \
+ } \
+ program { name: "disable"; \
+ signal: "elm,state,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "disabler"; \
+ after: "disable_text"; \
+ } \
+ program { name: "disable_text"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"elm.text", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ set_state(PART:"elm.text", "disabled_visible", 0.0); \
+ else \
+ set_state(PART:"elm.text", "disabled", 0.0); \
+ get_state(PART:"elm.swallow.content", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); \
+ else \
+ set_state(PART:"elm.swallow.content", "disabled", 0.0); \
+ get_state(PART:"check", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ set_state(PART:"check", "disabled_visible", 0.0); \
+ else \
+ set_state(PART:"check", "disabled", 0.0); \
+ } \
+ } \
+ program { name: "enable"; \
+ signal: "elm,state,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "disabler"; \
+ after: "enable_text"; \
+ } \
+ program { name: "enable_text"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"elm.text", st, 30, vl); \
+ if (!strcmp(st, "disabled_visible")) \
+ set_state(PART:"elm.text", "visible", 0.0); \
+ else \
+ set_state(PART:"elm.text", "default", 0.0); \
+ get_state(PART:"elm.swallow.content", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ set_state(PART:"elm.swallow.content", "visible", 0.0); \
+ else \
+ set_state(PART:"elm.swallow.content", "default", 0.0); \
+ get_state(PART:"check", st, 30, vl); \
+ if (!strcmp(st, "disabled_visible")) \
+ set_state(PART:"check", "visible", 0.0); \
+ else \
+ set_state(PART:"check", "default", 0.0); \
+ } \
+ } \
+ } \
+ }
+////////////////////////////////////////////////////////////////////////////////
+CHECK_STYLE_FAVORITE("favorite", CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC)
+////////////////////////////////////////////////////////////////////////////////
+CHECK_STYLE_FAVORITE("favorite/extended", CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC)
+////////////////////////////////////////////////////////////////////////////////
+
+ group { name: "elm/check/base/delete";
+ images {
+ image: "00_button_minus.png" COMP;
+ image: "00_button_minus_press.png" COMP;
+ image: "00_button_edit_Delete.png" COMP;
+ image: "00_button_edit_Delete_press.png" COMP;
+ image: "00_button_edit_dim.png" COMP;
+ image: "00_button_edit_focus.png" COMP;
+ }
+ script {
+ public button_state = 0; //0:enabled, 1: disabled
+ }
+ parts {
+ part { name: "bg1";
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ rel1.to: "bg2";
+ rel2.to: "bg2";
+ image {
+ normal: "00_button_edit_Delete.png";
+ border: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_edit_Delete_press.png";
+ }
+ description { state: "intermediate" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "on" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_edit_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_edit_focus.png";
+ }
+ }
+ part { name: "bg2";
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ min: CHECK_STYLE_DELETE_BUTTON_BG_IMAGE_MIN_MAX_WIDTH_INC;
+ max: CHECK_STYLE_DELETE_BUTTON_BG_IMAGE_MIN_MAX_WIDTH_INC;
+ rel1.relative: 1.0 0.0;
+ fixed: 1 0;
+ image.normal: "00_button_minus.png";
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_minus_press.png";
+ }
+ description { state: "intermediate" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "on" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_minus.png";
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ min: CHECK_STYLE_DELETE_BUTTON_BG_IMAGE_MIN_MAX_WIDTH_INC;
+ max: CHECK_STYLE_DELETE_BUTTON_BG_IMAGE_MIN_MAX_WIDTH_INC;
+ color: 255 255 255 255;
+ }
+ description { state: "on" 0.0;
+ align: 1.0 0.5;
+ min: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC;
+ max: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "bg_expand";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ min: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC;
+ max: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC;
+ image {
+ normal: "00_button_edit_Delete.png";
+ border: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_BORDER_INC;
+ border_scale: 1;
+ }
+ rel1 {
+ relative: 1 0;
+ to_x: "bg2";
+ }
+ rel2.to_x: "bg2";
+ fixed: 1 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ image.normal: "00_button_edit_Delete_press.png";
+ }
+ description { state: "intermediate" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0 0;
+ to_x: "bg2";
+ }
+ rel2 {
+ relative: 0 1;
+ to_x: "bg2";
+ }
+ }
+ description { state: "on" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "check";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 1.0 0.5;
+ min: 0 0;
+ text {
+ font: "Tizen:style=Medium";
+ size: CHECK_STYLE_DELETE_BUTTON_TEXT_FONT_SIZE_INC;
+ min: 0 0;
+ text: "";
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ align: 1.0 0.5;
+ min: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC;
+ max: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC;
+ color: CHECK_DELETE_TEXT_DELETE_NORMAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: CHECK_STYLE_DELETE_BUTTON_TEXT_FONT_SIZE_INC;
+ min: 1 0;
+ text: "Delete";
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible_pressed" 0.0;
+ inherit: "visible" 0.0;
+ color: CHECK_DELETE_TEXT_DELETE_PRESS_COLOR_INC;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ color: 255 255 255 255;
+ align: 0.0 0.5;
+ rel1 {
+ to_x: "bg2";
+ relative: 1.0 0.0;
+ offset: 1 1;
+ }
+ rel2 {
+ to_x: "bg2";
+ relative: 1.0 1.0;
+ offset: 2 -2;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ fixed: 1 1;
+ visible: 1;
+ aspect: 1.0 1.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.5;
+ offset: 1 1;
+ to_x: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ offset: -2 -2;
+ }
+ color: 255 255 255 255;
+ align: 0.0 0.5;
+ text {
+ style: "check_label_textblock_style";
+ min: 0 0;
+ }
+ color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ color: CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC;
+ }
+ }
+ part { name: "events1";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.to: "bg2";
+ rel2.to_x: "elm.text";
+ align: 0.0 0.5;
+ }
+ description { state: "visible" 0.0;
+ color: 0 0 0 0;
+ rel1.to: "bg_expand";
+ rel2.to_x: "elm.text";
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "events2";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.to: "bg2";
+ rel2.to_x: "elm.text";
+ align: 0.0 0.5;
+ }
+ description { state: "visible" 0.0;
+ color: 0 0 0 0;
+ rel1.to: "bg_expand";
+ rel2.to_x: "elm.text";
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel2.to_x: "elm.text";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "click";
+ signal: "mouse,clicked,1";
+ source: "events1";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"check", st, 30, vl);
+ if (!strcmp(st, "visible_pressed"))
+ set_state(PART:"check", "visible", 0.0);
+ }
+ after: "toggle";
+ }
+ program { name: "toggle";
+ action: SIGNAL_EMIT "elm,action,check,toggle" "";
+ }
+ program { name: "unfocused";
+ signal: "elm,action,unfocus";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"bg2", st, 30, vl);
+ if (!strcmp(st, "on"))
+ emit("elm,action,check,toggle", "");
+ }
+ }
+ program { name: "click_down";
+ signal: "mouse,down,1";
+ source: "events2";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"check", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"bg_expand", "clicked", 0.0);
+ set_state(PART:"check", "visible_pressed", 0.0);
+ }
+ else
+ {
+ set_state(PART:"bg2", "clicked", 0.0);
+ set_state(PART:"bg1", "clicked", 0.0);
+ }
+ }
+ }
+ program { name: "check_normal";
+ signal: "mouse,up,1";
+ source: "events2";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"check", st, 30, vl);
+ if (!strcmp(st, "visible_pressed"))
+ {
+ set_state(PART:"bg_expand", "on", 0.0);
+ set_state(PART:"check", "visible", 0.0);
+ }
+ get_state(PART:"bg_expand", st, 30, vl);
+ if (!strcmp(st, "default"))
+ {
+ set_state(PART:"bg2", "default", 0.0);
+ set_state(PART:"bg1", "default", 0.0);
+ }
+ }
+ }
+ program { name: "check_on";
+ signal: "elm,state,check,on";
+ source: "elm";
+ action: STATE_SET "on" 0.0;
+ target: "clipper";
+ after: "start_expand";
+ }
+ program { name: "start_expand";
+ action: STATE_SET "intermediate" 0.0;
+ target: "bg2";
+ target: "bg1";
+ target: "bg_expand";
+ after: "expand";
+ }
+ program { name: "expand";
+ action: STATE_SET "on" 0.0;
+ target: "bg_expand";
+ target: "bg2";
+ target: "bg1";
+ transition: ACCELERATE 0.1;
+ after: "check_visible";
+ }
+ program { name: "check_visible";
+ action: STATE_SET "visible" 0.0;
+ target: "check";
+ target: "events1";
+ target: "events2";
+ }
+ program { name: "check_off";
+ signal: "elm,state,check,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "check";
+ after: "contract";
+ }
+ program { name: "contract";
+ action: STATE_SET "intermediate" 0.0;
+ target: "bg_expand";
+ transition: ACCELERATE 0.1;
+ after: "normal_bg";
+ }
+ program { name: "normal_bg";
+ script {
+ if (get_int(button_state) !=1)
+ {
+ set_state(PART:"bg2", "default", 0.0);
+ set_state(PART:"bg1", "default", 0.0);
+ }
+ else
+ {
+ set_state(PART:"bg2", "disabled", 0.0);
+ set_state(PART:"bg1", "disabled", 0.0);
+ }
+ }
+ after: "bg_default";
+ }
+ program { name: "bg_default";
+ action: STATE_SET "default" 0.0;
+ target: "bg_expand";
+ target: "clipper";
+ target: "events1";
+ target: "events2";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ target: "bg2";
+ target: "bg1";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "disabled", 0.0);
+ set_int(button_state, 1);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "bg2";
+ target: "bg1";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_int(button_state, 0);
+ }
+ }
+ }
+ }
+
+////////////////////////////////////////////////////////////////////////////////
+
+ group { name: "elm/check/base/grid";
+ images.image: "00_grid_select_check.png" COMP;
+ images.image: "00_grid_select_check_bg.png" COMP;
+ images.image: "00_grid_select_check_bg_press.png" COMP;
+ script {
+ public check_state = CHECK_STATE_DEFAULT;
+ public check_visible = CHECK_HIDE;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "top_right_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: GENGRID_ITEM_CHECK_TOP_RIGHT_PADDING_INC;
+ align: 1.0 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "bg";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to: "bg";
+ }
+ }
+ }
+ part { name: "selected_bg";
+ scale: 1;
+ type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: GENGRID_EDIT_MODE_CHECK_BG_COLOR_INC;
+ }
+ }
+ part { name: "bg2";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENGRID_EDIT_MODE_CHECK_SIZE_INC;
+ align: 1.0 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "top_right_padding";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "top_right_padding";
+ }
+ image.normal: "00_grid_select_check_bg.png";
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_grid_select_check_bg_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "check";
+ mouse_events: 0;
+ clip_to: "sequence_clip";
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "bg2";
+ rel2.to: "bg2";
+ image.normal: "00_grid_select_check.png";
+ color: 255 255 255 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "visible" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "sequence_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "bg2";
+ rel2.to: "bg2";
+ rel2.relative: 0.0 1.0;
+ color: 255 255 255 255;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ color: 255 255 255 255;
+ align: 0.0 0.5;
+ rel1 {
+ to_x: "bg2";
+ relative: 1.0 0.0;
+ offset: 1 1;
+ }
+ rel2 {
+ to_x: "bg2";
+ relative: 1.0 1.0;
+ offset: 2 -2;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ fixed: 1 1;
+ visible: 1;
+ aspect: 1.0 1.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 0.5;
+ offset: 1 1;
+ to_x: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ offset: -2 -2;
+ }
+ color: 255 255 255 255;
+ align: 0.0 0.5;
+ text {
+ style: "check_label_textblock_style";
+ min: 0 0;
+ }
+ color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ color: CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC;
+ }
+ }
+ part { name: "events";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "show";
+ signal: "show";
+ script {
+ set_int(check_visible, CHECK_SHOW);
+ }
+ }
+ program { name: "hide";
+ signal: "hide";
+ script {
+ set_int(check_visible, CHECK_HIDE);
+ }
+ }
+ program { name: "click";
+ signal: "mouse,up,1";
+ source: "events";
+ action: SIGNAL_EMIT "elm,action,check,toggle" "";
+ after: "bg_normal";
+ }
+ program { name: "bg_normal";
+ script {
+ set_state(PART:"bg2", "default", 0.0);
+ }
+ }
+ program { name: "pressed";
+ signal: "mouse,down,1";
+ source: "events";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"check", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"check", "pressed", 0.0);
+ set_state(PART:"bg2", "visible", 0.0);
+ }
+ }
+ }
+ program { name: "mouse,out";
+ signal: "mouse,out";
+ source: "events";
+ script {
+ if (get_int(check_state) == CHECK_STATE_VISIBLE)
+ {
+ set_state(PART:"check", "visible", 0.0);
+ set_state(PART:"sequence_clip", "visible", 0.0);
+ set_state(PART:"bg2", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"check", "default", 0.0);
+ set_state(PART:"sequence_clip", "default", 0.0);
+ set_state(PART:"bg2", "default", 0.0);
+ }
+ }
+ }
+ program { name: "check_on";
+ signal: "elm,state,check,on";
+ source: "elm";
+ script {
+ set_int(check_state, CHECK_STATE_VISIBLE);
+ if (get_int(check_visible) == CHECK_SHOW)
+ {
+ run_program(PROGRAM:"check_show_effect");
+ run_program(PROGRAM:"check_draw_effect");
+ }
+ else
+ {
+ set_state(PART:"check", "visible", 0.0);
+ set_state(PART:"sequence_clip", "visible", 0.0);
+ }
+ set_state(PART:"bg2", "visible", 0.0);
+ set_state(PART:"selected_bg", "visible", 0.0);
+ }
+ }
+ program { name: "check_off";
+ signal: "elm,state,check,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "check";
+ script {
+ if (get_int(check_state) == CHECK_STATE_VISIBLE)
+ {
+ set_int(check_state, CHECK_STATE_DEFAULT);
+ set_state(PART:"check", "default", 0.0);
+ set_state(PART:"sequence_clip", "default", 0.0);
+ }
+ set_state(PART:"bg2", "default", 0.0);
+ set_state(PART:"selected_bg", "default", 0.0);
+ }
+ }
+ program { name: "check_show_effect";
+ action: STATE_SET "visible" 0.0;
+ transition: LINEAR 0.233;
+ target: "check";
+ }
+ program { name: "check_draw_effect";
+ action: STATE_SET "visible" 0.0;
+ transition: LINEAR 0.267;
+ target: "sequence_clip";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ target: "bg2";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "disabled", 0.0);
+ get_state(PART:"check", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"check", "disabled_visible", 0.0);
+ set_int(check_state, CHECK_STATE_DISABLED_VISIBLE);
+ }
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "bg2";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ get_state(PART:"check", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ {
+ set_state(PART:"check", "visible", 0.0);
+ set_state(PART:"sequence_clip", "visible", 0.0);
+ set_int(check_state, CHECK_STATE_VISIBLE);
+ }
+ else
+ set_int(check_state, CHECK_STATE_DEFAULT);
+ }
+ }
+ }
+ }
+
+#undef CHECK_STATE_DEFAULT
+#undef CHECK_STATE_VISIBLE
+#undef CHECK_STATE_DISABLED_VISIBLE
+#undef CHECK_STATE_DISABLED
+
+#undef CHECK_HIDE
+#undef CHECK_SHOW
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+group {
+ name: "elm/colorselector/palette/default";
+ data.item: "horizontal_pad" COLORSELECTOR_PORTRAIT_HOR_PAD_INC;
+ data.item: "vertical_pad" COLORSELECTOR_PORTRAIT_VER_PAD_INC;
+ parts {
+ part { name: "base";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "palette";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 0 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "base";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to: "base";
+ }
+ }
+ }
+ part{ name: "bottom_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 20;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "palette";
+ rel2.to: "palette";
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "selector";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ align: 0.0 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "bottom_padding";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "base";
+ }
+ }
+ }
+ }
+}
+
+group {
+ name: "elm/colorselector/palette/landscape";
+ data.item: "horizontal_pad" COLORSELECTOR_LANDSCAPE_HOR_PAD_INC;
+ data.item: "vertical_pad" COLORSELECTOR_LANDSCAPE_VER_PAD_INC;
+ parts {
+ part { name: "base";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "palette";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 0 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "base";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to: "base";
+ }
+ }
+ }
+ part{ name: "bottom_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 20;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "palette";
+ rel2.to: "palette";
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "selector";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ align: 0.0 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "bottom_padding";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "base";
+ }
+ }
+ }
+ }
+}
+
+group{
+ name: "elm/colorselector/bg/default";
+ parts{
+ part{
+ name: "bg_rect";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ min: COLORSELECTOR_MIN_W_INC COLORSELECTOR_MIN_H_INC;
+ color: 0 0 0 0;
+ }
+ }
+ part{ name: "top_padding";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ min: 1 1;
+ fixed: 1 1;
+ color: COLORSELECTOR_PADDING_COLOR_INC;
+ rel2.relative: 1.0 0.0;
+ rel1.to: "bg_rect";
+ rel2.to: "bg_rect";
+ align: 0.0 0.0;
+ }
+ }
+ part{
+ name: "elm.colorbar_0";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ min: 1 COLORSELECTOR_COLORBAR_HEIGHT;
+ max: COLORSELECTOR_MAX_W_INC COLORSELECTOR_COLORBAR_HEIGHT;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ rel1.to_y: "top_padding";
+ rel2.to_y: "top_padding";
+ align: 0.5 0.0;
+ }
+ }
+ part{
+ name: "bottom_padding";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ min: 1 1;
+ fixed: 1 1;
+ color: COLORSELECTOR_PADDING_COLOR_INC;
+ rel1.relative: 0.0 1.0;
+ rel1.to_y: "elm.colorbar_0";
+ rel2.to_y: "elm.colorbar_0";
+ align: 0.0 0.0;
+ }
+ }
+ part{
+ name: "elm.colorbar_1";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ min: 1 COLORSELECTOR_COLORBAR_HEIGHT;
+ max: COLORSELECTOR_MAX_W_INC COLORSELECTOR_COLORBAR_HEIGHT;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ rel1.to_y: "bottom_padding";
+ rel2.to_y: "bottom_padding";
+ align: 0.5 0.0;
+ }
+ }
+ part {
+ name: "bottom_padding1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ min: 1 1;
+ fixed: 1 1;
+ color: COLORSELECTOR_PADDING_COLOR_INC;
+ rel1.relative: 0.0 1.0;
+ rel1.to_y: "elm.colorbar_1";
+ rel2.to_y: "elm.colorbar_1";
+ align: 0.0 0.0;
+ }
+ }
+ part{
+ name: "elm.colorbar_2";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ min: 1 COLORSELECTOR_COLORBAR_HEIGHT;
+ max: COLORSELECTOR_MAX_W_INC COLORSELECTOR_COLORBAR_HEIGHT;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ rel1.to_y: "bottom_padding1";
+ rel2.to_y: "bottom_padding1";
+ align: 0.5 0.0;
+ }
+ }
+ part {
+ name: "bottom_padding2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ min: 1 1;
+ fixed: 1 1;
+ color: COLORSELECTOR_PADDING_COLOR_INC;
+ rel1.relative: 0.0 1.0;
+ rel1.to_y: "elm.colorbar_2";
+ rel2.to_y: "bg_rect";
+ align: 0.0 0.0;
+ }
+ }
+ }
+}
+
+group{
+ name: "elm/colorselector/base/default";
+ parts{
+ part{
+ name: "bg_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description{
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part{
+ name: "bar_bg_padding_rect_l";
+ type: RECT;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ visible: 0;
+ min: COLORSELECTOR_COLORBAR_LEFT_PADDING 0;
+ fixed: 1 0;
+ rel1.relative: 0.0 0.5;
+ rel2.relative: 0.0 0.5;
+ align: 0.0 0.5;
+ }
+ }
+ part{
+ name: "bar_bg_padding_rect_r";
+ type: RECT;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ visible: 0;
+ min: COLORSELECTOR_COLORBAR_RIGHT_PADDING 0;
+ fixed: 1 0;
+ rel1.relative: 1.0 0.5;
+ rel2.relative: 1.0 0.5;
+ align: 1.0 0.5;
+ }
+ }
+ part {
+ name: "button_top_padding";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 COLORSELECTOR_BUTTON_TOP_PADDING;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0;
+ }
+ }
+ part{
+ name: "elm.bar_bg";
+ type: SWALLOW;
+ mouse_events: 1;
+ description{
+ state: "default" 0.0;
+ rel1 {relative: 1.0 (16/70); to_x: "bar_bg_padding_rect_l";}
+ rel2 {relative: 0.0 (54/70); to_x: "bar_bg_padding_rect_r";}
+ }
+ }
+ part{
+ name: "elm.bar";
+ type: SWALLOW;
+ mouse_events: 1;
+ description{
+ state: "default" 0.0;
+ rel1.to: "elm.bar_bg";
+ rel2.to: "elm.bar_bg";
+ }
+ }
+ part{
+ name: "arrow_bg_padding_rect_l";
+ type: RECT;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ visible: 0;
+ min: COLORSELECTOR_ARROW_BG_LEFT_PADDING 0;
+ fixed: 1 0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.5;
+ }
+ }
+ part{
+ name: "arrow_bg_padding_rect_r";
+ type: RECT;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ visible: 0;
+ min: COLORSELECTOR_ARROW_BG_RIGHT_PADDING 0;
+ fixed: 1 0;
+ rel1.relative: 1.0 0.0;
+ align: 1.0 0.5;
+ }
+ }
+ part{
+ name: "elm.arrow_bg";
+ type: SWALLOW;
+ mouse_events: 1;
+ description{
+ state: "default" 0.0;
+ rel1 {relative: 1.0 (10/70); to_x: "arrow_bg_padding_rect_l";}
+ rel2 {relative: 0.0 (60/70); to_x: "arrow_bg_padding_rect_r";}
+ }
+ }
+ part{
+ name: "elm.arrow";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ min: COLORSELECTOR_ARROW_MIN_WIDTH COLORSELECTOR_ARROW_MIN_HEIGHT;
+ fixed: 1 1;
+ align: 0 0.5;
+ visible: 0;
+ rel1 {relative: 0.0 0.0; to_y: "elm.arrow_bg";}
+ rel2 {relative: 0.0 1.0; to_y: "elm.arrow_bg";}
+ }
+ dragable{
+ confine: "elm.arrow_bg";
+ x: 1 1 0;
+ y: 0 0 0;
+ }
+ }
+ part{
+ name: "elm.arrow_icon";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0;
+ rel1 {
+ to: "elm.arrow";
+ offset: COLORSELECTOR_ARROW_REL1_OFFSET;
+ }
+ rel2 {
+ to: "elm.arrow";
+ offset: COLORSELECTOR_ARROW_REL2_OFFSET;
+ }
+ }
+ }
+ part{
+ name: "event";
+ type: RECT;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ min: COLORSELECTOR_DRAGGABLE_EVENT_AREA;
+ fixed: 1 1;
+ rel1.to: "elm.arrow_icon";
+ rel2.to: "elm.arrow_icon";
+ color: 0 0 0 0;
+ }
+ dragable{
+ events: "elm.arrow";
+ }
+ }
+ part{
+ name: "l_button_padding_rect";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ visible: 0;
+ min: COLORSELECTOR_BUTTON_LEFT_PADDING 0;
+ fixed: 1 0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.5;
+ }
+ }
+ part{
+ name: "r_button_padding_rect";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ visible: 0;
+ min: COLORSELECTOR_BUTTON_RIGHT_PADDING 0;
+ fixed: 1 0;
+ rel1.relative: 1.0 0.0;
+ align: 1.0 0.5;
+ }
+ }
+ part{
+ name: "elm.l_button";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ min: COLORSELECTOR_BUTTON_WIDTH COLORSELECTOR_BUTTON_HEIGHT;
+ fixed: 1 1;
+ rel1 {relative: 1.0 1.0; to_x: "l_button_padding_rect"; to_y: "button_top_padding";}
+ rel2 {relative: 1.0 1.0; to_x: "l_button_padding_rect"; to_y: "button_top_padding";}
+ align: 0.0 0.0;
+ }
+ }
+ part{
+ name: "elm.r_button";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ min: COLORSELECTOR_BUTTON_WIDTH COLORSELECTOR_BUTTON_HEIGHT;
+ fixed: 1 1;
+ rel1 {relative: 0.0 1.0; to_x: "r_button_padding_rect"; to_y: "button_top_padding";}
+ rel2 {relative: 0.0 1.0; to_x: "r_button_padding_rect"; to_y: "button_top_padding";}
+ align: 1.0 0.0;
+ }
+ }
+ }
+}
+
+group{
+ name: "elm/colorselector/image/colorbar_0/default";
+ images{
+ image: "00_color_picker_color.png" COMP;
+ }
+ parts{
+ part{
+ name: "bg";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ visible: 1;
+ rel1 {relative: 0.0 0.0; offset: 0 0;}
+ rel2 {relative: 1.0 1.0; offset: 0 0;}
+ color: 0 0 0 0;
+ }
+ }
+ part{
+ name: "colorbar_0_image";
+ type: IMAGE;
+ mouse_events: 1;
+ description{
+ state: "default" 0.0;
+ visible: 1;
+ rel1 {relative: 0.0 0.0; offset: 0 0; to: "bg"; }
+ rel2 {relative: 1.0 1.0; offset: -1 -1; to: "bg"; }
+ image.normal: "00_color_picker_color.png";
+ }
+ }
+ }
+}
+
+group{
+ name: "elm/colorselector/image/colorbar_1/default";
+ images{
+ image: "00_color_picker_opacity.png" COMP;
+ }
+ parts{
+ part{
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description{
+ state: "default" 0.0;
+ visible: 1;
+ rel1 {relative: 0.0 0.0; offset: 0 0;}
+ rel2 {relative: 1.0 1.0; offset: 0 0;}
+ color: 0 0 0 0;
+ }
+ }
+ part{
+ name: "colorbar_1_image";
+ type: IMAGE;
+ mouse_events: 1;
+ description{
+ state: "default" 0.0;
+ visible: 1;
+ rel1 {relative: 0.0 0.0; offset: 0 0; to: "bg"; }
+ rel2 {relative: 1.0 1.0; offset: -1 -1; to: "bg"; }
+ image.normal: "00_color_picker_opacity.png";
+ }
+ }
+ }
+}
+
+group{
+ name: "elm/colorselector/image/colorbar_2/default";
+ images{
+ image: "00_color_picker_brightness.png" COMP;
+ }
+ parts{
+ part{
+ name: "bg";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ visible: 1;
+ rel1 {relative: 0.0 0.0; offset: 0 0;}
+ rel2 {relative: 1.0 1.0; offset: 0 0;}
+ color: 0 0 0 0;
+ }
+ }
+ part{
+ name: "colorbar_2_image";
+ type: IMAGE;
+ mouse_events: 1;
+ description{
+ state: "default" 0.0;
+ visible: 1;
+ rel1 {relative: 0.0 0.0; offset: 0 0; to: "bg"; }
+ rel2 {relative: 1.0 1.0; offset: -1 -1; to: "bg"; }
+ image.normal: "00_color_picker_brightness.png";
+ }
+ }
+ }
+}
+
+group{
+ name: "elm/colorselector/arrow/default";
+ images{
+ image:"00_color_picker_focus.png" COMP;
+ }
+ parts{
+ part{
+ name: arrow_image;
+ scale: 1;
+ type: IMAGE;
+ mouse_events: 1;
+ description{
+ state: "default" 0.0;
+ image.normal: "00_color_picker_focus.png";
+ }
+ }
+ }
+}
+
+group {
+ name: "elm/colorselector/item/default";
+ images {
+ image: "00_color_picker_palette_focus.png" COMP;
+ }
+ parts {
+ part {
+ name: "color_bg";
+ type: RECT;
+ mouse_events:1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC;
+ visible: 0;
+ }
+ }
+ part { name: "color_obj";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "color_bg";
+ rel2.to: "color_bg";
+ }
+ }
+ part {
+ name: "focus_image";
+ mouse_events:1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_WIDTH_INC COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC;
+ image.normal: "00_color_picker_palette_focus.png";
+ image.border: COLORSELECTOR_PALETTE_BORDER_INC;
+ image.border_scale: 1;
+ rel1.to: "color_bg";
+ rel2.to: "color_bg";
+ }
+ description {
+ state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "item_focus";
+ source: "elm";
+ signal: "elm,state,selected";
+ action: STATE_SET "focused" 0.0;
+ target: "focus_image";
+ }
+ program { name: "item_unfocus";
+ source: "elm";
+ signal: "elm,state,unselected";
+ action: STATE_SET "default" 0.0;
+ target: "focus_image";
+ }
+ }
+}
+
+group {
+ name: "elm/colorselector/item/color/default";
+ images {
+ image: "00_color_picker_palette_bg.png" COMP;
+ }
+ parts {
+ part {
+ name: "color_rect";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ image.normal: "00_color_picker_palette_bg.png";
+ image.border: COLORSELECTOR_PALETTE_BORDER_INC;
+ image.border_scale: 1;
+ }
+ }
+ }
+}
+
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+/////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/conformant/base/default";
+ script {
+ public indicator_visible = 0; //Indicator visible check
+ public indicator_opacity = 0; //0=opaque, 1=translucent, 2=transparent
+ }
+ parts {
+ part { name: "elm.swallow.bg";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "elm.swallow.indicator";
+ rel2.relative: 1.0 0.0;
+ rel2.to: "elm.swallow.clipboard";
+ }
+ description { state: "disable_clipboard" 0.0;
+ inherit: "default" 0.0;
+ align: 0.5 0.5;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "elm.swallow.indicator";
+ rel2.relative: 1.0 0.0;
+ rel2.to: "elm.swallow.virtualkeypad";
+ }
+ }
+ part { name: "elm.swallow.ug";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "elm.swallow.indicator";
+ rel2.relative: 1.0 0.0;
+ rel2.to: "elm.swallow.clipboard";
+ }
+ description { state: "overlap" 0.0;
+ inherit: "default" 0.0;
+ align: 0.5 0.5;
+ rel1.relative: 0.0 0.0;
+ rel1.to: "elm.swallow.indicator";
+ rel2.relative: 1.0 0.0;
+ rel2.to: "elm.swallow.clipboard";
+ }
+ }
+ part { name: "indicator_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
+ rel2.relative: 1.0 0.0;
+ visible: 1;
+ color: CONFORMANT_INDICATOR_BG_DEFAULT_COLOR_INC;
+ }
+ description { state: "translucent" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
+ rel2.relative: 1.0 0.0;
+ visible: 1;
+ color: CONFORMANT_INDICATOR_BG_TRANSLUCENT_COLOR_INC;
+ }
+ description { state: "transparent" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
+ rel2.relative: 1.0 0.0;
+ visible: 1;
+ color: CONFORMANT_INDICATOR_BG_TRANSPARENT_COLOR_INC;
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ }
+ }
+ part { name: "elm.swallow.indicator";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
+ rel2.relative: 1.0 0.0;
+ visible: 1;
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ }
+ }
+ part { name: "access"; type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 { relative: 0.9 0.0; to: "elm.swallow.indicator"; }
+ rel2 { relative: 1.0 1.0; to: "elm.swallow.indicator"; }
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.clipboard";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1.relative: 0.0 0.0;
+ rel1.to_y: "elm.swallow.virtualkeypad";
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.swallow.virtualkeypad";
+ }
+ }
+ part { name: "elm.swallow.virtualkeypad";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "show_indicator";
+ signal: "elm,state,indicator,show";
+ source: "elm";
+ script {
+ set_int(indicator_visible, 1);
+ set_state(PART:"elm.swallow.indicator", "default", 0.0);
+ if (get_int(indicator_opacity) == 0)
+ set_state(PART:"indicator_bg", "opaque", 0.0);
+ if (get_int(indicator_opacity) == 1)
+ set_state(PART:"indicator_bg", "translucent", 0.0);
+ if (get_int(indicator_opacity) == 2)
+ set_state(PART:"indicator_bg", "transparent", 0.0);
+ }
+ }
+ program {
+ name: "hide_indicator";
+ signal: "elm,state,indicator,hide";
+ source: "elm";
+ script {
+ set_int(indicator_visible, 0);
+ set_state(PART:"elm.swallow.indicator", "hide", 0.0);
+ set_state(PART:"indicator_bg", "hide", 0.0);
+ }
+ }
+ program {
+ name: "opaque_indicator";
+ signal: "elm,state,indicator,opaque";
+ source: "elm";
+ script {
+ set_int(indicator_opacity, 0);
+ if (get_int(indicator_visible) == 1)
+ set_state(PART:"indicator_bg", "opaque", 0.0);
+ }
+ }
+ program {
+ name: "translucent_indicator";
+ signal: "elm,state,indicator,translucent";
+ source: "elm";
+ script {
+ set_int(indicator_opacity, 1);
+ if (get_int(indicator_visible) == 1)
+ set_state(PART:"indicator_bg", "translucent", 0.0);
+ }
+ }
+ program {
+ name: "transparent_indicator";
+ signal: "elm,state,indicator,transparent";
+ source: "elm";
+ script {
+ set_int(indicator_opacity, 2);
+ if (get_int(indicator_visible) == 1)
+ set_state(PART:"indicator_bg", "transparent", 0.0);
+ }
+ }
+ program {
+ name: "overlap_indicator";
+ signal: "elm,state,indicator,overlap";
+ source: "";
+ script {
+ set_state(PART:"elm.swallow.ug", "overlap", 0.0);
+ }
+ }
+ program {
+ name: "nooverlap_indicator";
+ signal: "elm,state,indicator,nooverlap";
+ source: "";
+ script {
+ set_state(PART:"elm.swallow.ug", "default", 0.0);
+ }
+ }
+ program { name: "access_on";
+ signal: "elm,state,access,on";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "access";
+ }
+ program { name: "access_off";
+ signal: "elm,state,access,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "access";
+ }
+ program { name: "enable_clipboard";
+ signal: "elm,state,clipboard,enable";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "disable_clipboard";
+ signal: "elm,state,clipboard,disable";
+ source: "";
+ action: STATE_SET "disable_clipboard" 0.0;
+ target: "elm.swallow.content";
+ }
+ }
+ }
+ group { name: "elm/conformant/base/indicator_overlap";
+ script {
+ public indicator_visible = 0; //Indicator visible check
+ public indicator_opacity = 0; //0=opaque, 1=translucent, 2=transparent
+ }
+ parts {
+ part { name: "elm.swallow.bg";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ rel2.relative: 1.0 0.0;
+ rel2.to: "elm.swallow.clipboard";
+ }
+ }
+ part { name: "elm.swallow.ug";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "elm.swallow.indicator";
+ rel2.relative: 1.0 0.0;
+ rel2.to: "elm.swallow.clipboard";
+ }
+ }
+ part { name: "indicator_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
+ rel2.relative: 1.0 0.0;
+ visible: 1;
+ color: CONFORMANT_INDICATOR_BG_DEFAULT_COLOR_INC;
+ }
+ description { state: "translucent" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
+ rel2.relative: 1.0 0.0;
+ visible: 1;
+ color: CONFORMANT_INDICATOR_BG_TRANSLUCENT_COLOR_INC;
+ }
+ description { state: "transparent" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
+ rel2.relative: 1.0 0.0;
+ visible: 1;
+ color: CONFORMANT_INDICATOR_BG_TRANSPARENT_COLOR_INC;
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ }
+ }
+ part { name: "elm.swallow.indicator";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
+ rel2.relative: 1.0 0.0;
+ visible: 1;
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ }
+ }
+ part { name: "elm.swallow.clipboard";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1.relative: 0.0 0.0;
+ rel1.to_y: "elm.swallow.virtualkeypad";
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.swallow.virtualkeypad";
+ }
+ }
+ part { name: "elm.swallow.virtualkeypad";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "show_indicator";
+ signal: "elm,state,indicator,show";
+ source: "elm";
+ script {
+ set_int(indicator_visible, 1);
+ set_state(PART:"elm.swallow.indicator", "default", 0.0);
+ if (get_int(indicator_opacity) == 0)
+ set_state(PART:"indicator_bg", "opaque", 0.0);
+ if (get_int(indicator_opacity) == 1)
+ set_state(PART:"indicator_bg", "translucent", 0.0);
+ if (get_int(indicator_opacity) == 2)
+ set_state(PART:"indicator_bg", "transparent", 0.0);
+ }
+ }
+ program {
+ name: "hide_indicator";
+ signal: "elm,state,indicator,hide";
+ source: "elm";
+ script {
+ set_int(indicator_visible, 0);
+ set_state(PART:"elm.swallow.indicator", "hide", 0.0);
+ set_state(PART:"indicator_bg", "hide", 0.0);
+ }
+ }
+ program {
+ name: "opaque_indicator";
+ signal: "elm,state,indicator,opaque";
+ source: "elm";
+ script {
+ set_int(indicator_opacity, 0);
+ if (get_int(indicator_visible) == 1)
+ set_state(PART:"indicator_bg", "opaque", 0.0);
+ }
+ }
+ program {
+ name: "translucent_indicator";
+ signal: "elm,state,indicator,translucent";
+ source: "elm";
+ script {
+ set_int(indicator_opacity, 1);
+ if (get_int(indicator_visible) == 1)
+ set_state(PART:"indicator_bg", "translucent", 0.0);
+ }
+ }
+ program {
+ name: "transparent_indicator";
+ signal: "elm,state,indicator,transparent";
+ source: "elm";
+ script {
+ set_int(indicator_opacity, 2);
+ if (get_int(indicator_visible) == 1)
+ set_state(PART:"indicator_bg", "transparent", 0.0);
+ }
+ }
+ }
+ }
+
+ group { name: "elm/conformant/base/nokeypad";
+ script {
+ public indicator_visible = 0; //Indicator visible check
+ public indicator_opacity = 0; //0=opaque, 1=translucent, 2=transparent
+ }
+ parts {
+ part { name: "elm.swallow.bg";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "elm.swallow.indicator";
+ }
+ }
+ part { name: "elm.swallow.ug";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "elm.swallow.indicator";
+ }
+ }
+ part { name: "indicator_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
+ rel2.relative: 1.0 0.0;
+ visible: 1;
+ color: CONFORMANT_INDICATOR_BG_DEFAULT_COLOR_INC;
+ }
+ description { state: "translucent" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
+ rel2.relative: 1.0 0.0;
+ visible: 1;
+ color: CONFORMANT_INDICATOR_BG_TRANSLUCENT_COLOR_INC;
+ }
+ description { state: "transparent" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
+ rel2.relative: 1.0 0.0;
+ visible: 1;
+ color: CONFORMANT_INDICATOR_BG_TRANSPARENT_COLOR_INC;
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ }
+ }
+ part { name: "elm.swallow.indicator";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
+ rel2.relative: 1.0 0.0;
+ visible: 1;
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "show_indicator";
+ signal: "elm,state,indicator,show";
+ source: "elm";
+ script {
+ set_int(indicator_visible, 1);
+ set_state(PART:"elm.swallow.indicator", "default", 0.0);
+ if (get_int(indicator_opacity) == 0)
+ set_state(PART:"indicator_bg", "opaque", 0.0);
+ if (get_int(indicator_opacity) == 1)
+ set_state(PART:"indicator_bg", "translucent", 0.0);
+ if (get_int(indicator_opacity) == 2)
+ set_state(PART:"indicator_bg", "transparent", 0.0);
+ }
+ }
+ program {
+ name: "hide_indicator";
+ signal: "elm,state,indicator,hide";
+ source: "elm";
+ script {
+ set_int(indicator_visible, 0);
+ set_state(PART:"elm.swallow.indicator", "hide", 0.0);
+ set_state(PART:"indicator_bg", "hide", 0.0);
+ }
+ }
+ program {
+ name: "opaque_indicator";
+ signal: "elm,state,indicator,opaque";
+ source: "elm";
+ script {
+ set_int(indicator_opacity, 0);
+ if (get_int(indicator_visible) == 1)
+ set_state(PART:"indicator_bg", "opaque", 0.0);
+ }
+ }
+ program {
+ name: "translucent_indicator";
+ signal: "elm,state,indicator,translucent";
+ source: "elm";
+ script {
+ set_int(indicator_opacity, 1);
+ if (get_int(indicator_visible) == 1)
+ set_state(PART:"indicator_bg", "translucent", 0.0);
+ }
+ }
+ program {
+ name: "transparent_indicator";
+ signal: "elm,state,indicator,transparent";
+ source: "elm";
+ script {
+ set_int(indicator_opacity, 2);
+ if (get_int(indicator_visible) == 1)
+ set_state(PART:"indicator_bg", "transparent", 0.0);
+ }
+ }
+ }
+ }
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+///////////////////////////////////////////////////////////////////////////////////////
+//
+// ctxpopup
+//
+///////////////////////////////////////////////////////////////////////////////////////
+
+#define CTXPOPUP_SHADOW_PADDING 10
+#define CTXPOPUP_FRAME_CORNER_SIZE 4 4
+#define CTXPOPUP_FONT_COLOR 0 0 0 255
+#define CTXPOPUP_CLICKED_FONT_COLOR 255 255 255 255
+#define CTXPOPUP_LIST_PADDING 10
+#define CTXPOPUP_LIST_SHADOW_PADDING 3
+
+///////////////////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/scroller/base/ctxpopup";
+ script {
+ public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
+ public timer0(val) {
+ new v;
+ v = get_int(sbvis_v);
+ if (v) {
+ v = get_int(sbalways_v);
+ if(!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ v = get_int(sbvis_h);
+ if (v) {
+ v = get_int(sbalways_h);
+ if(!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ set_int(sbvis_timer, 0);
+ return 0;
+ }
+ }
+ images {
+ image: "00_popup_scroll.9.png" COMP;
+ image: "01_scroller.png" COMP;
+ }
+ parts {
+ part {
+ name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ clip_to: "clipper";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ }
+ }
+ part {
+ name: "sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ }
+ description {
+ state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part {
+ name: "sb_vbar_clip";
+ clip_to:"sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2{ to:"clipper"; relative: 1.0 1.0;}
+ }
+ description {
+ state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part {
+ name: "sb_vbar_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING) 0;
+ max: (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING) 0;
+ visible: 0;
+ align: 1.0 0.0;
+ rel1 { to:"clipper"; relative: 1.0 0.0; }
+ rel2 { to:"clipper"; relative: 1.0 1.0; }
+ }
+ }
+ part {
+ name: "sb_vbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ align: 1.0 0.0;
+ rel1 { to_x:"sb_vbar_padding"; to_y:"clipper"; relative: 0.0 0.0; }
+ rel2 { to_x:"sb_vbar_padding"; to_y:"clipper"; relative: 0.0 1.0; }
+ }
+ }
+ part {
+ name: "elm.dragable.vbar";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "sb_vbar";
+ }
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: CTXPOPUP_SCROLLER_MIN_SIZE_INC;
+ rel1 {
+ relative: 0.5 0.5;
+ to: "sb_vbar";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ to: "sb_vbar";
+ }
+ image {
+ normal: "00_popup_scroll.9.png";
+ border: 0 0 5 5;
+ border_scale: 1;
+ }
+ }
+ }
+ part {
+ name: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ }
+ description {
+ state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part {
+ name: "sb_hbar_clip";
+ clip_to: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2{ to:"clipper"; relative: 1.0 1.0;}
+ }
+ description {
+ state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part {
+ name: "sb_hbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ align: 0.0 1.0;
+ rel1 {to:"clipper"; relative: 0.0 1.0;}
+ rel2 {to:"clipper"; relative: 1.0 1.0;}
+ }
+ }
+ part {
+ name: "elm.dragable.hbar";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "sb_hbar";
+ }
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: 32 12;
+ rel1 {relative: 0.5 0.5; to: "sb_hbar";}
+ rel2 {relative: 0.5 0.5; to: "sb_hbar";}
+ image {
+ normal: "01_scroller.png";
+ border: 6 6 0 0;
+ border_scale: 1;
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "load";
+ signal: "load";
+ source: "";
+ script {
+ set_state(PART:"sb_vbar_clip", "hidden", 0.0);
+ set_state(PART:"sb_hbar_clip", "hidden", 0.0);
+ set_int(sbvis_v, 0);
+ set_int(sbvis_h, 0);
+ set_int(sbalways_v, 0);
+ set_int(sbalways_h, 0);
+ set_int(sbvis_timer, 0);
+ }
+ }
+ program {
+ name: "vbar_show";
+ signal: "elm,action,show,vbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program {
+ name: "vbar_hide";
+ signal: "elm,action,hide,vbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program {
+ name: "vbar_show_always";
+ signal: "elm,action,show_always,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ set_int(sbalways_v, 1);
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ }
+ }
+ program {
+ name: "vbar_show_notalways";
+ signal: "elm,action,show_notalways,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_v);
+ if (v) {
+ set_int(sbalways_v, 0);
+ v = get_int(sbvis_v);
+ if (!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ }
+ }
+ program {
+ name: "sb_vbar_show";
+ signal: "do-show-vbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_vbar_clip";
+ }
+ program {
+ name: "sb_vbar_hide";
+ signal: "do-hide-vbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_vbar_clip";
+ }
+ program {
+ name: "hbar_show";
+ signal: "elm,action,show,hbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program {
+ name: "hbar_hide";
+ signal: "elm,action,hide,hbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program {
+ name: "hbar_show_always";
+ signal: "elm,action,show_always,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ set_int(sbalways_h, 1);
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ }
+ }
+ program {
+ name: "hbar_show_notalways";
+ signal: "elm,action,show_notalways,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_h);
+ if (v) {
+ set_int(sbalways_h, 0);
+ v = get_int(sbvis_h);
+ if (!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ }
+ }
+ program {
+ name: "sb_hbar_show";
+ signal: "do-show-hbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_hbar_clip";
+ }
+ program {
+ name: "sb_hbar_hide";
+ signal: "do-hide-hbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_hbar_clip";
+ }
+ program {
+ name: "scroll";
+ signal: "elm,action,scroll";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if(!v) {
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ v = get_int(sbvis_timer);
+ if (v > 0) cancel_timer(v);
+ v = timer(2.0, "timer0", 0);
+ set_int(sbvis_timer, v);
+ }
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/ctxpopup/bg/pass_event";
+ alias: "elm/ctxpopup/bg/extended/entry/pass_event";
+ alias: "elm/ctxpopup/bg/extended/entry";
+ alias: "elm/ctxpopup/bg/timepicker";
+ alias: "elm/ctxpopup/bg/datetime/default";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ color: 0 0 0 0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "clicked_event";
+ signal: "mouse,clicked,1";
+ source: "bg";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "show";
+ signal: "elm,state,show";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "bg";
+ }
+ program {
+ name: "hide";
+ signal: "elm,state,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg";
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/ctxpopup/bg/default";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ color: 0 0 0 0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "clicked_event";
+ signal: "mouse,clicked,1";
+ source: "bg";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "show";
+ signal: "elm,state,show";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "bg";
+ }
+ program {
+ name: "hide";
+ signal: "elm,state,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg";
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/ctxpopup/base/no_bg_content";
+ images {
+ image: "ctxpopup_bg.png" COMP;
+ image: "ctxpopup_shadow.png" COMP;
+ }
+ parts {
+ part {
+ name:"frame_shadow_left_top_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
+ max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name:"frame_shadow_right_bottom_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
+ max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
+ rel1{relative: 1 1;}
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "frame_shadow";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
+ rel2 {to:"frame_shadow_right_bottom_padding";}
+ image {
+ normal: "ctxpopup_shadow.png";
+ border: 10 10 10 10;
+ border_scale: 1;
+ }
+ color: 255 255 255 255;
+ }
+ }
+ part {
+ name: "ctxpopup_frame";
+ type: IMAGE;
+ scale: 1;
+ description {
+ image {
+ normal: "ctxpopup_bg.png";
+ border: 10 10 10 10;
+ border_scale: 1;
+ }
+ rel1 {to:"content_left_top_padding"; relative: 1 1;}
+ rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
+ }
+ }
+ part {
+ name:"list_shadow_right_bottom_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
+ max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {to:"elm.swallow.content"; relative: 1 1;}
+ }
+ }
+ part {
+ name:"content_left_top_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
+ max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name:"content_right_bottom_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
+ max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
+ rel1 { relative: 1 1;}
+ rel2 { relative: 1 1;}
+ align: 1 1;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 {to:"content_left_top_padding"; relative: 1 1;}
+ rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
+ }
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/ctxpopup/base/default";
+ images {
+ image: "00_popup_bubble_bg.png" COMP;
+ image: "00_popup_bubble_mask.png" COMP;
+ }
+ parts {
+ part {
+ name:"frame_shadow_left_top_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
+ max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
+ rel2 { relative: 0 0; }
+ align: 1 1;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name:"frame_shadow_right_bottom_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
+ max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
+ rel1{relative: 1 1;}
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "frame_bg";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ clip_to: "ctxpopup_clip";
+ description {
+ state: "default" 0.0;
+ rel1 {to:"frame_shadow_left_top_padding";}
+ rel2 {to:"frame_shadow_right_bottom_padding";}
+ min: (CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC + CTXPOPUP_SHADOW_LEFT_PADDING + CTXPOPUP_SHADOW_RIGHT_PADDING) 0;
+ image {
+ normal: "00_popup_bubble_bg.png";
+ border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "arrow_area_left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 {
+ relative: 1 1;
+ to_x:"content_left_top_padding";
+ to_y: "ctxpopup_frame_left_top";
+ }
+ rel2 {
+ relative: 1 0;
+ to_x:"content_left_top_padding";
+ to_y:"ctxpopup_frame_right_bottom";
+ }
+ }
+ }
+ part { name: "arrow_area_right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 {
+ relative: 0 1;
+ to_x:"content_right_bottom_padding";
+ to_y:"ctxpopup_frame_left_top";
+ }
+ rel2 {
+ relative: 0 0;
+ to_x:"content_right_bottom_padding";
+ to_y: "ctxpopup_frame_right_bottom";
+ }
+ }
+ }
+ part { name: "arrow_area_up";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 1;
+ rel1 {
+ relative: 1 1;
+ to_x: "ctxpopup_frame_left_top";
+ to_y: "content_left_top_padding";
+ }
+ rel2 {
+ relative: 0 1;
+ to_x:"ctxpopup_frame_right_bottom";
+ to_y: "content_left_top_padding";
+ }
+ }
+ }
+ part { name: "arrow_area_down";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0;
+ rel1 {
+ relative: 1 0;
+ to_x:"ctxpopup_frame_left_top";
+ to_y:"content_right_bottom_padding";
+ }
+ rel2 {
+ relative: 0 0;
+ to_x: "ctxpopup_frame_right_bottom";
+ to_y:"content_right_bottom_padding";
+ }
+ }
+ }
+ part { name: "elm.swallow.arrow_up";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_up";
+ }
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_down";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_down";
+ }
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_left";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_left";
+ }
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_right";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_right";
+ }
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part {
+ name: "ctxpopup_frame_left_top";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 0 0;
+ fixed: 1 1;
+ min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
+ max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
+ rel1 {relative: 0 0; to: "content_left_top_padding";}
+ }
+ }
+ part {
+ name: "ctxpopup_frame_right_bottom";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 1 1;
+ fixed: 1 1;
+ min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
+ max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
+ rel2 {relative: 1 1; to: "content_right_bottom_padding";}
+ }
+ }
+ part {
+ name:"content_left_top_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
+ max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
+ rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name:"content_right_bottom_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
+ max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
+ rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
+ align: 1 1;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ clip_to: "ctxpopup_clip";
+ description {
+ state: "default" 0.0;
+ align: 0 0;
+ rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
+ rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
+ }
+ }
+ part {
+ name: "mask";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ clip_to: "ctxpopup_clip";
+ description {
+ state: "default" 0.0;
+ rel1 {to:"elm.swallow.content";}
+ rel2 {to:"elm.swallow.content";}
+ image {
+ normal: "00_popup_bubble_mask.png";
+ border: CTXPOPUP_BUBBLE_MASK_IMAGE_BORDER;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "ctxpopup_clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"ctxpopup_frame_left_top"; relative: 0.5 0.5; }
+ rel2 { to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5; }
+ }
+ description { state: "show_up" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"elm.swallow.arrow_down"; relative: 0.5 0.5; }
+ rel2 { to:"elm.swallow.arrow_down"; relative: 0.5 0.5; }
+ }
+ description { state: "show_left" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"elm.swallow.arrow_right"; relative: 0.5 0.5; }
+ rel2 { to:"elm.swallow.arrow_right"; relative: 0.5 0.5; }
+ }
+ description { state: "show_right" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"elm.swallow.arrow_left"; relative: 0.5 0.5; }
+ rel2 { to:"elm.swallow.arrow_left"; relative: 0.5 0.5; }
+ }
+ description { state: "show_down" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"elm.swallow.arrow_up"; relative: 0.5 0.5; }
+ rel2 { to:"elm.swallow.arrow_up"; relative: 0.5 0.5; }
+ }
+ description { state: "hide_up" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"elm.swallow.arrow_down"; relative: 0.5 0.5; }
+ rel2 { to:"elm.swallow.arrow_down"; relative: 0.5 0.5; }
+ }
+ description { state: "hide_left" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"elm.swallow.arrow_right"; relative: 0.5 0.5; }
+ rel2 { to:"elm.swallow.arrow_right"; relative: 0.5 0.5; }
+ }
+ description { state: "hide_right" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"elm.swallow.arrow_left"; relative: 0.5 0.5; }
+ rel2 { to:"elm.swallow.arrow_left"; relative: 0.5 0.5; }
+ }
+ description { state: "hide_down" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"elm.swallow.arrow_up"; relative: 0.5 0.5; }
+ rel2 { to:"elm.swallow.arrow_up"; relative: 0.5 0.5; }
+ }
+ description { state: "visible" 0.0;
+ color: 255 255 255 255;
+ rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
+ rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
+ }
+ }
+ }
+ programs {
+ program { name: "show";
+ signal: "elm,state,show";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: SIN_FAC 0.33 0.6;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_up";
+ signal: "elm,state,show,up";
+ source: "elm";
+ action: STATE_SET "show_up" 0.0;
+ transition: SIN_FAC 0.33 0.6;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_left";
+ signal: "elm,state,show,left";
+ source: "elm";
+ action: STATE_SET "show_left" 0.0;
+ transition: SIN_FAC 0.33 0.6;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_right";
+ signal: "elm,state,show,right";
+ source: "elm";
+ action: STATE_SET "show_right" 0.0;
+ transition: SIN_FAC 0.33 0.6;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_down";
+ signal: "elm,state,show,down";
+ source: "elm";
+ action: STATE_SET "show_down" 0.0;
+ transition: SIN_FAC 0.33 0.6;
+ target: "ctxpopup_clip";
+ }
+ program { name: "hide_up";
+ signal: "elm,state,hide,up";
+ source: "elm";
+ action: STATE_SET "hide_up" 0.0;
+ transition: SIN_FAC 0.33 0.6;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_left";
+ signal: "elm,state,hide,left";
+ source: "elm";
+ action: STATE_SET "hide_left" 0.0;
+ transition: SIN_FAC 0.33 0.6;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_right";
+ signal: "elm,state,hide,right";
+ source: "elm";
+ action: STATE_SET "hide_right" 0.0;
+ transition: SIN_FAC 0.33 0.6;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_down";
+ signal: "elm,state,hide,down";
+ source: "elm";
+ action: STATE_SET "hide_down" 0.0;
+ transition: SIN_FAC 0.33 0.6;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_finished";
+ action: SIGNAL_EMIT "elm,action,hide,finished" "";
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/ctxpopup/arrow/default";
+ images {
+ image: "00_popup_bubble_tail_left.png" COMP;
+ image: "00_popup_bubble_tail_right.png" COMP;
+ image: "00_popup_bubble_tail_top.png" COMP;
+ image: "00_popup_bubble_tail_bottom.png" COMP;
+ }
+ parts {
+ part {
+ name: "ctxpopup_arrow";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_ARROW_SIZE_INC;
+ max: CTXPOPUP_ARROW_SIZE_INC;
+ fixed: 1 1;
+ visible: 0;
+ align: 0.5 0.5;
+ }
+ description {
+ state: "left" 0.0;
+ min: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
+ max: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ image {
+ normal: "00_popup_bubble_tail_left.png";
+ }
+ }
+ description {
+ state: "right" 0.0;
+ min: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
+ max: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ image {
+ normal: "00_popup_bubble_tail_right.png";
+ }
+ }
+ description {
+ state: "top" 0.0;
+ min: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
+ max: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ image {
+ normal: "00_popup_bubble_tail_top.png";
+ }
+ }
+ description {
+ state: "bottom" 0.0;
+ min: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
+ max: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ image {
+ normal: "00_popup_bubble_tail_bottom.png";
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "enable_left_arrow";
+ signal: "elm,state,left";
+ source: "elm";
+ action: STATE_SET "left" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_right_arrow";
+ signal: "elm,state,right";
+ source: "elm";
+ action: STATE_SET "right" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_top_arrow";
+ signal: "elm,state,top";
+ source: "elm";
+ action: STATE_SET "top" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_bottom_arrow";
+ signal: "elm,state,bottom";
+ source: "elm";
+ action: STATE_SET "bottom" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/ctxpopup/text_style_item/default";
+ parts {
+ part {
+ name: "event_blocker";
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "bg";
+ mouse_events: 0;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_BG_COLOR_INC;
+ visible: 1;
+ min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING*2) 1;
+ max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
+ }
+ description {
+ state: "clicked" 0.0;
+ color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ visible: 1;
+ }
+ description {
+ state: "clicked_separator" 0.0;
+ rel1 { relative: 0.0 1.0; to_y: "separator2"; }
+ color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ visible: 1;
+ }
+ }
+ part {
+ name: "separator1";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_SEPARATOR_COLOR_INC;
+ rel1 { relative: 1.0 0.0; to_x: "left_padding";}
+ rel2 { relative: 0.0 1.0; to_x: "right_padding";}
+ align: 0.5 0;
+ min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "separator2";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_SEPARATOR2_COLOR_INC;
+ rel1 { relative: 0.0 1.0; to: "separator1";}
+ rel2 { relative: 1.0 1.0; to: "separator1";}
+ align: 0.5 0;
+ fixed: 0 1;
+ min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "left_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
+ max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
+ align: 0.5 0.5;
+ rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
+ rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
+ color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
+ align: 0 0.5;
+ min: 1 1;
+ text_class: "list_item";
+ }
+ }
+ description {
+ state: "compress" 0.0;
+ inherit: "default" 0.0;
+ max: -1 -1;
+ text {
+ min: 0 1;
+ }
+ }
+ description {
+ state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
+ }
+ description {
+ state: "compress_disabled" 0.0;
+ inherit: "compress" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
+ }
+ }
+ part {
+ name: "right_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
+ max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ }
+ }
+ part {
+ name: "over1";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "over2";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ }
+ description {
+ state: "default" 0.0;
+ rel1.to:"bg";
+ rel2.to:"bg";
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "disclip";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ visible: 1;
+ color: CTXPOPUP_ITEM_DISABLED_COLOR;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "item_unclick";
+ signal: "mouse,clicked,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
+ set_state(PART:"elm.text", "compress_disabled", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+
+ set_state(PART:"disclip", "disabled", 0.0);
+ }
+ }
+ program {
+ name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
+ set_state(PART:"elm.text", "compress", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+
+ set_state(PART:"disclip", "default", 0.0);
+ }
+ }
+ program {
+ name: "default";
+ signal: "elm,state,default";
+ source: "elm";
+ script {
+ set_state(PART:"separator1", "default", 0.0);
+ set_state(PART:"separator2", "default", 0.0);
+ }
+ }
+ program {
+ name: "compress";
+ signal: "elm,state,compress";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"disclip", st, 30, vl);
+ if (!strcmp(st, "disabled"))
+ set_state(PART:"elm.text", "compress_disabled", 0.0);
+ else
+ set_state(PART:"elm.text", "compress", 0.0);
+ }
+ }
+ program {
+ name: "separator";
+ signal: "elm,state,separator";
+ source: "elm";
+ script {
+ set_state(PART:"separator1", "visible", 0.0);
+ set_state(PART:"separator2", "visible", 0.0);
+ }
+ }
+ program {
+ name: "item_click2";
+ signal: "mouse,down,1";
+ source: "over2";
+ script {
+ set_state(PART:"elm.text", "clicked", 0.0);
+
+ new st[31];
+ new Float:vl;
+ get_state(PART:"separator2", st, 30, vl);
+ if (!strcmp(st, "default"))
+ set_state(PART:"bg", "clicked", 0.0);
+ else
+ set_state(PART:"bg", "clicked_separator", 0.0);
+ }
+ }
+ program {
+ name: "drag";
+ signal: "drag";
+ source: "over2";
+ script {
+ new Float:dx, Float:dy;
+ get_drag(PART:"over2", dx, dy);
+ if (abs(dy) > 20)
+ {
+ set_drag(PART:"over2", 0.0, 0.0);
+ set_state(PART:"elm.text", "compress", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ set_drag(PART:"over2", 0.0, 0.0);
+ }
+ }
+ program {
+ name: "item_unclick2";
+ signal: "mouse,up,1";
+ source: "over2";
+ script {
+ set_drag(PART:"over2", 0.0, 0.0);
+ set_state(PART:"elm.text", "compress", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/ctxpopup/text_style_item_horizontal/default";
+ parts {
+ part {
+ name: "event_blocker";
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "bg";
+ mouse_events: 0;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_BG_COLOR_INC;
+ visible: 1;
+ min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
+ }
+ description {
+ state: "clicked" 0.0;
+ color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ visible: 1;
+ }
+ description {
+ state: "clicked_separator" 0.0;
+ rel1 { relative: 1.0 0.0; to_x: "separator2"; }
+ color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ visible: 1;
+ }
+ }
+ part {
+ name: "separator1";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC;
+ align: 0 0.5;
+ min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
+ max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "separator2";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC;
+ rel1 { relative: 1.0 0.0; to: "separator1"; to_y: "bg";}
+ align: 0 0.5;
+ min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
+ max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "left_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
+ max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
+ align: 0 0;
+ color: 255 0 0 255;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: (CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ITEM_ICON_PADDING_INC*2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
+ align: 0.5 0.5;
+ rel1 {relative: 1.0 0.0; to: "left_padding"; }
+ rel2 {relative: 0.0 1.0; to: "right_padding"; }
+ color: CTXPOPUP_MAIN_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: CTXPOPUP_MAIN_TEXT_SIZE_INC;
+ align: 0.5 0.5;
+ min: 1 1;
+ text_class: "list_item";
+ }
+ }
+ description {
+ state: "compress" 0.0;
+ inherit: "default" 0.0;
+ max: -1 -1;
+ text {
+ min: 0 1;
+ }
+ }
+ description {
+ state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
+ }
+ description {
+ state: "compress_disabled" 0.0;
+ inherit: "compress" 0.0;
+ color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
+ }
+ }
+ part {
+ name: "right_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
+ max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
+ fixed: 1 1;
+ align: 1 1;
+ color: 0 255 0 255;
+ visible: 0;
+ }
+ }
+ part {
+ name: "over1";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "over2";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ }
+ description {
+ state: "default" 0.0;
+ rel1.to:"bg";
+ rel2.to:"bg";
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "disclip";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ visible: 1;
+ color: CTXPOPUP_ITEM_DISABLED_COLOR;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "item_unclick";
+ signal: "mouse,clicked,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
+ set_state(PART:"elm.text", "compress_disabled", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+
+ set_state(PART:"disclip", "disabled", 0.0);
+ }
+ }
+ program {
+ name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
+ set_state(PART:"elm.text", "compress", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+
+ set_state(PART:"disclip", "default", 0.0);
+ }
+ }
+ program {
+ name: "default";
+ signal: "elm,state,default";
+ source: "elm";
+ script {
+ set_state(PART:"separator1", "default", 0.0);
+ set_state(PART:"separator2", "default", 0.0);
+ }
+ }
+ program {
+ name: "compress";
+ signal: "elm,state,compress";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"disclip", st, 30, vl);
+ if (!strcmp(st, "disabled"))
+ set_state(PART:"elm.text", "compress_disabled", 0.0);
+ else
+ set_state(PART:"elm.text", "compress", 0.0);
+ }
+ }
+ program {
+ name: "separator";
+ signal: "elm,state,separator";
+ source: "elm";
+ script {
+ set_state(PART:"separator1", "visible", 0.0);
+ set_state(PART:"separator2", "visible", 0.0);
+ }
+ }
+ program {
+ name: "item_click2";
+ signal: "mouse,down,1";
+ source: "over2";
+ script {
+ set_state(PART:"elm.text", "clicked", 0.0);
+
+ new st[31];
+ new Float:vl;
+ get_state(PART:"separator2", st, 30, vl);
+ if (!strcmp(st, "default"))
+ set_state(PART:"bg", "clicked", 0.0);
+ else
+ set_state(PART:"bg", "clicked_separator", 0.0);
+ }
+ }
+ program {
+ name: "drag";
+ signal: "drag";
+ source: "over2";
+ script {
+ new Float:dx, Float:dy;
+ get_drag(PART:"over2", dx, dy);
+ if (abs(dx) > 20)
+ {
+ set_drag(PART:"over2", 0.0, 0.0);
+ set_state(PART:"elm.text", "compress", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ set_drag(PART:"over2", 0.0, 0.0);
+ }
+ }
+ program {
+ name: "item_unclick2";
+ signal: "mouse,up,1";
+ source: "over2";
+ script {
+ set_drag(PART:"over2", 0.0, 0.0);
+ set_state(PART:"elm.text", "compress", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/ctxpopup/icon_style_item/default";
+ parts {
+ part {
+ name: "event_blocker";
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "bg";
+ scale: 1;
+ mouse_events: 0;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_BG_COLOR_INC;
+ visible: 1;
+ min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
+ max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
+ }
+ description {
+ state: "clicked" 0.0;
+ color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ visible: 1;
+ }
+ description {
+ state: "clicked_separator" 0.0;
+ rel1 { relative: 1.0 0.0; to_x: "separator2"; }
+ color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ visible: 1;
+ }
+ }
+ part {
+ name: "left_padding";
+ scale: 1;
+ description {
+ min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
+ max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
+ visible: 0;
+ align: 0 0;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "separator1";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_SEPARATOR_COLOR_INC;
+ align: 0 0.5;
+ min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
+ max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "separator2";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_SEPARATOR2_COLOR_INC;
+ rel1 { relative: 1.0 0.0; to_x: "separator1"; }
+ align: 0 0.5;
+ min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
+ max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
+ max: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
+ align: 0.5 0.5;
+ aspect: 1.0 1.0;
+ rel1 { relative: 1 0; to_x: "left_padding"; }
+ rel2 { relative: 0 1; to_x: "right_padding"; }
+ }
+ }
+ part {
+ name: "right_padding";
+ scale: 1;
+ description {
+ min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
+ max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
+ visible: 0;
+ align: 1 1;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "over1";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "over2";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ }
+ description {
+ state: "default" 0.0;
+ rel1.to:"bg";
+ rel2.to:"bg";
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "disclip";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ visible: 1;
+ color: CTXPOPUP_ITEM_DISABLED_COLOR;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "default";
+ signal: "elm,state,default";
+ source: "elm";
+ script {
+ set_state(PART:"separator1", "default", 0.0);
+ set_state(PART:"separator2", "default", 0.0);
+ }
+ }
+ program {
+ name: "separator";
+ signal: "elm,state,separator";
+ source: "elm";
+ script {
+ set_state(PART:"separator1", "visible", 0.0);
+ set_state(PART:"separator2", "visible", 0.0);
+ }
+ }
+ program {
+ name: "item_unclick";
+ signal: "mouse,clicked,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "item_click2";
+ signal: "mouse,down,1";
+ source: "over2";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"separator2", st, 30, vl);
+ if (!strcmp(st, "default"))
+ set_state(PART:"bg", "clicked", 0.0);
+ else
+ set_state(PART:"bg", "clicked_separator", 0.0);
+ }
+ }
+ program {
+ name: "drag";
+ signal: "drag";
+ source: "over2";
+ script {
+ new Float:dx, Float:dy;
+ get_drag(PART:"over2", dx, dy);
+ if (abs(dx) > 20)
+ {
+ set_drag(PART:"over2", 0.0, 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ set_drag(PART:"over2", 0.0, 0.0);
+ }
+ }
+ program {
+ name: "item_unclick2";
+ signal: "mouse,up,1";
+ source: "over2";
+ script {
+ set_drag(PART:"over2", 0.0, 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/ctxpopup/icon_text_style_item/default";
+ parts {
+ part {
+ name: "event_blocker";
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "bg";
+ mouse_events: 0;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_BG_COLOR_INC;
+ visible: 1;
+ }
+ description {
+ state: "clicked" 0.0;
+ color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ visible: 1;
+ }
+ description {
+ state: "clicked_separator" 0.0;
+ rel1 { relative: 0.0 1.0; to_y: "separator2"; }
+ color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ visible: 1;
+ }
+ }
+ part {
+ name:"separator_left_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
+ max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name:"separator_right_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
+ max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
+ align: 1 1;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "icon_left_padding";
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
+ max: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "separator1";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_SEPARATOR_COLOR_INC;
+ rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
+ rel2 { relative: 0.0 1.0; to_x: "separator_right_padding";}
+ align: 0.5 0;
+ min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "separator2";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_SEPARATOR2_COLOR_INC;
+ rel1 { relative: 0.0 1.0; to: "separator1";}
+ rel2 { relative: 1.0 1.0; to: "separator1";}
+ align: 0.5 0;
+ fixed: 0 1;
+ min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
+ max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
+ align: 0 0.5;
+ aspect: 1.0 1.0;
+ rel1 { to:"icon_left_padding"; relative: 1 0; }
+ }
+ }
+ part {
+ name: "icon_right_padding";
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
+ max: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC;
+ align: 0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { to:"elm.swallow.icon"; relative: 1 1; }
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
+ align: 0.5 0.5;
+ rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
+ rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
+ color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
+ align: 0.0 0.5;
+ min: 1 1;
+ text_class: "list_item";
+ }
+ }
+ description {
+ state: "compress" 0.0;
+ inherit: "default" 0.0;
+ max: -1 -1;
+ text {
+ min: 0 1;
+ }
+ }
+ description {
+ state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
+ }
+ description {
+ state: "compress_disabled" 0.0;
+ inherit: "compress" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
+ }
+ }
+ part {
+ name: "text_right_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
+ max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ }
+ }
+ part {
+ name: "over1";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "over2";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ }
+ description {
+ state: "default" 0.0;
+ rel1.to:"bg";
+ rel2.to:"bg";
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "disclip";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ visible: 1;
+ color: CTXPOPUP_ITEM_DISABLED_COLOR;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "item_unclick";
+ signal: "mouse,clicked,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
+ set_state(PART:"elm.text", "compress_disabled", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+
+ set_state(PART:"disclip", "disabled", 0.0);
+ }
+ }
+ program {
+ name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
+ set_state(PART:"elm.text", "compress", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+
+ set_state(PART:"disclip", "default", 0.0);
+ }
+ }
+ program {
+ name: "default";
+ signal: "elm,state,default";
+ source: "elm";
+ script {
+ set_state(PART:"separator1", "default", 0.0);
+ set_state(PART:"separator2", "default", 0.0);
+ }
+ }
+ program {
+ name: "compress";
+ signal: "elm,state,compress";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"disclip", st, 30, vl);
+ if (!strcmp(st, "disabled"))
+ set_state(PART:"elm.text", "compress_disabled", 0.0);
+ else
+ set_state(PART:"elm.text", "compress", 0.0);
+ }
+ }
+ program {
+ name: "separator";
+ signal: "elm,state,separator";
+ source: "elm";
+ script {
+ set_state(PART:"separator1", "visible", 0.0);
+ set_state(PART:"separator2", "visible", 0.0);
+ }
+ }
+ program {
+ name: "item_click2";
+ signal: "mouse,down,1";
+ source: "over2";
+ script {
+ set_state(PART:"elm.text", "clicked", 0.0);
+
+ new st[31];
+ new Float:vl;
+ get_state(PART:"separator2", st, 30, vl);
+ if (!strcmp(st, "default"))
+ set_state(PART:"bg", "clicked", 0.0);
+ else
+ set_state(PART:"bg", "clicked_separator", 0.0);
+ }
+ }
+ program {
+ name: "drag";
+ signal: "drag";
+ source: "over2";
+ script {
+ new Float:dx, Float:dy;
+ get_drag(PART:"over2", dx, dy);
+ if (abs(dy) > 20)
+ {
+ set_drag(PART:"over2", 0.0, 0.0);
+ set_state(PART:"elm.text", "compress", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ set_drag(PART:"over2", 0.0, 0.0);
+ }
+ }
+ program {
+ name: "item_unclick2";
+ signal: "mouse,up,1";
+ source: "over2";
+ script {
+ set_drag(PART:"over2", 0.0, 0.0);
+ set_state(PART:"elm.text", "compress", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/ctxpopup/icon_text_style_item/more_button";
+ parts {
+ part {
+ name: "event_blocker";
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "bg";
+ mouse_events: 0;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_BG_COLOR_INC;
+ visible: 1;
+ min: (CTXPOPUP_MORE_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
+ max: (CTXPOPUP_MORE_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
+ }
+ description {
+ state: "clicked" 0.0;
+ color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ visible: 1;
+ }
+ description {
+ state: "clicked_separator" 0.0;
+ rel1 { relative: 0.0 1.0; to_y: "separator2"; }
+ color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ visible: 1;
+ }
+ }
+ part {
+ name:"separator_left_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
+ max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name:"separator_right_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
+ max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
+ align: 1 1;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "icon_left_padding";
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
+ max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "separator1";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_SEPARATOR_COLOR_INC;
+ rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
+ rel2 { relative: 0.0 1.0; to_x: "separator_right_padding";}
+ align: 0.5 0;
+ fixed: 0 1;
+ min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "separator2";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_SEPARATOR2_COLOR_INC;
+ rel1 { relative: 0.0 1.0; to: "separator1";}
+ rel2.to: "separator1";
+ align: 0.5 0;
+ fixed: 0 1;
+ min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
+ max: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
+ align: 0 0.5;
+ aspect: 1.0 1.0;
+ rel1 { to:"icon_left_padding"; relative: 1 0; }
+ }
+ }
+ part {
+ name: "icon_right_padding";
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
+ max: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
+ align: 0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { to:"elm.swallow.icon"; relative: 1 1; }
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
+ align: 0.5 0.5;
+ rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
+ rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
+ color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC;
+ align: 0.0 0.5;
+ min: 1 1;
+ text_class: "list_item";
+ }
+ }
+ description {
+ state: "compress" 0.0;
+ inherit: "default" 0.0;
+ max: -1 -1;
+ text {
+ min: 0 1;
+ }
+ }
+ description {
+ state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
+ }
+ description {
+ state: "compress_disabled" 0.0;
+ inherit: "compress" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
+ }
+ }
+ part {
+ name: "text_right_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
+ max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ }
+ }
+ part {
+ name: "over1";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "over2";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ }
+ description {
+ state: "default" 0.0;
+ rel1.to:"bg";
+ rel2.to:"bg";
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "disclip";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ visible: 1;
+ color: CTXPOPUP_ITEM_DISABLED_COLOR;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "item_unclick";
+ signal: "mouse,clicked,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
+ set_state(PART:"elm.text", "compress_disabled", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+
+ set_state(PART:"disclip", "disabled", 0.0);
+ }
+ }
+ program {
+ name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
+ set_state(PART:"elm.text", "compress", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+
+ set_state(PART:"disclip", "default", 0.0);
+ }
+ }
+ program {
+ name: "default";
+ signal: "elm,state,default";
+ source: "elm";
+ script {
+ set_state(PART:"separator1", "default", 0.0);
+ set_state(PART:"separator2", "default", 0.0);
+ }
+ }
+ program {
+ name: "compress";
+ signal: "elm,state,compress";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"disclip", st, 30, vl);
+ if (!strcmp(st, "disabled"))
+ set_state(PART:"elm.text", "compress_disabled", 0.0);
+ else
+ set_state(PART:"elm.text", "compress", 0.0);
+ }
+ }
+ program {
+ name: "separator";
+ signal: "elm,state,separator";
+ source: "elm";
+ script {
+ set_state(PART:"separator1", "visible", 0.0);
+ set_state(PART:"separator2", "visible", 0.0);
+ }
+ }
+ program {
+ name: "item_click2";
+ signal: "mouse,down,1";
+ source: "over2";
+ script {
+ set_state(PART:"elm.text", "clicked", 0.0);
+
+ new st[31];
+ new Float:vl;
+ get_state(PART:"separator2", st, 30, vl);
+ if (!strcmp(st, "default"))
+ set_state(PART:"bg", "clicked", 0.0);
+ else
+ set_state(PART:"bg", "clicked_separator", 0.0);
+ }
+ }
+ program {
+ name: "drag";
+ signal: "drag";
+ source: "over2";
+ script {
+ new Float:dx, Float:dy;
+ get_drag(PART:"over2", dx, dy);
+ if (abs(dy) > 20)
+ {
+ set_drag(PART:"over2", 0.0, 0.0);
+ set_state(PART:"elm.text", "compress", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ set_drag(PART:"over2", 0.0, 0.0);
+ }
+ }
+ program {
+ name: "item_unclick2";
+ signal: "mouse,up,1";
+ source: "over2";
+ script {
+ set_drag(PART:"over2", 0.0, 0.0);
+ set_state(PART:"elm.text", "compress", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+#define CTXPOPUP_ENTRY_LIST_PADDING_LEFT 3
+#define CTXPOPUP_ENTRY_LIST_PADDING_TOP 6
+#define CTXPOPUP_ENTRY_LIST_PADDING_RIGHT 3
+#define CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM 6
+//////////////////////////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/ctxpopup/base/extended/entry";
+ alias: "elm/ctxpopup/base/extended/entry/pass_event";
+ images {
+ image: "copy&paste_bg_center.png" COMP;
+ image: "ctxpopup_shadow.png" COMP;
+ }
+ parts {
+ part {
+ name:"frame_shadow_left_top_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
+ max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name:"frame_shadow_right_bottom_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
+ max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
+ rel1{relative: 1 1;}
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "frame_shadow";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
+ rel2 {to:"frame_shadow_right_bottom_padding";}
+ image {
+ normal: "ctxpopup_shadow.png";
+ border: 10 10 10 10;
+ border_scale: 1;
+ }
+ }
+ }
+ part {
+ name: "frame_bg";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1 {to:"elm.swallow.content";}
+ rel2 {to:"elm.swallow.content";}
+ image {
+ normal: "copy&paste_bg_center.png";
+ border: CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER;
+ border_scale: 1;
+ }
+ }
+ }
+ part {
+ name: "arrow_area_left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 {
+ relative: 0 1;
+ to_y: "ctxpopup_frame_left_top";
+ }
+ rel2 {
+ relative:0 0;
+ to:"ctxpopup_frame_left_bottom";
+ }
+ }
+ }
+ part {
+ name: "arrow_area_right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 {
+ relative: 1 1;
+ to:"ctxpopup_frame_right_top";
+ }
+ rel2 {
+ relative: 1 0;
+ to_y: "ctxpopup_frame_right_bottom";
+ }
+ }
+ }
+ part {
+ name: "arrow_area_up";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
+ fixed: 1 1;
+ align: 0.5 1;
+ rel1 {
+ relative: 0 0;
+ to: "frame_bg";
+ }
+ rel2 {
+ relative: 1 0;
+ to: "frame_bg";
+ }
+ }
+ }
+ part {
+ name: "arrow_area_down";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
+ fixed: 1 1;
+ align: 0.5 0;
+ rel1 {
+ relative: 0 1;
+ to: "frame_bg";
+ }
+ rel2 {
+ relative: 1 1;
+ to: "frame_bg";
+ }
+ }
+ }
+ part {
+ name: "elm.swallow.arrow_up";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_up";
+ }
+ description {
+ state: "default" 0.0;
+ min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.swallow.arrow_down";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_down";
+ }
+ description {
+ state: "default" 0.0;
+ min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.swallow.arrow_left";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_left";
+ }
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.swallow.arrow_right";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_right";
+ }
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part {
+ name: "ctxpopup_frame_left_top";
+ type: RECT;
+ scale: 1;
+ description {
+ visible: 0;
+ align: 0 0;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+ part {
+ name: "ctxpopup_frame_right_top";
+ type: RECT;
+ scale: 1;
+ description {
+ visible: 0;
+ align: 1 0;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+ part {
+ name: "ctxpopup_frame_left_bottom";
+ type: RECT;
+ scale: 1;
+ description {
+ visible: 0;
+ align: 0 1;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+ part {
+ name: "ctxpopup_frame_right_bottom";
+ type: RECT;
+ scale: 1;
+ description {
+ visible: 0;
+ align: 1 1;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+ part {
+ name:"list_shadow_right_bottom_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
+ max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {to:"elm.swallow.content"; relative: 1 1;}
+ }
+ }
+ part {
+ name:"content_left_top_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
+ max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name:"content_right_bottom_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
+ max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
+ rel1 { relative: 1 1;}
+ rel2 { relative: 1 1;}
+ align: 1 1;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ align: 0 0;
+ rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
+ rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
+ }
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/ctxpopup/arrow/extended/entry";
+ alias: "elm/ctxpopup/arrow/extended/entry/pass_event";
+ images {
+ image: "copy&paste_arrow_up.png" COMP;
+ image: "copy&paste_arrow_left.png" COMP;
+ image: "copy&paste_arrow_right.png" COMP;
+ image: "copy&paste_arrow_down.png" COMP;
+ }
+ parts {
+ part {
+ name: "ctxpopup_arrow";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
+ max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
+ fixed: 1 1;
+ visible: 0;
+ align: 0.5 0.5;
+ }
+ description {
+ state: "left" 0.0;
+ min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
+ max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
+ fixed: 1 1;
+ align: 0 0.5;
+ image {
+ normal: "copy&paste_arrow_left.png";
+ }
+ }
+ description {
+ state: "right" 0.0;
+ min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
+ max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
+ fixed: 1 1;
+ align: 1 0.5;
+ image {
+ normal: "copy&paste_arrow_right.png";
+ }
+ }
+ description {
+ state: "top" 0.0;
+ min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
+ max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
+ fixed: 1 1;
+ align: 0.5 0;
+ image {
+ normal: "copy&paste_arrow_up.png";
+ }
+ }
+ description {
+ state: "bottom" 0.0;
+ min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
+ max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
+ fixed: 1 1;
+ align: 0.5 1;
+ image {
+ normal: "copy&paste_arrow_down.png";
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "enable_left_arrow";
+ signal: "elm,state,left";
+ source: "elm";
+ action: STATE_SET "left" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_right_arrow";
+ signal: "elm,state,right";
+ source: "elm";
+ action: STATE_SET "right" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_top_arrow";
+ signal: "elm,state,top";
+ source: "elm";
+ action: STATE_SET "top" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_bottom_arrow";
+ signal: "elm,state,bottom";
+ source: "elm";
+ action: STATE_SET "bottom" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////////////
+#define CTXPOPUP_ENTRY_ITEM_BG_PART \
+ part {\
+ name: "bg";\
+ mouse_events: 0;\
+ type: IMAGE;\
+ description {\
+ state: "default" 0.0;\
+ visible: 0;\
+ rel1 {to:"left_bg_padding"; relative: 1 0;}\
+ rel2 {to:"right_bg_padding"; relative: 0 1;}\
+ image {\
+ normal: "copy&paste_press_center.png";\
+ border: 0 0 0 0;\
+ }\
+ }\
+ description {\
+ state: "clicked" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ image {\
+ normal: "copy&paste_press_center.png";\
+ border: 0 0 0 0;\
+ }\
+ }\
+ }
+#define CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART \
+ part {\
+ name: "left_bg_padding";\
+ type: IMAGE;\
+ scale: 1;\
+ mouse_events: 0;\
+ description {\
+ state: "default" 0.0;\
+ visible: 0;\
+ min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
+ max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
+ align: 0 0.5;\
+ fixed: 1 0;\
+ rel1 { to: "event_blocker"; relative: 0 0; }\
+ rel2 { to: "event_blocker"; relative: 0 1; }\
+ image {\
+ normal: "copy&paste_press_left.png";\
+ border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
+ border_scale: 1;\
+ }\
+ }\
+ description {\
+ state: "clicked" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ image {\
+ normal: "copy&paste_press_left.png";\
+ border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
+ border_scale: 1;\
+ }\
+ }\
+ }
+#define CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART \
+ part {\
+ name: "right_bg_padding";\
+ type: IMAGE;\
+ scale: 1;\
+ mouse_events: 0;\
+ description {\
+ state: "default" 0.0;\
+ visible: 0;\
+ min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
+ max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
+ fixed: 1 0;\
+ align: 1.0 0.5;\
+ rel1 { to: "event_blocker"; relative: 1 0; }\
+ rel2 { to: "event_blocker"; relative: 1 1; }\
+ image {\
+ normal: "copy&paste_press_right.png";\
+ border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
+ border_scale: 1;\
+ }\
+ }\
+ description {\
+ state: "clicked" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ image {\
+ normal: "copy&paste_press_right.png";\
+ border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
+ border_scale: 1;\
+ }\
+ }\
+ }
+#define CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART \
+ part {\
+ name: "left_padding";\
+ type: RECT;\
+ scale: 1;\
+ mouse_events: 0;\
+ description {\
+ state: "default" 0.0;\
+ visible: 0;\
+ min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
+ max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
+ align: 0 0.5;\
+ fixed: 1 0;\
+ }\
+ }
+#define CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART \
+ part {\
+ name: "right_padding";\
+ type: RECT;\
+ scale: 1;\
+ mouse_events: 0;\
+ description {\
+ state: "default" 0.0;\
+ visible: 0;\
+ min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
+ max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
+ fixed: 1 0;\
+ align: 1.0 0.5;\
+ }\
+ }
+#define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART \
+ part {\
+ name: "left_separator";\
+ mouse_events: 0;\
+ type: RECT;\
+ scale: 1;\
+ description {\
+ state: "default" 0.0;\
+ visible: 0;\
+ color: CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR;\
+ min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
+ max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
+ fixed: 1 1;\
+ rel2 {\
+ relative: 0 1;\
+ }\
+ }\
+ description {\
+ state: "vertical" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
+ description {\
+ state: "horizontal" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
+ }
+#define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART \
+ part {\
+ name: "right_separator";\
+ mouse_events: 0;\
+ type: RECT;\
+ scale: 1;\
+ description {\
+ state: "default" 0.0;\
+ visible: 0;\
+ color: CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR;\
+ min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
+ max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
+ fixed: 1 1;\
+ rel1 {\
+ offset: -1 0;\
+ }\
+ rel2 {\
+ relative: 0 1;\
+ offset: -1 0;\
+ }\
+ }\
+ description {\
+ state: "vertical" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
+ description {\
+ state: "horizontal" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
+ }
+///////////////////////////////////////////////////////////////////////////////////////
+
+ group {
+ name: "elm/ctxpopup/text_style_item/extended/entry";
+ alias: "elm/ctxpopup/text_style_item/extended/entry/pass_event";
+ images {
+ image: "copy&paste_press_center.png" COMP;
+ image: "copy&paste_press_left.png" COMP;
+ image: "copy&paste_press_right.png" COMP;
+ }
+ parts {
+ part {
+ name: "event_blocker";
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ CTXPOPUP_ENTRY_ITEM_BG_PART
+ CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
+ CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
+ CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
+ CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
+ CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
+ CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT;
+ max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT;
+ fixed: 0 1;
+ align: 0.5 0.5;
+ rel1 {relative: 1.0 0.0; to: "left_padding";}
+ rel2 {relative: 0.0 1.0; to: "right_padding";}
+ color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: CTXPOPUP_ENTRY_ITEM_FONT_SIZE;
+ align: 0.5 0.5;
+ min: 1 1;
+ text_class: "list_item";
+ }
+ }
+ description {
+ state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
+ }
+ }
+ part {
+ name: "over1";
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "over2";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "disclip";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ visible: 1;
+ color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "item_unclick";
+ signal: "mouse,up,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "item_click2";
+ signal: "mouse,down,1";
+ source: "over2";
+ script {
+ set_state(PART:"elm.text", "clicked", 0.0);
+ set_state(PART:"bg", "clicked", 0.0);
+ set_state(PART:"left_bg_padding", "clicked", 0.0);
+ set_state(PART:"right_bg_padding", "clicked", 0.0);
+ }
+ }
+ program {
+ name: "item_unclick2";
+ signal: "mouse,up,1";
+ source: "over2";
+ script {
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ set_state(PART:"left_bg_padding", "default", 0.0);
+ set_state(PART:"right_bg_padding", "default", 0.0);
+ }
+ }
+ program {
+ name: "default";
+ signal: "elm,state,default";
+ source: "elm";
+ script {
+ set_state(PART:"left_separator", "default", 0.0);
+ set_state(PART:"right_separator", "default", 0.0);
+ }
+ }
+ program {
+ name: "vertical";
+ signal: "elm,state,vertical";
+ source: "elm";
+ script {
+ set_state(PART:"left_separator", "vertical", 0.0);
+ set_state(PART:"right_separator", "vertical", 0.0);
+ }
+ }
+ program {
+ name: "horizontal";
+ signal: "elm,state,horizontal";
+ source: "elm";
+ script {
+ set_state(PART:"left_separator", "horizontal", 0.0);
+ set_state(PART:"right_separator", "horizontal", 0.0);
+ }
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/ctxpopup/icon_style_item/extended/entry";
+ images {
+ image: "copy&paste_press_center.png" COMP;
+ image: "copy&paste_press_left.png" COMP;
+ image: "copy&paste_press_right.png" COMP;
+ }
+ parts {
+ part {
+ name: "event_blocker";
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ CTXPOPUP_ENTRY_ITEM_BG_PART
+ CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
+ CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
+ CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
+ CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
+ CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
+ CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 36 36;
+ max: 36 36;
+ fixed: 0 1;
+ align: 0.5 0.5;
+// aspect: 1.0 1.0;
+ rel1 {relative: 1.0 0.0; to: "left_padding";}
+ rel2 {relative: 0.0 1.0; to: "right_padding";}
+ }
+ }
+ part {
+ name: "elm.swallow.icon.paint";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ color: 255 255 0 255;
+ rel1 { to: "elm.swallow.icon"; }
+ rel2 { to: "elm.swallow.icon"; }
+ }
+ }
+ part {
+ name: "over1";
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "over2";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "disclip";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ visible: 1;
+ color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "item_unclick";
+ signal: "mouse,up,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "item_click2";
+ signal: "mouse,down,1";
+ source: "over2";
+ script {
+ set_state(PART:"bg", "clicked", 0.0);
+ set_state(PART:"left_bg_padding", "clicked", 0.0);
+ set_state(PART:"right_bg_padding", "clicked", 0.0);
+ }
+ }
+ program {
+ name: "item_unclick2";
+ signal: "mouse,up,1";
+ source: "over2";
+ script {
+ set_state(PART:"bg", "default", 0.0);
+ set_state(PART:"left_bg_padding", "default", 0.0);
+ set_state(PART:"right_bg_padding", "default", 0.0);
+ }
+ }
+ program {
+ name: "default";
+ signal: "elm,state,default";
+ source: "elm";
+ script {
+ set_state(PART:"left_separator", "default", 0.0);
+ set_state(PART:"right_separator", "default", 0.0);
+ }
+ }
+ program {
+ name: "vertical";
+ signal: "elm,state,vertical";
+ source: "elm";
+ script {
+ set_state(PART:"left_separator", "vertical", 0.0);
+ set_state(PART:"right_separator", "vertical", 0.0);
+ }
+ }
+ program {
+ name: "horizontal";
+ signal: "elm,state,horizontal";
+ source: "elm";
+ script {
+ set_state(PART:"left_separator", "horizontal", 0.0);
+ set_state(PART:"right_separator", "horizontal", 0.0);
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+#define CTXPOPUP_IE_FONT_COLOR 255 255 255 255
+#define CTXPOPUP_IE_CLICKED_FONT_COLOR 255 255 100 255
+#define CTXPOPUP_IE_SEPARATOR_COLOR 120 120 120 255
+#define CTXPOPUP_IE_ITEM_DISABLED_COLOR 200 200 200 127
+#define CTXPOPUP_IE_SEPARATOR_PADDING_SIZE 6 2
+///////////////////////////////////////////////////////////////////////////////
+group {
+ name: "elm/ctxpopup/base/extended/imageeditor";
+ images {
+ image: "imageeditor_bg.png" COMP;
+ }
+ parts {
+ part {
+ name: "ctxpopup_frame";
+ type: IMAGE;
+ scale: 1;
+ description {
+ image {
+ normal: "imageeditor_bg.png";
+ border: 10 10 10 10;
+ border_scale: 1;
+ }
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ }
+ }//part
+ }//parts
+}
+///////////////////////////////////////////////////////////////////////////////
+group { name: "elm/ctxpopup/arrow/extended/imageeditor";
+ images {
+ image: "imageeditor_left_arrow.png" COMP;
+ image: "imageeditor_right_arrow.png" COMP;
+ image: "imageeditor_top_arrow.png" COMP;
+ image: "imageeditor_bottom_arrow.png" COMP;
+ }
+ parts {
+ part {
+ name: "ctxpopup_arrow";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
+ max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
+ fixed: 1 1;
+ visible: 0;
+ align: 0.5 0.5;
+ }
+ description {
+ state: "left" 0.0;
+ min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
+ max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ image {
+ normal: "imageeditor_left_arrow.png";
+ }
+ }
+ description {
+ state: "right" 0.0;
+ min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
+ max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ image {
+ normal: "imageeditor_right_arrow.png";
+ }
+ }
+ description {
+ state: "top" 0.0;
+ min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
+ max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ image {
+ normal: "imageeditor_top_arrow.png";
+ }
+ }
+ description {
+ state: "bottom" 0.0;
+ min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
+ max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ image {
+ normal: "imageeditor_bottom_arrow.png";
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "enable_left_arrow";
+ signal: "elm,state,left";
+ source: "elm";
+ action: STATE_SET "left" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_right_arrow";
+ signal: "elm,state,right";
+ source: "elm";
+ action: STATE_SET "right" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_top_arrow";
+ signal: "elm,state,top";
+ source: "elm";
+ action: STATE_SET "top" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_bottom_arrow";
+ signal: "elm,state,bottom";
+ source: "elm";
+ action: STATE_SET "bottom" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ }
+}
+///////////////////////////////////////////////////////////////////////////////
+group {
+ name: "elm/ctxpopup/icon_text_style_item/extended/imageeditor";
+ images {
+ image: "imageeditor_bar_press.png" COMP;
+ }
+
+ parts {
+ part {
+ name: "event_blocker";
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+
+ part {
+ name: "bg";
+ mouse_events: 0;
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { to:"separator_left_top_padding"; relative: 1 0; }
+ rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
+ visible: 0;
+ }
+ description {
+ state: "clicked" 0.0;
+ rel1 { to:"separator_left_top_padding"; relative: 1 0; }
+ rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
+ image {
+ normal: "imageeditor_bar_press.png";
+ border: 10 10 10 10;
+ border_scale: 1;
+ }
+ }
+ }
+
+ part {
+ name: "icon_left_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
+ max: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "separator_left_top_padding";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ align: 0 0;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "separator_right_top_padding";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ align: 1 0;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "separator_left_bottom_padding";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ align: 0 1;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "separator_right_bottom_padding";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ align: 1 1;
+ fixed: 1 1;
+ }
+ }
+
+ part {
+ name: "bottom_separator";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_IE_SEPARATOR_COLOR;
+ rel1 { to:"separator_left_bottom_padding"; relative: 1 0.5; }
+ rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_IE_ICON_WIDTH_INC CTXPOPUP_IE_ICON_HEIGHT_INC;
+ max: CTXPOPUP_IE_ICON_WIDTH_INC CTXPOPUP_IE_ICON_HEIGHT_INC;
+ align: 0 0.5;
+ aspect: 1.0 1.0;
+ rel1 { to:"icon_left_padding"; relative: 1 0; }
+ }
+ }
+ part {
+ name: "icon_right_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
+ max: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
+ align: 0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { to:"elm.swallow.icon"; relative: 1 1; }
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 CTXPOPUP_IE_ITEM_HEIGHT_INC;
+ max: (CTXPOPUP_IE_CONTENT_WIDTH_MAX_INC-(3*CTXPOPUP_IE_ITEM_PADDING_INC)-CTXPOPUP_IE_ICON_WIDTH_INC) CTXPOPUP_IE_ITEM_HEIGHT_INC;
+ fixed: 0 1;
+ align: 0.5 0.5;
+ rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
+ rel2 {relative: 0.0 1.0; to_x: "text_right_padding";}
+ color: CTXPOPUP_IE_FONT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: CTXPOPUP_IE_FONT_SIZE_INC;
+ align: 0.0 0.5;
+ min: 1 1;
+ text_class: "list_item";
+ }
+ }
+ description {
+ state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_IE_CLICKED_FONT_COLOR;
+ }
+ }
+ part {
+ name: "text_right_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
+ max: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ }
+ }
+ part {
+ name: "over1";
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "over2";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "disclip";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ visible: 1;
+ color: CTXPOPUP_IE_ITEM_DISABLED_COLOR;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "item_unclick";
+ signal: "mouse,up,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "item_click2";
+ signal: "mouse,down,1";
+ source: "over2";
+ script {
+ set_state(PART:"elm.text", "clicked", 0.0);
+ }
+ }
+ program {
+ name: "item_unclick2";
+ signal: "mouse,up,1";
+ source: "over2";
+ script {
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ }
+}
+///////////////////////////////////////////////////////////////////////////////////////
+group {
+ name: "elm/ctxpopup/text_style_item/extended/imageeditor";
+ images {
+ image: "imageeditor_bar_press.png" COMP;
+ }
+
+ parts {
+ part {
+ name: "separator_left_padding";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 2 2;
+ max: 2 2;
+ align: 0 1;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "bg";
+ mouse_events: 0;
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { to:"separator_left_top_padding"; relative: 1 0; }
+ rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
+ visible: 0;
+ }
+ description {
+ state: "clicked" 0.0;
+ rel1 { to:"separator_left_top_padding"; relative: 1 0; }
+ rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
+ image {
+ normal: "imageeditor_bar_press.png";
+ border: 10 10 10 10;
+ border_scale: 1;
+ }
+ }
+ }
+ part {
+ name: "separator_left_top_padding";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ align: 0 0;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "separator_right_top_padding";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ align: 1 0;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "separator_left_bottom_padding";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ align: 0 1;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "separator_right_bottom_padding";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
+ align: 1 1;
+ fixed: 1 1;
+ }
+ }
+
+ part {
+ name: "bottom_separator";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_IE_SEPARATOR_COLOR;
+ rel1 { to:"separator_left_bottom_padding"; relative: 1 0.5; }
+ rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
+ }
+ }
+ part {
+ name: "left_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
+ max: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
+ align: 0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 CTXPOPUP_IE_ITEM_HEIGHT_INC;
+ max: (CTXPOPUP_IE_CONTENT_WIDTH_MAX_INC-2*CTXPOPUP_IE_ITEM_PADDING_INC) CTXPOPUP_IE_ITEM_HEIGHT_INC;
+ fixed: 0 1;
+ align: 0.5 0.5;
+ rel1 {relative: 1.0 0.0; to: "left_padding";}
+ rel2 {relative: 0.0 1.0; to: "right_padding";}
+ color: CTXPOPUP_IE_FONT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: CTXPOPUP_IE_FONT_SIZE_INC;
+ align: 0.5 0.5;
+ min: 1 1;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_IE_CLICKED_FONT_COLOR;
+ }
+ }
+ part {
+ name: "right_padding";
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 30 CTXPOPUP_IE_ITEM_HEIGHT_INC;
+ max: 30 CTXPOPUP_IE_ITEM_HEIGHT_INC;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ }
+ }
+ part {
+ name: "over1";
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "over2";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "disclip";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ visible: 1;
+ color: CTXPOPUP_IE_ITEM_DISABLED_COLOR;
+ }
+ }
+
+ }
+
+ programs {
+ program {
+ name: "item_unclick";
+ signal: "mouse,up,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+
+ program {
+ name: "item_click2";
+ signal: "mouse,down,1";
+ source: "over2";
+ script {
+ set_state(PART:"elm.text", "clicked", 0.0);
+ }
+ }
+ program {
+ name: "item_unclick2";
+ signal: "mouse,up,1";
+ source: "over2";
+ script {
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ }
+}
+
+///////////////////////////////////////////////////////////////////////////////////////
+#define CTXPOPUP_TP_TEXT_WIDTH 32
+#define CTXPOPUP_TP_PADDING 15
+#define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
+#define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
+#define CTXPOPUP_TP_FONT_SIZE 24
+///////////////////////////////////////////////////////////////////////////////
+group {
+ name: "elm/ctxpopup/base/datetime/default";
+ alias: "elm/ctxpopup/base/timepicker";
+ parts {
+ part {
+ name: "ctxpopup_frame";
+ type: RECT;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description {
+ color: CTXPOPUP_TP_BG_COLOR_INC;
+ min: 1 CTXPOPUP_TP_HEIGHT_INC;
+ rel1 { to: "elm.swallow.content"; }
+ rel2 { to: "elm.swallow.content"; }
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description {
+ state: "default" 0.0;
+ min: 1 CTXPOPUP_TP_HEIGHT_INC;
+ }
+ }
+ part { name: "arrow_area_left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 20 0;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 {
+ relative: 0 0;
+ to_y: "ctxpopup_frame";
+ }
+ rel2 {
+ relative:0 1;
+ to:"ctxpopup_frame";
+ }
+ }
+ }
+ part { name: "arrow_area_right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 20 0;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 {
+ relative: 1 0;
+ to:"ctxpopup_frame";
+ }
+ rel2 {
+ relative: 1 1;
+ to_y: "ctxpopup_frame";
+ }
+ }
+ }
+ part { name: "arrow_area_up";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 20;
+ fixed: 1 1;
+ align: 0.5 1;
+ rel1 {
+ relative: 0 0;
+ to_x: "ctxpopup_frame";
+ }
+ rel2 {
+ relative: 1 0;
+ to:"ctxpopup_frame";
+ }
+ }
+ }
+ part { name: "arrow_area_down";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 20;
+ fixed: 1 1;
+ align: 0.5 0;
+ rel1 {
+ relative: 0 1;
+ to:"ctxpopup_frame";
+ }
+ rel2 {
+ relative: 1 1;
+ to_x: "ctxpopup_frame";
+ }
+ }
+ }
+ part { name: "elm.swallow.arrow_up";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_up";
+ }
+ description {
+ state: "default" 0.0;
+ min: 20 20;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_down";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_down";
+ }
+ description {
+ state: "default" 0.0;
+ min: 20 20;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_left";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_left";
+ }
+ description {
+ state: "default" 0.0;
+ min: 20 20;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_right";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_right";
+ }
+ description {
+ state: "default" 0.0;
+ min: 20 20;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "ctxpopup_clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"ctxpopup_frame"; relative: 0 0; }
+ rel2 { to:"ctxpopup_frame"; relative: 0 1; }
+ }
+ description { state: "show_up" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"arrow_area_down"; relative: 0 1; }
+ rel2 { to:"arrow_area_down"; relative: 1 1; }
+ }
+ description { state: "show_left" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"arrow_area_right"; relative: 1 0; }
+ rel2 { to:"arrow_area_right"; relative: 1 1; }
+ }
+ description { state: "show_right" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"arrow_area_left"; relative: 0 0; }
+ rel2 { to:"arrow_area_left"; relative: 0 1; }
+ }
+ description { state: "show_down" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"arrow_area_up"; relative: 0 0; }
+ rel2 { to:"arrow_area_up"; relative: 1 0; }
+ }
+ description { state: "hide_up" 0.0;
+ color: 255 255 255 255;
+ rel1 { to:"arrow_area_down"; relative: 0 1; }
+ rel1 { to:"arrow_area_down"; relative: 1 1; }
+ }
+ description { state: "hide_left" 0.0;
+ color: 255 255 255 255;
+ rel1 { to:"arrow_area_right"; relative: 1 0; }
+ rel2 { to:"arrow_area_right"; relative: 1 1; }
+ }
+ description { state: "hide_right" 0.0;
+ color: 255 255 255 255;
+ rel1 { to:"arrow_area_left"; relative: 0 0; }
+ rel2 { to:"arrow_area_left"; relative: 0 1; }
+ }
+ description { state: "hide_down" 0.0;
+ color: 255 255 255 255;
+ rel1 { to:"arrow_area_up"; relative: 0 0; }
+ rel2 { to:"arrow_area_up"; relative: 1 0; }
+ }
+ description { state: "visible" 0.0;
+ color: 255 255 255 255;
+ rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
+ rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
+ }
+ }
+ }
+ programs {
+ program { name: "show";
+ signal: "elm,state,show";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_up";
+ signal: "elm,state,show,up";
+ source: "elm";
+ action: STATE_SET "show_up" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_left";
+ signal: "elm,state,show,left";
+ source: "elm";
+ action: STATE_SET "show_left" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_right";
+ signal: "elm,state,show,right";
+ source: "elm";
+ action: STATE_SET "show_right" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_down";
+ signal: "elm,state,show,down";
+ source: "elm";
+ action: STATE_SET "show_down" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "hide_up";
+ signal: "elm,state,hide,up";
+ source: "elm";
+ action: STATE_SET "hide_up" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_left";
+ signal: "elm,state,hide,left";
+ source: "elm";
+ action: STATE_SET "hide_left" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_right";
+ signal: "elm,state,hide,right";
+ source: "elm";
+ action: STATE_SET "hide_right" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_down";
+ signal: "elm,state,hide,down";
+ source: "elm";
+ action: STATE_SET "hide_down" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_finished";
+ action: SIGNAL_EMIT "elm,action,hide,finished" "";
+ }
+ }
+}
+///////////////////////////////////////////////////////////////////////////////
+group { name: "elm/ctxpopup/arrow/datetime/default";
+ alias: "elm/ctxpopup/arrow/timepicker";
+ images {
+ image: "timepicker_left_arrow.png" COMP;
+ image: "timepicker_right_arrow.png" COMP;
+ image: "timepicker_top_arrow.png" COMP;
+ image: "timepicker_bottom_arrow.png" COMP;
+ }
+ parts {
+ part {
+ name: "ctxpopup_arrow";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+ max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+ fixed: 1 1;
+ visible: 0;
+ align: 0.5 0.5;
+ }
+ description {
+ state: "left" 0.0;
+ min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+ max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ image {
+ normal: "timepicker_left_arrow.png";
+ }
+ }
+ description {
+ state: "right" 0.0;
+ min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+ max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ image {
+ normal: "timepicker_right_arrow.png";
+ }
+ }
+ description {
+ state: "top" 0.0;
+ min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+ max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ image {
+ normal: "timepicker_top_arrow.png";
+ }
+ }
+ description {
+ state: "bottom" 0.0;
+ min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+ max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ image {
+ normal: "timepicker_bottom_arrow.png";
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "enable_left_arrow";
+ signal: "elm,state,left";
+ source: "elm";
+ action: STATE_SET "left" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_right_arrow";
+ signal: "elm,state,right";
+ source: "elm";
+ action: STATE_SET "right" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_top_arrow";
+ signal: "elm,state,top";
+ source: "elm";
+ action: STATE_SET "top" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_bottom_arrow";
+ signal: "elm,state,bottom";
+ source: "elm";
+ action: STATE_SET "bottom" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ }
+}
+///////////////////////////////////////////////////////////////////////////////
+group {
+ name: "elm/ctxpopup/text_style_item/datetime/default";
+ alias: "elm/ctxpopup/text_style_item/timepicker";
+ parts {
+ part {
+ name: "left_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
+ max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
+ align: 0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
+ max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
+ fixed: 1 1;
+ align: 0 0;
+ rel1 {relative: 1.0 0.0; to: "left_padding";}
+ color: CTXPOPUP_TP_FONT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: CTXPOPUP_TP_FONT_SIZE;
+ align: 0.5 0.5;
+ min: 1 1;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part {
+ name: "right_padding";
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
+ max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
+ align: 0 0;
+ rel1 {relative: 1.0 0.0; to: "elm.text";}
+ visible: 0;
+ }
+ }
+ part {
+ name: "over1";
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "over2";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "item_unclick";
+ signal: "mouse,up,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "item_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ script {
+ set_state(PART:"elm.text", "clicked", 0.0);
+ }
+ }
+ program {
+ name: "item_unclick2";
+ signal: "mouse,up,1";
+ source: "over2";
+ script {
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ }
+}
+///////////////////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/ctxpopup/text_style_item/toolbar_segmentedcontrol";
+ parts {
+ part {
+ name: "event_blocker";
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "bg";
+ mouse_events: 0;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_BG_COLOR_INC;
+ visible: 1;
+ min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
+ max: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
+ }
+ description {
+ state: "clicked" 0.0;
+ color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ visible: 1;
+ }
+ description {
+ state: "clicked_separator" 0.0;
+ rel1 { relative: 0.0 1.0; to_y: "separator2"; }
+ color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ visible: 1;
+ }
+ }
+ part {
+ name: "separator1";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_SEPARATOR_COLOR_INC;
+ rel1 { relative: 1.0 0.0; to_x: "left_padding";}
+ rel2 { relative: 0.0 1.0; to_x: "right_padding";}
+ align: 0.5 0;
+ min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "separator2";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: CTXPOPUP_SEPARATOR2_COLOR_INC;
+ rel1 { relative: 0.0 1.0; to: "separator1";}
+ rel2 { relative: 1.0 1.0; to: "separator1";}
+ align: 0.5 0;
+ fixed: 0 1;
+ min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "left_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
+ max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
+ align: 0.5 0.5;
+ rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
+ rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
+ color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
+ align: 0.5 0.5;
+ min: 0 1;
+ text_class: "list_item";
+ }
+ }
+ description {
+ state: "compress" 0.0;
+ inherit: "default" 0.0;
+ max: -1 -1;
+ text {
+ min: 0 1;
+ }
+ }
+ description {
+ state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
+ }
+ description {
+ state: "compress_disabled" 0.0;
+ inherit: "compress" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
+ }
+ }
+ part {
+ name: "right_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
+ max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ }
+ }
+ part {
+ name: "over1";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "over2";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ }
+ description {
+ state: "default" 0.0;
+ rel1.to:"bg";
+ rel2.to:"bg";
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "disclip";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ visible: 1;
+ color: CTXPOPUP_ITEM_DISABLED_COLOR;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "item_unclick";
+ signal: "mouse,clicked,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
+ set_state(PART:"elm.text", "compress_disabled", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+
+ set_state(PART:"disclip", "disabled", 0.0);
+ }
+ }
+ program {
+ name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
+ set_state(PART:"elm.text", "compress", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+
+ set_state(PART:"disclip", "default", 0.0);
+ }
+ }
+ program {
+ name: "default";
+ signal: "elm,state,default";
+ source: "elm";
+ script {
+ set_state(PART:"separator1", "default", 0.0);
+ set_state(PART:"separator2", "default", 0.0);
+ }
+ }
+ program {
+ name: "compress";
+ signal: "elm,state,compress";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"disclip", st, 30, vl);
+ if (!strcmp(st, "disabled"))
+ set_state(PART:"elm.text", "compress_disabled", 0.0);
+ else
+ set_state(PART:"elm.text", "compress", 0.0);
+ }
+ }
+ program {
+ name: "separator";
+ signal: "elm,state,separator";
+ source: "elm";
+ script {
+ set_state(PART:"separator1", "visible", 0.0);
+ set_state(PART:"separator2", "visible", 0.0);
+ }
+ }
+ program {
+ name: "item_click2";
+ signal: "mouse,down,1";
+ source: "over2";
+ script {
+ set_state(PART:"elm.text", "clicked", 0.0);
+
+ new st[31];
+ new Float:vl;
+ get_state(PART:"separator2", st, 30, vl);
+ if (!strcmp(st, "default"))
+ set_state(PART:"bg", "clicked", 0.0);
+ else
+ set_state(PART:"bg", "clicked_separator", 0.0);
+ }
+ }
+ program {
+ name: "drag";
+ signal: "drag";
+ source: "over2";
+ script {
+ new Float:dx, Float:dy;
+ get_drag(PART:"over2", dx, dy);
+ if (abs(dy) > 20)
+ {
+ set_drag(PART:"over2", 0.0, 0.0);
+ set_state(PART:"elm.text", "compress", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ set_drag(PART:"over2", 0.0, 0.0);
+ }
+ }
+ program {
+ name: "item_unclick2";
+ signal: "mouse,up,1";
+ source: "over2";
+ script {
+ set_drag(PART:"over2", 0.0, 0.0);
+ set_state(PART:"elm.text", "compress", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ }
+ }
+ }
\ No newline at end of file
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+///////////////////////////////////////////////////////////////////////////////
+// datetime
+///////////////////////////////////////////////////////////////////////////////
+
+#define DATETIME_FIELD(_pos) \
+ part {\
+ name: "field"#_pos; \
+ type: SWALLOW; \
+ scale: 1;\
+ clip_to: "clipper";\
+ repeat_events: 1;\
+ description { state: "default" 0.0; \
+ visible: 0;\
+ min: 0 0;\
+ align: 0.0 0.5;\
+ fixed: 1 1;\
+ rel1 {\
+ relative: 1.0 0.0;\
+ to: "separator"#_pos;\
+ }\
+ rel2 {\
+ relative: 1.0 1.0;\
+ to: "separator"#_pos;\
+ }\
+ }\
+ description { state: "enable" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ min: DATETIME_FIELD_MIN_SIZE_INC;\
+ }\
+ }\
+ programs{\
+ program {\
+ name: "field_"#_pos"enabled";\
+ signal: "field"#_pos",enable";\
+ source: "elm";\
+ action: STATE_SET "enable" 0.0;\
+ target: "field"#_pos;\
+ }\
+ program {\
+ name: "field_"#_pos"disabled";\
+ signal: "field"#_pos",disable";\
+ source: "elm";\
+ action: STATE_SET "default" 0.0;\
+ target: "field"#_pos;\
+ }\
+ }
+
+#define DATETIME_SEPARATOR(_pos,_after) \
+ part {\
+ name: "separator"#_pos; \
+ type: TEXT;\
+ scale: 1;\
+ clip_to: "clipper";\
+ repeat_events: 1;\
+ description {\
+ state: "default" 0.0;\
+ visible: 0;\
+ min: 0 0;\
+ align: 0.0 0.5;\
+ fixed: 1 1;\
+ rel1 {\
+ relative: 1.0 0.0;\
+ to: "field"#_after;\
+ }\
+ rel2 {\
+ relative: 1.0 1.0;\
+ to: "field"#_after;\
+ }\
+ color: DATETIME_SEPARATOR_TEXT_COLOR_INC;\
+ text {\
+ font: "Tizen:style=Regular";\
+ size: DATETIME_TEXT_FONT_SIZE_INC;\
+ min: 1 0; \
+ text_class: "tizen";\
+ }\
+ }\
+ description { state: "enable" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ min: DATETIME_SEPARATOR_MIN_SIZE_INC;\
+ }\
+ }\
+ programs {\
+ program {\
+ name: "separator"#_pos",enabled";\
+ signal: "field"#_after",enable";\
+ source: "elm";\
+ action: STATE_SET "enable" 0.0;\
+ target: "separator"#_pos;\
+ }\
+ program {\
+ name: "separator"#_pos",disabled";\
+ signal: "field"#_after",disable";\
+ source: "elm";\
+ action: STATE_SET "default" 0.0;\
+ target: "separator"#_pos;\
+ }\
+ }
+
+
+group { name: "elm/datetime/base/default";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "separator0";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ align: 0.0 0.5;
+ fixed: 1 0;
+ rel2 {
+ relative: 0.0 1.0;
+ to: "bg";
+ }
+ }
+ }
+ DATETIME_FIELD(0)
+ DATETIME_SEPARATOR(1,0)
+ DATETIME_FIELD(1)
+ DATETIME_SEPARATOR(2,1)
+ DATETIME_FIELD(2)
+ DATETIME_SEPARATOR(3,2)
+ DATETIME_FIELD(3)
+ DATETIME_SEPARATOR(4,3)
+ DATETIME_FIELD(4)
+ DATETIME_SEPARATOR(5,4)
+ DATETIME_FIELD(5)
+ DATETIME_SEPARATOR(6,5)
+ part {
+ name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "separator0";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "separator6";
+ }
+ color: 255 255 255 255;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 102;
+ }
+ }
+ part {
+ name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "disble_datetime";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "disabler";
+ target: "clipper";
+ }
+ program {
+ name: "enable_datetime";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "clipper";
+ }
+ }
+}
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+#define DAYSELECOR_DAY_POS_LEFT 1
+#define DAYSELECOR_DAY_POS_RIGHT 2
+#define DAYSELECOR_DAY_POS_MIDDLE 3
+#define DAYSELECOR_DAY_TYPE_WEEKDAY 1
+#define DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT 2
+#define DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1 3
+#define DAYSELECOR_DAY_STATE_DEFAULT 1
+#define DAYSELECOR_DAY_STATE_PRESSED 2
+#define DAYSELECOR_DAY_STATE_SELECTED 3
+
+#define DAYSELECTOR_DAY(_pos, _after)\
+ part {\
+ name: "day"#_pos;\
+ type: SWALLOW;\
+ scale: 1;\
+ clip_to: "clipper";\
+ description { state: "default" 0.0;\
+ visible: 0;\
+ min: 0 0;\
+ align: 0.0 0.5;\
+ fixed: 1 0;\
+ rel1 {\
+ relative: 1.0 0.0;\
+ to: "day"#_after;\
+ offset: 1 0;\
+ }\
+ rel2 {\
+ relative: 1.0 1.0;\
+ to: "day"#_after;\
+ }\
+ }\
+ description { state: "visible" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ min: DAYSELECTOR_CHECK_WIDTH_INC DAYSELECTOR_CHECK_HEIGHT_INC;\
+ }\
+ }\
+ programs{\
+ program {\
+ name: "day"#_pos"visible";\
+ signal: "day"#_pos",visible";\
+ source: "elm";\
+ action: STATE_SET "visible" 0.0;\
+ target: "day"#_pos;\
+ }\
+ program {\
+ name: "day"#_pos"notvisible";\
+ signal: "day"#_pos",default";\
+ source: "elm";\
+ action: STATE_SET "default" 0.0;\
+ target: "day"#_pos;\
+ }\
+ }
+
+group {
+ name: "elm/dayselector/base/default";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ clip_to: "clipper";
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "day0";
+ }
+ rel2 {
+ to: "day6";
+ }
+ color: DAYSELECTOR_BACKGROUND_COLOR_INC;
+ }
+ }
+ part {
+ name: "day0";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "clipper";
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ align: 0.0 0.5;
+ fixed: 1 0;
+ rel2.relative: 0.0 1.0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: DAYSELECTOR_CHECK_WIDTH_INC DAYSELECTOR_CHECK_HEIGHT_INC;
+ }
+ }
+ DAYSELECTOR_DAY(1, 0)
+ DAYSELECTOR_DAY(2, 1)
+ DAYSELECTOR_DAY(3, 2)
+ DAYSELECTOR_DAY(4, 3)
+ DAYSELECTOR_DAY(5, 4)
+ DAYSELECTOR_DAY(6, 5)
+ part {
+ name: "clipper";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1.to: "day0";
+ rel2.to: "day6";
+ color: 255 255 255 255;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 200 200 200 255;
+ }
+ }
+ part {
+ name: "disabler";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "disble_dayselector";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "disabler";
+ target: "clipper";
+ }
+ program {
+ name: "enable_dayselector";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "clipper";
+ }
+ program {
+ name: "day0_visible";
+ signal: "day0,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "day0";
+ }
+ program {
+ name: "day0_default";
+ signal: "day0,default";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "day0";
+ }
+ }
+}
+
+group {
+ name: "elm/check/base/dayselector/default";
+ images {
+ image: "00_alarm_repeat_button_normal_01.png" COMP;
+ image: "00_alarm_repeat_button_press_01.png" COMP;
+ image: "00_alarm_repeat_button_normal_02.png" COMP;
+ image: "00_alarm_repeat_button_press_02.png" COMP;
+ image: "00_alarm_repeat_button_normal_03.png" COMP;
+ image: "00_alarm_repeat_button_press_03.png" COMP;
+ }
+ script {
+ public check_pos; // Left, Right, Middle.
+ public check_type; // Weekday, Weekend.
+ public check_state = DAYSELECOR_DAY_STATE_DEFAULT; // Default, Pressed, Selected.
+
+ public check_bg_show() {
+ if(get_int(check_pos) == DAYSELECOR_DAY_POS_LEFT) {
+ if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT)
+ set_state(PART:"bg", "default_left", 0.0);
+ else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED)
+ set_state(PART:"bg", "pressed_left", 0.0);
+ else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED)
+ set_state(PART:"bg", "selected_left", 0.0);
+ }
+ else if(get_int(check_pos) == DAYSELECOR_DAY_POS_RIGHT) {
+ if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT)
+ set_state(PART:"bg", "default_right", 0.0);
+ else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED)
+ set_state(PART:"bg", "pressed_right", 0.0);
+ else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED)
+ set_state(PART:"bg", "selected_right", 0.0);
+ }
+ else if(get_int(check_pos) == DAYSELECOR_DAY_POS_MIDDLE) {
+ if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT)
+ set_state(PART:"bg", "default_middle", 0.0);
+ else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED)
+ set_state(PART:"bg", "pressed_middle", 0.0);
+ else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED)
+ set_state(PART:"bg", "selected_middle", 0.0);
+ }
+ }
+ public check_text_show() {
+ if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED)
+ set_state(PART:"elm.text", "selected", 0.0);
+ else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED)
+ set_state(PART:"elm.text", "selected", 0.0);
+ else {
+ if(get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKDAY)
+ set_state(PART:"elm.text", "default", 0.0);
+ else if (get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT)
+ set_state(PART:"elm.text", "weekend_default", 0.0);
+ else if (get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1)
+ set_state(PART:"elm.text", "weekend_style1", 0.0);
+ }
+ }
+ }
+ parts {
+ part {
+ name: "bg";
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ //color: DAYSELECTOR_BACKGROUND_COLOR_INC;
+ }
+ description { state: "default_left" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_alarm_repeat_button_normal_01.png";
+ border: 4 0 4 4;
+ border_scale: 1;
+ }
+ }
+ description { state: "default_right" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_alarm_repeat_button_normal_03.png";
+ border: 0 4 4 4;
+ border_scale: 1;
+ }
+ }
+ description { state: "default_middle" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_alarm_repeat_button_normal_02.png";
+ border: 0 0 4 4;
+ border_scale: 1;
+ }
+ }
+ description { state: "pressed_left" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_alarm_repeat_button_press_01.png";
+ border: 4 0 4 4;
+ border_scale: 1;
+ }
+ }
+ description { state: "pressed_right" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_alarm_repeat_button_press_03.png";
+ border: 0 4 4 4;
+ border_scale: 1;
+ }
+ }
+ description { state: "pressed_middle" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_alarm_repeat_button_press_02.png";
+ border: 0 0 4 4;
+ border_scale: 1;
+ }
+ }
+ description { state: "selected_left" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_alarm_repeat_button_press_01.png";
+ border: 4 0 4 4;
+ border_scale: 1;
+ }
+ }
+ description { state: "selected_right" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_alarm_repeat_button_press_03.png";
+ border: 0 4 4 4;
+ border_scale: 1;
+ }
+ }
+ description { state: "selected_middle" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_alarm_repeat_button_press_02.png";
+ border: 0 0 4 4;
+ border_scale: 1;
+ }
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ color: DAYSELECTOR_WEEKDAY_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: DAYSELECTOR_DAY_FONT_SIZE_INC;
+ min: 1 1;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "weekend_default" 0.0;
+ inherit: "default" 0.0;
+ color: DAYSELECTOR_SATURDAY_COLOR_INC;
+ }
+ description {
+ state: "weekend_style1" 0.0;
+ inherit: "default" 0.0;
+ color: DAYSELECTOR_SUNDAY_COLOR_INC;
+ }
+ description {
+ state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: DAYSELECTOR_DAY_PRESSED_COLOR_INC;
+ }
+ }
+ part {
+ name: "events";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "check,pressed";
+ signal: "mouse,down,1";
+ source: "events";
+ script {
+ set_int(check_state, DAYSELECOR_DAY_STATE_PRESSED);
+ check_bg_show();
+ check_text_show();
+ }
+ }
+ program {
+ name: "check,toggle";
+ signal: "mouse,up,1";
+ source: "events";
+ action: SIGNAL_EMIT "elm,action,check,toggle" "";
+ }
+ program {
+ name: "check,on";
+ signal: "elm,state,check,on";
+ source: "elm";
+ script {
+ set_int(check_state, DAYSELECOR_DAY_STATE_SELECTED);
+ check_bg_show();
+ check_text_show();
+ }
+ }
+ program {
+ name: "check,off";
+ signal: "elm,state,check,off";
+ source: "elm";
+ script {
+ set_int(check_state, DAYSELECOR_DAY_STATE_DEFAULT);
+ check_bg_show();
+ check_text_show();
+ }
+ }
+ program { name: "check,left";
+ signal: "elm,pos,check,left";
+ source: "elm";
+ script {
+ set_int(check_pos, DAYSELECOR_DAY_POS_LEFT);
+ check_bg_show();
+ }
+ }
+ program { name: "check,right";
+ signal: "elm,pos,check,right";
+ source: "elm";
+ script {
+ set_int(check_pos, DAYSELECOR_DAY_POS_RIGHT);
+ check_bg_show();
+ }
+ }
+ program { name: "check,middle";
+ signal: "elm,pos,check,middle";
+ source: "elm";
+ script {
+ set_int(check_pos, DAYSELECOR_DAY_POS_MIDDLE);
+ check_bg_show();
+ }
+ }
+ program { name: "check,weekday";
+ signal: "elm,type,weekday,default";
+ source: "";
+ script {
+ set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKDAY);
+ check_text_show();
+ }
+ }
+ program { name: "check,weekend,default";
+ signal: "elm,type,weekend,default";
+ source: "";
+ script {
+ set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT);
+ check_text_show();
+ }
+ }
+ program { name: "check,weekend,style1";
+ signal: "elm,type,weekend,style1";
+ source: "";
+ script {
+ set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1);
+ check_text_show();
+ }
+ }
+ }
+}
+
+#undef DAYSELECOR_DAY_POS_LEFT
+#undef DAYSELECOR_DAY_POS_RIGHT
+#undef DAYSELECOR_DAY_POS_MIDDLE
+#undef DAYSELECOR_DAY_TYPE_WEEKDAY
+#undef DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT
+#undef DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1
+#undef DAYSELECOR_DAY_STATE_DEFAULT
+#undef DAYSELECOR_DAY_STATE_PRESSED
+#undef DAYSELECOR_DAY_STATE_SELECTED
+#undef DAYSELECTOR_DAY
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+///////////////////////////////////////////////////////////////////////////////////////
+//
+// diskselector
+//
+///////////////////////////////////////////////////////////////////////////////////////
+group { name: "elm/diskselector/base/default";
+ alias: "elm/diskselector/base/datetime/default";
+ alias: "elm/diskselector/base/timepicker";
+
+ parts {
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ }
+ }
+}
+
+group { name: "elm/diskselector/item/default";
+ alias: "elm/diskselector/item/datetime/default";
+ alias: "elm/diskselector/item/timepicker";
+
+ data {
+ item: "len_threshold" "14";
+ item: "min_height" DISKSELECTOR_DF_DATA_MIN_HEIGHT_INC;
+ }
+
+ parts {
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: DISKSELECTOR_DF_ITEM_MIN_SIZE_INC;
+ fixed: 1 1;
+ align: 0 0;
+ color: DISKSELECTOR_DF_FONT_COLOR_INC;
+ visible: 1;
+ text {
+ font: "Tizen:style=Medium";
+ size: DISKSELECTOR_DF_FONT_SIZE_INC;
+ min: 1 1;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "selected" 0.0;
+ min: DISKSELECTOR_DF_ITEM_MIN_SIZE_INC;
+ fixed: 1 1;
+ align: 0 0;
+ color: 255 255 255 255;
+ visible: 1;
+ text {
+ font: "Tizen:style=Medium";
+ size: DISKSELECTOR_DF_FONT_SIZE_INC;
+ min: 1 1;
+ }
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "default_small" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.size: 10;
+ }
+ description { state: "left_side" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "right_side" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "mouse_down" 0.0;
+ inherit: "default" 0.0;
+ color: DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "selected_mouse_down" 0.0;
+ inherit: "default" 0.0;
+ color: DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC;
+ visible: 1;
+ }
+ }
+
+ part {
+ name: "over1";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "elm,state,selected";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ }
+ program {
+ name: "elm,state,default";
+ signal: "elm,state,default";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program {
+ name: "item_click";
+ signal: "mouse,clicked,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "item_mouse_down";
+ signal: "mouse,down,1";
+ source: "over1";
+ script {
+ new st[30];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl)
+ if (!strncmp(st, "selected", 8)) {
+ set_state(PART:"elm.text", "selected_mouse_down", 0.0);
+ } else {
+ set_state(PART:"elm.text", "mouse_down", 0.0);
+ }
+ }
+ }
+ program {
+ name: "item_mouse_up";
+ signal: "mouse,up,1";
+ source: "over1";
+ script {
+ new st[30];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl)
+ if (!strncmp(st, "mouse_down", 10)) {
+ set_state(PART:"elm.text", "default", 0.0);
+ } else if (!strncmp(st, "selected_mouse_down", 19)) {
+ set_state(PART:"elm.text", "selected", 0.0);
+ }
+ }
+ }
+ }
+}
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+group { name: "elm/editfield/base/default";
+ images {
+ image: "00_EditField_clear.png" COMP;
+ }
+ styles {
+ style { name: "editfield_content_singleline_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=mixed ellipsis=1 text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ }
+ style { name: "editfield_content_multiline_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=mixed text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ }
+ style { name: "editfield_content_password_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none ellipsis=1 text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ }
+ }
+ script {
+ public single_line = 0;
+ public password_mode = 0;
+
+ public set_multi_line() {
+ set_int(single_line, 0);
+ }
+ public set_single_line() {
+ set_int(single_line, 1);
+ }
+ public set_password() {
+ set_int(password_mode, 1);
+ }
+ public unset_password() {
+ set_int(password_mode, 0);
+ }
+ public no_edit() {
+ if(get_int(single_line) == 1) {
+ if(get_int(password_mode) == 0) {
+ set_state(PART:"elm.content.single", "no_edit", 0.0);
+ set_state(PART:"elm.content.multi", "default", 0.0);
+ set_state(PART:"elm.content.password", "default", 0.0);
+ set_state(PART:"elm.swallow.content", "no_edit", 0.0);
+ }
+ else {
+ set_state(PART:"elm.content.single", "default", 0.0);
+ set_state(PART:"elm.content.multi", "default", 0.0);
+ set_state(PART:"elm.content.password", "no_edit", 0.0);
+ set_state(PART:"elm.swallow.content", "no_edit", 0.0);
+ }
+ }
+ else if(get_int(single_line) == 0) {
+ set_state(PART:"elm.content.single", "default", 0.0);
+ set_state(PART:"elm.content.multi", "no_edit", 0.0);
+ set_state(PART:"elm.content.password", "default", 0.0);
+ }
+ set_state(PART:"over", "default", 0.0);
+ set_state(PART:"top2", "default", 0.0);
+ }
+ }
+ parts {
+ part {
+ name: "base";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ min: 0 EDITFIELD_DEFAULT_MINH_INC;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "top1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
+ }
+ }
+ part {
+ name: "top2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_TOP2_INC;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part {
+ name: "left1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_LEFT1_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1.relative : 0.0 0.0;
+ rel2.relative : 0.0 1.0;
+ }
+ }
+ part {
+ name: "left2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_LEFT2_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1.relative : 0.0 0.0;
+ rel2.relative : 0.0 1.0;
+ }
+ }
+ part {
+ name: "right1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1.relative : 1.0 0.0;
+ rel2.relative : 1.0 1.0;
+ }
+ }
+ part {
+ name: "right2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1.relative : 1.0 0.0;
+ rel2.relative : 1.0 1.0;
+ }
+ }
+ part {
+ name: "bottom1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
+ fixed: 1 1;
+ align: 0 1;
+ rel1.relative: 0.0 1.0;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
+ }
+ }
+ part {
+ name: "bottom2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ align: 0 1;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
+ }
+ }
+ part {
+ name: "bottom3";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ align: 0 1;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM3_MULTI_INC;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.0;
+ min: 0 34;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "left2";
+ to_y: "top2";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "left2";
+ to_y: "top2";
+ }
+ color: EDITFIELD_TITLE_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: EDITFIELD_TITLE_SIZE_INC;
+ min: 1 1;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.guidetext";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: ENTRY_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.content.single";
+ type: TEXTBLOCK;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.content";
+ offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
+ }
+ rel2.to: "elm.swallow.content";
+ text {
+ style: "editfield_content_singleline_style";
+ min: 0 0;
+ max: 0 1;
+ }
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.content.multi";
+ type: TEXTBLOCK;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.content";
+ offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
+ }
+ rel2.to: "elm.swallow.content";
+ text {
+ style: "editfield_content_multiline_style";
+ min: 0 1;
+ }
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.content.password";
+ type: TEXTBLOCK;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ entry_mode: PASSWORD;
+ multiline: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.content";
+ offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
+ }
+ rel2.to: "elm.swallow.content";
+ text {
+ style: "editfield_content_password_style";
+ repch: "*";
+ min: 0 0;
+ max: 0 1;
+ }
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ min: 0 40;
+ rel1 {
+ relative : 1.0 1.0;
+ to_x: "left1";
+ to_y: "top1";
+ }
+ rel2 {
+ relative : 0.0 0.0;
+ to_x: "right1";
+ to_y: "bottom1";
+ }
+ align: 0.0 0.5;
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "over";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ color: 0 0 0 0;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "eraser_image";
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
+ fixed: 1 1;
+ align: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x : "right2";
+ to_y : "bottom2";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x : "right2";
+ to_y : "bottom2";
+ }
+ image {
+ normal: "00_EditField_clear.png";
+ border: 10 10 10 10;
+ border_scale: 1;
+ }
+ }
+ description {
+ state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "eraser";
+ mouse_events: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x : "eraser_image";
+ to_y : "bottom3";
+ }
+ }
+ description {
+ state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "guidetext_show";
+ signal: "elm,state,guidetext,visible";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "guidetext_hide";
+ signal: "elm,state,guidetext,hidden";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "eraser_show";
+ signal: "elm,state,eraser,show";
+ source: "elm";
+ action: STATE_SET "elm.eraser.show" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "eraser_hide";
+ signal: "elm,state,eraser,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "multiline_set";
+ signal: "elm,state,text,multiline";
+ source: "elm";
+ script {
+ set_multi_line();
+ }
+ }
+ program {
+ name: "singleline_set";
+ signal: "elm,state,text,singleline";
+ source: "elm";
+ script {
+ set_single_line();
+ }
+ }
+ program {
+ name: "password_set";
+ signal: "elm,state,password,set";
+ source: "elm";
+ script {
+ set_password();
+ }
+ }
+ program {
+ name: "password_unset";
+ signal: "elm,state,password,unset";
+ source: "elm";
+ script {
+ unset_password();
+ }
+ }
+ program {
+ name: "editing";
+ signal: "elm,state,over,hide";
+ source: "elm";
+ action: STATE_SET "edit" 0.0;
+ target: "elm.swallow.content";
+ target: "elm.content.password";
+ target: "elm.content.multi";
+ target: "elm.content.single";
+ target: "over";
+ target: "top2";
+ }
+ program {
+ name: "no_editing";
+ signal: "elm,state,over,show";
+ source: "elm";
+ script {
+ no_edit();
+ }
+ }
+ program {
+ name: "label_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "elm.text.show" 0.0;
+ target: "elm.text";
+ target: "top1";
+ target: "bottom1";
+ target: "bottom2";
+ target: "bottom3";
+ }
+ program {
+ name: "label_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "top1";
+ target: "bottom1";
+ target: "bottom2";
+ target: "bottom3";
+ }
+ program {
+ name: "entry_show";
+ signal: "elm,state,entry,show";
+ source: "elm";
+ action: STATE_SET "edit" 0.0;
+ target: "elm.swallow.content";
+ target: "elm.content.multi";
+ }
+ }
+}
+
+group { name: "elm/editfield/base/searchbar";
+ alias: "elm/editfield/base/searchbar/default";
+ images {
+ image: "00_field_btn_Clear.png" COMP;
+ }
+ script {
+ public single_line = 0;
+ public password_mode = 0;
+
+ public set_multi_line() {
+ set_int(single_line, 0);
+ }
+ public set_single_line() {
+ set_int(single_line, 1);
+ }
+ public set_password() {
+ set_int(password_mode, 1);
+ }
+ public unset_password() {
+ set_int(password_mode, 0);
+ }
+ public no_edit() {
+ if(get_int(single_line) == 1) {
+ if(get_int(password_mode) == 0) {
+ set_state(PART:"elm.content.single", "no_edit", 0.0);
+ set_state(PART:"elm.content.multi", "default", 0.0);
+ set_state(PART:"elm.content.password", "default", 0.0);
+ set_state(PART:"elm.swallow.content", "no_edit", 0.0);
+ }
+ else {
+ set_state(PART:"elm.content.single", "default", 0.0);
+ set_state(PART:"elm.content.multi", "default", 0.0);
+ set_state(PART:"elm.content.password", "no_edit", 0.0);
+ set_state(PART:"elm.swallow.content", "no_edit", 0.0);
+ }
+ }
+ else if(get_int(single_line) == 0) {
+ set_state(PART:"elm.content.single", "default", 0.0);
+ set_state(PART:"elm.content.multi", "no_edit", 0.0);
+ set_state(PART:"elm.content.password", "default", 0.0);
+ }
+ set_state(PART:"over", "default", 0.0);
+ set_state(PART:"top2", "default", 0.0);
+ }
+ }
+ parts {
+ part {
+ name: "base";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_MINH_INC;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "top1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
+ }
+ }
+ part {
+ name: "top2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part {
+ name: "left1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1.relative : 0.0 0.0;
+ rel2.relative : 0.0 1.0;
+ }
+ }
+ part {
+ name: "left2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1.relative : 0.0 0.0;
+ rel2.relative : 0.0 1.0;
+ }
+ }
+ part {
+ name: "right1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1.relative : 1.0 0.0;
+ rel2.relative : 1.0 1.0;
+ }
+ }
+ part {
+ name: "right2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1.relative : 1.0 0.0;
+ rel2.relative : 1.0 1.0;
+ }
+ }
+ part {
+ name: "bottom1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
+ fixed: 1 1;
+ align: 0 1;
+ rel1.relative: 0.0 1.0;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
+ }
+ }
+ part {
+ name: "bottom2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ align: 0 1;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
+ }
+ }
+ part {
+ name: "bottom3";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ align: 0 1;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.0;
+ min: 0 30;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "left2";
+ to_y: "top2";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "left2";
+ to_y: "top2";
+ }
+ color: EDITFIELD_TITLE_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: EDITFIELD_TITLE_SIZE_INC;
+ min: 1 1;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.guidetext";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: ENTRY_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.content.single";
+ type: TEXTBLOCK;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.content";
+ offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
+ }
+ rel2.to: "elm.swallow.content";
+ text {
+ style: "editfield_content_singleline_style";
+ min: 0 0;
+ max: 0 1;
+ }
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.content.multi";
+ type: TEXTBLOCK;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.content";
+ offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
+ }
+ rel2.to: "elm.swallow.content";
+ text {
+ style: "editfield_content_multiline_style";
+ min: 0 1;
+ }
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.content.password";
+ type: TEXTBLOCK;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ entry_mode: PASSWORD;
+ multiline: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.content";
+ offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
+ }
+ rel2.to: "elm.swallow.content";
+ text {
+ style: "editfield_content_password_style";
+ repch: "*";
+ min: 0 0;
+ max: 0 1;
+ }
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ min: 0 40;
+ rel1 {
+ relative : 1.0 1.0;
+ to_x: "left1";
+ to_y: "top1";
+ }
+ rel2 {
+ relative : 0.0 0.0;
+ to_x: "right1";
+ to_y: "bottom1";
+ }
+ align: 0.0 0.5;
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "over";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ color: 0 0 0 0;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "eraser_image";
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
+ fixed: 1 1;
+ align: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x : "right2";
+ to_y : "bottom2";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x : "right2";
+ to_y : "bottom2";
+ }
+ image {
+ normal: "00_field_btn_Clear.png";
+ border: 4 4 4 4 ;
+ border_scale: 1;
+ }
+ }
+ description {
+ state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "eraser";
+ mouse_events: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x : "eraser_image";
+ to_y : "bottom3";
+ }
+ }
+ description {
+ state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "guidetext_show";
+ signal: "elm,state,guidetext,visible";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "guidetext_hide";
+ signal: "elm,state,guidetext,hidden";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "eraser_show";
+ signal: "elm,state,eraser,show";
+ source: "elm";
+ action: STATE_SET "elm.eraser.show" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "eraser_hide";
+ signal: "elm,state,eraser,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "multiline_set";
+ signal: "elm,state,text,multiline";
+ source: "elm";
+ script {
+ set_multi_line();
+ }
+ }
+ program {
+ name: "singleline_set";
+ signal: "elm,state,text,singleline";
+ source: "elm";
+ script {
+ set_single_line();
+ }
+ }
+ program {
+ name: "password_set";
+ signal: "elm,state,password,set";
+ source: "elm";
+ script {
+ set_password();
+ }
+ }
+ program {
+ name: "password_unset";
+ signal: "elm,state,password,unset";
+ source: "elm";
+ script {
+ unset_password();
+ }
+ }
+ program {
+ name: "editing";
+ signal: "elm,state,over,hide";
+ source: "elm";
+ action: STATE_SET "edit" 0.0;
+ target: "elm.swallow.content";
+ target: "elm.content.password";
+ target: "elm.content.multi";
+ target: "elm.content.single";
+ target: "over";
+ target: "top2";
+ }
+ program {
+ name: "no_editing";
+ signal: "elm,state,over,show";
+ source: "elm";
+ script {
+ no_edit();
+ }
+ }
+ program {
+ name: "label_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "elm.text.show" 0.0;
+ target: "elm.text";
+ target: "top1";
+ target: "bottom1";
+ target: "bottom2";
+ target: "bottom3";
+ }
+ program {
+ name: "label_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "top1";
+ target: "bottom1";
+ target: "bottom2";
+ target: "bottom3";
+ }
+ program {
+ name: "entry_show";
+ signal: "elm,state,entry,show";
+ source: "elm";
+ action: STATE_SET "edit" 0.0;
+ target: "elm.swallow.content";
+ target: "elm.content.multi";
+ }
+ }
+}
+
+group { name: "elm/editfield/base/font_color_black";
+ images {
+ image: "00_EditField_clear.png" COMP;
+ }
+ styles {
+ style { name: "editfield_content_singleline_black_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=mixed ellipsis=1 text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ }
+ style { name: "editfield_content_multiline_black_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=mixed text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ }
+ style { name: "editfield_content_password_black_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=none ellipsis=1 text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ }
+ }
+ script {
+ public single_line = 0;
+ public password_mode = 0;
+
+ public set_multi_line() {
+ set_int(single_line, 0);
+ }
+ public set_single_line() {
+ set_int(single_line, 1);
+ }
+ public set_password() {
+ set_int(password_mode, 1);
+ }
+ public unset_password() {
+ set_int(password_mode, 0);
+ }
+ public no_edit() {
+ if(get_int(single_line) == 1) {
+ if(get_int(password_mode) == 0) {
+ set_state(PART:"elm.content.single", "no_edit", 0.0);
+ set_state(PART:"elm.content.multi", "default", 0.0);
+ set_state(PART:"elm.content.password", "default", 0.0);
+ set_state(PART:"elm.swallow.content", "no_edit", 0.0);
+ }
+ else {
+ set_state(PART:"elm.content.single", "default", 0.0);
+ set_state(PART:"elm.content.multi", "default", 0.0);
+ set_state(PART:"elm.content.password", "no_edit", 0.0);
+ set_state(PART:"elm.swallow.content", "no_edit", 0.0);
+ }
+ }
+ else if(get_int(single_line) == 0) {
+ set_state(PART:"elm.content.single", "default", 0.0);
+ set_state(PART:"elm.content.multi", "no_edit", 0.0);
+ set_state(PART:"elm.content.password", "default", 0.0);
+ }
+ set_state(PART:"over", "default", 0.0);
+ set_state(PART:"top2", "default", 0.0);
+ }
+ }
+ parts {
+ part {
+ name: "base";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ min: 0 EDITFIELD_DEFAULT_MINH_INC;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "top1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
+ }
+ }
+ part {
+ name: "top2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_TOP2_INC;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part {
+ name: "left1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_LEFT1_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1.relative : 0.0 0.0;
+ rel2.relative : 0.0 1.0;
+ }
+ }
+ part {
+ name: "left2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_LEFT2_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1.relative : 0.0 0.0;
+ rel2.relative : 0.0 1.0;
+ }
+ }
+ part {
+ name: "right1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1.relative : 1.0 0.0;
+ rel2.relative : 1.0 1.0;
+ }
+ }
+ part {
+ name: "right2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1.relative : 1.0 0.0;
+ rel2.relative : 1.0 1.0;
+ }
+ }
+ part {
+ name: "bottom1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
+ fixed: 1 1;
+ align: 0 1;
+ rel1.relative: 0.0 1.0;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
+ }
+ }
+ part {
+ name: "bottom2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ align: 0 1;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
+ }
+ }
+ part {
+ name: "bottom3";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ align: 0 1;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM3_MULTI_INC;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.0;
+ min: 0 34;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "left2";
+ to_y: "top2";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "left2";
+ to_y: "top2";
+ }
+ color: 0 0 0 255;
+ text {
+ font: "Tizen:style=Medium";
+ size: EDITFIELD_TITLE_SIZE_INC;
+ min: 1 1;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.guidetext";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: ENTRY_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.content.single";
+ type: TEXTBLOCK;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.content";
+ offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
+ }
+ rel2.to: "elm.swallow.content";
+ text {
+ style: "editfield_content_singleline_black_style";
+ min: 0 0;
+ max: 0 1;
+ }
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.content.multi";
+ type: TEXTBLOCK;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.content";
+ offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
+ }
+ rel2.to: "elm.swallow.content";
+ text {
+ style: "editfield_content_multiline_black_style";
+ min: 0 1;
+ }
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.content.password";
+ type: TEXTBLOCK;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ entry_mode: PASSWORD;
+ multiline: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.content";
+ offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
+ }
+ rel2.to: "elm.swallow.content";
+ text {
+ style: "editfield_content_password_black_style";
+ repch: "*";
+ min: 0 0;
+ max: 0 1;
+ }
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ min: 0 40;
+ rel1 {
+ relative : 1.0 1.0;
+ to_x: "left1";
+ to_y: "top1";
+ }
+ rel2 {
+ relative : 0.0 0.0;
+ to_x: "right1";
+ to_y: "bottom1";
+ }
+ align: 0.0 0.5;
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "over";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ color: 0 0 0 0;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "eraser_image";
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
+ fixed: 1 1;
+ align: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x : "right2";
+ to_y : "bottom2";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x : "right2";
+ to_y : "bottom2";
+ }
+ image {
+ normal: "00_EditField_clear.png";
+ border: 10 10 10 10;
+ border_scale: 1;
+ }
+ }
+ description {
+ state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "eraser";
+ mouse_events: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x : "eraser_image";
+ to_y : "bottom3";
+ }
+ }
+ description {
+ state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "guidetext_show";
+ signal: "elm,state,guidetext,visible";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "guidetext_hide";
+ signal: "elm,state,guidetext,hidden";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "eraser_show";
+ signal: "elm,state,eraser,show";
+ source: "elm";
+ action: STATE_SET "elm.eraser.show" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "eraser_hide";
+ signal: "elm,state,eraser,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "multiline_set";
+ signal: "elm,state,text,multiline";
+ source: "elm";
+ script {
+ set_multi_line();
+ }
+ }
+ program {
+ name: "singleline_set";
+ signal: "elm,state,text,singleline";
+ source: "elm";
+ script {
+ set_single_line();
+ }
+ }
+ program {
+ name: "password_set";
+ signal: "elm,state,password,set";
+ source: "elm";
+ script {
+ set_password();
+ }
+ }
+ program {
+ name: "password_unset";
+ signal: "elm,state,password,unset";
+ source: "elm";
+ script {
+ unset_password();
+ }
+ }
+ program {
+ name: "editing";
+ signal: "elm,state,over,hide";
+ source: "elm";
+ action: STATE_SET "edit" 0.0;
+ target: "elm.swallow.content";
+ target: "elm.content.password";
+ target: "elm.content.multi";
+ target: "elm.content.single";
+ target: "over";
+ target: "top2";
+ }
+ program {
+ name: "no_editing";
+ signal: "elm,state,over,show";
+ source: "elm";
+ script {
+ no_edit();
+ }
+ }
+ program {
+ name: "label_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "elm.text.show" 0.0;
+ target: "elm.text";
+ target: "top1";
+ target: "bottom1";
+ target: "bottom2";
+ target: "bottom3";
+ }
+ program {
+ name: "label_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "top1";
+ target: "bottom1";
+ target: "bottom2";
+ target: "bottom3";
+ }
+ program {
+ name: "entry_show";
+ signal: "elm,state,entry,show";
+ source: "elm";
+ action: STATE_SET "edit" 0.0;
+ target: "elm.swallow.content";
+ target: "elm.content.multi";
+ }
+ }
+}
+
+group { name: "elm/editfield/base/searchbar/font_color_black";
+ images {
+ image: "00_field_btn_Clear.png" COMP;
+ }
+ script {
+ public single_line = 0;
+ public password_mode = 0;
+
+ public set_multi_line() {
+ set_int(single_line, 0);
+ }
+ public set_single_line() {
+ set_int(single_line, 1);
+ }
+ public set_password() {
+ set_int(password_mode, 1);
+ }
+ public unset_password() {
+ set_int(password_mode, 0);
+ }
+ public no_edit() {
+ if(get_int(single_line) == 1) {
+ if(get_int(password_mode) == 0) {
+ set_state(PART:"elm.content.single", "no_edit", 0.0);
+ set_state(PART:"elm.content.multi", "default", 0.0);
+ set_state(PART:"elm.content.password", "default", 0.0);
+ set_state(PART:"elm.swallow.content", "no_edit", 0.0);
+ }
+ else {
+ set_state(PART:"elm.content.single", "default", 0.0);
+ set_state(PART:"elm.content.multi", "default", 0.0);
+ set_state(PART:"elm.content.password", "no_edit", 0.0);
+ set_state(PART:"elm.swallow.content", "no_edit", 0.0);
+ }
+ }
+ else if(get_int(single_line) == 0) {
+ set_state(PART:"elm.content.single", "default", 0.0);
+ set_state(PART:"elm.content.multi", "no_edit", 0.0);
+ set_state(PART:"elm.content.password", "default", 0.0);
+ }
+ set_state(PART:"over", "default", 0.0);
+ set_state(PART:"top2", "default", 0.0);
+ }
+ }
+ parts {
+ part {
+ name: "base";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_MINH_INC;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "top1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
+ }
+ }
+ part {
+ name: "top2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part {
+ name: "left1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1.relative : 0.0 0.0;
+ rel2.relative : 0.0 1.0;
+ }
+ }
+ part {
+ name: "left2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1.relative : 0.0 0.0;
+ rel2.relative : 0.0 1.0;
+ }
+ }
+ part {
+ name: "right1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1.relative : 1.0 0.0;
+ rel2.relative : 1.0 1.0;
+ }
+ }
+ part {
+ name: "right2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1.relative : 1.0 0.0;
+ rel2.relative : 1.0 1.0;
+ }
+ }
+ part {
+ name: "bottom1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
+ fixed: 1 1;
+ align: 0 1;
+ rel1.relative: 0.0 1.0;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
+ }
+ }
+ part {
+ name: "bottom2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ align: 0 1;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
+ }
+ }
+ part {
+ name: "bottom3";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ align: 0 1;
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.0;
+ min: 0 30;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "left2";
+ to_y: "top2";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "left2";
+ to_y: "top2";
+ }
+ color: EDITFIELD_TITLE_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: EDITFIELD_TITLE_SIZE_INC;
+ min: 1 1;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.guidetext";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: ENTRY_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.content.single";
+ type: TEXTBLOCK;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.content";
+ offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
+ }
+ rel2.to: "elm.swallow.content";
+ text {
+ style: "editfield_content_singleline_black_style";
+ min: 0 0;
+ max: 0 1;
+ }
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.content.multi";
+ type: TEXTBLOCK;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.content";
+ offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
+ }
+ rel2.to: "elm.swallow.content";
+ text {
+ style: "editfield_content_multiline_black_style";
+ min: 0 1;
+ }
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.content.password";
+ type: TEXTBLOCK;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ entry_mode: PASSWORD;
+ multiline: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.content";
+ offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
+ }
+ rel2.to: "elm.swallow.content";
+ text {
+ style: "editfield_content_password_black_style";
+ repch: "*";
+ min: 0 0;
+ max: 0 1;
+ }
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ min: 0 40;
+ rel1 {
+ relative : 1.0 1.0;
+ to_x: "left1";
+ to_y: "top1";
+ }
+ rel2 {
+ relative : 0.0 0.0;
+ to_x: "right1";
+ to_y: "bottom1";
+ }
+ align: 0.0 0.5;
+ }
+ description {
+ state: "no_edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "over";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ color: 0 0 0 0;
+ }
+ description {
+ state: "edit" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "eraser_image";
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
+ fixed: 1 1;
+ align: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x : "right2";
+ to_y : "bottom2";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x : "right2";
+ to_y : "bottom2";
+ }
+ image {
+ normal: "00_field_btn_Clear.png";
+ border: 4 4 4 4 ;
+ border_scale: 1;
+ }
+ }
+ description {
+ state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "eraser";
+ mouse_events: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x : "eraser_image";
+ to_y : "bottom3";
+ }
+ }
+ description {
+ state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "guidetext_show";
+ signal: "elm,state,guidetext,visible";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "guidetext_hide";
+ signal: "elm,state,guidetext,hidden";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "eraser_show";
+ signal: "elm,state,eraser,show";
+ source: "elm";
+ action: STATE_SET "elm.eraser.show" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "eraser_hide";
+ signal: "elm,state,eraser,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "multiline_set";
+ signal: "elm,state,text,multiline";
+ source: "elm";
+ script {
+ set_multi_line();
+ }
+ }
+ program {
+ name: "singleline_set";
+ signal: "elm,state,text,singleline";
+ source: "elm";
+ script {
+ set_single_line();
+ }
+ }
+ program {
+ name: "password_set";
+ signal: "elm,state,password,set";
+ source: "elm";
+ script {
+ set_password();
+ }
+ }
+ program {
+ name: "password_unset";
+ signal: "elm,state,password,unset";
+ source: "elm";
+ script {
+ unset_password();
+ }
+ }
+ program {
+ name: "editing";
+ signal: "elm,state,over,hide";
+ source: "elm";
+ action: STATE_SET "edit" 0.0;
+ target: "elm.swallow.content";
+ target: "elm.content.password";
+ target: "elm.content.multi";
+ target: "elm.content.single";
+ target: "over";
+ target: "top2";
+ }
+ program {
+ name: "no_editing";
+ signal: "elm,state,over,show";
+ source: "elm";
+ script {
+ no_edit();
+ }
+ }
+ program {
+ name: "label_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "elm.text.show" 0.0;
+ target: "elm.text";
+ target: "top1";
+ target: "bottom1";
+ target: "bottom2";
+ target: "bottom3";
+ }
+ program {
+ name: "label_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "top1";
+ target: "bottom1";
+ target: "bottom2";
+ target: "bottom3";
+ }
+ program {
+ name: "entry_show";
+ signal: "elm,state,entry,show";
+ source: "elm";
+ action: STATE_SET "edit" 0.0;
+ target: "elm.swallow.content";
+ target: "elm.content.multi";
+ }
+ }
+}
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+//#define ENTRY_BLOCK_HANDLE_SOURCE2 "elm/entry/selection/block_handle"
+//#define ENTRY_BLOCK_HANDLE_SOURCE3 "elm/entry/selection/block_handle_top"
+#define ENTRY_BLOCK_HANDLE_SOURCE2 "elm/entry/selection/block_handle_right"
+#define ENTRY_BLOCK_HANDLE_SOURCE3 "elm/entry/selection/block_handle_left"
+
+group { name: "elm/entry/base/default";
+ alias: "elm/entry/base-mixedwrap/default";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ styles {
+ style { name: "entry_textblock_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" left_margin=1 right_margin=2 wrap=mixed text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ style { name: "entry_textblock_disabled_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 left_margin=1 right_margin=2 wrap=mixed text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ }
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ //source6: "X"; // anchor over
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text {
+ style: "entry_textblock_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style";
+ min: 0 1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/entry/base-charwrap/default";
+ alias: "elm/entry/base/char_wrap";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ styles {
+ style { name: "entry_textblock_char_wrap_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ style { name: "entry_textblock_char_wrap_disabled_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=char left_margin=1 right_margin=2 text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ }
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ //source6: "X"; // anchor over
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text {
+ style: "entry_textblock_char_wrap_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_char_wrap_disabled_style";
+ min: 0 1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+group { name: "elm/entry/base-nowrap/default";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ text {
+ style: "entry_textblock_style";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style";
+ min: 0 1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/entry/base/editfield";
+ alias: "elm/entry/base-mixedwrap/editfield";
+ alias: "elm/entry/base/editfield/default";
+ alias: "elm/entry/base/editfield/lighting";
+ alias: "elm/entry/base/editfield/multiline";
+ alias: "elm/entry/base/editfield/multiline/default";
+ alias: "elm/entry/base/editfield/multiline/lighting";
+ alias: "elm/entry/base/editfield/searchbar/default";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ styles {
+ style { name: "editfield_textblock_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ style { name: "editfield_textblock_disabled_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=mixed left_margin=1 right_margin=2";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ }
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ //source6: "X"; // anchor over
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text {
+ style: "editfield_textblock_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "editfield_textblock_disabled_style";
+ min: 0 1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/entry/base-charwrap/editfield";
+ alias: "elm/entry/base/editfield/char_wrap";
+ alias: "elm/entry/base/editfield/default/char_wrap";
+ alias: "elm/entry/base/editfield/lighting/char_wrap";
+ alias: "elm/entry/base/editfield/multiline/char_wrap";
+ alias: "elm/entry/base/editfield/multiline/default/char_wrap";
+ alias: "elm/entry/base/editfield/multiline/lighting/char_wrap";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ styles {
+ style { name: "editfield_textblock_char_wrap_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ style { name: "editfield_textblock_char_wrap_disabled_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=char left_margin=1 right_margin=2";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ }
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ //source6: "X"; // anchor over
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text {
+ style: "editfield_textblock_char_wrap_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "editfield_textblock_char_wrap_disabled_style";
+ min: 0 1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/entry/base-single/editfield";
+ alias: "elm/entry/base-single/editfield/default";
+ alias: "elm/entry/base-single/editfield/lighting";
+ alias: "elm/entry/base-single/editfield/singleline";
+ alias: "elm/entry/base-single/editfield/singleline/default";
+ alias: "elm/entry/base-single/editfield/singleline/lighting";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ styles {
+ style { name: "editfield_single_textblock_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ style { name: "editfield_single_textblock_disabled_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ }
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 0;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ text {
+ style: "editfield_single_textblock_style";
+ min: 1 1;
+ max: 0 1;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "editfield_single_textblock_disabled_style";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/entry/base-single/editfield/searchbar/default";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 0;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ text {
+ style: "editfield_single_textblock_style";
+ min: 1 1;
+ max: 0 1;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "editfield_single_textblock_disabled_style";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/entry/base-single/default";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ styles {
+ style { name: "entry_single_textblock_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ style { name: "entry_single_textblock_disabled_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link " "+ color=#00000080 underline=on underline_color=#00000080";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ }
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 0;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ text {
+ style: "entry_single_textblock_style";
+ min: 1 1;
+ max: 0 0;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_single_textblock_disabled_style";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/entry/base-single-noedit/default";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PLAIN;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 0;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ text {
+ style: "entry_single_textblock_style";
+ min: 1 1;
+ max: 0 1;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_single_textblock_disabled_style";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/entry/base-noedit/default";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PLAIN;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text {
+ style: "entry_textblock_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+ group { name: "elm/entry/base-noedit-charwrap/default";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PLAIN;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text {
+ style: "entry_textblock_style_charwrap";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style_charwrap";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+ group { name: "elm/entry/base-nowrap-noedit/default";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PLAIN;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ text {
+ style: "entry_textblock_style";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+ group { name: "elm/entry/base-password/default";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PASSWORD;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 0;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ text {
+ style: "entry_single_textblock_style";
+ repch: "*";
+ min: 1 1;
+ max: 0 1;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_single_textblock_disabled_style";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+group { name: "elm/entry/base-password/popup";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ styles
+ {
+ style { name: "entry_single_textblock_popup_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" align=center wrap=mixed ellipsis=1.0 text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ style { name: "entry_single_textblock_disabled_popup_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 align=center wrap=mixed ellipsis=1.0 text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PASSWORD;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 0;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ text {
+ style: "entry_single_textblock_popup_style";
+ repch: "*";
+ min: 1 1;
+ max: 0 1;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_single_textblock_disabled_popup_style";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+ group { name: "elm/entry/cursor/default";
+ parts {
+ part { name: "clip2";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "clip";
+ rel2.to: "clip";
+ visible: 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "clip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clip2";
+ description { state: "default" 0.0;
+ rel1.offset: -10 0;
+ rel2.offset: 9 9;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "base";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ min: 2 2;
+ align: 0.5 1.0;
+ color: 0 0 0 0;
+ }
+ }
+
+ part { name: "glow";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clip2";
+ description { state: "default" 0.0;
+ min: 3 0;
+ fixed: 1 0;
+ align: 0.5 0.5;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 2;
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: 0 -2;
+ }
+ color: ENTRY_CURSOR_COLOR_INC;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program { name: "show";
+ action: STATE_SET "hidden" 0.0;
+ in: 0.6 0.0;
+ target: "glow";
+ after: "show4";
+ }
+ program { name: "show4";
+ action: STATE_SET "default" 0.0;
+ in: 0.6 0.0;
+ target: "glow";
+ after: "show";
+ }
+ program { name: "focused";
+ signal: "elm,action,focus";
+ source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "clip2";
+ after: "show4";
+ }
+ program { name: "unfocused";
+ signal: "elm,action,unfocus";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "clip2";
+ after: "stop_glow";
+ }
+ program { name: "stop_glow";
+ action: ACTION_STOP;
+ target: "show";
+ target: "show4";
+ }
+ }
+ }
+
+
+ group { name: "elm/entry/selection/default";
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ color: ENTRY_SELECTION_BG_COLOR;
+ }
+ }
+ }
+ }
+
+ group { name: "elm/entry/selection/block_handle";
+ data.item: "position" "BOTH";
+ images {
+ image: "reader_handler_up.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.5 0.25;
+ min: 50 80;
+ color: 0 0 0 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "handle";
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ min: 48 66;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ image {
+ normal: "reader_handler_up.png";
+ border: 0 0 0 0;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "focused";
+ signal: "elm,action,focus";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "handle";
+ target: "bg";
+ }
+ program { name: "unfocused";
+ signal: "elm,action,unfocus";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "handle";
+ target: "bg";
+ }
+ }
+ }
+
+ group { name: "elm/entry/selection/block_handle_top";
+ data.item: "position" "BOTH";
+ images {
+ image: "reader_handler_down.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.5 0.75;
+ min: 50 80;
+ color: 0 0 0 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "handle";
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ min: 48 66;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ image {
+ normal: "reader_handler_down.png";
+ border: 0 0 0 0;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "focused";
+ signal: "elm,action,focus";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "handle";
+ target: "bg";
+ }
+ program { name: "unfocused";
+ signal: "elm,action,unfocus";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "handle";
+ target: "bg";
+ }
+ }
+ }
+/////////////////////////////////////////////////////////////////////////
+ group { name: "elm/entry/selection/block_handle_left";
+ data.item: "position" "BOTTOM";
+ data.item: "height" "40";
+ images {
+ image: "copy&paste_Icon_left.png" COMP;
+ image: "copy&paste_Icon_left_press.png" COMP;
+ image: "copy&paste_Icon_left_top.png" COMP;
+ image: "copy&paste_Icon_left_top_press.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 1 0;
+ min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
+ color: 0 0 0 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "sens";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
+ color: 0 0 0 0;
+ rel1 { relative: -0.75 -0.25; to: "handle";}
+ rel2 { relative: 2.0 1.25; to: "handle";}
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "handle";
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 1 0;
+ min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
+ rel1 {
+ relative: 1.1 0.0;
+ offset: 0 -2;
+ to: "bg";
+ }
+ rel2 {
+ relative: 1.1 0.0;
+ offset: 0 -2;
+ to: "bg";
+ }
+ image {
+ normal: "copy&paste_Icon_left.png";
+ border: 0 0 0 0;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "top" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ align: 1 1;
+ image {
+ normal: "copy&paste_Icon_left_top.png";
+ }
+ }
+ description { state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "copy&paste_Icon_left_press.png";
+ }
+ }
+ description { state: "top_press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ align: 1 1;
+ image {
+ normal: "copy&paste_Icon_left_top_press.png";
+ }
+ }
+ }
+ }
+ script {
+ public handler_ontop;
+ public handler_pressed;
+ public handler_focused;
+ }
+ programs {
+ program { name: "focused";
+ signal: "edje,focus,in";
+ source: "edje";
+ script {
+ set_int(handler_focused, 1);
+ }
+ }
+ program { name: "unfocused";
+ signal: "edje,focus,out";
+ source: "edje";
+ script {
+ set_int(handler_focused, 0);
+ set_state(PART:"handle", "default", 0.0);
+ set_state(PART:"sens", "default", 0.0);
+ }
+ }
+ program { name: "top";
+ signal: "elm,state,top";
+ source: "elm";
+ script {
+ new pressed;
+ new focused;
+ pressed = get_int(handler_pressed);
+ focused = get_int(handler_focused);
+ set_int(handler_ontop, 1);
+ if (focused)
+ {
+ if (pressed)
+ set_state(PART:"handle", "top_press", 0.0);
+ else
+ set_state(PART:"handle", "top", 0.0);
+
+ set_state(PART:"sens", "show", 0.0);
+ }
+ else
+ {
+ set_state(PART:"handle", "default", 0.0);
+ set_state(PART:"sens", "default", 0.0);
+ }
+ }
+ }
+ program { name: "bottom";
+ signal: "elm,state,bottom";
+ source: "elm";
+ script {
+ new pressed;
+ new focused;
+ pressed = get_int(handler_pressed);
+ focused = get_int(handler_focused);
+ set_int(handler_ontop, 0);
+ if (focused)
+ {
+ if (pressed)
+ set_state(PART:"handle", "press", 0.0);
+ else
+ set_state(PART:"handle", "show", 0.0);
+
+ set_state(PART:"sens", "show", 0.0);
+ }
+ else
+ {
+ set_state(PART:"handle", "default", 0.0);
+ set_state(PART:"sens", "default", 0.0);
+ }
+ }
+ }
+ program { name: "pressed_sens";
+ signal: "mouse,down,1";
+ source: "sens";
+ script {
+ new pos;
+ pos = get_int(handler_ontop);
+ set_int(handler_pressed, 1);
+ if (pos)
+ set_state(PART:"handle", "top_press", 0.0);
+ else
+ set_state(PART:"handle", "press", 0.0);
+ }
+ }
+ program { name: "unpressed_sens";
+ signal: "mouse,up,1";
+ source: "sens";
+ script {
+ new pos;
+ pos = get_int(handler_ontop);
+ set_int(handler_pressed, 0);
+ if (pos)
+ set_state(PART:"handle", "top", 0.0);
+ else
+ set_state(PART:"handle", "show", 0.0);
+ }
+ }
+ program { name: "pressed";
+ signal: "mouse,down,1";
+ source: "handle";
+ script {
+ new pos;
+ pos = get_int(handler_ontop);
+ set_int(handler_pressed, 1);
+ if (pos)
+ set_state(PART:"handle", "top_press", 0.0);
+ else
+ set_state(PART:"handle", "press", 0.0);
+ }
+ }
+ program { name: "unpressed";
+ signal: "mouse,up,1";
+ source: "handle";
+ script {
+ new pos;
+ pos = get_int(handler_ontop);
+ set_int(handler_pressed, 0);
+ if (pos)
+ set_state(PART:"handle", "top", 0.0);
+ else
+ set_state(PART:"handle", "show", 0.0);
+ }
+ }
+ }
+ }
+
+ group { name: "elm/entry/selection/block_handle_right";
+ data.item: "position" "BOTH";
+ data.item: "height" "40";
+ images {
+ image: "copy&paste_Icon_right.png" COMP;
+ image: "copy&paste_Icon_right_press.png" COMP;
+ image: "copy&paste_Icon_right_top.png" COMP;
+ image: "copy&paste_Icon_right_top_press.png" COMP;
+ }
+ parts {
+ part { name: "sens";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
+ color: 0 0 0 0;
+ rel1 { relative: -1.0 -0.25; to: "handle";}
+ rel2 { relative: 1.75 1.25; to: "handle";}
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+
+ }
+ part { name: "handle";
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0 0;
+ min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 -2;
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 -2;
+ }
+ image {
+ normal: "copy&paste_Icon_right.png";
+ border: 0 0 0 0;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "top" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ align: 0 1;
+ image {
+ normal: "copy&paste_Icon_right_top.png";
+ }
+ }
+ description { state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "copy&paste_Icon_right_press.png";
+ }
+ }
+ description { state: "top_press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ align: 0 1;
+ image {
+ normal: "copy&paste_Icon_right_top_press.png";
+ }
+ }
+ }
+ }
+ script {
+ public handler_ontop;
+ public handler_pressed;
+ public handler_focused;
+ }
+ programs {
+ program { name: "focused";
+ signal: "edje,focus,in";
+ source: "edje";
+ script {
+ set_int(handler_focused, 1);
+ }
+ }
+ program { name: "unfocused";
+ signal: "edje,focus,out";
+ source: "edje";
+ script {
+ set_int(handler_focused, 0);
+ set_state(PART:"handle", "default", 0.0);
+ set_state(PART:"sens", "default", 0.0);
+ }
+ }
+ program { name: "top";
+ signal: "elm,state,top";
+ source: "elm";
+ script {
+ new pressed;
+ new focused;
+ pressed = get_int(handler_pressed);
+ focused = get_int(handler_focused);
+ set_int(handler_ontop, 1);
+ if (focused)
+ {
+ if (pressed)
+ set_state(PART:"handle", "top_press", 0.0);
+ else
+ set_state(PART:"handle", "top", 0.0);
+
+ set_state(PART:"sens", "show", 0.0);
+ }
+ else
+ {
+ set_state(PART:"handle", "default", 0.0);
+ set_state(PART:"sens", "default", 0.0);
+ }
+ }
+ }
+ program { name: "bottom";
+ signal: "elm,state,bottom";
+ source: "elm";
+ script {
+ new pressed;
+ new focused;
+ pressed = get_int(handler_pressed);
+ focused = get_int(handler_focused);
+ set_int(handler_ontop, 0);
+ if (focused)
+ {
+ if (pressed)
+ set_state(PART:"handle", "press", 0.0);
+ else
+ set_state(PART:"handle", "show", 0.0);
+
+ set_state(PART:"sens", "show", 0.0);
+ }
+ else
+ {
+ set_state(PART:"handle", "default", 0.0);
+ set_state(PART:"sens", "default", 0.0);
+ }
+ }
+ }
+ program { name: "pressed_sens";
+ signal: "mouse,down,1";
+ source: "sens";
+ script {
+ new pos;
+ pos = get_int(handler_ontop);
+ set_int(handler_pressed, 1);
+ if (pos)
+ set_state(PART:"handle", "top_press", 0.0);
+ else
+ set_state(PART:"handle", "press", 0.0);
+ }
+ }
+ program { name: "unpressed_sens";
+ signal: "mouse,up,1";
+ source: "sens";
+ script {
+ new pos;
+ pos = get_int(handler_ontop);
+ set_int(handler_pressed, 0);
+ if (pos)
+ set_state(PART:"handle", "top", 0.0);
+ else
+ set_state(PART:"handle", "show", 0.0);
+ }
+ }
+ program { name: "pressed";
+ signal: "mouse,down,1";
+ source: "handle";
+ script {
+ new pos;
+ pos = get_int(handler_ontop);
+ set_int(handler_pressed, 1);
+ if (pos)
+ set_state(PART:"handle", "top_press", 0.0);
+ else
+ set_state(PART:"handle", "press", 0.0);
+ }
+ }
+ program { name: "unpressed";
+ signal: "mouse,up,1";
+ source: "handle";
+ script {
+ new pos;
+ pos = get_int(handler_ontop);
+ set_int(handler_pressed, 0);
+ if (pos)
+ set_state(PART:"handle", "top", 0.0);
+ else
+ set_state(PART:"handle", "show", 0.0);
+ }
+ }
+ }
+ }
+
+
+/////////////////////////////////////////////////////////////////////////
+
+ group { name: "elm/entry/selection/block_bar";
+ images {
+ image: "reader_longtap_blue.png" COMP;
+ }
+ parts {
+ part { name: "bar_bg";
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ image {
+ normal: "reader_longtap_blue.png";
+ border: 0 0 0 0;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ }
+ }
+ }
+
+
+
+ group { name: "elm/entry/anchor/default";
+ parts {
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 128 0 0 64;
+ }
+ }
+ }
+ }
+
+ group { name: "elm/entry/preedit/default";
+ parts {
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 128 128 128 255;
+ }
+ }
+ }
+ }
+
+
+#define MAGNIFIER_SCALE 1.2
+
+ group { name: "elm/entry/magnifier/fill-width";
+ data.item: "height" MAGNIFIER_HEIGHT_FILL;
+ data.item: "scale" MAGNIFIER_SCALE;
+ images {
+ image: "magnifier_noarrow.png" COMP;
+ image: "magnifier_noarrow_line.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ rel1 { offset: -20 -10; }
+ rel2 { offset: 22 15; }
+ image {
+ normal: "magnifier_noarrow.png";
+ border: 25 25 35 25;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "swallow";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1 {
+ to: "bg";
+ offset: 18 18;
+ }
+ rel2 {
+ to: "bg";
+ offset: -20 -20;
+ }
+ }
+ }
+ part { name: "outline";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.0;
+ rel1 { to: "bg"; offset: 0 0; }
+ rel2 { to: "bg"; offset: -1 -1; }
+ image {
+ normal: "magnifier_noarrow_line.png";
+ border: 25 25 35 25;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ }
+ }
+ }
+
+
+ group { name: "elm/entry/magnifier/fixed-size";
+ data.item: "height" MAGNIFIER_HEIGHT_FIXED;
+ data.item: "scale" MAGNIFIER_SCALE;
+ images {
+ image: "magnifier.png" COMP;
+ image: "magnifier_line.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: MAGNIFIER_WIDTH_FIXED MAGNIFIER_HEIGHT_FIXED;
+ align: 0.5 0.0;
+ rel1.offset: 0 8;
+ image {
+ normal: "magnifier.png";
+ border: 12 14 14 20;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "swallow";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 {
+ to: "bg";
+ offset: 12 14;
+ }
+ rel2 {
+ to: "bg";
+ offset: -14 -20;
+ }
+ }
+ }
+ part { name: "outline";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ align: 0.0 0.0;
+ rel1 { to: "bg"; offset: 0 0; }
+ rel2 { to: "bg"; offset: -1 -1; }
+ image {
+ normal: "magnifier_line.png";
+ border: 12 14 14 20;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ }
+ }
+ }
+
+ group { name: "elm/entry/matchlist/default";
+ data.item: "max_height" "230";
+ parts {
+ part { name: "base";
+ type: RECT;
+ scale : 1;
+ mouse_events: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 20;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 0 20;
+ }
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1 {
+ to: "base";
+ }
+ rel2 {
+ to: "base";
+ }
+ }
+ }
+ }
+ }
+
+/* Entry's bubble style */
+
+styles {
+ style {
+ name: "entry_bubble_date_area_textblock_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_BUBBLE_DATE_AREA_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" left_margin=2 right_margin=2 wrap=mixed text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ style {
+ name: "entry_bubble_sent_textblock_style";
+ base: "font=Tizen:style=Roman style="ENTRY_BUBBLE_SENT_TEXT_SHADOW_STYLE" shadow_color="ENTRY_BUBBLE_SENT_TEXT_SHADOW_COLOR" font_size="ENTRY_BUBBLE_TEXT_SIZE" color="ENTRY_BUBBLE_SENT_TEXT_COLOR" left_margin=1 right_margin=2 wrap=mixed text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ }
+ style {
+ name: "entry_bubble_receive_textblock_style";
+ base: "font=Tizen:style=Roman style="ENTRY_BUBBLE_RECEV_TEXT_SHADOW_STYLE" shadow_color="ENTRY_BUBBLE_RECEV_TEXT_SHADOW_COLOR" font_size="ENTRY_BUBBLE_TEXT_SIZE" color="ENTRY_BUBBLE_RECEV_TEXT_COLOR" left_margin=1 right_margin=2 wrap=mixed text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ }
+}
+
+ group { name: "elm/entry/base/readmessage";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part {
+ name: "elm.rect.left.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_EX_PAD 0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ part {
+ name: "elm.rect.right.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_IX_PAD 0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 1.0 0.0; to: "elm.text"; }
+ rel2.to: "elm.text";
+ }
+ }
+ part {
+ name: "elm.rect.top.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ENTRY_BUBBLE_Y_PAD;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part {
+ name: "elm.rect.bottom.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ENTRY_BUBBLE_Y_PAD;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ part {
+ name: "elm.image.bg";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel2.to_x: "elm.rect.right.pad";
+ image {
+ normal: "00_MessageBubble_BG_receive.png";
+ border: 1 20 13 20;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+// source6: "X"; // anchor over
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
+ rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
+ text {
+ style: "entry_textblock_style";
+ min: 0 1;
+ max: 1 0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+ group { name: "elm/entry/base-noedit/readmessage";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part {
+ name: "elm.rect.left.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_EX_PAD 0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel2.relative: 0.0 1.0;
+ }
+ description {
+ state: "callerid_on" 0.0;
+ inherit: "default" 0.0;
+ min: ENTRY_BUBBLE_EX_CALLERID_PAD 0;
+ }
+ }
+ part {
+ name: "elm.rect.right.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_IX_PAD 0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 1.0 0.0; to: "elm.text"; }
+ rel2.to: "elm.text";
+ }
+ }
+ part {
+ name: "elm.rect.top.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ENTRY_BUBBLE_Y_PAD;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part {
+ name: "elm.rect.topleft.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
+ max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.rect.bottom.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ part {
+ name: "elm.rect.bottomleft.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_BOTTOMRIGHT_PAD 2;
+ max: ENTRY_BUBBLE_BOTTOMRIGHT_PAD 2;
+ align: 0.0 1.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.rect.groupchat.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_GROUPCHART_PAD;
+ max: ENTRY_BUBBLE_GROUPCHART_PAD;
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ description {
+ state: "callerid_on" 0.0;
+ inherit: "default" 0.0;
+ min: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
+ max: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
+ }
+ }
+ part {
+ name: "elm.rect.groupchat.text.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 120 14;
+ max: 120 14;
+ align: 0.0 0.0;
+ visible: 0;
+ rel1 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
+ }
+ }
+ part { name: "elm.text.groupchat";
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ text {
+ font: "Tizen:style=Roman";
+ size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC;
+ min: 1 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ visible: 1;
+ color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC;
+ rel1 { relative: 1.0 0.0; to: "elm.rect.groupchat.pad"; }
+ rel2.to_y: "elm.rect.groupchat.pad";
+ }
+ }
+ part {
+ name: "elm.image.bg";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel2.to_x: "elm.rect.right.pad";
+ image {
+ normal: "00_MessageBubble_BG_receive.png";
+ border: ENTRY_BUBBLE_RECEV_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description {
+ state: "callerid_on" 0.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 1.0 0.0; to_x: "elm.rect.bottomleft.pad"; }
+ }
+ description {
+ state: "callerid_groupchat" 0.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "elm.rect.bottomleft.pad"; to_y:"elm.rect.groupchat.pad"; }
+ }
+ description {
+ state: "groupchat_on" 0.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 0.0 1.0; to_y:"elm.rect.groupchat.pad"; }
+ }
+ }
+ // it's temporary blocked for prepare entry's signal feature
+ /*
+ part {
+ name: "elm.text.subject";
+ type: TEXTBLOCK;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ text {
+ style: "entry_textblock_style";
+ min: 0 1;
+ }
+ rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
+ rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
+ }
+ }
+ */
+
+ part {
+ name: "elm.rect.subject.line";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 1;
+ align: 0.0 0.0;
+ color: 0 0 0 255;
+ rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
+ rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
+ }
+ }
+ part {
+ name: "elm.swallow.callerid";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
+ max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ visible: 0;
+ rel1 { relative: ENTRY_BUBBLE_RECEV_CALLERID_REL_INC; to_x: "elm.rect.topleft.pad"; to_y: "elm.rect.topleft.pad"; }
+ rel2 { relative: ENTRY_BUBBLE_RECEV_CALLERID_REL_INC; to_x: "elm.rect.topleft.pad"; to_y: "elm.rect.bottom.pad"; }
+ }
+ description { state: "callerid_on" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.rect.callerid.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
+ max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ visible: 0;
+ rel1 { relative: 1.0 1.0; to: "elm.swallow.callerid"; to_y: "elm.rect.top.pad"; }
+ rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PLAIN;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source5: "elm/entry/anchor/default"; // anchor under
+ description {
+ state: "default" 0.0;
+ fixed: 1 0;
+ min: 200 0;
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.subject.line"; }
+ rel2 { relative: 1.0 1.0; to_y: "elm.rect.subject.line"; }
+ text {
+ style: "entry_bubble_receive_textblock_style";
+ min: 0 1;
+ max: 1 0;
+ }
+ }
+ /* callerid only */
+ description { state: "callerid_on" 0.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 1.0 1.0; to_x: ENTRY_BUBBLE_READ_TEXT_CALLID_REL1_X_INC; to_y: "elm.rect.subject.line"; }
+ rel2 { relative: 1.0 1.0; to_y: "elm.rect.subject.line"; }
+ }
+ /* callerid and groupchat */
+ description { state: "callerid_groupchat" 0.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 1.0 1.0; to_x: ENTRY_BUBBLE_READ_TEXT_CALLID_REL1_X_INC; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
+ rel2 { relative: 1.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
+ }
+ /* groupchat only */
+ description { state: "groupchat_on" 0.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
+ rel2 { relative: 1.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style";
+ }
+ }
+ }
+ part {
+ name: "elm.rect.status.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
+ max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
+ fixed: 1 1;
+ align: 0.0 1.0;
+ visible: 0;
+ color: 255 0 0 255;
+ rel1 { relative: ENTRY_BUBBLE_READ_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
+ rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
+ }
+ }
+ part {
+ name: "elm.rect.time.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
+ max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ visible: 0;
+ color: 0 255 0 255;
+ rel1.to: "elm.rect.status.pad";
+ rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
+ }
+ }
+ part { name: "elm.text.status";
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 1.0;
+ fixed: 1 1;
+ text {
+ font: "Tizen:style=Roman";
+ size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
+ min: 1 0;
+ text_class: "tizen";
+ }
+ visible: 1;
+ color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC;
+ rel1 { relative: ENTRY_BUBBLE_READ_STATUS_REL_INC; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
+ rel2 { relative: ENTRY_BUBBLE_READ_STATUS_REL_INC; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.time";
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ text {
+ font: "Tizen:style=Roman";
+ size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
+ min: 1 0;
+ text_class: "tizen";
+ }
+ visible: 1;
+ color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC;
+ rel1 { relative: ENTRY_BUBBLE_READ_TIME_REL_INC; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
+ rel2 { relative: ENTRY_BUBBLE_READ_TIME_REL_INC; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.swallow.icon1";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+ max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+ fixed: 1 1;
+ align: 0.0 1.0;
+ visible: 0;
+ rel1 { relative: 1.5 0.3; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
+ rel2 { relative: 1.0 0.3; to_y: "elm.rect.bottom.pad"; }
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
+ rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "go_callerid_on";
+ signal: "elm,state,callerid,enabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "default")) {
+ set_state(PART:"elm.image.bg", "callerid_on", 0.0);
+ set_state(PART:"elm.text", "callerid_on", 0.0);
+ }
+ else if (!strcmp(st, "groupchat_on")) {
+ set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
+ set_state(PART:"elm.text", "callerid_groupchat", 0.0);
+ }
+
+ set_state(PART:"elm.swallow.callerid", "callerid_on", 0.0);
+ set_state(PART:"elm.rect.left.pad", "callerid_on", 0.0);
+ set_state(PART:"elm.rect.groupchat.pad", "callerid_on", 0.0);
+ }
+ }
+ program { name: "go_callerid_off";
+ signal: "elm,state,callerid,disabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "callerid_groupchat")) {
+ set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
+ set_state(PART:"elm.text", "groupchat_on", 0.0);
+ }
+ else {
+ set_state(PART:"elm.image.bg", "default", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+
+ set_state(PART:"elm.swallow.callerid", "default", 0.0);
+ set_state(PART:"elm.rect.groupchat.pad", "default", 0.0);
+ }
+ }
+/* groupchat - since white-hd theme */
+#if ENTRY_BUBBLE_GROUPCHART_ENABLE_INC
+ program { name: "go_groupchat_on";
+ signal: "elm,state,groupchat,enabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "default")) {
+ set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
+ set_state(PART:"elm.text", "groupchat_on", 0.0);
+ }
+ else if (!strcmp(st, "callerid_on")) {
+ set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
+ set_state(PART:"elm.text", "callerid_groupchat", 0.0);
+ }
+ }
+ }
+#endif
+ program { name: "go_textstatus_on";
+ signal: "elm,state,text,status,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.time";
+ target: "elm.text.status";
+ after: "go_contentstatus_off";
+ }
+ program { name: "go_textstatus_off";
+ signal: "elm,state,text,status,disbled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text.time";
+ target: "elm.text.status";
+ }
+ program { name: "go_contentstatus_on";
+ signal: "elm,state,content,status,enabled";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "elm.swallow.icon1";
+ after: "go_textstatus_off";
+ }
+ program { name: "go_contentstatus_off";
+ signal: "elm,state,content,status,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon1";
+ }
+ }
+ }
+
+ group { name: "elm/entry/base-noedit-charwrap/readmessage";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part {
+ name: "elm.rect.left.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_EX_PAD 0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ part {
+ name: "elm.rect.right.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_IX_PAD 0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 1.0 0.0; to_x: "elm.text"; }
+ rel2.to_x: "elm.text";
+ }
+ }
+ part {
+ name: "elm.rect.top.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ENTRY_BUBBLE_Y_PAD;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part {
+ name: "elm.rect.bottom.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ENTRY_BUBBLE_Y_PAD;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ part {
+ name: "elm.image.bg";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel2.to_x: "elm.rect.right.pad";
+ image {
+ normal: "00_MessageBubble_BG_receive.png";
+ border: 1 20 13 20;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PLAIN;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
+ rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
+ text {
+ style: "entry_textblock_style_charwrap";
+ min: 0 1;
+ max: 1 0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style_charwrap";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+ group { name: "elm/entry/base/sentmessage";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part {
+ name: "elm.rect.right.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_EX_PAD 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 1.0 0.0;
+ }
+ }
+ part {
+ name: "elm.rect.left.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_IX_PAD 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 0.0; to: "elm.text"; }
+ rel2 { relative: 0.0 1.0; to: "elm.text"; }
+ }
+ }
+ part {
+ name: "elm.rect.top.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ENTRY_BUBBLE_Y_PAD;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part {
+ name: "elm.rect.bottom.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ENTRY_BUBBLE_Y_PAD;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ part {
+ name: "elm.image.bg";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to_x: "elm.rect.left.pad";
+ image {
+ normal: "00_MessageBubble_BG_send.png";
+ border: 20 1 13 20;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+// source6: "X"; // anchor over
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
+ rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
+ text {
+ style: "entry_textblock_style";
+ min: 0 1;
+ max: 1 0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+ group { name: "elm/entry/base-noedit/sentmessage";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part {
+ name: "elm.rect.right.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_EX_PAD 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 1.0 0.0;
+ }
+ description {
+ state: "callerid_on" 0.0;
+ inherit: "default" 0.0;
+ min: ENTRY_BUBBLE_EX_CALLERID_PAD 0;
+ }
+ }
+ part {
+ name: "elm.rect.left.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_IX_PAD 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 0.0; to: "elm.text"; }
+ rel2 { relative: 0.0 1.0; to: "elm.text"; }
+ }
+ }
+ part {
+ name: "elm.rect.topright.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
+ max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
+ align: 1.0 0.0;
+ visible: 0;
+ rel1.relative: 1.0 0.0;
+ }
+ }
+ part {
+ name: "elm.rect.top.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ENTRY_BUBBLE_Y_PAD;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part {
+ name: "elm.rect.bottom.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ part {
+ name: "elm.rect.bottomright.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_BOTTOMRIGHT_PAD 2;
+ max: ENTRY_BUBBLE_BOTTOMRIGHT_PAD 2;
+ align: 1.0 1.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.rect.groupchat.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_GROUPCHART_PAD;
+ max: ENTRY_BUBBLE_GROUPCHART_PAD;
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ description {
+ state: "callerid_on" 0.0;
+ inherit: "default" 0.0;
+ min: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
+ max: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
+ }
+ }
+ part {
+ name: "elm.rect.groupchat.text.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 120 14;
+ max: 120 14;
+ align: 0.0 0.0;
+ visible: 0;
+ rel1 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
+ }
+ }
+ part { name: "elm.text.groupchat";
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ fixed: 1 1;
+ text {
+ font: "Tizen:style=Roman";
+ size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC;
+ min: 1 0;
+ align: 1.0 0.5;
+ text_class: "tizen";
+ }
+ visible: 1;
+ color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC;
+ rel2 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
+ }
+ }
+ part {
+ name: "elm.image.bg";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to_x: "elm.rect.left.pad";
+ image {
+ normal: "00_MessageBubble_BG_send.png";
+ border: ENTRY_BUBBLE_SENT_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description {
+ state: "callerid_on" 0.0;
+ inherit: "default" 0.0;
+ rel2 { relative: 0.0 1.0; to: "elm.rect.bottomright.pad"; }
+ }
+ description {
+ state: "callerid_groupchat" 0.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 0.0 1.0; to_x:"elm.rect.left.pad"; to_y:"elm.rect.groupchat.pad"; }
+ rel2 { relative: 0.0 1.0; to: "elm.rect.bottomright.pad"; }
+ }
+ description {
+ state: "groupchat_on" 0.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 0.0 1.0; to_x:"elm.rect.left.pad"; to_y:"elm.rect.groupchat.pad"; }
+ }
+ }
+ // it's temporary blocked for prepare entry's signal feature
+ /*
+ part {
+ name: "elm.text.subject";
+ type: TEXTBLOCK;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ text {
+ style: "entry_textblock_style";
+ min: 0 1;
+ }
+ rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
+ rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
+ }
+ }
+ */
+
+ part {
+ name: "elm.rect.subject.line";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 1;
+ align: 0.0 0.0;
+ color: 0 0 0 255;
+ rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
+ rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
+ }
+ }
+ part {
+ name: "elm.swallow.callerid";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
+ max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
+ align: 1.0 0.0;
+ visible: 0;
+ rel1 { relative: ENTRY_BUBBLE_CALLERID_RELATIVE_INC; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.topright.pad"; }
+ rel2 { relative: ENTRY_BUBBLE_CALLERID_RELATIVE_INC; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.bottom.pad"; }
+ }
+ description { state: "callerid_on" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.rect.callerid.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
+ max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
+ align: 1.0 0.0;
+ visible: 0;
+ rel1 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.topright.pad"; }
+ rel2 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.bottom.pad"; }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PLAIN;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source5: "elm/entry/anchor/default"; // anchor under
+ description {
+ state: "default" 0.0;
+ fixed: 1 0;
+ min: 200 0;
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line"; }
+ rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.subject.line"; }
+ text {
+ style: "entry_bubble_sent_textblock_style";
+ min: 0 1;
+ max: 1 0;
+ }
+ }
+ /* callerid only */
+ description { state: "callerid_on" 0.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line";}
+ rel2 { relative: 0.0 1.0; to_x: ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC; to_y: "elm.rect.subject.line"; }
+ }
+ /* callerid and groupchat */
+ description { state: "callerid_groupchat" 0.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 0.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
+ rel2 { relative: 0.0 1.0; to_x: ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
+ }
+ /* groupchat only */
+ description { state: "groupchat_on" 0.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 0.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
+ rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style";
+ }
+ }
+ }
+ part {
+ name: "elm.rect.status.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ visible: 0;
+ color: 255 0 0 255;
+ rel1 { relative: ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
+ rel2 { relative: ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
+ }
+ }
+ part {
+ name: "elm.rect.time.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
+ max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ visible: 0;
+ color: 0 255 0 255;
+ rel1.to: "elm.rect.status.pad";
+ rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.bottom.pad"; }
+ }
+ }
+ part { name: "elm.text.status";
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ fixed: 1 1;
+ text {
+ font: "Tizen:style=Roman";
+ size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
+ min: 1 0;
+ text_class: "tizen";
+ }
+ visible: 1;
+ color: ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC;
+ rel1 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
+ rel2 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.time";
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ fixed: 1 1;
+ text {
+ font: "Tizen:style=Roman";
+ size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
+ min: 1 0;
+ text_class: "tizen";
+ }
+ visible: 1;
+ color: ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC;
+ rel1 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
+ rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.swallow.icon1";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+ max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ visible: 0;
+ rel1 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
+ rel2 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
+ rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "go_callerid_on";
+ signal: "elm,state,callerid,enabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "default")) {
+ set_state(PART:"elm.image.bg", "callerid_on", 0.0);
+ set_state(PART:"elm.text", "callerid_on", 0.0);
+ }
+ else if (!strcmp(st, "groupchat_on")) {
+ set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
+ set_state(PART:"elm.text", "callerid_groupchat", 0.0);
+ }
+
+ set_state(PART:"elm.swallow.callerid", "callerid_on", 0.0);
+ set_state(PART:"elm.rect.right.pad", "callerid_on", 0.0);
+ set_state(PART:"elm.rect.groupchat.pad", "callerid_on", 0.0);
+ }
+ }
+ program { name: "go_callerid_off";
+ signal: "elm,state,callerid,disabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "callerid_groupchat")) {
+ set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
+ set_state(PART:"elm.text", "groupchat_on", 0.0);
+ }
+ else {
+ set_state(PART:"elm.image.bg", "default", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+
+ set_state(PART:"elm.swallow.callerid", "default", 0.0);
+ set_state(PART:"elm.rect.groupchat.pad", "default", 0.0);
+ }
+ }
+/* groupchat - since white-hd theme */
+#if ENTRY_BUBBLE_GROUPCHART_ENABLE_INC
+ program { name: "go_groupchat_on";
+ signal: "elm,state,groupchat,enabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "default")) {
+ set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
+ set_state(PART:"elm.text", "groupchat_on", 0.0);
+ }
+ else if (!strcmp(st, "callerid_on")) {
+ set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
+ set_state(PART:"elm.text", "callerid_groupchat", 0.0);
+ }
+ }
+ }
+#endif
+ program { name: "go_groupchat_off";
+ signal: "elm,state,groupchat,disabled";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "callerid_groupchat")) {
+ set_state(PART:"elm.image.bg", "callerid_on", 0.0);
+ set_state(PART:"elm.text", "callerid_on", 0.0);
+ }
+ else {
+ set_state(PART:"elm.image.bg", "default", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ }
+ program { name: "go_textstatus_on";
+ signal: "elm,state,text,status,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.time";
+ target: "elm.text.status";
+ after: "go_contentstatus_off";
+ }
+ program { name: "go_textstatus_off";
+ signal: "elm,state,text,status,disbled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text.time";
+ target: "elm.text.status";
+ }
+ program { name: "go_contentstatus_on";
+ signal: "elm,state,content,status,enabled";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "elm.swallow.icon1";
+ after: "go_textstatus_off";
+ }
+ program { name: "go_contentstatus_off";
+ signal: "elm,state,content,status,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon1";
+ }
+ }
+ }
+
+ group { name: "elm/entry/base-noedit-charwrap/sentmessage";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part {
+ name: "elm.rect.right.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_EX_PAD 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 1.0 0.0;
+ }
+ }
+ part {
+ name: "elm.rect.left.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: ENTRY_BUBBLE_IX_PAD 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 0.0; to: "elm.text"; }
+ rel2 { relative: 0.0 1.0; to: "elm.text"; }
+ }
+ }
+ part {
+ name: "elm.rect.top.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ENTRY_BUBBLE_Y_PAD;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part {
+ name: "elm.rect.bottom.pad";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 ENTRY_BUBBLE_Y_PAD;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ part {
+ name: "elm.image.bg";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to_x: "elm.rect.left.pad";
+ image {
+ normal: "00_MessageBubble_BG_send.png";
+ border: 20 1 13 20;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PLAIN;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
+ rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
+ text {
+ style: "entry_textblock_style_charwrap";
+ min: 0 1;
+ max: 1 0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style_charwrap";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+group { name: "elm/entry/base/font_color_black";
+ alias: "elm/entry/base-mixedwrap/font_color_black";
+ alias: "elm/entry/base/font_color_black/default";
+ alias: "elm/entry/base/font_color_black/lighting";
+ alias: "elm/entry/base/font_color_black/multiline";
+ alias: "elm/entry/base/font_color_black/multiline/default";
+ alias: "elm/entry/base/font_color_black/multiline/lighting";
+ alias: "elm/entry/base/editfield/font_color_black";
+
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+
+ styles {
+ style { name: "font_color_black_textblock_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=mixed left_margin=1 right_margin=2 text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color=#000000FF";
+ tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
+ }
+ style { name: "font_color_black_textblock_disabled_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=mixed left_margin=1 right_margin=2 text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color=#000000FF";
+ tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
+ }
+ }
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ //source6: "X"; // anchor over
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text {
+ style: "font_color_black_textblock_style";
+ min: 0 1;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "font_color_black_textblock_disabled_style";
+ min: 0 1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/entry/base-noedit/font_color_black";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PLAIN;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ //source6: "X"; // anchor over
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text {
+ style: "font_color_black_textblock_style";
+ min: 0 1;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "font_color_black_textblock_disabled_style";
+ min: 0 1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/entry/base-charwrap/font_color_black";
+ alias: "elm/entry/base/font_color_black/char_wrap";
+ alias: "elm/entry/base/font_color_black/default/char_wrap";
+ alias: "elm/entry/base/font_color_black/lighting/char_wrap";
+ alias: "elm/entry/base/font_color_black/multiline/char_wrap";
+ alias: "elm/entry/base/font_color_black/multiline/default/char_wrap";
+ alias: "elm/entry/base/font_color_black/multiline/lighting/char_wrap";
+ alias: "elm/entry/base-charwrap/editfield/font_color_black";
+
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+
+ styles {
+ style { name: "font_color_black_textblock_char_wrap_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=char left_margin=1 right_margin=2 text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color=#000000FF";
+ tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
+ }
+ style { name: "font_color_black_textblock_char_wrap_disabled_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=char left_margin=1 right_margin=2 text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color=#000000FF";
+ tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
+ }
+ }
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ //source6: "X"; // anchor over
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text {
+ style: "font_color_black_textblock_char_wrap_style";
+ min: 0 1;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "font_color_black_textblock_char_wrap_disabled_style";
+ min: 0 1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/entry/base-single/font_color_black";
+ alias: "elm/entry/base-single/font_color_black/default";
+ alias: "elm/entry/base-single/font_color_black/lighting";
+ alias: "elm/entry/base-single/font_color_black/singleline";
+ alias: "elm/entry/base-single/font_color_black/singleline/default";
+ alias: "elm/entry/base-single/font_color_black/singleline/lighting";
+ alias: "elm/entry/base-single/editfield/font_color_black";
+ alias: "elm/entry/base-single/editfield/searchbar/font_color_black";
+
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+
+ styles {
+ style { name: "font_color_black_single_textblock_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=none left_margin=1 right_margin=3 text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color=#000000FF";
+ tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
+ }
+ style { name: "font_color_black_single_textblock_disabled_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color=#000000FF";
+ tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
+ }
+ }
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 0;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ text {
+ style: "font_color_black_single_textblock_style";
+ min: 1 1;
+ max: 0 1;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "font_color_black_single_textblock_disabled_style";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/entry/base-single-noedit/font_color_black";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PLAIN;
+ select_mode: BLOCK_HANDLE;
+ //cursor_mode: BEFORE;
+ multiline: 0;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ text {
+ style: "font_color_black_single_textblock_style";
+ min: 1 1;
+ max: 0 1;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "font_color_black_single_textblock_disabled_style";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+group { name: "elm/entry/base-password/font_color_black";
+ alias: "elm/entry/base-password/editfield/font_color_black";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PASSWORD;
+ select_mode: BLOCK_HANDLE;
+ multiline: 0;
+ source: "elm/entry/selection/default"; // selection under
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ text {
+ style: "font_color_black_single_textblock_style";
+ repch: "*";
+ min: 1 1;
+ max: 0 1;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "font_color_black_single_textblock_disabled_style";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/scroller/entry/default";
+ alias : "elm/scroller/entry/editfield";
+ alias : "elm/scroller/entry/editfield/searchbar/default";
+ data {
+ item: "focus_highlight" "on";
+ }
+ script {
+ public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
+ public timer0(val) {
+ new v;
+ v = get_int(sbvis_v);
+ if (v) {
+ v = get_int(sbalways_v);
+ if (!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ v = get_int(sbvis_h);
+ if (v) {
+ v = get_int(sbalways_h);
+ if (!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ set_int(sbvis_timer, 0);
+ return 0;
+ }
+ }
+ images {
+ image: "bt_sm_base2.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ }
+ part { name: "contentclipper";
+ type: RECT;
+ mouse_events: 0;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.icon";
+ rel1.relative: 1.0 0.0;
+ rel2.to: "elm.swallow.end";
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ to: "bg";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "bg";
+ relative: 0.0 1.0;
+ }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ fixed: 1 1;
+ align: 0.0 1.0;
+ rel1 {
+ to: "bg";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "bg";
+ relative: 0.0 1.0;
+ }
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.end";
+ type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ to: "bg";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "bg";
+ relative: 1.0 1.0;
+ }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ rel1 {
+ to: "bg";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "bg";
+ relative: 1.0 1.0;
+ }
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.content";
+ clip_to: "contentclipper";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.icon";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.end";
+ relative: 0.0 1.0;
+ }
+ }
+ }
+ part { name: "sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_vbar_clip";
+ clip_to: "sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_vbar";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ min: 10 17;
+ align: 1.0 0.0;
+ rel1 {
+ relative: 0.0 0.0;
+ to_y: "elm.swallow.content";
+ to_x: "elm.swallow.end";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_y: "sb_hbar";
+ to_x: "elm.swallow.end";
+ }
+ }
+ }
+ part { name: "elm.dragable.vbar";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "sb_vbar";
+ }
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: 10 17;
+ max: 10 99999;
+ rel1 {
+ relative: 0.5 0.5;
+ to: "sb_vbar";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ to: "sb_vbar";
+ }
+ image {
+ normal: "bt_sm_base2.png";
+ border: 6 6 6 6;
+ middle: SOLID;
+ }
+ }
+ }
+ part { name: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_hbar_clip";
+ clip_to: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_hbar";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ min: 17 10;
+ align: 0.0 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.swallow.content";
+ to_y: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "sb_vbar";
+ to_y: "elm.swallow.content";
+ }
+ }
+ }
+ part { name: "elm.dragable.hbar";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "sb_hbar";
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 17 10;
+ max: 99999 10;
+ rel1 {
+ relative: 0.5 0.5;
+ to: "sb_hbar";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ to: "sb_hbar";
+ }
+ image {
+ normal: "bt_sm_base2.png";
+ border: 4 4 4 4;
+ middle: SOLID;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "load";
+ signal: "load";
+ source: "";
+ script {
+ set_state(PART:"sb_hbar_clip", "hidden", 0.0);
+ set_state(PART:"sb_vbar_clip", "hidden", 0.0);
+ set_int(sbvis_h, 0);
+ set_int(sbvis_v, 0);
+ set_int(sbalways_v, 0);
+ set_int(sbalways_h, 0);
+ set_int(sbvis_timer, 0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,action,show,icon";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "icon_hide";
+ signal: "elm,action,hide,icon";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "end_show";
+ signal: "elm,action,show,end";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "end_hide";
+ signal: "elm,action,hide,end";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "vbar_show";
+ signal: "elm,action,show,vbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program { name: "vbar_hide";
+ signal: "elm,action,hide,vbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program { name: "vbar_show_always";
+ signal: "elm,action,show_always,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ set_int(sbalways_v, 1);
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ }
+ }
+ program { name: "vbar_show_notalways";
+ signal: "elm,action,show_notalways,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_v);
+ if (v) {
+ set_int(sbalways_v, 0);
+ v = get_int(sbvis_v);
+ if (!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ }
+ }
+ program { name: "sb_vbar_show";
+ signal: "do-show-vbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.5;
+ target: "sb_vbar_clip";
+ }
+ program { name: "sb_vbar_hide";
+ signal: "do-hide-vbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 0.5;
+ target: "sb_vbar_clip";
+ }
+
+ program { name: "hbar_show";
+ signal: "elm,action,show,hbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program { name: "hbar_hide";
+ signal: "elm,action,hide,hbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program { name: "hbar_show_always";
+ signal: "elm,action,show_always,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ set_int(sbalways_h, 1);
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ }
+ }
+ program { name: "hbar_show_notalways";
+ signal: "elm,action,show_notalways,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_h);
+ if (v) {
+ set_int(sbalways_h, 0);
+ v = get_int(sbvis_h);
+ if (!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ }
+ }
+ program { name: "sb_hbar_show";
+ signal: "do-show-hbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.5;
+ target: "sb_hbar_clip";
+ }
+ program { name: "sb_hbar_hide";
+ signal: "do-hide-hbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 0.5;
+ target: "sb_hbar_clip";
+ }
+
+ program { name: "scroll";
+ signal: "elm,action,scroll";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ v = get_int(sbvis_timer);
+ if (v > 0) cancel_timer(v);
+ v = timer(1.0, "timer0", 0);
+ set_int(sbvis_timer, v);
+ }
+ }
+ }
+ }
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+\r
+\r
+ styles {\r
+ style { name: "gengrid_textblock_style";\r
+ base: "font=Tizen:style=Bold font_size="GENGRID_FONT_STYLE_18_INC" color="GENGRID_PART_TEXTBLOCK_STYLE_COLOR_INC" align=center wrap=mixed ellipsis=1.0 text_class=tizen";\r
+ tag: "br" "\n";\r
+ tag: "ps" "ps";\r
+ tag: "tab" "\t";\r
+ tag: "b" "+ font=Tizen:style=Bold";\r
+ }\r
+ }\r
+\r
+ group { name: "elm/gengrid/item/default_grid/default";\r
+ data.item: "contents" "elm.swallow.icon elm.swallow.end";\r
+ images {\r
+ image : "00_thumbs_line_bg.png" COMP;\r
+ image : "00_thumbs_bg_focus.png" COMP;\r
+ image : "00_thumbs_loading_bg.png" COMP;\r
+ }\r
+ parts {\r
+ part { name: "bg";\r
+ type: RECT;\r
+ description { state: "default" 0.0;\r
+ color: GENGRID_PART_BACKGROUND_COLOR_INC;\r
+ }\r
+ }\r
+ part { name: "left_top_padding";\r
+ type: RECT;\r
+ scale : 1;\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_DEFAULT_LEFT_TOP_PADDING_INC;\r
+ align: 0.0 0.0;\r
+ visible: 0;\r
+ fixed: 1 1;\r
+ rel1.to: "bg";\r
+ rel2 {\r
+ relative: 0.0 0.0;\r
+ to: "bg";\r
+ }\r
+ }\r
+ }\r
+ part { name: "right_bottom_padding";\r
+ type: RECT;\r
+ scale: 1;\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_DEFAULT_RIGHT_BOTTOM_PADDING_INC;\r
+ align: 1.0 1.0;\r
+ visible: 0;\r
+ fixed: 1 1;\r
+ rel1 {\r
+ relative: 1.0 1.0;\r
+ to: "bg";\r
+ }\r
+ rel2.to: "bg";\r
+ }\r
+ }\r
+ part { name: "item_bg";\r
+ type: IMAGE;\r
+ description { state: "default" 0.0;\r
+ rel1 {\r
+ relative: 1.0 1.0;\r
+ to: "left_top_padding";\r
+ }\r
+ rel2 {\r
+ relative: 0.0 0.0;\r
+ to: "right_bottom_padding";\r
+ }\r
+ image.normal: "00_thumbs_line_bg.png";\r
+ image.border: 1 1 1 1;\r
+ }\r
+ }\r
+ part { name: "item_bg_left_top_padding";\r
+ type: RECT;\r
+ scale : 1;\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC;\r
+ align: 0.0 0.0;\r
+ visible: 0;\r
+ fixed: 1 1;\r
+ rel1.to: "item_bg";\r
+ rel2 {\r
+ relative: 0.0 0.0;\r
+ to: "item_bg";\r
+ }\r
+ }\r
+ }\r
+ part { name: "item_bg_right_bottom_padding";\r
+ type: RECT;\r
+ scale : 1;\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_DEFAULT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC;\r
+ align: 1.0 1.0;\r
+ visible: 0;\r
+ fixed: 1 1;\r
+ rel1 {\r
+ relative: 1.0 1.0;\r
+ to: "item_bg";\r
+ }\r
+ rel2.to: "item_bg";\r
+ }\r
+ }\r
+ part { name: "item_real_bg";\r
+ description { state: "default" 0.0;\r
+ visible: 0;\r
+ rel1 {\r
+ relative: 1.0 1.0;\r
+ to: "item_bg_left_top_padding";\r
+ }\r
+ rel2 {\r
+ relative: 0.0 0.0;\r
+ to: "item_bg_right_bottom_padding";\r
+ }\r
+ image.normal: "00_thumbs_loading_bg.png";\r
+ }\r
+ }\r
+ part { name: "item_real_bg_left_top_padding";\r
+ type: RECT;\r
+ scale : 1;\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_DEFAULT_ITEM_REAL_BG_RIGHT_PADDING_INC;\r
+ align: 0.0 0.0;\r
+ visible: 0;\r
+ fixed: 1 1;\r
+ rel1.to: "item_real_bg";\r
+ rel2 {\r
+ relative: 0.0 0.0;\r
+ to: "item_real_bg";\r
+ }\r
+ }\r
+ }\r
+ part { name: "item_real_bg_right_bottom_padding";\r
+ type: RECT;\r
+ scale : 1;\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_DEFAULT_ITEM_REAL_BG_RIGHT_PADDING_INC;\r
+ align: 1.0 1.0;\r
+ fixed: 1 1;\r
+ visible: 0;\r
+ rel1 {\r
+ relative: 1.0 1.0;\r
+ to: "item_real_bg";\r
+ }\r
+ rel2.to: "item_real_bg";\r
+ }\r
+ }\r
+ part { name: "elm.swallow.icon";\r
+ type: SWALLOW;\r
+ description { state: "default" 0.0;\r
+ rel1 {\r
+ relative: 1.0 1.0;\r
+ to: "item_real_bg_left_top_padding";\r
+ }\r
+ rel2 {\r
+ relative: 0.0 0.0;\r
+ to: "item_real_bg_right_bottom_padding";\r
+ }\r
+ }\r
+ }\r
+ part { name: "elm.swallow.end";\r
+ type: SWALLOW;\r
+ description { state: "default" 0.0;\r
+ rel1.to: "elm.swallow.icon";\r
+ rel2.to: "elm.swallow.icon";\r
+ }\r
+ }\r
+ part { name: "reorder_bg";\r
+ type: RECT;\r
+ repeat_events: 1;\r
+ description { state: "default" 0.0;\r
+ color: GENGRID_PART_BG_COLOR_INC;\r
+ rel1.to: "item_bg";\r
+ rel2.to: "item_bg";\r
+ }\r
+ description { state: "enabled" 0.0;\r
+ inherit: "default" 0.0;\r
+ color: GENGRID_PART_REORDER_DEFAULT_BG_COLOR_INC;\r
+ }\r
+ }\r
+ part { name: "focus_bg_left_top_padding";\r
+ type: RECT;\r
+ scale : 1;\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_DEFAULT_LEFT_TOP_FOCUS_PADDING_INC;\r
+ align: 0.0 0.0;\r
+ visible: 0;\r
+ fixed: 1 1;\r
+ rel1.to: "bg";\r
+ rel2 {\r
+ relative: 0.0 0.0;\r
+ to: "bg";\r
+ }\r
+ }\r
+ }\r
+ part { name: "focus_bg_right_bottom_padding";\r
+ type: RECT;\r
+ scale: 1;\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_DEFAULT_RIGHT_BOTTOM_FOCUS_PADDING_INC;\r
+ align: 1.0 1.0;\r
+ visible: 0;\r
+ fixed: 1 1;\r
+ rel1 {\r
+ relative: 1.0 1.0;\r
+ to: "bg";\r
+ }\r
+ rel2.to: "bg";\r
+ }\r
+ }\r
+ part { name: "focus_bg";\r
+ type: IMAGE;\r
+ description { state: "default" 0.0;\r
+ visible: 0;\r
+ rel1 {\r
+ relative: 1.0 1.0;\r
+ to: "focus_bg_left_top_padding";\r
+ }\r
+ rel2 {\r
+ relative: 0.0 0.0;\r
+ to: "focus_bg_right_bottom_padding";\r
+ }\r
+ image.normal: "00_thumbs_bg_focus.png";\r
+ image.border: 6 6 6 6;\r
+ }\r
+ description { state: "enabled" 0.0;\r
+ inherit: "default" 0.0;\r
+ visible: 1;\r
+ }\r
+ }\r
+ }\r
+ programs {\r
+ program { name: "go_mouse_down";\r
+ signal: "mouse,down,1";\r
+ source: "reorder_bg";\r
+ action: STATE_SET "enabled" 0.0;\r
+ target: "focus_bg";\r
+ transition: ACCELERATE 0.2;\r
+ }\r
+ program { name: "go_mouse_up";\r
+ signal: "mouse,up,1";\r
+ source: "reorder_bg";\r
+ action: STATE_SET "default" 0.0;\r
+ target: "focus_bg";\r
+ transition: DECELERATE 0.2;\r
+ }\r
+ program { name: "go_reorder_disabled";\r
+ signal: "elm,state,reorder,disabled";\r
+ source: "elm";\r
+ action: STATE_SET "default" 0.0;\r
+ target: "reorder_bg";\r
+ target: "focus_bg";\r
+ transition: ACCELERATE 0.3;\r
+ }\r
+ program { name: "go_reorder_enabled";\r
+ signal: "elm,state,reorder,enabled";\r
+ source: "elm";\r
+ action: STATE_SET "enabled" 0.0;\r
+ target: "reorder_bg";\r
+ target: "focus_bg";\r
+ transition: DECELERATE 0.3;\r
+ }\r
+ }\r
+ }\r
+\r
+ group { name: "elm/gengrid/item/landscape_grid/default";\r
+ inherit: "elm/gengrid/item/default_grid/default";\r
+ parts {\r
+ part { name: "left_top_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_LANDSCAPE_LEFT_TOP_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "right_bottom_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_LANDSCAPE_RIGHT_BOTTOM_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "focus_bg_left_top_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_LANDSCAPE_LEFT_TOP_FOCUS_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "focus_bg_right_bottom_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_LANDSCAPE_RIGHT_BOTTOM_FOCUS_PADDING_INC;\r
+ }\r
+ }\r
+ }\r
+ }\r
+\r
+ group { name: "elm/gengrid/item/default_gridtext/default";\r
+ inherit: "elm/gengrid/item/default_grid/default";\r
+ data.item: "texts" "elm.text";\r
+ data.item: "contents" "elm.swallow.icon elm.swallow.block elm.swallow.end";\r
+ parts {\r
+ part { name: "left_top_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT_LEFT_TOP_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "right_bottom_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT_RIGHT_BOTTOM_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "elm.text";\r
+ type: TEXTBLOCK;\r
+ mouse_events: 0;\r
+ scale: 1;\r
+ description { state: "default" 0.0;\r
+ rel1 {\r
+ relative: 1.0 0.0;\r
+ to_x: "left_top_padding";\r
+ to_y: "right_bottom_padding";\r
+ }\r
+ rel2 {\r
+ relative: 0.0 1.0;\r
+ to: "right_bottom_padding";\r
+ }\r
+ text {\r
+ style: "gengrid_textblock_style";\r
+ min: 0 1;\r
+ align: 0.5 0.0;\r
+ }\r
+ }\r
+ }\r
+ part { name: "elm.swallow.block";\r
+ type: SWALLOW;\r
+ mouse_events: 0;\r
+ description { state: "default" 0.0;\r
+ rel1.to : "elm.text";\r
+ rel2.to : "elm.text";\r
+ }\r
+ }\r
+ part { name: "item_bg_left_top_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT_ITEM_BG_LEFT_TOP_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "item_bg_right_bottom_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "item_real_bg_left_top_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT_ITEM_REAL_BG_RIGHT_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "item_real_bg_right_bottom_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT_ITEM_REAL_BG_RIGHT_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "focus_bg_left_top_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT_LEFT_TOP_FOCUS_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "focus_bg_right_bottom_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT_RIGHT_BOTTOM_FOCUS_PADDING_INC;\r
+ }\r
+ }\r
+ }\r
+ }\r
+\r
+ group { name: "elm/gengrid/item/landscape_gridtext/default";\r
+ inherit: "elm/gengrid/item/default_gridtext/default";\r
+ parts {\r
+ part { name: "left_top_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_LANDSCAPE_GRID_TEXT_LEFT_TOP_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "right_bottom_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_LANDSCAPE_GRID_TEXT_RIGHT_BOTTOM_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "focus_bg_left_top_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_LANDSCAPE_GRID_TEXT_LEFT_TOP_FOCUS_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "focus_bg_right_bottom_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_LANDSCAPE_GRID_TEXT_RIGHT_BOTTOM_FOCUS_PADDING_INC;\r
+ }\r
+ }\r
+ }\r
+ }\r
+\r
+ group { name: "elm/gengrid/item/default_gridtext2/default";\r
+ inherit: "elm/gengrid/item/default_gridtext/default";\r
+ parts {\r
+ part { name: "left_top_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT2_LEFT_TOP_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "right_bottom_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT2_RIGHT_BOTTOM_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "elm.text";\r
+ description { state: "default" 0.0;\r
+ rel1 {\r
+ to: "left_top_padding";\r
+ }\r
+ rel2 {\r
+ to_x: "right_bottom_padding";\r
+ to_y: "left_top_padding";\r
+ }\r
+ text {\r
+ align: 0.5 1.0;\r
+ }\r
+ }\r
+ }\r
+ part { name: "item_bg_left_top_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT2_ITEM_BG_LEFT_TOP_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "item_bg_right_bottom_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT2_ITEM_BG_RIGHT_BOTTOM_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "item_real_bg_left_top_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT2_ITEM_REAL_BG_RIGHT_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "item_real_bg_right_bottom_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT2_ITEM_REAL_BG_RIGHT_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "focus_bg_left_top_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT2_LEFT_TOP_FOCUS_PADDING_INC;\r
+ }\r
+ }\r
+ part { name: "focus_bg_right_bottom_padding";\r
+ description { state: "default" 0.0;\r
+ min: GENGRID_GRID_TEXT2_RIGHT_BOTTOM_FOCUS_PADDING_INC;\r
+ }\r
+ }\r
+ }\r
+ }\r
+\r
+ group { name: "elm/gengrid/item/block/default";\r
+ parts {\r
+ part { name: "bg";\r
+ type: RECT;\r
+ description { state: "default" 0.0;\r
+ color: 0 0 0 0;\r
+ }\r
+ }\r
+ }\r
+ }\r
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+/*
+ * vim:ts=3
+*/
+
+#include "genlist_macro.edc"
+#include "genlist_textblock_style.edc"
+#include "genlist_normal.edc"
+#include "genlist_sweep.edc"
+#include "genlist_groupindex.edc"
+#include "genlist_expandable.edc"
+#include "genlist_decorate.edc"
+
+#if 0
+ group { name: "elm/genlist/base/dialogue";
+ alias: "elm/scroller/base/dialogue";
+ inherit: "elm/genlist/base/default";
+ parts {
+ part { name: "bg";
+ description { state: "default" 0.0;
+ color: GENLIST_LIST_BG_COLOR;
+ }
+ }
+ part { name: "elm.padding.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: DIALOGUE_PADDING_SCROLLER 0;
+ fixed: 1 0;
+ visible: 0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ }
+ part { name: "elm.padding.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: DIALOGUE_PADDING_SCROLLER 0;
+ fixed: 1 0;
+ visible: 0;
+ align: 1.0 0.0;
+ rel1.relative: 1.0 0.0;
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ }
+ part { name: "elm.swallow.content";
+ clip_to: "clipper";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "sb_vbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ min: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MIN_SIZE_INC;
+ align: 1.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 0;
+ to_y: "bg";
+ to_x: "bg";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ to_y: "sb_hbar";
+ to_x: "bg";
+ }
+ }
+ }
+ }
+ }
+ group { name: "elm/list/base/matchlist";
+ script {
+ public sbvis_v, sbvis_h, sbnever_v, sbalways_v, sbalways_h, sbvis_timer;
+ public timer0(val) {
+ new v;
+ v = get_int(sbvis_v);
+ if (v) {
+ v = get_int(sbalways_v);
+ if (!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ v = get_int(sbvis_h);
+ if (v) {
+ v = get_int(sbalways_h);
+ if (!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ set_int(sbvis_timer, 0);
+ return 0;
+ }
+ }
+ images {
+ image: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE COMP;
+ image: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE COMP;
+ image: "bt_sm_shine.png" COMP;
+ image: "bt_sm_hilight.png" COMP;
+ image: "sb_runnerh.png" COMP;
+ image: "sb_runnerv.png" COMP;
+ image: "01_dialoguegroup_bg_default.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "bg_image";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ rel1.offset: -5 -3;
+ rel2.offset: 4 10;
+ image {
+ normal: "01_dialoguegroup_bg_default.png";
+ border: SCROLLER_MATCHLIST_SCROLLBAR_BG_IMAGE_BORDER;
+ border_scale: 1;
+ }
+ fill.smooth: 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ }
+ part { name: "elm.swallow.content";
+ clip_to: "clipper";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "conf_over";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ visible: 0;
+ }
+ }
+ part { name: "sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_vbar_clip";
+ clip_to: "sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part {name: "vbar.padding";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_PADDING_SIZE 0;
+ max: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_PADDING_SIZE 0;
+ align: 1 0.5;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "elm.swallow.content";
+ }
+ }
+ }
+ part { name: "sb_vbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ min: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MIN_SIZE_INC;
+ align: 1.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 0;
+ to_y: "elm.swallow.content";
+ to_x: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: -1 -1;
+ to_y: "elm.swallow.content";
+ to_x: "vbar.padding";
+ }
+ }
+ }
+ part { name: "sb_vbar_runner";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MIN_SIZE_INC;
+ max: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MAX_SIZE_INC;
+ rel1.to: "sb_vbar";
+ rel2.to: "sb_vbar";
+ visible: 0;
+ image {
+ normal: "sb_runnerv.png";
+ border: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_RUNNER_BORDER;
+ border_scale: 1;
+ }
+ fill.smooth: 0;
+ }
+ }
+ part { name: "elm.dragable.vbar";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "sb_vbar";
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MIN_SIZE_INC;
+ max: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MAX_SIZE_INC;
+ rel1 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_vbar";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_vbar";
+ }
+ image {
+ normal: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE;
+ border: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE_BORDER;
+ border_scale: 1;
+ middle: DEFAULT;
+ }
+ }
+ }
+ part { name: "sb_vbar_over1";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.vbar";
+ rel2.relative: 1.0 0.5;
+ rel2.to: "elm.dragable.vbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_hilight.png";
+ border: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER1;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "sb_vbar_over2";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.vbar";
+ rel2.to: "elm.dragable.vbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_shine.png";
+ border: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER2;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_hbar_clip";
+ clip_to: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part {name: "hbar.padding";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 SCROLLER_MATCHLIST_SCROLLBAR_HBAR_PADDING_SIZE;
+ max: 0 SCROLLER_MATCHLIST_SCROLLBAR_HBAR_PADDING_SIZE;
+ align: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "elm.swallow.content";
+ }
+ }
+ }
+ part { name: "sb_hbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ min: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC;
+ align: 0.0 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: 0 0;
+ to_y: "elm.swallow.content";
+ to_x: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: -1 -1;
+ to_x: "sb_vbar";
+ to_y: "hbar.padding";
+ }
+ }
+ }
+ part { name: "sb_hbar_runner";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC;
+ max: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC;
+ rel1.to: "sb_hbar";
+ rel2.to: "sb_hbar";
+ visible: 0;
+ image {
+ normal: "sb_runnerh.png";
+ border: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_RUNNER_BORDER;
+ border_scale: 1;
+ }
+ fill.smooth: 0;
+ }
+ }
+ part { name: "elm.dragable.hbar";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "sb_hbar";
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC;
+ max: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC;
+ rel1 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_hbar";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_hbar";
+ }
+ color: 255 255 255 0;
+ image {
+ normal: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE;
+ border: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE_BORDER;
+ border_scale: 1;
+ }
+ image.middle: SOLID;
+ }
+ }
+ part { name: "sb_hbar_over1";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.hbar";
+ rel2.relative: 1.0 0.5;
+ rel2.to: "elm.dragable.hbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_hilight.png";
+ border: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER1;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "sb_hbar_over2";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.hbar";
+ rel2.to: "elm.dragable.hbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_shine.png";
+ border: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER2;
+ border_scale: 1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "load";
+ signal: "load";
+ source: "";
+ script {
+ set_state(PART:"sb_hbar_clip", "hidden", 0.0);
+ set_state(PART:"sb_vbar_clip", "hidden", 0.0);
+ set_int(sbvis_h, 0);
+ set_int(sbvis_v, 0);
+ set_int(sbalways_v, 0);
+ set_int(sbalways_h, 0);
+ set_int(sbvis_timer, 0);
+ set_int(sbnever_v, 0);
+ }
+ }
+ program { name: "vbar_show";
+ signal: "elm,action,show,vbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program { name: "vbar_hide";
+ signal: "elm,action,hide,vbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program { name: "vbar_show_always";
+ signal: "elm,action,show_always,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ set_int(sbalways_v, 1);
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ set_int(sbnever_v, 0);
+ }
+ }
+ program { name: "vbar_show_notalways";
+ signal: "elm,action,show_notalways,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_v);
+ if (v) {
+ set_int(sbalways_v, 0);
+ v = get_int(sbvis_v);
+ if (!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ set_int(sbnever_v, 0);
+ }
+ }
+ program { name: "vbar_hide_always";
+ signal: "elm,action,hide_always,vbar";
+ source: "elm";
+ script {
+ new v1, v2;
+ v1 = get_int(sbnever_v);
+ if (!v1) {
+ set_int(sbnever_v, 1);
+ set_int(sbalways_v, 0);
+ v2 = get_int(sbvis_v);
+ if (!v2) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ }
+ }
+ program { name: "sb_vbar_show";
+ signal: "do-show-vbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_vbar_clip";
+ }
+ program { name: "sb_vbar_hide";
+ signal: "do-hide-vbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_vbar_clip";
+ }
+ program { name: "hbar_show";
+ signal: "elm,action,show,hbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program { name: "hbar_hide";
+ signal: "elm,action,hide,hbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program { name: "hbar_show_always";
+ signal: "elm,action,show_always,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ set_int(sbalways_h, 1);
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ }
+ }
+ program { name: "hbar_show_notalways";
+ signal: "elm,action,show_notalways,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_h);
+ if (v) {
+ set_int(sbalways_h, 0);
+ v = get_int(sbvis_h);
+ if (!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ }
+ }
+ program { name: "sb_hbar_show";
+ signal: "do-show-hbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_hbar_clip";
+ }
+ program { name: "sb_hbar_hide";
+ signal: "do-hide-hbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_hbar_clip";
+ }
+ program { name: "scroll";
+ signal: "elm,action,scroll";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ script {
+ new v, v1;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ v1 = get_int(sbnever_v);
+ if (!v && !v1) {
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ v = get_int(sbvis_timer);
+ if (v > 0) cancel_timer(v);
+ v = timer(0.5, "timer0", 0);
+ set_int(sbvis_timer, v);
+ }
+ }
+ }
+ }
+#endif
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+/*
+ * vim:ts=3
+ */
+
+// 2.2.7.1 edit elect all style
+ group { name: "elm/genlist/item/select_all/default";
+ alias: "elm/genlist/item_odd/select_all/default";
+ alias: "elm/genlist/item_compress/select_all/default";
+ alias: "elm/genlist/item_compress_odd/select_all/default";
+ alias: "elm/layout/select_all/default";
+ inherit: "elm/genlist/item/1text.1icon.3/default";
+
+ parts {
+ GENLIST_PART_BOTTOM_LINE_OFF
+ part { name: "bg_image";
+ description { state: "default" 0.0;
+ color: GENLIST_SELECT_ALL_BG_COLOR;
+ }
+ }
+ }
+ }
+
+// 2.2.7. Genlist Edit mode (rename)
+// Should be used as decorate all item style
+ group { name: "elm/genlist/item/edit_default/default";
+ alias: "elm/genlist/item_odd/edit_default/default";
+ alias: "elm/genlist/item_compress/edit_default/default";
+ alias: "elm/genlist/item_compress_odd/edit_default/default";
+ alias: "elm/genlist/tree/edit_default/default";
+ alias: "elm/genlist/tree_odd/edit_default/default";
+ alias: "elm/genlist/tree_compress/edit_default/default";
+ alias: "elm/genlist/tree_compress_odd/edit_default/default";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "contents" "elm.edit.icon.1 elm.edit.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE_REORDER
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ part { name: "elm.swallow.decorate.content";
+ type: SWALLOW;
+ scale: 1;
+ GENLIST_DESCRIPTION_LR("elm.edit.icon1.right", "elm.edit.icon.2",
+ min: 0 GENLIST_HEIGHT_1LINE;
+ )
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0 0;
+ to: "base";
+ }
+ rel2 {
+ relative: 1 1;
+ to: "base";
+ }
+ }
+ }
+ GENLIST_PART_BOTTOM_LINE
+
+ GENLIST_PART_ICON("elm.edit.icon.1",
+ GENLIST_DESCRIPTION_L("elm.padding.left",
+ align: 1 0.5;
+ GENLIST_PARAM_ICON_CHECK_RADIO
+ )
+ description { state: "decorate" 0.0;
+ inherit: "default" 0.0;
+ align: 0 0.5;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ )
+ GENLIST_PART_PADDING_L("elm.edit.icon1.right", "elm.edit.icon.1")
+ GENLIST_PART_ICON("elm.edit.icon.2", GENLIST_DESCRIPTION_R("elm.padding.right",
+ align: 0 0.5;
+ max: 48 48;)
+ description { state: "decorate" 0.0;
+ inherit: "default" 0.0;
+ align: 1 0.5;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ )
+ }
+ programs {
+ GENLIST_PROGRAM_DISABLED_BOTTOMLINE( ; )
+ program { name: "selected";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "bottom_line";
+ target: "bottom_line2";
+ }
+ program { name: "unselected";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "bottom_line";
+ target: "bottom_line2";
+ transition: LINEAR 0.1;
+ }
+ GENLIST_PROGRAM_FLIP_TARGET( target: "elm.swallow.decorate.content";
+ target: "elm.edit.icon.1"; target: "elm.edit.icon.2";
+ )
+ program { name: "reorder_enabled";
+ signal: "elm,state,reorder,mode_set";
+ source: "elm";
+ transition: DECELERATE 0.5;
+ action: STATE_SET "reorder" 0.0;
+ target: "reorder.padding.left";
+ target: "reorder.padding.right";
+ }
+ program { name: "reorder_disabled";
+ signal: "elm,state,reorder,mode_unset";
+ source: "elm";
+ transition: ACCELERATE 0.5;
+ action: STATE_SET "default" 0.0;
+ target: "reorder.padding.left";
+ target: "reorder.padding.right";
+ }
+ program { name: "decorate_enabled_effect";
+ signal: "elm,state,decorate,enabled,effect";
+ source: "elm";
+ transition: DECELERATE 0.7;
+ action: STATE_SET "decorate" 0.0;
+ target: "elm.edit.icon.1";
+ target: "elm.edit.icon.2";
+ }
+ program { name: "decorate_disabled_effect";
+ signal: "elm,state,decorate,disabled,effect";
+ source: "elm";
+ transition: ACCELERATE 0.7;
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.decorate.content";
+ target: "elm.edit.icon.1";
+ target: "elm.edit.icon.2";
+ }
+
+ program { name: "decorate_enabled";
+ signal: "elm,state,decorate,enabled";
+ source: "elm";
+ action: STATE_SET "decorate" 0.0;
+ target: "elm.edit.icon.1";
+ target: "elm.edit.icon.2";
+ }
+ program { name: "decorate_disabled";
+ signal: "elm,state,decorate,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.decorate.content";
+ target: "elm.edit.icon.1";
+ target: "elm.edit.icon.2";
+ }
+ }
+ }
+
+#if 0
+
+ group { name: "elm/genlist/item/edit_default_transparency/default";
+ alias: "elm/genlist/item_odd/edit_default_transparency/default";
+ alias: "elm/genlist/item_compress/edit_default_transparency/default";
+ alias: "elm/genlist/item_compress_odd/edit_default_transparency/default";
+ data.item: "stacking" "above";
+ data.item: "decorate_contents" "elm.edit.icon.1 elm.edit.icon.2";
+
+ images {
+ image: "01_list_reorder_bg_above.png" COMP;
+ image: "01_list_reorder_bg_below.png" COMP;
+ }
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ GENLIST_PART_PADDING_TOP_SIZE( 0 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+
+ part { name: "elm.padding.reorder";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel2.relative: 0.0 1.0;
+ align: 1.0 0.0;
+ }
+ description { state: "reorder" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.decorate_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.reorder";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ color: 0 0 0 0;
+ }
+ }
+
+ part { name: "elm.padding.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.reorder";
+ }
+ rel2.to_x: "elm.padding.reorder";
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.0;
+ }
+ }
+
+ part { name: "elm.edit.icon.1";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ offset: 0 0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.5;
+ }
+ }
+
+ part { name: "elm.padding.icon1.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.edit.icon.1";
+ }
+ rel2.to_x: "elm.edit.icon.1";
+ align: 0.0 0.0;
+ }
+ }
+
+ part { name: "elm.swallow.decorate.content";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.2 0.0;
+ to_x: "elm.edit.icon.2";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.3 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ }
+ part { name: "elm.padding.icon2.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.decorate.content";
+ }
+ rel2.to_x: "elm.swallow.decorate.content";
+ align: 0.0 0.0;
+ }
+ }
+
+ part { name: "elm.edit.icon.2";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ visible: 1;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: -GENLIST_SIZE_16_INC GENLIST_SIZE_6_INC;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -GENLIST_SIZE_16_INC -GENLIST_SIZE_8_INC;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ }
+ }
+
+ part { name: "bottom_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 0 1;
+ visible: 1;
+ color: GENLIST_PART_EDIT_1PIXEL_LINE_COLOR_INC;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.decorate_bg";
+ offset: 0 -1;
+ }
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ }
+ }
+ part { name: "reorder_glow_above";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.relative: 0.0 -0.3;
+ rel2.relative: 1.0 0.0;
+ image {
+ normal: "01_list_reorder_bg_above.png";
+ }
+ fill.smooth: 0;
+ }
+ description { state: "reorder" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "reorder_glow_below";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 1.3;
+ image {
+ normal: "01_list_reorder_bg_below.png";
+ }
+ fill.smooth: 0;
+ }
+ description { state: "reorder" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+
+ // decorate mode enable signal
+ program { name: "decorate_enabled_effect";
+ signal: "elm,state,decorate,enabled,effect";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.edit.icon.1";
+ target: "elm.edit.icon.2";
+ target: "bottom_line";
+ }
+ program { name: "decorate_disabled_effect";
+ signal: "elm,state,decorate,disabled,effect";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.edit.icon.1";
+ target: "elm.edit.icon.2";
+ target: "bottom_line";
+ }
+ program { name: "decorate_enabled";
+ signal: "elm,state,decorate,enabled";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "elm.edit.icon.1";
+ target: "elm.edit.icon.2";
+ target: "bottom_line";
+ }
+ program { name: "decorate_disabled";
+ signal: "elm,state,decorate,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.edit.icon.1";
+ target: "elm.edit.icon.2";
+ target: "bottom_line";
+ }
+
+ // reorder signal
+ program { name: "reorder_enabled";
+ signal: "elm,state,reorder,enabled";
+ source: "elm";
+ action: STATE_SET "reorder" 0.0;
+ target: "elm.padding.reorder";
+ }
+ program { name: "reorder_disabled";
+ signal: "elm,state,reorder,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.padding.reorder";
+ }
+
+ program { name: "reorder_enabled_effect";
+ signal: "elm,state,reorder_enabled_effect";
+ source: "elm";
+ action: STATE_SET "reorder" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.padding.reorder";
+ }
+ program { name: "reorder_disabled_effect";
+ signal: "elm,state,reorder_disabled_effect";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.padding.reorder";
+ }
+ // reorder glow
+ program {
+ name: "show_reorder_glow";
+ signal: "elm,action,item,reorder_start";
+ source: "elm";
+ action: STATE_SET "reorder" 0.0;
+ target: "reorder_glow_above";
+ target: "reorder_glow_below";
+ }
+ program {
+ name: "hide_reorder_glow";
+ signal: "elm,action,item,reorder_end";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "reorder_glow_above";
+ target: "reorder_glow_below";
+ }
+ // flip
+ program {
+ name: "enable_flip_mode";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.edit.icon.2";
+ after: "enable_flip_mode_next";
+ }
+ program {
+ name: "enable_flip_mode_next";
+ action: STATE_SET "flipped" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.decorate.content";
+ }
+ program {
+ name: "disable_flip_mode";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.decorate.content";
+ target: "elm.edit.icon.2";
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/edit/default";
+ alias: "elm/genlist/item_odd/dialogue/edit/default";
+ alias: "elm/genlist/item_compress/dialogue/edit/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/edit/default";
+ alias: "elm/layout/dialogue/decorate";
+ data.item: "stacking" "above";
+ data.item: "decorate_contents" "elm.edit.icon.1 elm.edit.icon.2";
+
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ GENLIST_PART_PADDING_TOP_SIZE( 0 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+
+ part { name: "elm.decorate_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.rect.dialogue";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_PRESS_COLOR;
+ }
+ }
+ part { name: "elm.rect.dialogue";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ color: GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.padding.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_5_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.rect.dialogue";
+ }
+ rel2.to_x: "elm.rect.dialogue";
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.edit.icon.1";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.padding.icon1.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.edit.icon.1";
+ }
+ rel2.to_x: "elm.edit.icon.1";
+ align: 0.0 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.decorate.content_cliprect";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.edit.icon.1";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flipped" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.3 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ }
+ part { name: "elm.swallow.decorate.content";
+ clip_to: "elm.swallow.decorate.content_cliprect";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 { relative: -1.0 0.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.swallow.decorate.content_cliprect";
+ }
+ rel2 { to: "elm.swallow.decorate.content_cliprect"; }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flipped" 0.0;
+ rel1 { relative: 0.0 0.0;
+ to_x: "elm.rect.dialogue";
+ to_y: "elm.swallow.decorate.content_cliprect";
+ }
+ rel2.to: "elm.swallow.decorate.content_cliprect";
+ }
+ }
+
+ part { name: "elm.padding.icon2.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1.to_x: "elm.edit.icon.2";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.edit.icon.2";
+ }
+ align: 0.0 0.0;
+ }
+ }
+
+ part { name: "elm.edit.icon.2";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.to_x: "elm.padding.right";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ }
+ }
+
+ part { name: "bottom_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 0 1;
+ visible: 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.decorate_bg";
+ offset: 0 -1;
+ }
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.decorate_bg";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.decorate_bg";
+ transition: LINEAR 0.1;
+ }
+
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+
+ // decorate mode enable signal
+ program { name: "GENLIST_PART_BASE_BOTTOM_LINE";
+ signal: "elm,state,decorate,enabled,effect";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.edit.icon.1";
+ target: "elm.edit.icon.2";
+ }
+ program { name: "decorate_disabled_effect";
+ signal: "elm,state,decorate,disabled,effect";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.edit.icon.1";
+ target: "elm.edit.icon.2";
+ }
+ program { name: "decorate_enabled";
+ signal: "elm,state,decorate,enabled";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "elm.edit.icon.1";
+ target: "elm.edit.icon.2";
+ }
+ program { name: "decorate_disabled";
+ signal: "elm,state,decorate,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.edit.icon.1";
+ target: "elm.edit.icon.2";
+ }
+
+ // flip
+ program {
+ name: "enable_flip_mode";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.edit.icon.2";
+ target: "elm.padding.icon1.right";
+ after: "enable_flip_mode_next";
+ }
+ program {
+ name: "enable_flip_mode_next";
+ action: STATE_SET "flipped" 0.0;
+ //transition: DECELERATE 0.5;
+ target: "elm.swallow.decorate.content_cliprect";
+ target: "elm.swallow.decorate.content";
+ }
+ program {
+ name: "disable_flip_mode";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.decorate.content_cliprect";
+ target: "elm.swallow.decorate.content";
+ target: "elm.edit.icon.2";
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/edit/contact/default";
+ alias: "elm/genlist/item_odd/dialogue/edit/contact/default";
+ alias: "elm/genlist/item_compress/dialogue/edit/contact/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/edit/contact/default";
+ alias: "elm/layout/dialogue/edit/contact";
+ data.item: "stacking" "above";
+ data.item: "decorate_contents" "elm.edit.icon";
+
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ GENLIST_PART_PADDING_TOP_SIZE( 0 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+
+ part { name: "elm.decorate_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ }
+ part { name: "elm.swallow.decorate.content";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.base.icon";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flipped" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "vertical_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.decorate.content";
+ offset: -1 0;
+ }
+ rel2.to_x: "elm.swallow.decorate.content";
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "bottom_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.decorate_bg";
+ offset: 0 -1;
+ }
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.base.icon";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_90_INC 0;
+ fixed: 1 0;
+ color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 -1;
+ }
+ align: 0.0 0.5;
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.padding.icon.bottom";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_40_INC;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ visible: 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.base.icon";
+ }
+ rel2.to_x: "elm.base.icon";
+ }
+ }
+ part { name: "elm.edit.icon";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 1.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.icon.bottom";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.icon.bottom";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 1.0;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+
+ // decorate mode enable signal
+ program { name: "decorate_enabled_effect";
+ signal: "elm,state,decorate,enabled,effect";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_disabled_effect";
+ signal: "elm,state,decorate,disabled,effect";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_enabled";
+ signal: "elm,state,decorate,enabled";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_disabled";
+ signal: "elm,state,decorate,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ // flip
+ program {
+ name: "enable_flip_mode";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ after: "enable_flip_mode_next";
+ }
+ program {
+ name: "enable_flip_mode_next";
+ action: STATE_SET "flipped" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.decorate.content";
+ }
+ program {
+ name: "disable_flip_mode";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.decorate.content";
+ target: "elm.edit.icon";
+ }
+ }
+ }
+
+ /* this group is only for 2text.1icon.2 */
+ group { name: "elm/genlist/item/dialogue/edit/contact.2/default";
+ alias: "elm/genlist/item_odd/dialogue/edit/contact.2/default";
+ alias: "elm/genlist/item_compress/dialogue/edit/contact.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.2/default";
+ alias: "elm/layout/dialogue/edit/contact.2";
+ data.item: "stacking" "above";
+ data.item: "decorate_contents" "elm.edit.icon";
+
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ GENLIST_PART_PADDING_TOP_SIZE( 0 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+
+ part { name: "elm.decorate_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ }
+ part { name: "elm.swallow.decorate.content";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.base.icon";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flipped" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "vertical_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ align: 0.5 0.5;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.12;
+ to_x: "elm.swallow.decorate.content";
+ offset: -1 0;
+ }
+ rel2 {
+ relative: 1.0 0.89;
+ to_x: "elm.swallow.decorate.content";
+ }
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "bottom_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.decorate_bg";
+ offset: 0 -1;
+ }
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.base.icon";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_90_INC 0;
+ fixed: 1 0;
+ color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 -1;
+ }
+ align: 0.0 0.5;
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.padding.icon.bottom";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_40_INC;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ visible: 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.base.icon";
+ }
+ rel2.to_x: "elm.base.icon";
+ }
+ }
+ part { name: "elm.edit.icon";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 1.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.icon.bottom";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.icon.bottom";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 1.0;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+
+ // decorate mode enable signal
+ program { name: "decorate_enabled_effect";
+ signal: "elm,state,decorate,enabled,effect";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_disabled_effect";
+ signal: "elm,state,decorate,disabled,effect";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_enabled";
+ signal: "elm,state,decorate,enabled";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_disabled";
+ signal: "elm,state,decorate,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ // flip
+ program {
+ name: "enable_flip_mode";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ after: "enable_flip_mode_next";
+ }
+ program {
+ name: "enable_flip_mode_next";
+ action: STATE_SET "flipped" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.decorate.content";
+ }
+ program {
+ name: "disable_flip_mode";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.decorate.content";
+ target: "elm.edit.icon";
+ }
+ }
+ }
+
+ /* this group is for non-border-line items */
+ group { name: "elm/genlist/item/dialogue/edit/contact.3/default";
+ alias: "elm/genlist/item_odd/dialogue/edit/contact.3/default";
+ alias: "elm/genlist/item_compress/dialogue/edit/contact.3/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.3/default";
+ alias: "elm/layout/dialogue/edit/contact.3";
+ data.item: "stacking" "above";
+ data.item: "decorate_contents" "elm.edit.icon";
+
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ GENLIST_PART_PADDING_TOP_SIZE( 0 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+
+ part { name: "elm.decorate_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ }
+ part { name: "elm.swallow.decorate.content";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.base.icon";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flipped" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "elm.base.icon";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_90_INC 0;
+ fixed: 1 0;
+ color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 -1;
+ }
+ align: 0.0 0.5;
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.padding.icon.bottom";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_40_INC;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ visible: 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.base.icon";
+ }
+ rel2.to_x: "elm.base.icon";
+ }
+ }
+ part { name: "elm.edit.icon";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 1.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.icon.bottom";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.icon.bottom";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 1.0;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+
+ program { name: "decorate_enabled_effect";
+ signal: "elm,state,decorate,enabled,effect";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_disabled_effect";
+ signal: "elm,state,decorate,disabled,effect";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_enabled";
+ signal: "elm,state,decorate,enabled";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_disabled";
+ signal: "elm,state,decorate,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ // flip
+ program {
+ name: "enable_flip_mode";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ after: "enable_flip_mode_next";
+ }
+ program {
+ name: "enable_flip_mode_next";
+ action: STATE_SET "flipped" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.decorate.content";
+ }
+ program {
+ name: "disable_flip_mode";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.decorate.content";
+ target: "elm.edit.icon";
+ }
+ }
+ }
+
+ /* this group is only for 2text.1icon.3 */
+ group { name: "elm/genlist/item/dialogue/edit/contact.4/default";
+ alias: "elm/genlist/item_odd/dialogue/edit/contact.4/default";
+ alias: "elm/genlist/item_compress/dialogue/edit/contact.4/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.4/default";
+ alias: "elm/layout/dialogue/edit/contact.4";
+ data.item: "stacking" "above";
+ data.item: "decorate_contents" "elm.edit.icon";
+
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ GENLIST_PART_PADDING_TOP_SIZE( 0 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+
+ part { name: "elm.decorate_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ }
+ part { name: "elm.swallow.decorate.content";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.base.icon";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flipped" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "vertical_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ align: 0.5 0.5;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.13;
+ to_x: "elm.swallow.decorate.content";
+ offset: -1 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.swallow.decorate.content";
+ }
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.base.icon";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_90_INC 0;
+ fixed: 1 0;
+ color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 -1;
+ }
+ align: 0.0 0.5;
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.padding.icon.bottom";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_40_INC;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ visible: 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.base.icon";
+ }
+ rel2.to_x: "elm.base.icon";
+ }
+ }
+ part { name: "elm.edit.icon";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.0 1.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.icon.bottom";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.icon.bottom";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 1.0;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+
+ // decorate mode enable signal
+ program { name: "decorate_enabled_effect";
+ signal: "elm,state,decorate,enabled,effect";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_disabled_effect";
+ signal: "elm,state,decorate,disabled,effect";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_enabled";
+ signal: "elm,state,decorate,enabled";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_disabled";
+ signal: "elm,state,decorate,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ // flip
+ program {
+ name: "enable_flip_mode";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ after: "enable_flip_mode_next";
+ }
+ program {
+ name: "enable_flip_mode_next";
+ action: STATE_SET "flipped" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.decorate.content";
+ }
+ program {
+ name: "disable_flip_mode";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.decorate.content";
+ target: "elm.edit.icon";
+ }
+ }
+ }
+
+/* this item for dialogue/bg/1text */
+ group { name: "elm/genlist/item/dialogue/edit/contact.5/default";
+ alias: "elm/genlist/item_odd/dialogue/edit/contact.5/default";
+ alias: "elm/genlist/item_compress/dialogue/edit/contact.5/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.5/default";
+ alias: "elm/layout/dialogue/edit/contact.5";
+ data.item: "stacking" "above";
+ data.item: "decorate_contents" "elm.edit.icon";
+
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ GENLIST_PART_PADDING_TOP_SIZE( 0 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+
+ part { name: "elm.decorate_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ }
+ part { name: "elm.swallow.decorate.content";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.base.icon";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flipped" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "vertical_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.decorate.content";
+ offset: -1 0;
+ }
+ rel2.to_x: "elm.swallow.decorate.content";
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "bottom_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.decorate_bg";
+ to_y: "elm.decorate_bg";
+ offset: 0 -1;
+ }
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.base.icon";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_90_INC 0;
+ fixed: 1 0;
+ color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 -1;
+ }
+ align: 0.0 0.5;
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.padding.icon.bottom";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_40_INC;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ visible: 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.base.icon";
+ }
+ rel2.to_x: "elm.base.icon";
+ }
+ }
+ part { name: "elm.edit.icon";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 1.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.icon.bottom";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.icon.bottom";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 1.0;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+
+ // decorate mode enable signal
+ program { name: "decorate_enabled_effect";
+ signal: "elm,state,decorate,enabled,effect";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_disabled_effect";
+ signal: "elm,state,decorate,disabled,effect";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_enabled";
+ signal: "elm,state,decorate,enabled";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ program { name: "decorate_disabled";
+ signal: "elm,state,decorate,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.base.icon";
+ target: "elm.edit.icon";
+ }
+ // flip
+ program {
+ name: "enable_flip_mode";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ after: "enable_flip_mode_next";
+ }
+ program {
+ name: "enable_flip_mode_next";
+ action: STATE_SET "flipped" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.decorate.content";
+ }
+ program {
+ name: "disable_flip_mode";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.decorate.content";
+ target: "elm.edit.icon";
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/select_all/default";
+ alias: "elm/genlist/item_odd/dialogue/select_all/default";
+ alias: "elm/genlist/item_compress/dialogue/select_all/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/select_all/default";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon";
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_HEIGHT_1LINE;
+ color: GENLIST_SELECT_ALL_BG_COLOR;
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ repeat_events: 0;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ color: GENLIST_SELECT_ALL_BG_COLOR;
+ }
+ }
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_PADDING_TOP_SIZE( 0 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+
+ part { name: "elm.padding.icon.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon";
+ }
+ rel2.to_x: "elm.icon";
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_80_INC GENLIST_SIZE_80_INC;
+ max: GENLIST_SIZE_80_INC GENLIST_SIZE_80_INC;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ offset: 0 0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ to_x: "elm.padding.icon.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+
+ /* 2.5.4 */
+ group { name: "elm/genlist/item/edit_default2/default";
+ alias: "elm/genlist/item_odd/edit_default2/default";
+ alias: "elm/genlist/item_compress/edit_default2/default";
+ alias: "elm/genlist/item_compress_odd/edit_default2/default";
+ alias: "elm/genlist/tree/edit_default2/default";
+ alias: "elm/genlist/tree_odd/edit_default2/default";
+ alias: "elm/genlist/tree_compress/edit_default2/default";
+ alias: "elm/genlist/tree_compress_odd/edit_default2/default";
+ data.item: "stacking" "above";
+ data.item: "decorate_contents" "elm.edit.icon.1";
+
+ images {
+ image: "01_list_reorder_bg_above.png" COMP;
+ image: "01_list_reorder_bg_below.png" COMP;
+ }
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ GENLIST_PART_PADDING_TOP_SIZE( 0 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+
+ part { name: "elm.padding.reorder";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel2.relative: 0.0 1.0;
+ align: 1.0 0.0;
+ }
+ description { state: "reorder" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.decorate_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.reorder";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: GENLIST_LIST_PRESS_COLOR;
+ }
+ }
+ part { name: "elm.padding.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.reorder";
+ }
+ rel2.to_x: "elm.padding.reorder";
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.edit.icon.1";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ offset: 0 0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.padding.icon1.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.edit.icon.1";
+ }
+ rel2.to_x: "elm.edit.icon.1";
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.decorate.content";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.padding.icon2.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.decorate.content";
+ }
+ rel2.to_x: "elm.swallow.decorate.content";
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "bottom_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 0 1;
+ visible: 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.decorate_bg";
+ offset: 0 -1;
+ }
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ min: 0 GENLIST_SIZE_8_INC;
+ fixed: 0 1;
+ }
+ }
+ part { name: "reorder_glow_above";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.relative: 0.0 -0.3;
+ rel2.relative: 1.0 0.0;
+ image {
+ normal: "01_list_reorder_bg_above.png";
+ }
+ fill.smooth: 0;
+ }
+ description { state: "reorder" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "reorder_glow_below";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 1.3;
+ image {
+ normal: "01_list_reorder_bg_below.png";
+ }
+ fill.smooth: 0;
+ }
+ description { state: "reorder" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.decorate_bg";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.1;
+ target: "elm.decorate_bg";
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ // decorate mode enable signal
+ program { name: "decorate_enabled_effect";
+ signal: "elm,state,decorate,enabled,effect";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.edit.icon.1";
+ target: "bottom_line";
+ }
+ program { name: "decorate_disabled_effect";
+ signal: "elm,state,decorate,disabled,effect";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.edit.icon.1";
+ target: "bottom_line";
+ }
+ program { name: "decorate_enabled";
+ signal: "elm,state,decorate,enabled";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "elm.edit.icon.1";
+ target: "bottom_line";
+ }
+ program { name: "decorate_disabled";
+ signal: "elm,state,decorate,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.edit.icon.1";
+ target: "bottom_line";
+ }
+
+ // reorder signal
+ program { name: "reorder_enabled";
+ signal: "elm,state,reorder,enabled";
+ source: "elm";
+ action: STATE_SET "reorder" 0.0;
+ target: "elm.padding.reorder";
+ }
+ program { name: "reorder_disabled";
+ signal: "elm,state,reorder,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.padding.reorder";
+ }
+
+ program { name: "reorder_enabled_effect";
+ signal: "elm,state,reorder_enabled_effect";
+ source: "elm";
+ action: STATE_SET "reorder" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.padding.reorder";
+ }
+ program { name: "reorder_disabled_effect";
+ signal: "elm,state,reorder_disabled_effect";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.7;
+ target: "elm.padding.reorder";
+ }
+ // reorder glow
+ program {
+ name: "show_reorder_glow";
+ signal: "elm,action,item,reorder_start";
+ source: "elm";
+ action: STATE_SET "reorder" 0.0;
+ target: "reorder_glow_above";
+ target: "reorder_glow_below";
+ }
+ program {
+ name: "hide_reorder_glow";
+ signal: "elm,action,item,reorder_end";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "reorder_glow_above";
+ target: "reorder_glow_below";
+ }
+ }
+ }
+#endif
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+/*
+ * vim:ts=3
+*/
+
+// 2.5.1.1
+ group { name: "elm/genlist/tree/dialogue/2text/expandable/default";
+ alias: "elm/genlist/tree_odd/dialogue/2text/expandable/default";
+ alias: "elm/genlist/tree_compress/dialogue/2text/expandable/default";
+ alias: "elm/genlist/tree_compress_odd/dialogue/2text/expandable/default";
+ alias: "elm/genlist/item/dialogue/2text/expandable/default";
+ alias: "elm/genlist/item_odd/dialogue/2text/expandable/default";
+ alias: "elm/genlist/item_compress/dialogue/2text/expandable/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text/expandable/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "treesize" 0;
+ data.item: "texts" "elm.text.1 elm.text.2";
+
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ GENLIST_IMAGES_EXPANDABLE_BTN
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+ GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT(DIALOGUE_PADDING_SIZE_LEFT)
+
+ GENLIST_PART_LISTITEM("elm.text.1",
+ GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left",
+ "elm.padding.top", "elm.text.2",
+ min: 0 GENLIST_HEIGHT_2LINE_MAIN;
+ GENLIST_PARAM_LISTITEM
+ )
+ )
+ GENLIST_PART_SUBITEM("elm.text.2",
+ GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.arrow.left", "elm.padding.bottom",
+ fixed: 1 1;
+ min: 0 GENLIST_HEIGHT_2LINE_SUB;
+ GENLIST_PARAM_SUBITEM_DEFAULT
+ )
+ )
+ GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
+ GENLIST_PART_EXPANDABLE_ARROW
+ }
+ programs {
+ GENLIST_PROGRAM_DISABLED_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "arrow_clip"; )
+ GENLIST_PROGRAM_SELECT_DIALOGUE_ARROW( target: "elm.text.1"; target: "elm.text.2"; )
+ GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
+ GENLIST_PROGRAM_EXPAND_FADE( target: "arrow"; target: "elm.text.1"; target: "elm.text.2"; )
+ }
+ }
+
+// 2.5.1.2
+ group { name: "elm/genlist/tree/dialogue/2text.2/expandable/default";
+ alias: "elm/genlist/tree_odd/dialogue/2text.2/expandable/default";
+ alias: "elm/genlist/tree_compress/dialogue/2text.2/expandable/default";
+ alias: "elm/genlist/tree_compress_odd/dialogue/2text.2/expandable/default";
+ alias: "elm/genlist/item/dialogue/2text.2/expandable/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.2/expandable/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.2/expandable/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.2/expandable/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "treesize" 0;
+ data.item: "texts" "elm.text.1 elm.text.2";
+
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ GENLIST_IMAGES_EXPANDABLE_BTN
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+ GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT(DIALOGUE_PADDING_SIZE_LEFT)
+
+ GENLIST_PART_SUBITEM("elm.text.2",
+ GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.arrow.left",
+ "elm.padding.top",
+ fixed: 1 1;
+ min: 0 GENLIST_HEIGHT_2LINE_SUB;
+ GENLIST_PARAM_SUBITEM_DEFAULT
+ )
+ )
+ GENLIST_PART_LISTITEM("elm.text.1",
+ GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left",
+ "elm.text.2", "elm.padding.bottom",
+ min: 0 GENLIST_HEIGHT_2LINE_MAIN;
+ GENLIST_PARAM_LISTITEM
+ )
+ )
+ GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
+ GENLIST_PART_EXPANDABLE_ARROW
+ }
+ programs {
+ GENLIST_PROGRAM_DISABLED_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "arrow_clip"; )
+ GENLIST_PROGRAM_SELECT_DIALOGUE_ARROW( target: "elm.text.1"; target: "elm.text.2"; )
+ GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
+ GENLIST_PROGRAM_EXPAND_FADE( target: "arrow"; target: "elm.text.1"; target: "elm.text.2"; )
+ }
+ }
+
+// 2.5.1.3
+ group { name: "elm/genlist/tree/dialogue/2text.3/expandable/default";
+ alias: "elm/genlist/tree_odd/dialogue/2text.3/expandable/default";
+ alias: "elm/genlist/tree_compress/dialogue/2text.3/expandable/default";
+ alias: "elm/genlist/tree_compress_odd/dialogue/2text.3/expandable/default";
+ alias: "elm/genlist/item/dialogue/2text.3/expandable/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.3/expandable/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.3/expandable/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.3/expandable/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "treesize" 0;
+ data.item: "texts" "elm.text.1 elm.text.2";
+
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ GENLIST_IMAGES_EXPANDABLE_BTN
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+ GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT(DIALOGUE_PADDING_SIZE_LEFT)
+
+ GENLIST_PART_LISTITEM("elm.text.1",
+ GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left",
+ "elm.padding.top", "elm.text.2",
+ min: 0 GENLIST_HEIGHT_2LINE_MAIN;
+ GENLIST_PARAM_LISTITEM
+ )
+ )
+ GENLIST_PART_SUBITEM("elm.text.2",
+ GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.arrow.left", "elm.padding.bottom",
+ min: 0 GENLIST_HEIGHT_2LINE_SUB;
+ fixed: 1 1;
+ GENLIST_PARAM_SUBITEM_SETTINGS
+ )
+ )
+ GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
+ GENLIST_PART_EXPANDABLE_ARROW
+ }
+ programs {
+ GENLIST_PROGRAM_DISABLED_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "arrow_clip"; )
+ GENLIST_PROGRAM_SELECT_DIALOGUE_ARROW( target: "elm.text.1"; target: "elm.text.2"; )
+ GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
+ GENLIST_PROGRAM_EXPAND_FADE( target: "arrow"; target: "elm.text.1"; target: "elm.text.2"; )
+ }
+ }
+
+// 2.5.1.4
+ group { name: "elm/genlist/tree/dialogue/2text.1icon/expandable/default";
+ alias: "elm/genlist/tree_odd/dialogue/2text.1icon/expandable/default";
+ alias: "elm/genlist/tree_compress/dialogue/2text.1icon/expandable/default";
+ alias: "elm/genlist/tree_compress_odd/dialogue/2text.1icon/expandable/default";
+ alias: "elm/genlist/item/dialogue/2text.1icon/expandable/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon/expandable/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon/expandable/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon/expandable/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "treesize" 0;
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+
+ images {
+ image: "00_button_expand_closed.png" COMP;
+ image: "00_button_expand_opened.png" COMP;
+ }
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ GENLIST_IMAGES_EXPANDABLE_BTN
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+ GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT(DIALOGUE_PADDING_SIZE_LEFT)
+ GENLIST_PART_ICON("elm.icon",
+ GENLIST_DESCRIPTION_L("elm.padding.left",
+ GENLIST_PARAM_ICON_CHECK_RADIO)
+ )
+ GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
+ GENLIST_PART_LISTITEM("elm.text.1",
+ GENLIST_DESCRIPTION("elm.padding.icon.right", "elm.padding.arrow.left",
+ "elm.padding.top", "elm.text.2",
+ min: 0 GENLIST_HEIGHT_2LINE_MAIN;
+ GENLIST_PARAM_LISTITEM
+ )
+ )
+ GENLIST_PART_SUBITEM("elm.text.2",
+ GENLIST_DESCRIPTION_LRB("elm.padding.icon.right", "elm.padding.arrow.left", "elm.padding.bottom",
+ min: 0 GENLIST_HEIGHT_2LINE_SUB;
+ fixed: 1 1;
+ GENLIST_PARAM_SUBITEM_DEFAULT
+ )
+ )
+ GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
+ GENLIST_PART_EXPANDABLE_ARROW
+ }
+ programs {
+ GENLIST_PROGRAM_DISABLED_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "arrow_clip"; )
+ GENLIST_PROGRAM_SELECT_DIALOGUE_ARROW( target: "elm.text.1"; target: "elm.text.2"; )
+ GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
+ GENLIST_PROGRAM_EXPAND_FADE( target: "arrow"; target: "elm.text.1"; target: "elm.text.2"; )
+ }
+ }
+
+// 2.5.1.5
+ group { name: "elm/genlist/tree/dialogue/3text.1icon/expandable/default";
+ alias: "elm/genlist/tree_odd/dialogue/3text.1icon/expandable/default";
+ alias: "elm/genlist/tree_compress/dialogue/3text.1icon/expandable/default";
+ alias: "elm/genlist/tree_compress_odd/dialogue/3text.1icon/expandable/default";
+ alias: "elm/genlist/item/dialogue/3text.1icon/expandable/default";
+ alias: "elm/genlist/item_odd/dialogue/3text.1icon/expandable/default";
+ alias: "elm/genlist/item_compress/dialogue/3text.1icon/expandable/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/3text.1icon/expandable/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "treesize" 0;
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+ data.item: "contents" "elm.swallow.colorbar elm.icon";
+
+ images {
+ image: "00_button_expand_closed.png" COMP;
+ image: "00_button_expand_opened.png" COMP;
+ }
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ GENLIST_IMAGES_EXPANDABLE_BTN
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+ GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT(DIALOGUE_PADDING_SIZE_LEFT)
+ GENLIST_PART_COLORBAR
+
+ GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
+ GENLIST_PART_LISTITEM("elm.text.1",
+ GENLIST_DESCRIPTION("elm.padding.icon.right", "elm.text.3",
+ "elm.padding.top", "elm.text.2",
+ min: 0 GENLIST_HEIGHT_2LINE_MAIN;
+ GENLIST_PARAM_LISTITEM
+ )
+ )
+ GENLIST_PART_SUBITEM_RTB("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.arrow.left", "elm.padding.top", "elm.text.2"
+ )
+ GENLIST_PART_SUBITEM("elm.text.2",
+ GENLIST_DESCRIPTION_LRB("elm.padding.icon.right", "elm.padding.arrow.left", "elm.padding.bottom",
+ min: 0 GENLIST_HEIGHT_2LINE_SUB;
+ fixed: 1 1;
+ GENLIST_PARAM_SUBITEM_DEFAULT
+ )
+ )
+ GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
+ GENLIST_PART_EXPANDABLE_ARROW
+ }
+ programs {
+ GENLIST_PROGRAM_DISABLED_DIALOGUE( target: "elm.icon"; target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "arrow_clip"; )
+ GENLIST_PROGRAM_SELECT_DIALOGUE_ARROW( target: "elm.icon"; target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; )
+ GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
+ GENLIST_PROGRAM_EXPAND_FADE( target: "arrow"; target: "elm.icon"; target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; )
+ }
+ }
+
+// 2.5.1.6
+ group { name: "elm/genlist/tree/dialogue/1text/expandable/default";
+ alias: "elm/genlist/tree_odd/dialogue/1text/expandable/default";
+ alias: "elm/genlist/tree_compress/dialogue/1text/expandable/default";
+ alias: "elm/genlist/tree_compress_odd/dialogue/1text/expandable/default";
+ alias: "elm/genlist/item/dialogue/1text/expandable/default";
+ alias: "elm/genlist/item_odd/dialogue/1text/expandable/default";
+ alias: "elm/genlist/item_compress/dialogue/1text/expandable/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text/expandable/default";
+ // FIXME: deprecated, only for backward compatibility
+ alias: "elm/genlist/tree/dialogue/1text/expandable2/default";
+ alias: "elm/genlist/tree_odd/dialogue/1text/expandable2/default";
+ alias: "elm/genlist/tree_compress/dialogue/1text/expandable2/default";
+ alias: "elm/genlist/tree_compress_odd/dialogue/1text/expandable2/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "treesize" 0;
+ data.item: "texts" "elm.text";
+
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ GENLIST_IMAGES_EXPANDABLE_BTN
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT(DIALOGUE_PADDING_SIZE_LEFT)
+
+ GENLIST_PART_LISTITEM("elm.text",
+ GENLIST_DESCRIPTION_LR("elm.padding.left", "elm.padding.arrow.left",
+ min: 0 GENLIST_HEIGHT_1LINE;
+ GENLIST_PARAM_LISTITEM
+ )
+ )
+ GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
+ GENLIST_PART_EXPANDABLE_ARROW
+ }
+ programs {
+ GENLIST_PROGRAM_DISABLED_DIALOGUE( target: "elm.text"; target: "arrow_clip"; )
+ GENLIST_PROGRAM_SELECT_DIALOGUE_ARROW( target: "elm.text"; )
+ GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
+ GENLIST_PROGRAM_EXPAND_FADE( target: "arrow"; target: "elm.text"; )
+ }
+ }
+#if 0
+ group { name: "elm/genlist/tree/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/tree_odd/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/tree_compress/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/tree_compress_odd/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/item/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/item_odd/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/item_compress/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/item_compress_odd/1text.2/expandable_n_depth/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+
+ GENLIST_PART_ICON_BIG_L("elm.icon", "elm.swallow.pad")
+ GENLIST_PART_PADDING_L("elm.icon.right", "elm.icon")
+ GENLIST_PART_LISTITEM("elm.text",
+ GENLIST_DESCRIPTION_LR("elm.icon.right", "elm.padding.right",
+ min: 0 GENLIST_HEIGHT_1LINE;
+ GENLIST_PARAM_LISTITEM
+ )
+ )
+ }
+ programs {
+ GENLIST_PROGRAM_DISABLED_BOTTOMLINE( target: "elm.text"; )
+ GENLIST_PROGRAM_SELECT_BOTTOMLINE( target: "elm.text"; )
+ GENLIST_PROGRAM_EXPAND_FADE( target: "elm.text"; target: "elm.icon"; )
+ }
+ }
+
+ group { name: "elm/genlist/item/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/item_odd/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/item_compress/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/item_compress_odd/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/tree/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/tree_odd/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/tree_compress/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/tree_compress_odd/1text.1/expandable_n_depth/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+
+ GENLIST_PART_IMAGE("elm.icon", "elm.swallow.pad")
+ GENLIST_PART_PADDING_L("elm.icon.right", "elm.icon")
+ GENLIST_PART_LISTITEM("elm.text",
+ GENLIST_DESCRIPTION_LR("elm.icon.right", "elm.padding.right",
+ min: 0 GENLIST_HEIGHT_1LINE;
+ GENLIST_PARAM_LISTITEM
+ )
+ )
+ }
+ programs {
+ GENLIST_PROGRAM_DISABLED_BOTTOMLINE( target: "elm.text"; )
+ GENLIST_PROGRAM_SELECT_BOTTOMLINE( target: "elm.text"; )
+ GENLIST_PROGRAM_EXPAND_FADE( target: "elm.text"; target: "elm.icon"; target: "bottom_line"; target: "bottom_line2";)
+ }
+ }
+
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "treesize" "26";
+
+ broadcast_signal: 1;
+ parts {
+ alias: "base" "group:base";
+ alias: "arrow" "group:arrow";
+ alias: "elm.text" "group:elm.text";
+ alias: "bottom_line" "group:bottom_line";
+ alias: "elm.padding.left" "group:elm.padding.left";
+ alias: "elm.padding.right" "group:elm.padding.right";
+ alias: "elm.swallow.pad" "group:elm.swallow.pad";
+
+ GENLIST_PART_PERSPECTIVE_POINT
+ part { name: "event";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "group";
+ type: GROUP;
+ scale: 1;
+ source: "elm/genlist/tree/1text.1/expandable_n_depth/effect_parts/default";
+ description {
+ min: 16 GENLIST_HEIGHT_1LINE;
+ state: "default" 0.0;
+ }
+ GENLIST_DESCRIPTION_ROTATE(-90.0, 0, 0)
+ }
+ }
+ programs {
+ program {
+ name: "expand";
+ signal: "mouse,up,1";
+ source: "group:touch_arrow";
+ action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
+ }
+ GENLIST_PROGRAM_ROTATE(0.2, 0.3,
+ target: "group";
+ )
+ program {
+ name: "show";
+ signal: "elm,state,show";
+ action: STATE_SET "default" 0.0;
+ target: "group";
+ }
+ program {
+ name: "hide";
+ signal: "elm,state,hide";
+ action: STATE_SET "hide" 0.0;
+ target: "group";
+ }
+ }
+ }
+
+ /* internally used in 2.5.3.1 */
+ group { name: "elm/genlist/tree/1text.1/expandable_n_depth/effect_parts/default";
+ images {
+ image: "00_expandable_icon_folder_plus.png" COMP;
+ image: "00_expandable_icon_folder_minus.png" COMP;
+ }
+ parts {
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+
+ part { name: "touch_arrow";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 112 128;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1 {
+ relative: 0.5 0.5;
+ to: "arrow";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ to: "arrow";
+ }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.padding.arrow.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 16 0;
+ fixed: 1 0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "arrow";
+ }
+ rel2.to: "arrow";
+ }
+ }
+ part { name: "arrow";
+ ignore_flags: ON_HOLD;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ aspect: 1.0 1.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.pad";
+ }
+ rel2.to_x: "elm.swallow.pad";
+ image.normal: "00_expandable_icon_folder_plus.png";
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_expandable_icon_folder_minus.png";
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.arrow.right";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program {
+ name: "go_expanded";
+ signal: "elm,state,expanded";
+ source: "elm";
+ action: STATE_SET "active" 0.0;
+ target: "arrow";
+ }
+ program {
+ name: "go_contracted";
+ signal: "elm,state,contracted";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "arrow";
+ }
+
+ program {
+ name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "base";
+ target: "elm.text";
+ }
+ program {
+ name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }
+ program {
+ name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+ /* 2.5.3.2 */
+ group { name: "elm/genlist/item/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/item_odd/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/item_compress/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/item_compress_odd/1text.2/expandable_n_depth/default";
+ inherit: "elm/genlist/tree/1text.1/expandable_n_depth/default";
+ broadcast_signal: 1;
+ parts {
+ alias: "base" "group:base";
+ alias: "arrow" "group:arrow";
+ alias: "elm.text" "group:elm.text";
+ alias: "bottom_line" "group:bottom_line";
+ alias: "elm.padding.left" "group:elm.padding.left";
+ alias: "elm.padding.right" "group:elm.padding.right";
+ alias: "elm.swallow.pad" "group:elm.swallow.pad";
+ part { name: "group";
+ type: GROUP;
+ scale: 1;
+ source: "elm/genlist/tree/1text.2/expandable_n_depth/effect_parts/default";
+ description {
+ min: 16 GENLIST_HEIGHT_1LINE;
+ state: "default" 0.0;
+ }
+ GENLIST_DESCRIPTION_ROTATE(-90.0, 0, 0)
+ }
+ }
+ }
+
+ /* internally used in 2.5.3.2 */
+ group { name: "elm/genlist/tree/1text.2/expandable_n_depth/effect_parts/default";
+ inherit: "elm/genlist/tree/1text.1/expandable_n_depth/effect_parts/default";
+ images {
+ image: "00_expandable_icon_folder.png" COMP;
+ }
+ parts {
+ part { name: "touch_arrow";
+ mouse_events: 0;
+ }
+ part { name: "arrow";
+ description { state: "default" 0.0;
+ image.normal: "00_expandable_icon_folder.png";
+ }
+ description { state: "active" 0.0;
+ image.normal: "00_expandable_icon_folder.png";
+ }
+ }
+ }
+ }
+#endif
+
+
+#if 0
+// 2.5.2.7
+ group { name: "elm/genlist/item/dialogue/1text.2icon/expandable2/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.2icon/expandable2/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.2icon/expandable2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.2icon/expandable2/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+ data.item: "treesize" "GENLIST_TREESIZE_16_INC";
+
+ parts {
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.padding.icon1.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.1";
+ }
+ rel2.to_x: "elm.icon.1";
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.icon.1";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_60_INC GENLIST_SIZE_60_INC;
+ max: GENLIST_SIZE_60_INC GENLIST_SIZE_60_INC;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.pad";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.swallow.pad";
+ }
+ }
+ GENLIST_DESCRIPTION_FADEOUT
+ }
+ part { name: "elm.padding.icon2.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.2";
+ }
+ rel2.to_x: "elm.icon.2";
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.icon.2";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon1.right";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ }
+ }
+ GENLIST_DESCRIPTION_FADEOUT
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon2.right";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Regular";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FADEOUT
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "base";
+ target: "elm.text";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_ROTATE(0.2, 0.3,
+ target: "base";
+ target: "elm.text";
+ target: "elm.swallow.pad";
+ target: "elm.icon.1";
+ target: "elm.icon.2";
+ )
+ program {
+ name: "show";
+ signal: "elm,state,show";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "elm.text";
+ target: "elm.icon.1";
+ target: "elm.icon.2";
+ target: "elm.swallow.pad";
+ }
+ program {
+ name: "hide";
+ signal: "elm,state,hide";
+ action: STATE_SET "hide" 0.0;
+ target: "base";
+ target: "elm.text";
+ target: "elm.icon.1";
+ target: "elm.icon.2";
+ target: "elm.swallow.pad";
+ }
+ }
+ }
+
+//removed
+// 3.10.21
+ group { name: "elm/genlist/item/dialogue/1text/expandable3/default";
+ alias: "elm/genlist/item_odd/dialogue/1text/expandable3/default";
+ alias: "elm/genlist/item_compress/dialogue/1text/expandable3/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text/expandable3/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "treesize" "10";
+
+ parts {
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 0;
+ to_x: "elm.swallow.pad";
+ }
+ rel2 {
+ to_x: "elm.padding.right";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Regular";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FADEOUT
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "base";
+ target: "elm.text";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_ROTATE(0.2, 0.3,
+ target: "base";
+ target: "elm.text";
+ target: "elm.swallow.pad";
+ )
+ program {
+ name: "show";
+ signal: "elm,state,show";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "elm.text";
+ target: "elm.swallow.pad";
+ }
+ program {
+ name: "hide";
+ signal: "elm,state,hide";
+ action: STATE_SET "hide" 0.0;
+ target: "base";
+ target: "elm.text";
+ target: "elm.swallow.pad";
+ }
+ }
+ }
+
+//removed
+/* B01.3.10.20 */
+ group { name: "elm/genlist/item/dialogue/1text.2/expandable3/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.2/expandable3/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.2/expandable3/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.2/expandable3/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "treesize" "GENLIST_TREESIZE_16_INC";
+
+ parts {
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_SIZE_48_INC )
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( GENLIST_SIZE_16_INC )
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 0;
+ to_x: "elm.swallow.pad";
+ }
+ rel2 {
+ to_x: "elm.padding.right";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Regular";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FADEOUT
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "base";
+ target: "elm.text";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_ROTATE(0.2, 0.3,
+ target: "base";
+ target: "elm.text";
+ target: "elm.swallow.pad";
+ )
+ program {
+ name: "show";
+ signal: "elm,state,show";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "elm.text";
+ target: "elm.swallow.pad";
+ }
+ program {
+ name: "hide";
+ signal: "elm,state,hide";
+ action: STATE_SET "hide" 0.0;
+ target: "base";
+ target: "elm.text";
+ target: "elm.swallow.pad";
+ }
+ }
+ }
+
+ /
+// 2.5.1.5 (Deprecated)
+ group { name: "elm/genlist/tree/dialogue/2text.2icon/expandable/default";
+ alias: "elm/genlist/tree_odd/dialogue/2text.2icon/expandable/default";
+ alias: "elm/genlist/tree_compress/dialogue/2text.2icon/expandable/default";
+ alias: "elm/genlist/tree_compress_odd/dialogue/2text.2icon/expandable/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon elm.swallow.colorbar";
+ data.item: "treesize" "GENLIST_TREESIZE_16_INC";
+ images {
+ image: "00_button_expand_closed.png" COMP;
+ image: "00_button_expand_opened.png" COMP;
+ }
+ parts {
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.swallow.colorbar";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_10_INC GENLIST_SIZE_21_INC;
+ fixed: 1 1;
+ rel2.relative: 0.0 0.0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "touch_arrow";
+ type: RECT;
+ clip_to: "disclip";
+ ignore_flags: ON_HOLD;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_112_INC GENLIST_SIZE_128_INC;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1 {
+ relative: 0.5 0.5;
+ to: "arrow";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ to: "arrow";
+ }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "arrow";
+ clip_to: "disclip";
+ ignore_flags: ON_HOLD;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ aspect: 1.0 1.0;
+ rel1.to_x: "elm.padding.right";
+ rel2 {
+ relative: 0.0 1.0;
+ offset: 0 0;
+ to_x: "elm.padding.right";
+ }
+ image.normal: "00_button_expand_closed.png";
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_expand_opened.png";
+ }
+ GENLIST_DESCRIPTION_FADEOUT
+ }
+ part { name: "elm.padding.arrow.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_8_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ align: 1.0 0.5;
+ rel1.to: "arrow";
+ rel2 {
+ relative: 0.0 1.0;
+ to: "arrow";
+ }
+ }
+ }
+ part { name: "elm.padding.icon.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon";
+ }
+ rel2.to_x: "elm.icon";
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.pad";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.swallow.pad";
+ }
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.arrow.left";
+ to_y: "elm.padding.top";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Regular";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FADEOUT
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon.right";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ to_x: "elm.padding.arrow.left";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FADEOUT
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program {
+ name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "base";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ }
+ program {
+ name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program {
+ name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "expand";
+ signal: "mouse,up,1";
+ source: "touch_arrow";
+ action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
+ }
+ program {
+ name: "go_expanded";
+ signal: "elm,state,expanded";
+ source: "elm";
+ action: STATE_SET "active" 0.0;
+ target: "arrow";
+ }
+ program {
+ name: "go_contracted";
+ signal: "elm,state,contracted";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "arrow";
+ }
+ GENLIST_PROGRAM_ROTATE(0.2, 0.3,
+ target: "base";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.icon";
+ target: "elm.swallow.colorbar";
+ target: "arrow";
+ target: "elm.swallow.pad";
+ )
+ program {
+ name: "show";
+ signal: "elm,state,show";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.icon";
+ target: "elm.swallow.colorbar";
+ target: "arrow";
+ target: "elm.swallow.pad";
+ }
+ program {
+ name: "hide";
+ signal: "elm,state,hide";
+ action: STATE_SET "hide" 0.0;
+ target: "base";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.icon";
+ target: "elm.swallow.colorbar";
+ target: "arrow";
+ target: "elm.swallow.pad";
+ }
+ }
+ }
+
+#define GENLIST_EXPANDABLE_TREE_GROUP(GE_STYLE_NAME, GE_COLOR, GE_LEFT) \
+ group { name: "elm/genlist/tree/"GE_STYLE_NAME"/default"; \
+ alias: "elm/genlist/tree_odd/"GE_STYLE_NAME"/default"; \
+ data.item: "stacking" "above"; \
+ data.item: "selectraise" "on"; \
+ data.item: "texts" "elm.text"; \
+ data.item: "contents" "elm.swallow.icon elm.swallow.end"; \
+ data.item: "treesize" "GENLIST_TREESIZE_16_INC"; \
+ images { \
+ image: "00_button_expand_closed.png" COMP; \
+ image: "00_button_expand_opened.png" COMP; \
+ } \
+ parts { \
+ GENLIST_PART_BASE \
+ GENLIST_PART_PADDING_LEFT_SIZE( GE_LEFT ) \
+ GENLIST_PART_PADDING_RIGHT_EDIT \
+ part { name: "touch_arrow"; \
+ type: RECT; \
+ clip_to: "disclip"; \
+ ignore_flags: ON_HOLD; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: GENLIST_SIZE_112_INC GENLIST_SIZE_128_INC; \
+ fixed: 1 1; \
+ align: 0.5 0.5; \
+ rel1 { \
+ relative: 0.5 0.5; \
+ to: "arrow"; \
+ } \
+ rel2 { \
+ relative: 0.5 0.5; \
+ to: "arrow"; \
+ } \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "arrow"; \
+ clip_to: "disclip"; \
+ ignore_flags: ON_HOLD; \
+ mouse_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE; \
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE; \
+ fixed: 1 1; \
+ align: 1.0 0.5; \
+ aspect: 1.0 1.0; \
+ rel1.to_x: "elm.padding.right"; \
+ rel2 { \
+ relative: 0.0 1.0; \
+ offset: 0 0; \
+ to_x: "elm.padding.right"; \
+ } \
+ image.normal: "00_button_expand_closed.png"; \
+ } \
+ description { state: "active" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_button_expand_opened.png"; \
+ } \
+ GENLIST_DESCRIPTION_FADEOUT \
+ } \
+ part { name: "elm.padding.arrow.left"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: GENLIST_SIZE_8_INC 0; \
+ fixed: 1 0; \
+ visible: 0; \
+ align: 1.0 0.5; \
+ rel1.to: "arrow"; \
+ rel2 { \
+ relative: 0.0 1.0; \
+ to: "arrow"; \
+ } \
+ } \
+ } \
+ part { name: "elm.text"; \
+ clip_to: "disclip"; \
+ type: TEXT; \
+ mouse_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ align: 0.5 0.5; \
+ rel1 { \
+ relative: 1.0 0.0; \
+ to_x: "elm.swallow.pad"; \
+ } \
+ rel2 { \
+ relative: 0.0 1.0; \
+ to_x: "elm.padding.arrow.left"; \
+ } \
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; \
+ text { \
+ font: "Tizen:style=Roman"; \
+ size: GENLIST_LIST_MAIN_TEXT_SIZE; \
+ min: 0 1; \
+ align: 0.0 0.5; \
+ text_class: "list_item"; \
+ } \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR; \
+ } \
+ GENLIST_DESCRIPTION_FADEOUT \
+ } \
+ GENLIST_PART_DISCLIP \
+ } \
+ programs { \
+ program { \
+ name: "go_active"; \
+ signal: "elm,state,selected"; \
+ source: "elm"; \
+ action: STATE_SET "selected" 0.0; \
+ target: "base"; \
+ target: "elm.text"; \
+ } \
+ program { \
+ name: "go_passive"; \
+ signal: "elm,state,unselected"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "base"; \
+ target: "elm.text"; \
+ transition: LINEAR 0.1; \
+ } \
+ program { \
+ name: "go_disabled"; \
+ signal: "elm,state,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "disclip"; \
+ } \
+ program { \
+ name: "go_enabled"; \
+ signal: "elm,state,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "disclip"; \
+ } \
+ program { \
+ name: "expand"; \
+ signal: "mouse,up,1"; \
+ source: "touch_arrow"; \
+ action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; \
+ } \
+ program { \
+ name: "go_expanded"; \
+ signal: "elm,state,expanded"; \
+ source: "elm"; \
+ action: STATE_SET "active" 0.0; \
+ target: "arrow"; \
+ } \
+ program { \
+ name: "go_contracted"; \
+ signal: "elm,state,contracted"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "arrow"; \
+ } \
+ GENLIST_PROGRAM_ROTATE(0.2, 0.3, \
+ target: "base"; \
+ target: "elm.text"; \
+ target: "arrow"; \
+ target: "elm.swallow.pad"; \
+ ) \
+ program { \
+ name: "show"; \
+ signal: "elm,state,show"; \
+ action: STATE_SET "default" 0.0; \
+ target: "base"; \
+ target: "elm.text"; \
+ target: "arrow"; \
+ target: "elm.swallow.pad"; \
+ } \
+ program { \
+ name: "hide"; \
+ signal: "elm,state,hide"; \
+ action: STATE_SET "hide" 0.0; \
+ target: "base"; \
+ target: "elm.text"; \
+ target: "arrow"; \
+ target: "elm.swallow.pad"; \
+ } \
+ } \
+ }
+
+#define GENLIST_EXPANDABLE_ITEM_GROUP(GE_STYLE_NAME, GE_COLOR, GE_LEFT) \
+ group { name: "elm/genlist/item/"GE_STYLE_NAME"/default"; \
+ alias: "elm/genlist/item_odd/"GE_STYLE_NAME"/default"; \
+ data.item: "stacking" "above"; \
+ data.item: "selectraise" "on"; \
+ data.item: "texts" "elm.text"; \
+ data.item: "contents" "elm.swallow.icon elm.swallow.end"; \
+ data.item: "treesize" "GENLIST_TREESIZE_16_INC"; \
+ parts { \
+ GENLIST_PART_BASE \
+ GENLIST_PART_PADDING_LEFT_SIZE( GE_LEFT ) \
+ GENLIST_PART_PADDING_RIGHT_EDIT \
+ part { name: "elm.swallow.end"; \
+ type: SWALLOW; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ fixed: 1 0; \
+ align: 1.0 0.5; \
+ rel1.to_x: "elm.padding.right"; \
+ rel2 { \
+ relative: 0.0 1.0; \
+ to_x: "elm.padding.right"; \
+ } \
+ } \
+ GENLIST_DESCRIPTION_FADEOUT \
+ } \
+ part { name: "elm.text"; \
+ clip_to: "disclip"; \
+ type: TEXT; \
+ mouse_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel1 { \
+ relative: 1.0 0.0; \
+ offset: 0 0; \
+ to_x: "elm.swallow.pad"; \
+ } \
+ rel2 { \
+ to_x: "elm.padding.right"; \
+ relative: 0.0 1.0; \
+ offset: 0 0; \
+ } \
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; \
+ text { \
+ font: "Tizen:style=Roman"; \
+ size: GENLIST_LIST_MAIN_TEXT_SIZE; \
+ min: 0 1; \
+ align: 0.0 0.5; \
+ text_class: "list_item"; \
+ } \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR; \
+ } \
+ GENLIST_DESCRIPTION_FADEOUT \
+ } \
+ GENLIST_PART_DISCLIP \
+ } \
+ programs { \
+ program { name: "go_active"; \
+ signal: "elm,state,selected"; \
+ source: "elm"; \
+ action: STATE_SET "selected" 0.0; \
+ target: "base"; \
+ target: "elm.text"; \
+ } \
+ program { name: "go_passive"; \
+ signal: "elm,state,unselected"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "base"; \
+ target: "elm.text"; \
+ transition: LINEAR 0.1; \
+ } \
+ program { name: "go_disabled"; \
+ signal: "elm,state,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "disclip"; \
+ } \
+ program { name: "go_enabled"; \
+ signal: "elm,state,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "disclip"; \
+ } \
+ GENLIST_PROGRAM_ROTATE(0.2, 0.3, \
+ target: "base"; \
+ target: "elm.text"; \
+ target: "elm.swallow.pad"; \
+ target: "elm.swallow.end"; \
+ ) \
+ program { \
+ name: "show"; \
+ signal: "elm,state,show"; \
+ action: STATE_SET "default" 0.0; \
+ target: "base"; \
+ target: "elm.text"; \
+ target: "elm.swallow.end"; \
+ target: "elm.swallow.pad"; \
+ } \
+ program { \
+ name: "hide"; \
+ signal: "elm,state,hide"; \
+ action: STATE_SET "hide" 0.0; \
+ target: "base"; \
+ target: "elm.text"; \
+ target: "elm.swallow.end"; \
+ target: "elm.swallow.pad"; \
+ } \
+ } \
+ }
+
+/* legacy styles */
+GENLIST_EXPANDABLE_TREE_GROUP("expandable", GENLIST_PART_DIALOGUE_GROUP_BG_COLOR, GENLIST_PADDING_32_INC)
+GENLIST_EXPANDABLE_TREE_GROUP("expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_32_INC)
+
+GENLIST_EXPANDABLE_ITEM_GROUP("expandable", GENLIST_PART_DIALOGUE_GROUP_BG_COLOR, GENLIST_PADDING_16_INC)
+GENLIST_EXPANDABLE_ITEM_GROUP("expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_16_INC)
+GENLIST_EXPANDABLE_ITEM_GROUP("expandable3", GENLIST_PART_EXPANDABLE_3ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_16_INC)
+
+// 2.5.2.6
+GENLIST_EXPANDABLE_TREE_GROUP("1text/expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_32_INC)
+GENLIST_EXPANDABLE_ITEM_GROUP("1text/expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_16_INC)
+
+//removed
+/* B01.3.10.21 */
+GENLIST_EXPANDABLE_TREE_GROUP("1text/expandable3", GENLIST_PART_EXPANDABLE_3ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_48_INC)
+GENLIST_EXPANDABLE_ITEM_GROUP("1text/expandable3", GENLIST_PART_EXPANDABLE_3ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_48_INC)
+#endif
\ No newline at end of file
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+/*
+ * vim:ts=3:expandtab
+*/
+
+#define GROUPINDEX_PADDING_SIZE_LEFT 26
+#define GROUPINDEX_PADDING_SIZE_RIGHT 26
+
+// 2.1.1
+ group { name: "elm/genlist/item/groupindex/default";
+ alias: "elm/genlist/item_odd/groupindex/default";
+ alias: "elm/genlist/item_compress/groupindex/default";
+ alias: "elm/genlist/item_compress_odd/groupindex/default";
+ alias: "elm/genlist/item/grouptitle/default";
+ alias: "elm/genlist/item_odd/grouptitle/default";
+ alias: "elm/genlist/item_compress/grouptitle/default";
+ alias: "elm/genlist/item_compress_odd/grouptitle/default";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+
+ GENLIST_IMAGE_GROUPINDEX
+ parts {
+ GENLIST_PART_BASE
+ GENLIST_PART_INDEX_BG_IMAGE
+ GENLIST_PART_PADDING_LEFT_SIZE(GROUPINDEX_PADDING_SIZE_LEFT)
+ GENLIST_PART_PADDING_RIGHT_SIZE(GROUPINDEX_PADDING_SIZE_RIGHT)
+ GENLIST_PART_PADDING_TOP_SIZE(20)
+ GENLIST_PART_PADDING_BOTTOM_SIZE(14)
+ GENLIST_PART_TEXT("elm.text",
+ GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.right", "elm.padding.top",
+ GENLIST_PARAM_INDEX_LIST
+ min: 0 38; fixed: 1 1;)
+ GENLIST_DESCRIPTION_INDEX_LIST
+ )
+ GENLIST_PART_INDEX_LINE("elm.padding.left", "elm.padding.right", "elm.text", "elm.padding.bottom")
+ }
+ programs {
+ GENLIST_PROGRAM_DISABLED( target: "elm.text"; target: "index_line"; )
+ GENLIST_PROGRAM_SELECT( target: "elm.text"; target: "index_line"; )
+ }
+ }
+
+//2.1.3
+ group { name: "elm/genlist/item/groupindex.icon/default";
+ alias: "elm/genlist/item_odd/groupindex.icon/default";
+ alias: "elm/genlist/item_compress/groupindex.icon/default";
+ alias: "elm/genlist/item_compress_odd/groupindex.icon/default";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon";
+
+ GENLIST_IMAGE_GROUPINDEX
+ parts {
+ GENLIST_PART_INDEX_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE(GROUPINDEX_PADDING_SIZE_LEFT)
+ GENLIST_PART_PADDING_RIGHT_SIZE(GROUPINDEX_PADDING_SIZE_RIGHT)
+ GENLIST_PART_PADDING_TOP_SIZE(6)
+ GENLIST_PART_PADDING_BOTTOM_SIZE(6)
+ GENLIST_PART_ICON("elm.icon",
+ GENLIST_DESCRIPTION_L("elm.padding.left",
+ min: 64 64; max: 64 64; )
+ )
+ GENLIST_PART_PADDING_L_SIZE("elm.padding.icon.right", "elm.icon", 16)
+ GENLIST_PART_TEXT("elm.text",
+ GENLIST_DESCRIPTION_LRT("elm.padding.icon.right", "elm.padding.right", "elm.padding.top",
+ GENLIST_PARAM_INDEX_LIST
+ min: 0 36; fixed: 0 1;)
+ GENLIST_DESCRIPTION_INDEX_LIST
+ )
+ GENLIST_PART_INDEX_LINE("elm.padding.icon.right", "elm.padding.right", "elm.text", "elm.padding.bottom")
+ }
+ programs {
+ GENLIST_PROGRAM_DISABLED( target: "elm.text"; target: "index_line"; )
+ GENLIST_PROGRAM_SELECT( target: "elm.text"; target: "index_line"; )
+ }
+ }
+
+#if 0
+//2.1.4
+ group { name: "elm/genlist/tree/groupindex.expandable/default";
+ alias: "elm/genlist/tree_odd/groupindex.expandable/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+ images {
+ image: "00_index list_bg.png" COMP;
+ image: "00_indexlist_icon_closed.png" COMP;
+ image: "00_indexlist_icon_opened.png" COMP;
+ image: "00_indexlist_icon_line.png" COMP;
+ }
+ parts {
+ GENLIST_PART_DISCLIP
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( 23 )
+ //GENLIST_PART_TEXT_INDEX_LIST("elm.text", "elm.padding.left", "elm.divider")
+ part { name: "elm.divider";
+ scale: 1;
+ GENLIST_DESCRIPTION_R("elm.padding.arrow.left",
+ min: 2 68;
+ max: 2 68;
+ fixed: 1 1;
+ image.normal: "00_indexlist_icon_line.png";
+ )
+ }
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.arrow.left", "arrow", 23)
+ part { name: "arrow";
+ ignore_flags: ON_HOLD;
+ mouse_events: 0;
+ scale: 1;
+ GENLIST_DESCRIPTION_R("elm.padding.right",
+ min: 42 42;
+ max: 42 42;
+ fixed: 1 1;
+ image.normal: "00_indexlist_icon_opened.png";
+ )
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_indexlist_icon_closed.png";
+ }
+ }
+ }
+ programs {
+ GENLIST_PROGRAM_DISABLED_BOTTOMLINE( target: "elm.text"; )
+ GENLIST_PROGRAM_SELECT_BOTTOMLINE( target: "elm.text";)
+ GENLIST_PROOGRAM_EXPAND("arrow", target: "arrow"; )
+ }
+ }
+
+//2.1.5
+ group { name: "elm/genlist/tree/groupindex.expandable.icon/default";
+ alias: "elm/genlist/tree_odd/groupindex.expandable.icon/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+ data.item: "contents" "elm.icon";
+ images {
+ image: "00_indexlist_icon_closed.png" COMP;
+ image: "00_indexlist_icon_opened.png" COMP;
+ image: "00_indexlist_icon_line.png" COMP;
+ image: "00_index list_bg.png" COMP;
+ }
+ parts {
+ GENLIST_PART_DISCLIP
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( 23 )
+ GENLIST_PART_ICON("elm.icon", GENLIST_DESCRIPTION_L("elm.padding.left", ))
+ GENLIST_PART_PADDING_L_SIZE("elm.padding.icon.right", "elm.icon", GENLIST_PADDING_SIZE_DEFAULT)
+ //GENLIST_PART_TEXT_INDEX_LIST("elm.text", "elm.padding.icon.right", "elm.divider")
+ part { name: "elm.divider";
+ scale: 1;
+ GENLIST_DESCRIPTION_R("elm.padding.arrow.left",
+ min: 2 68;
+ max: 2 68;
+ fixed: 1 1;
+ image.normal: "00_indexlist_icon_line.png";
+ )
+ }
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.arrow.left", "arrow", 23)
+ part { name: "arrow";
+ ignore_flags: ON_HOLD;
+ mouse_events: 0;
+ scale: 1;
+ GENLIST_DESCRIPTION_R("elm.padding.right",
+ min: 42 42;
+ max: 42 42;
+ fixed: 1 1;
+ image.normal: "00_indexlist_icon_opened.png";
+ )
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_indexlist_icon_closed.png";
+ }
+ }
+ }
+ programs {
+ GENLIST_PROGRAM_DISABLED_BOTTOMLINE( target: "elm.text"; )
+ GENLIST_PROGRAM_SELECT_BOTTOMLINE( target: "elm.text";)
+ GENLIST_PROOGRAM_EXPAND("arrow", target: "arrow"; )
+ }
+ }
+
+// FIXME: it seems that belows are not used anymore.
+ group { name : "elm/genlist/item/groupindex.readmessage/default";
+ alias: "elm/genlist/item_odd/groupindex.readmessage/default";
+ alias: "elm/genlist/item_compress/groupindex.readmessage/default";
+ alias: "elm/genlist/item_compress_odd/groupindex.readmessage/default";
+ alias : "elm/genlist/item/grouptitle.readmessage/default";
+ alias: "elm/genlist/item_odd/grouptitle.readmessage/default";
+ alias: "elm/genlist/item_compress/grouptitle.readmessage/default";
+ alias: "elm/genlist/item_compress_odd/grouptitle.readmessage/default";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_HEIGHT_62_INC;
+ color: GENLIST_LIST_BG_COLOR;
+ }
+ }
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_24_INC )
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( GENLIST_PADDING_24_INC )
+ part { name: "text_base";
+ type: RECT;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: GENLIST_PART_BUBBLE_DATE_BG_COLOR_INC;
+ rel2.relative: 1.0 0.62;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ to_y: "text_base";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "text_base";
+ }
+ color: GENLIST_TEXT_COLOR_BUBBLE_READ_MESSAGE;
+ text {
+ font: "Tizen:style=Regular";
+ size: GENLIST_FONT_28_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ }
+ }
+ programs {
+ }
+ }
+ group { name : "elm/genlist/item/groupindex.sentmessage/default";
+ alias: "elm/genlist/item_odd/groupindex.sentmessage/default";
+ alias: "elm/genlist/item_compress/groupindex.sentmessage/default";
+ alias: "elm/genlist/item_compress_odd/groupindex.sentmessage/default";
+ alias : "elm/genlist/item/grouptitle.sentmessage/default";
+ alias: "elm/genlist/item_odd/grouptitle.sentmessage/default";
+ alias: "elm/genlist/item_compress/grouptitle.sentmessage/default";
+ alias: "elm/genlist/item_compress_odd/grouptitle.sentmessage/default";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_HEIGHT_62_INC;
+ color: GENLIST_LIST_BG_COLOR;
+ }
+ }
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_24_INC )
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( GENLIST_PADDING_24_INC )
+ part { name: "text_base";
+ type: RECT;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: GENLIST_PART_BUBBLE_DATE_BG_COLOR_INC;
+ rel2.relative: 1.0 0.62;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ to_y: "text_base";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "text_base";
+ }
+ color: GENLIST_TEXT_COLOR_BUBBLE_READ_MESSAGE;
+ text {
+ font: "Tizen:style=Regular";
+ size: GENLIST_FONT_28_INC;
+ min: 0 1;
+ align: 1.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ }
+ }
+ programs {
+ }
+ }
+
+ /////////// will be removed ////////
+ group { name : "elm/genlist/item/groupindex.dialogue/default";
+ alias: "elm/genlist/item_odd/groupindex.dialogue/default";
+ alias: "elm/genlist/item_compress/groupindex.dialogue/default";
+ alias: "elm/genlist/item_compress_odd/groupindex.dialogue/default";
+ alias : "elm/genlist/item/grouptitle.dialogue/default";
+ alias: "elm/genlist/item_odd/grouptitle.dialogue/default";
+ alias: "elm/genlist/item_compress/grouptitle.dialogue/default";
+ alias: "elm/genlist/item_compress_odd/grouptitle.dialogue/default";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+
+ parts {
+ GENLIST_PART_BASE__( GENLIST_HEIGHT_65_INC )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+
+ part { name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ color: GENLIST_DIALOGUE_GROUP_TITLE_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_28_INC;
+ min: 0 1;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ }
+ }
+ part { name: "bottom_line";
+ type: RECT;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: 0 -1;
+ }
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ }
+ group { name : "elm/genlist/item/groupindex.dialogue.seperator/default";
+ alias: "elm/genlist/item_odd/groupindex.dialogue.seperator/default";
+ alias: "elm/genlist/item_compress/groupindex.dialogue.seperator/default";
+ alias: "elm/genlist/item_compress_odd/groupindex.dialogue.seperator/default";
+ alias : "elm/genlist/item/grouptitle.dialogue.seperator/default";
+ alias: "elm/genlist/item_odd/grouptitle.dialogue.seperator/default";
+ alias: "elm/genlist/item_compress/grouptitle.dialogue.seperator/default";
+ alias: "elm/genlist/item_compress_odd/grouptitle.dialogue.seperator/default";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+
+ parts {
+ GENLIST_PART_BASE__( GENLIST_HEIGHT_33_INC )
+ part { name: "bottom_line";
+ type: RECT;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: 0 -1;
+ }
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ }
+ /////////////////////////////////////////////////
+#endif
\ No newline at end of file
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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 size macro **********************//
+//**************************************************************************//
+// if size is different for each theme, split it into each theme inc.
+
+#define GENLIST_HEIGHT_1LINE 112
+#define GENLIST_HEIGHT_2LINE_MAIN 54
+#define GENLIST_HEIGHT_2LINE_SUB 42
+#define GENLIST_HEIGHT_MULTILINE_SUB 38
+#define GENLIST_PART_LIST_LINE_HEIGHT 1
+#define GENLIST_HEIGHT_GROUPTITLE 46
+
+#define GENLIST_PADDING_SIZE_DEFAULT 16
+#define GENLIST_PADDING_SIZE_LEFT 26
+#define GENLIST_PADDING_SIZE_RIGHT 26
+// Dialogue group image has bottom padding (2piexl), Giant font can overlapped bottom line of image.
+#define GENLIST_PADDING_SIZE_TOP 2
+#define GENLIST_PADDING_SIZE_BOTTOM 2
+// -----------------------------------------------------
+#define GENLIST_PADDING_SIZE_TOP_2LINE 22
+#define GENLIST_PADDING_SIZE_BOTTOM_2LINE 22
+#define GENLIST_PADDING_SIZE_TOP_3LINE 17
+#define GENLIST_PADDING_SIZE_BOTTOM_3LINE 17
+#define GENLIST_PADDING_SIZE_NDEPTH 26
+
+#define DIALOGUE_PADDING_SCROLLER 16
+#define DIALOGUE_PADDING_SIZE_LEFT 16+20
+#define DIALOGUE_PADDING_SIZE_RIGHT 16+20
+
+#define GENLIST_ICON_BIG_SIZE 74
+#define GENLIST_ICON_SMALL_SIZE 38
+#define GENLIST_ICON_STAR_SIZE 38
+#define GENLIST_ICON_THUMBNAIL1_SIZE 104
+#define GENLIST_BTN_01_HEIGHT 74
+#define GENLIST_BTN_02_SIZE 74
+#define GENLIST_ICON_ONOFF_WIDTH 132
+#define GENLIST_ICON_ONOFF_HEIGHT 70
+#define GENLIST_ICON_CHECK_RADIO_SIZE 64
+#define GENLIST_ICON_COLORBAR_SIZE 7
+#define GENLIST_ICON_PASSWORD_SIZE 82
+
+#define GENLIST_TREESIZE_DEFAULT 26
+
+//#define GENLIST_DIALOGUE_SEPARATOR_DEFAULT_HEIGHT 40
+
+//****************************************************************************//
+// ***************** EDJE description have 24 patterns **********************//
+ //**************************************************************************//
+// ------------------
+// | PART == HERE |
+// ------------------
+ #define GENLIST_DESCRIPTION_ENVELOP( PART, PARAM ) \
+ description { state: "default" 0.0;\
+ rel1 { \
+ relative: 0 0; \
+ to: PART; \
+ }\
+ rel2 {\
+ relative: 1 1;\
+ to: PART; \
+ }\
+ PARAM\
+ }
+
+// | top |
+// ---------------------
+// left | HERE | right
+// ---------------------
+// | bottom |
+#define GENLIST_DESCRIPTION( left, right, top, bottom, param ) \
+ description { state: "default" 0.0;\
+ rel1 { \
+ relative: 1 1; \
+ to_x: left; \
+ to_y: top; \
+ }\
+ rel2 {\
+ relative: 0 0;\
+ to_x: right;\
+ to_y: bottom;\
+ }\
+ param\
+ }
+
+// ---------------------
+// left |--> HERE
+// ---------------------
+#define GENLIST_DESCRIPTION_L( left, param ) \
+ description { state: "default" 0.0;\
+ align: 0 0.5; \
+ fixed: 1 0; \
+ rel1 { \
+ relative: 1 0; \
+ to_x: left; \
+ to_y: "base"; \
+ }\
+ rel2 { \
+ relative: 1 1;\
+ to_x: left; \
+ to_y: "base"; \
+ }\
+ param\
+ }
+
+// ---------------------
+// HERE <--| right
+// ---------------------
+#define GENLIST_DESCRIPTION_R( right, param ) \
+ description { state: "default" 0.0;\
+ align: 1 0.5; \
+ fixed: 1 0; \
+ rel1 { \
+ relative: 0 0; \
+ to_x: right; \
+ to_y: "base"; \
+ }\
+ rel2 {\
+ relative: 0 1;\
+ to_x: right; \
+ to_y: "base"; \
+ }\
+ param\
+ }
+
+// --------------------------
+// left |--> HERE <--| right
+// --------------------------
+#define GENLIST_DESCRIPTION_LR( left, right, param ) \
+ description { state: "default" 0.0;\
+ rel1 { \
+ relative: 1 0; \
+ to_x: left; \
+ to_y: "base"; \
+ }\
+ rel2 {\
+ relative: 0 1;\
+ to_x: right;\
+ to_y: "base"; \
+ }\
+ param\
+ }
+
+// | top |
+// -----------------
+// | HERE <--| right
+// -----------------
+// | bottom |
+#define GENLIST_DESCRIPTION_RTB( right, top, bottom, param ) \
+ description { state: "default" 0.0;\
+ align: 1 0.5;\
+ rel1 { \
+ relative: 0 1; \
+ to_x: right; \
+ to_y: top; \
+ }\
+ rel2 {\
+ relative: 0 0;\
+ to_x: right;\
+ to_y: bottom;\
+ }\
+ param\
+ }
+
+// left | HERE | right
+// ---------------------
+// | bottom |
+#define GENLIST_DESCRIPTION_LRB( left, right, bottom, param ) \
+ description { state: "default" 0.0;\
+ align: 0.5 1;\
+ rel1 { \
+ relative: 1 0; \
+ to_x: left; \
+ to_y: bottom; \
+ }\
+ rel2 {\
+ relative: 0 0;\
+ to_x: right;\
+ to_y: bottom;\
+ }\
+ param\
+ }
+
+// | top |
+// ---------------------
+// left | HERE | right
+#define GENLIST_DESCRIPTION_LRT( left, right, top, param ) \
+ description { state: "default" 0.0;\
+ align: 0.5 0;\
+ rel1 { \
+ relative: 1 1; \
+ to_x: left; \
+ to_y: top; \
+ }\
+ rel2 {\
+ relative: 0 1;\
+ to_x: right;\
+ to_y: top;\
+ }\
+ param\
+ }
+
+// | top |
+// ---------------------
+// left | --> HERE |
+#define GENLIST_DESCRIPTION_LT( left, top, param ) \
+ description { state: "default" 0.0;\
+ align: 0 0;\
+ rel1 { \
+ relative: 1 1; \
+ to_x: left; \
+ to_y: top; \
+ }\
+ rel2 {\
+ relative: 1 1;\
+ to_x: left;\
+ to_y: top;\
+ }\
+ param\
+ }
+
+// left | --> HERE |
+// ---------------------
+// | bottom |
+#define GENLIST_DESCRIPTION_LB( left, bottom, param ) \
+ description { state: "default" 0.0;\
+ align: 0 1;\
+ rel1 { \
+ relative: 1 0; \
+ to_x: left; \
+ to_y: bottom; \
+ }\
+ rel2 {\
+ relative: 1 0;\
+ to_x: left;\
+ to_y: bottom;\
+ }\
+ param\
+ }
+
+// | top |
+// ---------------------
+// left |--> HERE |
+// ---------------------
+// | bottom |
+#define GENLIST_DESCRIPTION_LTB( left, top, bottom, param ) \
+ description { state: "default" 0.0;\
+ align: 0 0.5;\
+ rel1 { \
+ relative: 1 1; \
+ to_x: left; \
+ to_y: top; \
+ }\
+ rel2 {\
+ relative: 1 0;\
+ to_x: left;\
+ to_y: bottom;\
+ }\
+ param\
+ }
+
+// | top |
+// ---------------------
+// | HERE <--| right
+#define GENLIST_DESCRIPTION_RT( right, top, param ) \
+ description { state: "default" 0.0;\
+ align: 1 0;\
+ rel1 { \
+ relative: 0 1; \
+ to_x: right; \
+ to_y: top; \
+ }\
+ rel2 {\
+ relative: 0 1;\
+ to_x: right;\
+ to_y: top;\
+ }\
+ param\
+ }
+
+// | HERE <-- | right
+// ---------------------
+// | bottom |
+#define GENLIST_DESCRIPTION_RB( right, bottom, param ) \
+ description { state: "default" 0.0;\
+ align: 1 1;\
+ rel1 { \
+ relative: 0 0; \
+ to_x: right; \
+ to_y: bottom; \
+ }\
+ rel2 {\
+ relative: 0 0;\
+ to_x: right;\
+ to_y: bottom;\
+ }\
+ param\
+ }
+
+// | top |
+// ----------
+// | HERE |
+// ----------
+// | bottom |
+#define GENLIST_DESCRIPTION_TB( top, bottom, param ) \
+ description { state: "default" 0.0;\
+ align: 0.5 0.5;\
+ rel1 { \
+ relative: 0 1; \
+ to_y: top; \
+ }\
+ rel2 {\
+ relative: 1 0;\
+ to_y: bottom;\
+ }\
+ param\
+ }
+
+#define GENLIST_DATA_ITEM_NORMAL \
+ data.item: "stacking" "above"; \
+ data.item: "selectraise" "on"; \
+ data.item: "flips" "elm.flip.icon elm.flip.content"; \
+ data.item: "treesize" GENLIST_TREESIZE_DEFAULT;
+
+/*****************************************************************************/
+/******************************* Dialogue group ******************************/
+/*****************************************************************************/
+#define GENLIST_DIALOGUE_INHERIT_BODY( _PARTS ) \
+ data.item: "treesize" 0; \
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE \
+ parts { \
+ GENLIST_PART_BG_IMAGE_DIALOGUE \
+ GENLIST_PART_BOTTOM_LINE_OFF \
+ GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT ) \
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( DIALOGUE_PADDING_SIZE_RIGHT ) \
+ _PARTS \
+ GENLIST_PART_FLIP \
+ }
+
+//****************************************************************************//
+// ****************************** BG Image **********************************//
+//****************************************************************************//
+#define GENLIST_IMAGE_GROUPINDEX \
+ images { \
+ image: "00_index list_bg.png" COMP; \
+ }
+#define GENLIST_PART_INDEX_BG_IMAGE \
+ part { name: "bg_image"; \
+ type: RECT; \
+ scale: 1; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: GENLIST_GROUPINDEX_LIST_BG_COLOR; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_GROUPINDEX_LIST_PRESS_COLOR; \
+ } \
+ GENLIST_DESCRIPTION_FADE \
+ }
+
+#define GENLIST_PART_BG_IMAGE \
+ part { name: "bg_image_depth_clip"; \
+ type: RECT; \
+ scale: 1; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ description { state: "2depth" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "bg_image"; \
+ type: RECT; \
+ scale: 1; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: GENLIST_LIST_BG_COLOR; \
+ } \
+ description { state: "selected" 0.0; \
+ color: GENLIST_LIST_PRESS_COLOR; \
+ } \
+ description { state: "disabled" 0.0; \
+ color: GENLIST_LIST_DIM_COLOR; \
+ } \
+ GENLIST_DESCRIPTION_FADE \
+ }
+
+#define GENLIST_IMAGES_DIALOGUE_BG_IMAGE \
+ images { \
+ image : "00_list_group_bg.png" COMP; \
+ image : "00_list_group_bg_top.png" COMP; \
+ image : "00_list_group_bg_center.png" COMP; \
+ image : "00_list_group_bg_bottom.png" COMP; \
+ image : "00_list_group_bg_press.png" COMP; \
+ image : "00_list_group_bg_top_press.png" COMP; \
+ image : "00_list_group_bg_center_press.png" COMP; \
+ image : "00_list_group_bg_bottom_press.png" COMP; \
+ }
+
+#define GENLIST_PARAM_BG_IMAGE_DIALOGUE \
+ rel1 { \
+ to_x: "bg_image_left"; \
+ relative: 1 0; \
+ } \
+ rel2 { \
+ to_x: "bg_image_right"; \
+ relative: 0 1; \
+ }
+
+#define GENLIST_PART_BG_IMAGE_DIALOGUE \
+ part { name: "bg_image_depth_clip"; \
+ type: RECT; \
+ scale: 1; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: 255 255 255 255; \
+ } \
+ description { state: "2depth" 0.0; \
+ color: 220 218 211 255; \
+ } \
+ } \
+ part { name: "bg_image_left"; \
+ type: SPACER; \
+ scale: 1; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ min: 16 0; \
+ max: 16 -1; \
+ fixed: 1 0; \
+ align: 0 0.5; \
+ rel2.relative: 0 1; \
+ } \
+ } \
+ part { name: "bg_image_right"; \
+ type: SPACER; \
+ scale: 1; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ min: 16 0; \
+ max: 16 -1; \
+ fixed: 1 0; \
+ align: 1 0.5; \
+ rel1.relative: 1 0; \
+ } \
+ description { state: "editmode" 0.0; \
+ inherit: "default" 0.0; \
+ min: (GENLIST_PADDING_SIZE_DEFAULT*2+GENLIST_ICON_BIG_SIZE) 0; \
+ max: (GENLIST_PADDING_SIZE_DEFAULT*2+GENLIST_ICON_BIG_SIZE) 0; \
+ } \
+ } \
+ part { name: "bg_image"; \
+ clip_to: "bg_image_depth_clip"; \
+ type: IMAGE; \
+ scale: 1; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: 255 255 255 255; \
+ GENLIST_PARAM_BG_IMAGE_DIALOGUE \
+ image { \
+ normal: "00_list_group_bg.png"; \
+ border: 15 15 55 55; \
+ border_scale: 1; \
+ } \
+ } \
+ description { state: "selected" 0.0; \
+ color: 255 255 255 255; \
+ GENLIST_PARAM_BG_IMAGE_DIALOGUE \
+ image { \
+ normal: "00_list_group_bg_press.png"; \
+ border: 15 15 55 55; \
+ border_scale: 1; \
+ } \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default"; \
+ color: 255 255 255 255; \
+ } \
+ description { state: "top" 0.0; \
+ GENLIST_PARAM_BG_IMAGE_DIALOGUE \
+ image { \
+ normal: "00_list_group_bg_top.png"; \
+ border: 15 15 55 2; \
+ border_scale: 1; \
+ } \
+ } \
+ description { state: "top_selected" 0.0; \
+ GENLIST_PARAM_BG_IMAGE_DIALOGUE \
+ image { \
+ normal: "00_list_group_bg_top_press.png"; \
+ border: 15 15 55 2; \
+ border_scale: 1; \
+ } \
+ } \
+ description { state: "top_disabled" 0.0; \
+ inherit: "top"; \
+ } \
+ description { state: "center" 0.0; \
+ GENLIST_PARAM_BG_IMAGE_DIALOGUE \
+ image { \
+ normal: "00_list_group_bg_center.png"; \
+ border: 15 15 2 2; \
+ border_scale: 1; \
+ } \
+ } \
+ description { state: "center_selected" 0.0; \
+ GENLIST_PARAM_BG_IMAGE_DIALOGUE \
+ image { \
+ normal: "00_list_group_bg_center_press.png"; \
+ border: 15 15 2 2; \
+ border_scale: 1; \
+ } \
+ } \
+ description { state: "center_disabled" 0.0; \
+ inherit: "center"; \
+ } \
+ description { state: "bottom" 0.0; \
+ GENLIST_PARAM_BG_IMAGE_DIALOGUE \
+ image { \
+ normal: "00_list_group_bg_bottom.png"; \
+ border: 15 15 2 55; \
+ border_scale: 1; \
+ } \
+ } \
+ description { state: "bottom_selected" 0.0; \
+ GENLIST_PARAM_BG_IMAGE_DIALOGUE \
+ image { \
+ normal: "00_list_group_bg_bottom_press.png"; \
+ border: 15 15 2 10; \
+ border_scale: 1; \
+ } \
+ } \
+ description { state: "bottom_disabled" 0.0; \
+ inherit: "bottom"; \
+ } \
+ GENLIST_DESCRIPTION_FADE \
+ }
+
+//****************************************************************************//
+// ****************************** BASE ********************************//
+//****************************************************************************//
+#define GENLIST_PART_BASE \
+ part { name: "base"; \
+ type: RECT; \
+ repeat_events: 1; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ align: 0.5 0.5; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ GENLIST_PART_PERSPECTIVE_POINT
+
+#define GENLIST_PART_BASE_REORDER \
+ part { name: "base"; \
+ type: RECT; \
+ repeat_events: 1; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ align: 0.5 0.5; \
+ color: 0 0 0 0; \
+ rel1 { \
+ relative: 1 0; \
+ to_x: "reorder.padding.left"; \
+ } \
+ rel2 { \
+ relative: 0 1; \
+ to_x: "reorder.padding.right"; \
+ } \
+ } \
+ } \
+ part { name: "reorder.padding.left"; \
+ type: SPACER; \
+ scale: 1; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ rel2.relative: 0 1; \
+ align: 0 0.5; \
+ } \
+ description { state: "reorder" 0.0; \
+ inherit: "default" 0.0; \
+ min: 16 0; \
+ max: 16 -1; \
+ } \
+ } \
+ part { name: "reorder.padding.right"; \
+ type: SPACER; \
+ scale: 1; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ rel1.relative: 1 0; \
+ align: 1 0.5; \
+ } \
+ description { state: "reorder" 0.0; \
+ inherit: "default" 0.0; \
+ min: 16 0; \
+ max: 16 -1; \
+ } \
+ } \
+ GENLIST_PART_PERSPECTIVE_POINT
+
+//****************************************************************************//
+// ****************************** LINE ********************************//
+//****************************************************************************//
+#define GENLIST_PART_BOTTOM_LINE \
+ part { name: "bottom_line"; \
+ type: RECT; \
+ scale: 1; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ min: 0 GENLIST_PART_LIST_LINE_HEIGHT; \
+ max: -1 GENLIST_PART_LIST_LINE_HEIGHT; \
+ fixed: 0 1; \
+ align: 0.5 1; \
+ color: GENLIST_LIST_LINE1_COLOR; \
+ rel1.to: "bottom_line2"; \
+ rel2.to: "bottom_line2"; \
+ rel2.relative: 1 0; \
+ } \
+ description { state: "reorder" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_LIST_PRESS_COLOR; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_LIST_DIM_COLOR; \
+ } \
+ GENLIST_DESCRIPTION_FADE \
+ } \
+ part { name: "bottom_line2"; \
+ type: RECT; \
+ scale: 1; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ min: 0 GENLIST_PART_LIST_LINE_HEIGHT; \
+ max: -1 GENLIST_PART_LIST_LINE_HEIGHT; \
+ fixed: 0 1; \
+ align: 0.5 1; \
+ color: GENLIST_LIST_LINE2_COLOR; \
+ rel1.to_x: "elm.padding.left"; \
+ rel1.relative: 1 0; \
+ rel2.to_x: "elm.padding.right"; \
+ rel2.relative: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_LIST_PRESS_COLOR; \
+ } \
+ description { state: "reorder" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_LIST_DIM_COLOR; \
+ } \
+ GENLIST_DESCRIPTION_FADE \
+ }
+
+#define GENLIST_PART_BOTTOM_LINE_OFF \
+ part { name: "bottom_line"; \
+ type: RECT; \
+ scale: 1; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ min: 0 GENLIST_PART_LIST_LINE_HEIGHT; \
+ max: -1 GENLIST_PART_LIST_LINE_HEIGHT; \
+ fixed: 0 1; \
+ align: 0.5 1; \
+ rel1.to: "bottom_line2"; \
+ rel2.to: "bottom_line2"; \
+ rel2.relative: 1 0; \
+ visible: 0; \
+ } \
+ GENLIST_DESCRIPTION_FADE \
+ } \
+ part { name: "bottom_line2"; \
+ type: RECT; \
+ scale: 1; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ min: 0 GENLIST_PART_LIST_LINE_HEIGHT; \
+ max: -1 GENLIST_PART_LIST_LINE_HEIGHT; \
+ fixed: 0 1; \
+ align: 0.5 1; \
+ rel1.to_x: "elm.padding.left"; \
+ rel1.relative: 1 0; \
+ rel2.to_x: "elm.padding.right"; \
+ rel2.relative: 0 1; \
+ visible: 0; \
+ } \
+ GENLIST_DESCRIPTION_FADE \
+ }
+
+#define GENLIST_PART_DIVIDER_MARGIN \
+ GENLIST_PART_SPACER("elm.padding.divider.top", \
+ GENLIST_DESCRIPTION_ENVELOP("base", \
+ align: 0.5 0; \
+ min: 0 30; \
+ max: -1 30; \
+ fixed: 0 1; \
+ rel2.relative: 1 0; \
+ ) \
+ ) \
+ GENLIST_PART_SPACER("elm.padding.divider.bottom", \
+ GENLIST_DESCRIPTION_ENVELOP("base", \
+ align: 0.5 1; \
+ min: 0 30; \
+ max: -1 30; \
+ fixed: 0 1; \
+ rel1.relative: 0 1; \
+ ) \
+ ) \
+
+#define GENLIST_PART_DIVIDER_L(LEFT) \
+ GENLIST_PART_DIVIDER_MARGIN \
+ GENLIST_PART_RECT("elm.divider1", \
+ mouse_events: 0; \
+ GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.divider.top", "elm.padding.divider.bottom", \
+ min: 1 0; \
+ max: 1 -1; \
+ fixed: 1 0; \
+ color: GENLIST_LIST_DIVIDER1_COLOR; \
+ ) \
+ GENLIST_DESCRIPTION_FADE \
+ ) \
+ GENLIST_PART_RECT("elm.divider2", \
+ mouse_events: 0; \
+ GENLIST_DESCRIPTION_LTB("elm.divider1", "elm.padding.divider.top", "elm.padding.divider.bottom", \
+ min: 1 0; \
+ max: 1 -1; \
+ fixed: 1 0; \
+ color: GENLIST_LIST_DIVIDER2_COLOR; \
+ ) \
+ GENLIST_DESCRIPTION_FADE \
+ )
+
+#define GENLIST_PART_DIVIDER_R(RIGHT) \
+ GENLIST_PART_DIVIDER_MARGIN \
+ GENLIST_PART_RECT("elm.divider1", \
+ mouse_events: 0; \
+ GENLIST_DESCRIPTION_RTB("elm.divider2", "elm.padding.divider.top", "elm.padding.divider.bottom", \
+ min: 1 0; \
+ max: 1 -1; \
+ fixed: 1 0; \
+ color: GENLIST_LIST_DIVIDER1_COLOR; \
+ ) \
+ GENLIST_DESCRIPTION_FADE \
+ ) \
+ GENLIST_PART_RECT("elm.divider2", \
+ mouse_events: 0; \
+ GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.divider.top", "elm.padding.divider.bottom", \
+ min: 1 0; \
+ max: 1 -1; \
+ fixed: 1 0; \
+ color: GENLIST_LIST_DIVIDER2_COLOR; \
+ ) \
+ GENLIST_DESCRIPTION_FADE \
+ )
+
+#define GENLIST_PART_CENTER_LINE_LT(LEFT, TOP) \
+ GENLIST_PART_SPACER("elm.padding.divider.left", \
+ GENLIST_DESCRIPTION_L(LEFT, \
+ min: 16 0; \
+ max: 16 -1; \
+ fixed: 1 0; \
+ ) \
+ ) \
+ GENLIST_PART_SPACER("elm.padding.divider.right", \
+ GENLIST_DESCRIPTION_ENVELOP("base", \
+ min: 16 0; \
+ max: 16 -1; \
+ fixed: 1 0; \
+ align: 1 0.5; \
+ rel1.relative: 1 0; \
+ ) \
+ ) \
+ GENLIST_PART_RECT("center_line", \
+ mouse_events: 0; \
+ GENLIST_DESCRIPTION_LRT("elm.padding.divider.left", "elm.padding.divider.right", TOP, \
+ min: 0 1; \
+ max: -1 1; \
+ fixed: 0 1; \
+ color: GENLIST_LIST_DIVIDER1_COLOR; \
+ ) \
+ GENLIST_DESCRIPTION_FADE \
+ ) \
+ GENLIST_PART_RECT("center_line2", \
+ GENLIST_DESCRIPTION_LRT("elm.padding.divider.left", "elm.padding.divider.right", "center_line", \
+ min: 0 1; \
+ max: -1 1; \
+ fixed: 0 1; \
+ color: GENLIST_LIST_DIVIDER2_COLOR; \
+ ) \
+ GENLIST_DESCRIPTION_FADE \
+ )
+
+#define GENLIST_PART_COLORBAR \
+ GENLIST_PART_SPACER("elm.padding.colorbar.top", \
+ GENLIST_DESCRIPTION_ENVELOP("base", \
+ align: 0.5 0; \
+ fixed: 0 1; \
+ min: 0 4; \
+ max: -1 4; \
+ rel2.relative: 1 0; \
+ ) \
+ ) \
+ GENLIST_PART_SPACER("elm.padding.colorbar.bottom", \
+ GENLIST_DESCRIPTION_ENVELOP("base", \
+ align: 0.5 1; \
+ fixed: 0 1; \
+ min: 0 4; \
+ max: -1 4; \
+ rel1.relative: 0 1; \
+ ) \
+ ) \
+ GENLIST_PART_ICON("elm.swallow.colorbar", \
+ GENLIST_DESCRIPTION_LTB("bg_image", "elm.padding.colorbar.top", "elm.padding.colorbar.bottom", \
+ min: GENLIST_ICON_COLORBAR_SIZE 0; \
+ max: GENLIST_ICON_COLORBAR_SIZE -1; \
+ fixed: 1 0; \
+ rel1.relative: 0 1; \
+ rel2.relative: 0 0; \
+ ) \
+ GENLIST_DESCRIPTION_FADE \
+ )
+
+//****************************************************************************//
+//********************************* PADDING **********************************//
+//****************************************************************************//
+#define GENLIST_PART_EXPANDED_PAD \
+ part { name: "elm.swallow.pad"; \
+ type: SWALLOW; \
+ scale: 1; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ min: 0 0; \
+ fixed: 1 0; \
+ align: 0.0 0.5; \
+ rel1.to: "base"; \
+ rel2.to: "base"; \
+ rel2.relative: 0.0 1.0; \
+ } \
+ } \
+
+#define GENLIST_PART_PADDING( NAME, SIZE, REL1, REL2 ) \
+ GENLIST_PART_SPACER(NAME, \
+ description { state: "default" 0.0; \
+ min: SIZE 0; \
+ max: SIZE -1; \
+ fixed: 1 0; \
+ align: 0.5 0.5; \
+ rel1 { \
+ relative: REL1; \
+ to: "base"; \
+ } \
+ rel2 { \
+ relative: REL2; \
+ to: "base"; \
+ } \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_LEFT \
+ GENLIST_PART_EXPANDED_PAD \
+ GENLIST_PART_SPACER("elm.padding.left", \
+ GENLIST_DESCRIPTION_L("elm.swallow.pad", \
+ min: GENLIST_PADDING_SIZE_LEFT 0; \
+ max: GENLIST_PADDING_SIZE_LEFT -1; \
+ fixed: 1 0; \
+ ) \
+ description { state: "decorate" 0.0; \
+ inherit: "default" 0.0; \
+ min: 0 0; \
+ max: 0 0; \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_LEFT_SIZE( SIZE ) \
+ GENLIST_PART_EXPANDED_PAD \
+ GENLIST_PART_SPACER("elm.padding.left", \
+ GENLIST_DESCRIPTION_L("elm.swallow.pad", \
+ min: SIZE 0; \
+ max: SIZE -1; \
+ fixed: 1 0; \
+ ) \
+ description { state: "decorate" 0.0; \
+ inherit: "default" 0.0; \
+ min: 0 0; \
+ max: 0 0; \
+ } \
+ )
+
+#define GENLIST_PART_EDITBTN \
+ part { name: "elm.icon.edit"; \
+ type: SWALLOW; \
+ scale: 1; \
+ GENLIST_DESCRIPTION_R("elm.padding.edit.right", \
+ fixed: 1 1; \
+ visible: 0; \
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE; \
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE; \
+ ) \
+ description { state: "editmode" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ GENLIST_PART_SPACER("elm.padding.edit.right", \
+ description { state: "default" 0.0; \
+ fixed: 1 0; \
+ align: 1.0 0.5; \
+ rel1.to: "base"; \
+ rel2.to: "base"; \
+ rel1.relative: 1 0; \
+ min: GENLIST_PADDING_SIZE_RIGHT 0; \
+ max: GENLIST_PADDING_SIZE_RIGHT -1; \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_RIGHT \
+ GENLIST_PART_SPACER("elm.padding.right", \
+ description { state: "default" 0.0; \
+ min: GENLIST_PADDING_SIZE_RIGHT 0; \
+ max: GENLIST_PADDING_SIZE_RIGHT -1; \
+ fixed: 1 0; \
+ align: 1.0 0.5; \
+ rel1.to: "base"; \
+ rel2.to: "base"; \
+ rel1.relative: 1 0; \
+ } \
+ description { state: "decorate" 0.0; \
+ inherit: "default" 0.0; \
+ min: 0 0; \
+ max: 0 0; \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_RIGHT_SIZE( SIZE ) \
+ GENLIST_PART_SPACER("elm.padding.right", \
+ description { state: "default" 0.0; \
+ min: SIZE 0; \
+ max: SIZE -1; \
+ fixed: 1 0; \
+ align: 1.0 0.5; \
+ rel1.to: "base"; \
+ rel2.to: "base"; \
+ rel1.relative: 1 0; \
+ } \
+ description { state: "decorate" 0.0; \
+ inherit: "default" 0.0; \
+ min: 0 0; \
+ max: 0 0; \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_RIGHT_EDIT \
+ GENLIST_PART_SPACER("elm.padding.right", \
+ description { state: "default" 0.0; \
+ min: GENLIST_PADDING_SIZE_RIGHT 0; \
+ max: GENLIST_PADDING_SIZE_RIGHT -1; \
+ fixed: 1 0; \
+ align: 1.0 0.5; \
+ rel1.to: "base"; \
+ rel2.to: "base"; \
+ rel1.relative: 1 0; \
+ } \
+ description { state: "editmode" 0.0; \
+ inherit: "default" 0.0; \
+ min: (DIALOGUE_PADDING_SIZE_RIGHT+GENLIST_ICON_BIG_SIZE+GENLIST_PADDING_SIZE_RIGHT) 0; \
+ max: (DIALOGUE_PADDING_SIZE_RIGHT+GENLIST_ICON_BIG_SIZE+GENLIST_PADDING_SIZE_RIGHT) -1; \
+ } \
+ description { state: "decorate" 0.0; \
+ inherit: "default" 0.0; \
+ min: 0 0; \
+ max: 0 0; \
+ } \
+ ) \
+ GENLIST_PART_EDITBTN
+
+#define GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( SIZE ) \
+ GENLIST_PART_SPACER("elm.padding.right", \
+ description { state: "default" 0.0; \
+ min: SIZE 0; \
+ max: SIZE -1; \
+ fixed: 1 0; \
+ align: 1.0 0.5; \
+ rel1.to: "base"; \
+ rel2.to: "base"; \
+ rel1.relative: 1 0; \
+ } \
+ description { state: "editmode" 0.0; \
+ inherit: "default" 0.0; \
+ min: (DIALOGUE_PADDING_SIZE_RIGHT+SIZE+GENLIST_ICON_BIG_SIZE) 0; \
+ max: (DIALOGUE_PADDING_SIZE_RIGHT+SIZE+GENLIST_ICON_BIG_SIZE) -1; \
+ } \
+ description { state: "decorate" 0.0; \
+ inherit: "default" 0.0; \
+ min: 0 0; \
+ max: 0 0; \
+ } \
+ ) \
+ GENLIST_PART_EDITBTN
+
+#define GENLIST_PART_PADDING_TOP \
+ GENLIST_PART_SPACER("elm.padding.top", \
+ description { \
+ state: "default" 0.0; \
+ min: 0 GENLIST_PADDING_SIZE_TOP; \
+ max: -1 GENLIST_PADDING_SIZE_TOP; \
+ fixed: 0 1; \
+ rel1.to: "base"; \
+ rel2.to: "base"; \
+ rel2.relative: 1.0 0.0; \
+ align: 0.5 0.0; \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_TOP_2LINE \
+ GENLIST_PART_SPACER("elm.padding.top", \
+ description { \
+ state: "default" 0.0; \
+ min: 0 GENLIST_PADDING_SIZE_TOP_2LINE; \
+ max: -1 GENLIST_PADDING_SIZE_TOP_2LINE; \
+ fixed: 0 1; \
+ rel1.to: "base"; \
+ rel2.to: "base"; \
+ rel2.relative: 1.0 0.0; \
+ align: 0.5 0.0; \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_TOP_SIZE( SIZE ) \
+ GENLIST_PART_SPACER("elm.padding.top", \
+ description { \
+ state: "default" 0.0; \
+ min: 0 SIZE; \
+ max: -1 SIZE; \
+ fixed: 0 1; \
+ rel1.to: "base"; \
+ rel2.to: "base"; \
+ rel2.relative: 1.0 0.0; \
+ align: 0.5 0.0; \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_BOTTOM \
+ GENLIST_PART_SPACER("elm.padding.bottom", \
+ description { state: "default" 0.0; \
+ min: 0 GENLIST_PADDING_SIZE_BOTTOM; \
+ max: -1 GENLIST_PADDING_SIZE_BOTTOM; \
+ fixed: 0 1; \
+ rel1.to: "base"; \
+ rel2.to: "base"; \
+ rel1.relative: 0.0 1.0; \
+ align: 0.5 1.0; \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_BOTTOM_2LINE \
+ GENLIST_PART_SPACER("elm.padding.bottom", \
+ description { state: "default" 0.0; \
+ min: 0 GENLIST_PADDING_SIZE_BOTTOM_2LINE; \
+ max: -1 GENLIST_PADDING_SIZE_BOTTOM_2LINE; \
+ fixed: 0 1; \
+ rel1.to: "base"; \
+ rel2.to: "base"; \
+ rel1.relative: 0.0 1.0; \
+ align: 0.5 1.0; \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_BOTTOM_SIZE( SIZE ) \
+ GENLIST_PART_SPACER("elm.padding.bottom", \
+ description { state: "default" 0.0; \
+ min: 0 SIZE; \
+ max: -1 SIZE; \
+ fixed: 0 1; \
+ rel1.to: "base"; \
+ rel2.to: "base"; \
+ rel1.relative: 0.0 1.0; \
+ align: 0.5 1.0; \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_R( NAME, RIGHT ) \
+ GENLIST_PART_SPACER(NAME, \
+ description { state: "default" 0.0; \
+ fixed: 1 0; \
+ min: GENLIST_PADDING_SIZE_DEFAULT 0; \
+ max: GENLIST_PADDING_SIZE_DEFAULT -1; \
+ align: 1 0.5; \
+ rel1 { \
+ relative: 0 0; \
+ to_x: RIGHT; \
+ } \
+ rel2 { \
+ relative: 0 1; \
+ to_x: RIGHT; \
+ } \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_R_SIZE( NAME, RIGHT, SIZE ) \
+ GENLIST_PART_SPACER(NAME, \
+ description { state: "default" 0.0; \
+ fixed: 1 0; \
+ min: SIZE 0; \
+ max: SIZE -1; \
+ align: 1 0.5; \
+ rel1 { \
+ relative: 0 0; \
+ to_x: RIGHT; \
+ } \
+ rel2 { \
+ relative: 0 1; \
+ to_x: RIGHT; \
+ } \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_L( NAME, LEFT ) \
+ GENLIST_PART_SPACER(NAME, \
+ description { state: "default" 0.0; \
+ fixed: 1 0; \
+ min: GENLIST_PADDING_SIZE_DEFAULT 0; \
+ max: GENLIST_PADDING_SIZE_DEFAULT -1; \
+ align: 0 0.5; \
+ rel1 { \
+ relative: 1 0; \
+ to_x: LEFT; \
+ } \
+ rel2 { \
+ relative: 1 1; \
+ to_x: LEFT; \
+ } \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_L_SIZE( NAME, LEFT, SIZE ) \
+ GENLIST_PART_SPACER(NAME, \
+ description { state: "default" 0.0; \
+ fixed: 1 0; \
+ min: SIZE 0; \
+ max: SIZE -1; \
+ align: 0 0.5; \
+ rel1 { \
+ relative: 1 0; \
+ to_x: LEFT; \
+ } \
+ rel2 { \
+ relative: 1 1; \
+ to_x: LEFT; \
+ } \
+ } \
+ )
+
+
+#define GENLIST_PART_PADDING_T_SIZE( NAME, TOP, SIZE ) \
+ GENLIST_PART_SPACER(NAME, \
+ description { state: "default" 0.0; \
+ min: 0 SIZE; \
+ max: -1 SIZE; \
+ fixed: 0 1; \
+ align: 0.5 0; \
+ rel1 { \
+ relative: 0 1; \
+ to: TOP; \
+ } \
+ rel2 { \
+ relative: 1 1; \
+ to: TOP; \
+ } \
+ } \
+ )
+
+#define GENLIST_PART_PADDING_B_SIZE( NAME, BOTTOM, SIZE ) \
+ GENLIST_PART_SPACER(NAME, \
+ description { state: "default" 0.0; \
+ min: 0 SIZE; \
+ max: -1 SIZE; \
+ fixed: 0 1; \
+ align: 0.5 1; \
+ rel1 { \
+ relative: 0.5 0; \
+ to: BOTTOM; \
+ } \
+ rel2 { \
+ relative: 0.5 0; \
+ to: BOTTOM; \
+ } \
+ } \
+ )
+
+#define GENLIST_PART_PERSPECTIVE_POINT \
+ GENLIST_PART_RECT("point", \
+ description { \
+ state: "default" 0.0; \
+ color: 0 0 0 0; \
+ rel1 { relative: 0.0 0.0; } \
+ rel2 { relative: 1.0 0.0; } \
+ } \
+ )
+
+#define GENLIST_DESCRIPTION_ROTATE( param_x, param_y, param_z ) \
+ description { state: "map_contracted" 0.0; \
+ inherit: "default" 0.0; \
+ map { \
+ perspective: "point"; \
+ on: 1; \
+ smooth: 1; \
+ perspective_on: 1; \
+ backface_cull: 1; \
+ rotation { \
+ center: "point"; \
+ x: param_x; \
+ y: param_y; \
+ z: param_z; \
+ } \
+ } \
+ } \
+ description { state: "map_expanded" 0.0; \
+ inherit: "default" 0.0; \
+ map { \
+ perspective: "point"; \
+ on: 1; \
+ smooth: 1; \
+ perspective_on: 1; \
+ backface_cull: 1; \
+ rotation { \
+ center: "point"; \
+ x: 0; \
+ y: 0; \
+ z: 0; \
+ } \
+ } \
+ } \
+ description { \
+ state: "hide" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ }
+
+#define GENLIST_PROGRAM_ROTATE( TARGET ) \
+ program { name: "map_expand_start"; \
+ signal: "flip_item"; \
+ action: STATE_SET "map_contracted" 0.0; \
+ target: "bg_image"; \
+ TARGET \
+ after: "map_expanding"; \
+ } \
+ program { name: "map_expanding"; \
+ action: STATE_SET "hide" 0.0; \
+ transition: LINEAR 0.2; \
+ target: "bg_image"; \
+ TARGET \
+ after: "map_expand_end"; \
+ } \
+ program { name: "map_expand_end"; \
+ action: STATE_SET "default" 0.0; \
+ target: "bg_image"; \
+ TARGET \
+ } \
+ program { name: "map_contract_start"; \
+ signal: "elm,state,contract_flip"; \
+ action: STATE_SET "map_expanded" 0.0; \
+ target: "bg_image"; \
+ TARGET \
+ after: "map_contracting"; \
+ } \
+ program { name: "map_contracting"; \
+ action: STATE_SET "map_contracted" 0.0; \
+ transition: LINEAR 0.3; \
+ target: "bg_image"; \
+ TARGET \
+ after: "map_contract_end"; \
+ } \
+ program { name: "map_contract_end"; \
+ action: STATE_SET "hide" 0.0; \
+ target: "bg_image"; \
+ TARGET \
+ }
+
+// FIXME: swallow part cannot be fade out ???
+#define GENLIST_DESCRIPTION_FADE_ICON \
+ description { state: "fadeout" 0.0; \
+ inherit: "default" 0.0; \
+ color: 0 0 0 10; \
+ visible: 0; \
+ } \
+ description { state: "fadein" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+
+#define GENLIST_DESCRIPTION_FADE \
+ description { state: "fadeout" 0.0; \
+ inherit: "default" 0.0; \
+ color: 255 255 255 10; \
+ } \
+ description { state: "fadein" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+
+// FIXME: bg_color_change is used temporary
+#define GENLIST_PROGRAM_EXPAND_FADE( TARGET ) \
+ program { name: "bg_color_change"; \
+ signal: "bg_color_change"; \
+ action: STATE_SET "2depth" 0.0; \
+ target: "bg_image_depth_clip"; \
+ after: "expand_start_fade"; \
+ } \
+ program { name: "expand_start_fade"; \
+ signal: "flip_item"; \
+ action: STATE_SET "fadeout" 0.0; \
+ target: "bg_image"; \
+ TARGET \
+ after: "expand_end_fade"; \
+ } \
+ program { name: "expand_end_fade"; \
+ action: STATE_SET "default" 0.0; \
+ transition: DECELERATE 0.3; \
+ target: "bg_image"; \
+ TARGET \
+ } \
+ program { name: "contract_fade"; \
+ signal: "elm,state,contract_flip"; \
+ action: STATE_SET "fadein" 0.0; \
+ target: "bg_image"; \
+ TARGET \
+ after: "contract_end_fade"; \
+ } \
+ program { name: "contract_end_fade"; \
+ action: STATE_SET "fadeout" 0.0; \
+ transition: ACCELERATE 0.3; \
+ target: "bg_image"; \
+ TARGET \
+ }
+
+// FIXME: This do need now. I should find why this is used in genlist
+#if 0
+ program { \
+ name: "show"; \
+ signal: "elm,state,show"; \
+ action: STATE_SET "default" 0.0; \
+ TARGET \
+ } \
+ program { \
+ name: "hide"; \
+ signal: "elm,state,hide"; \
+ action: STATE_SET "hide" 0.0; \
+ TARGET \
+ }
+#endif
+
+#define GENLIST_PROGRAM_EXPAND_ROOT( TARGET ) \
+ program { \
+ name: "go_expanded"; \
+ signal: "elm,state,expanded"; \
+ source: "elm"; \
+ action: STATE_SET "expand_opened" 0.0; \
+ TARGET \
+ } \
+ program { \
+ name: "go_contracted"; \
+ signal: "elm,state,contracted"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ TARGET \
+ } \
+
+
+
+#define GENLIST_PROGRAM_EXPANDABLE( SRC ) \
+ program { \
+ name: "expand"; \
+ signal: "mouse,up,1"; \
+ SRC \
+ action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; \
+ } \
+
+// 2.2.7 Genlist_Edit mode (Rename)
+// FIXME: padding is not needed when swallow content is NULL.
+// But how can edje kwno existence of swallow content?
+#define GENLIST_PART_FLIP \
+ part { name: "elm.flip.event_block";\
+ type: RECT;\
+ mouse_events: 0; \
+ repeat_events: 0;\
+ description { state: "default" 0.0;\
+ visible: 0; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ color: GENLIST_LIST_BG_COLOR;\
+ }\
+ }\
+ part { name: "elm.flip.padding.left"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: 26 0; \
+ max: 26 -1; \
+ fixed: 1 0; \
+ visible: 0; \
+ align: 0 0.5; \
+ rel1 { \
+ relative: 0 0; \
+ to: "base"; \
+ } \
+ rel2 { \
+ relative: 0 1; \
+ to: "base"; \
+ } \
+ } \
+ } \
+ part { name: "elm.flip.padding.right"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: 26 0; \
+ max: 26 -1; \
+ fixed: 1 0; \
+ visible: 0; \
+ align: 1 0.5; \
+ rel1 { \
+ relative: 1 0; \
+ to: "base"; \
+ } \
+ rel2 { \
+ relative: 1 1; \
+ to: "base"; \
+ } \
+ } \
+ } \
+ part { name: "elm.flip.content"; \
+ type: SWALLOW; \
+ scale: 1; \
+ GENLIST_DESCRIPTION_LR("elm.flip.padding.left", "elm.flip.padding.icon.left", \
+ aspect: 1 1; visible: 0; ) \
+ description { state: "flip_enabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ GENLIST_PART_PADDING_R("elm.flip.padding.icon.left", "elm.flip.icon") \
+ GENLIST_PART_ICON( "elm.flip.icon", \
+ GENLIST_DESCRIPTION_R("elm.flip.padding.right", \
+ visible: 0; \
+ aspect: 1 1; \
+ align: 1 0.5; \
+ max: 154 74;) \
+ description { state: "flip_enabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ )
+
+//****************************************************************************//
+// ******************************* Programs ********************************//
+//**************************************************************************//
+// signal: elm,state,%s,active
+// a "check" item named %s went active
+// signal: elm,state,%s,passive
+// a "check" item named %s went passive
+// default is passive
+#define GENLIST_PROGRAM_DISABLED( TARGET ) \
+ program { name: "enabled"; \
+ signal: "elm,state,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "bg_image"; \
+ TARGET \
+ } \
+ program { name: "disabled"; \
+ signal: "elm,state,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "bg_image"; \
+ TARGET \
+ }
+
+#define GENLIST_PROGRAM_DISABLED_BOTTOMLINE( TARGET ) \
+ program { name: "enabled"; \
+ signal: "elm,state,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "bg_image"; \
+ target: "bottom_line"; \
+ target: "bottom_line2"; \
+ TARGET \
+ } \
+ program { name: "disabled"; \
+ signal: "elm,state,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "bg_image"; \
+ target: "bottom_line"; \
+ target: "bottom_line2"; \
+ TARGET \
+ }
+
+#define GENLIST_PROGRAM_SELECT( TARGET ) \
+ program { name: "selected"; \
+ signal: "elm,state,selected"; \
+ source: "elm"; \
+ action: STATE_SET "selected" 0.0; \
+ target: "bg_image"; \
+ TARGET \
+ after: "play_button_press"; \
+ } \
+ program { name: "unselected"; \
+ signal: "elm,state,unselected"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "bg_image"; \
+ TARGET \
+ transition: LINEAR 0.1; \
+ } \
+ program { name: "play_button_press"; \
+ action: PLAY_SAMPLE "button-pressed" 1.0; \
+ }
+
+#define GENLIST_PROGRAM_SELECT_BOTTOMLINE( TARGET ) \
+ program { name: "selected"; \
+ signal: "elm,state,selected"; \
+ source: "elm"; \
+ action: STATE_SET "selected" 0.0; \
+ target: "bg_image"; \
+ target: "bottom_line"; \
+ target: "bottom_line2"; \
+ TARGET \
+ after: "play_button_press"; \
+ } \
+ program { name: "unselected"; \
+ signal: "elm,state,unselected"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "bg_image"; \
+ target: "bottom_line"; \
+ target: "bottom_line2"; \
+ TARGET \
+ transition: LINEAR 0.1; \
+ } \
+ program { name: "play_button_press"; \
+ action: PLAY_SAMPLE "button-pressed" 1.0; \
+ }
+
+#define GENLIST_PROGRAM_DISABLED_DIALOGUE( TARGET ) \
+ program { name: "enabled"; \
+ signal: "elm,state,enabled"; \
+ source: "elm"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"bg_image", st, 30, vl); \
+ if (!strcmp(st, "top_disabled")) \
+ set_state(PART:"bg_image", "top", 0.0); \
+ else if (!strcmp(st, "center_disabled")) \
+ set_state(PART:"bg_image", "center", 0.0); \
+ else if (!strcmp(st, "bottom_disabled")) \
+ set_state(PART:"bg_image", "bottom", 0.0); \
+ else \
+ set_state(PART:"bg_image", "default", 0.0); \
+ } \
+ after: "target_enabled"; \
+ } \
+ program { name: "target_enabled"; \
+ action: STATE_SET "default" 0.0; \
+ TARGET \
+ }\
+ program { name: "disabled"; \
+ signal: "elm,state,disabled"; \
+ source: "elm"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"bg_image", st, 30, vl); \
+ if (!strcmp(st, "top")) \
+ set_state(PART:"bg_image", "top_disabled", 0.0); \
+ else if (!strcmp(st, "center")) \
+ set_state(PART:"bg_image", "center_disabled", 0.0); \
+ else if (!strcmp(st, "bottom")) \
+ set_state(PART:"bg_image", "bottom_disabled", 0.0); \
+ else \
+ set_state(PART:"bg_image", "disabled", 0.0); \
+ } \
+ after: "target_disabled"; \
+ } \
+ program { name: "target_disabled"; \
+ action: STATE_SET "disabled" 0.0; \
+ TARGET \
+ }
+
+#define GENLIST_PROGRAM_SELECT_DIALOGUE( TARGET ) \
+ program { name: "selected"; \
+ signal: "elm,state,selected"; \
+ source: "elm"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"bg_image", st, 30, vl); \
+ if (!strcmp(st, "top")) \
+ set_state(PART:"bg_image", "top_selected", 0.0); \
+ else if (!strcmp(st, "center")) \
+ set_state(PART:"bg_image", "center_selected", 0.0); \
+ else if (!strcmp(st, "bottom")) \
+ set_state(PART:"bg_image", "bottom_selected", 0.0); \
+ else \
+ set_state(PART:"bg_image", "selected", 0.0); \
+ } \
+ after: "target_selected"; \
+ after: "play_button_press"; \
+ } \
+ program { name: "unselected"; \
+ signal: "elm,state,unselected"; \
+ source: "elm"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"bg_image", st, 30, vl); \
+ if (!strcmp(st, "top_selected")) \
+ set_state(PART:"bg_image", "top", 0.0); \
+ else if (!strcmp(st, "center_selected")) \
+ set_state(PART:"bg_image", "center", 0.0); \
+ else if (!strcmp(st, "bottom_selected")) \
+ set_state(PART:"bg_image", "bottom", 0.0); \
+ else \
+ set_state(PART:"bg_image", "default", 0.0); \
+ } \
+ transition: LINEAR 0.1; \
+ after: "target_unselected"; \
+ } \
+ program { name: "target_selected"; \
+ action: STATE_SET "selected" 0.0; \
+ TARGET \
+ }\
+ program { name: "target_unselected"; \
+ action: STATE_SET "default" 0.0; \
+ TARGET \
+ }\
+ program { name: "bg_top"; \
+ signal: "elm,state,top"; \
+ source: "*"; \
+ action: STATE_SET "top" 0.0; \
+ target: "bg_image"; \
+ } \
+ program { name: "bg_center"; \
+ signal: "elm,state,center"; \
+ source: "*"; \
+ action: STATE_SET "center" 0.0; \
+ target: "bg_image"; \
+ } \
+ program { name: "bg_bottom"; \
+ signal: "elm,state,bottom"; \
+ source: "*"; \
+ action: STATE_SET "bottom" 0.0; \
+ target: "bg_image"; \
+ } \
+ program { name: "bg_default"; \
+ signal: "elm,state,default"; \
+ source: "*"; \
+ action: STATE_SET "default" 0.0; \
+ target: "bg_image"; \
+ } \
+ program { name: "play_button_press"; \
+ action: PLAY_SAMPLE "button-pressed" 1.0; \
+ }
+
+#define GENLIST_PROGRAM_SELECT_DIALOGUE_ARROW( TARGET ) \
+ program { name: "selected"; \
+ signal: "elm,state,selected"; \
+ source: "elm"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"bg_image", st, 30, vl); \
+ if (!strcmp(st, "top")) \
+ set_state(PART:"bg_image", "top_selected", 0.0); \
+ else if (!strcmp(st, "center")) \
+ set_state(PART:"bg_image", "center_selected", 0.0); \
+ else if (!strcmp(st, "bottom")) \
+ set_state(PART:"bg_image", "bottom_selected", 0.0); \
+ else \
+ set_state(PART:"bg_image", "selected", 0.0); \
+ get_state(PART:"arrow", st, 30, vl); \
+ if (!strcmp(st, "default")) { \
+ set_state(PART:"arrow", "default_press", 0.0); \
+ set_state(PART:"arrow_clip", "default_press", 0.0); \
+ } \
+ else if (!strcmp(st, "expand_opened")) { \
+ set_state(PART:"arrow", "expand_opened_press", 0.0); \
+ set_state(PART:"arrow_clip", "expand_opened_press", 0.0); \
+ } \
+ } \
+ after: "target_selected"; \
+ after: "play_button_press"; \
+ } \
+ program { name: "unselected"; \
+ signal: "elm,state,unselected"; \
+ source: "elm"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"bg_image", st, 30, vl); \
+ if (!strcmp(st, "top_selected")) \
+ set_state(PART:"bg_image", "top", 0.0); \
+ else if (!strcmp(st, "center_selected")) \
+ set_state(PART:"bg_image", "center", 0.0); \
+ else if (!strcmp(st, "bottom_selected")) \
+ set_state(PART:"bg_image", "bottom", 0.0); \
+ else \
+ set_state(PART:"bg_image", "default", 0.0); \
+ get_state(PART:"arrow", st, 30, vl); \
+ if (!strcmp(st, "default_press")) { \
+ set_state(PART:"arrow", "default", 0.0); \
+ set_state(PART:"arrow_clip", "default", 0.0); \
+ } \
+ else if (!strcmp(st, "expand_opened_press")) { \
+ set_state(PART:"arrow", "expand_opened", 0.0); \
+ set_state(PART:"arrow_clip", "expand_opened", 0.0); \
+ } \
+ } \
+ transition: LINEAR 0.1; \
+ after: "target_unselected"; \
+ } \
+ program { name: "target_selected"; \
+ action: STATE_SET "selected" 0.0; \
+ TARGET \
+ }\
+ program { name: "target_unselected"; \
+ action: STATE_SET "default" 0.0; \
+ TARGET \
+ }\
+ program { name: "bg_top"; \
+ signal: "elm,state,top"; \
+ source: "*"; \
+ action: STATE_SET "top" 0.0; \
+ target: "bg_image"; \
+ } \
+ program { name: "bg_center"; \
+ signal: "elm,state,center"; \
+ source: "*"; \
+ action: STATE_SET "center" 0.0; \
+ target: "bg_image"; \
+ } \
+ program { name: "bg_bottom"; \
+ signal: "elm,state,bottom"; \
+ source: "*"; \
+ action: STATE_SET "bottom" 0.0; \
+ target: "bg_image"; \
+ } \
+ program { name: "bg_default"; \
+ signal: "elm,state,default"; \
+ source: "*"; \
+ action: STATE_SET "default" 0.0; \
+ target: "bg_image"; \
+ } \
+ program { name: "play_button_press"; \
+ action: PLAY_SAMPLE "button-pressed" 1.0; \
+ }
+
+#define GENLIST_PROGRAM_FLIP \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.flip.event_block"; \
+ after: "flip_enabled_next"; \
+ } \
+ program { name: "flip_enabled_next"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ transition: DECELERATE 0.5; \
+ target: "elm.flip.content"; \
+ target: "elm.flip.icon"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ transition: DECELERATE 0.5; \
+ target: "elm.flip.event_block"; \
+ target: "elm.flip.content"; \
+ target: "elm.flip.icon"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_TARGET( TARGET ) \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ transition: DECELERATE 0.5; \
+ TARGET; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ transition: DECELERATE 0.5; \
+ TARGET \
+ }
+
+#define GENLIST_PROGRAM_EDITMODE \
+ program { name: "edit_enabled"; \
+ signal: "elm,state,edit,enabled"; \
+ source: "*"; \
+ action: STATE_SET "editmode" 0.0; \
+ target: "elm.padding.right"; \
+ target: "elm.icon.edit"; \
+ target: "bg_image_right"; \
+ } \
+ program { name: "edit_disabled"; \
+ signal: "elm,state,edit,disabled"; \
+ source: "*"; \
+ action: STATE_SET "editmode" 0.0; \
+ target: "elm.padding.right"; \
+ target: "elm.icon.edit"; \
+ target: "bg_image_right"; \
+ }
+
+#define GENLIST_PROGRAMS_INDEX( TARGET ) \
+ programs { \
+ GENLIST_PROGRAM_DISABLED( TARGET ) \
+ }
+
+#define GENLIST_PROGRAMS_NORMAL( TARGET ) \
+ programs { \
+ GENLIST_PROGRAM_DISABLED_BOTTOMLINE( TARGET ) \
+ GENLIST_PROGRAM_SELECT_BOTTOMLINE( TARGET ) \
+ GENLIST_PROGRAM_EXPAND_FADE( target: "bottom_line"; target: "bottom_line2"; TARGET ) \
+ GENLIST_PROGRAMS_DECORATE \
+ GENLIST_PROGRAM_FLIP \
+ }
+
+// FIXME: inheritance !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
+// if GENLIST_PROGRAM_EXPAND is here, expanda effect is something wrong.
+// because after can be duplicated when program inheriting.
+#define GENLIST_PROGRAMS_DIALOGUE( TARGET ) \
+ programs { \
+ GENLIST_PROGRAM_DISABLED_DIALOGUE( TARGET ) \
+ GENLIST_PROGRAM_SELECT_DIALOGUE( TARGET ) \
+ GENLIST_PROGRAM_FLIP \
+ GENLIST_PROGRAM_EDITMODE \
+ }
+
+#define GENLIST_PROGRAMS_MULTILINE( TARGET ) \
+ programs { \
+ GENLIST_PROGRAM_DISABLED_DIALOGUE( TARGET ) \
+ GENLIST_PROGRAM_SELECT_DIALOGUE( TARGET ) \
+ GENLIST_PROGRAM_FLIP \
+ }
+
+#define GENLIST_PROGRAMS_READ_TEXT
+#define GENLIST_PROGRAMS_READ_TEXT1( TARGET ) \
+ script { \
+ public readed = 0; \
+ } \
+ programs { \
+ GENLIST_PROGRAM_DISABLED_BOTTOMLINE( TARGET ) \
+ GENLIST_PROGRAM_FLIP \
+ program { name: "selected"; \
+ signal: "elm,state,selected"; \
+ source: "elm"; \
+ action: STATE_SET "selected" 0.0; \
+ target: "bg_image"; \
+ target: "bottom_line"; \
+ target: "bottom_line2"; \
+ TARGET \
+ after: "play_button_press"; \
+ } \
+ program { name: "play_button_press"; \
+ action: PLAY_SAMPLE "button-pressed" 1.0; \
+ } \
+ program { name: "go_passive_target"; \
+ signal: "elm,state,unselected"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ TARGET \
+ after: "go_passive_text1"; \
+ } \
+ program { name: "go_passive_text1"; \
+ transition: LINEAR 0.1; \
+ script { \
+ set_state(PART:"bg_image", "default", 0.0); \
+ set_state(PART:"bottom_line", "default", 0.0); \
+ set_state(PART:"bottom_line2", "default", 0.0); \
+ if (get_int(readed) == 1) \
+ set_state(PART:"elm.text.1", "read", 0.0); \
+ else \
+ set_state(PART:"elm.text.1", "default", 0.0); \
+ } \
+ } \
+ program { name: "go_read"; \
+ signal: "elm,state,read"; \
+ source: "*"; \
+ script { \
+ set_int(readed, 1); \
+ set_state(PART:"elm.text.1", "read", 0.0); \
+ } \
+ } \
+ program { name: "go_unread"; \
+ signal: "elm,state,unread"; \
+ source: "*"; \
+ script { \
+ set_int(readed, 0); \
+ set_state(PART:"elm.text.1", "default", 0.0); \
+ } \
+ } \
+ }
+
+#define GENLIST_PROGRAMS_DECORATE \
+ program { name: "decorate_enabled_effect"; \
+ signal: "elm,state,decorate,enabled,effect";\
+ source: "elm";\
+ transition: DECELERATE 0.7;\
+ action: STATE_SET "decorate" 0.0;\
+ target: "elm.padding.left"; \
+ target: "elm.padding.right"; \
+ }\
+ program { name: "decorate_disabled_effect";\
+ signal: "elm,state,decorate,disabled,effect";\
+ source: "elm";\
+ transition: ACCELERATE 0.7;\
+ action: STATE_SET "default" 0.0;\
+ target: "elm.padding.left"; \
+ target: "elm.padding.right"; \
+ }\
+ program { name: "decorate_enabled";\
+ signal: "elm,state,decorate,enabled";\
+ source: "elm";\
+ action: STATE_SET "decorate" 0.0;\
+ target: "elm.padding.left"; \
+ target: "elm.padding.right"; \
+ }\
+ program { name: "decorate_disabled";\
+ signal: "elm,state,decorate,disabled";\
+ source: "elm";\
+ action: STATE_SET "default" 0.0;\
+ target: "elm.padding.left"; \
+ target: "elm.padding.right"; \
+ }
+
+//****************************************************************************//
+// ******************************* Icon Part ******************************//
+//***************************************************************************//
+#define GENLIST_PART_ICON(NAME, DESCRIPION) \
+ part { name: NAME; \
+ scale: 1; \
+ type: SWALLOW; \
+ DESCRIPION \
+ GENLIST_DESCRIPTION_FADE_ICON \
+ }
+
+#define GENLIST_PARAM_ICON_BIG \
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE; \
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+
+#define GENLIST_PARAM_ICON_SMALL \
+ min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE; \
+ max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+
+#define GENLIST_PARAM_ICON_BTN_01 \
+ min: 0 GENLIST_BTN_01_HEIGHT; \
+ max: -1 GENLIST_BTN_01_HEIGHT;
+
+#define GENLIST_PARAM_ICON_BTN_02 \
+ min: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; \
+ max: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE;
+
+#define GENLIST_PARAM_ICON_ONOFF_WIDTH \
+ min: GENLIST_ICON_ONOFF_WIDTH GENLIST_ICON_ONOFF_HEIGHT; \
+ max: GENLIST_ICON_ONOFF_WIDTH GENLIST_ICON_ONOFF_HEIGHT;
+
+#define GENLIST_PARAM_ICON_THUMBNAIL1\
+ min: GENLIST_ICON_THUMBNAIL1_SIZE GENLIST_ICON_THUMBNAIL1_SIZE; \
+ max: GENLIST_ICON_THUMBNAIL1_SIZE GENLIST_ICON_THUMBNAIL1_SIZE;
+
+#define GENLIST_PARAM_ICON_CHECK_RADIO \
+ min: GENLIST_ICON_CHECK_RADIO_SIZE GENLIST_ICON_CHECK_RADIO_SIZE; \
+ max: GENLIST_ICON_CHECK_RADIO_SIZE GENLIST_ICON_CHECK_RADIO_SIZE;
+
+#define GENLIST_PARAM_ICON_STAR \
+ min: GENLIST_ICON_STAR_SIZE GENLIST_ICON_STAR_SIZE; \
+ max: GENLIST_ICON_STAR_SIZE GENLIST_ICON_STAR_SIZE; \
+
+#define GENLIST_PART_ICON_BIG_R(NAME, RIGHT) \
+ GENLIST_PART_ICON(NAME, \
+ GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \
+ fixed: 1 1; \
+ GENLIST_PARAM_ICON_BIG \
+ ) \
+ )
+
+#define GENLIST_PART_ICON_BIG_L(NAME, LEFT) \
+ GENLIST_PART_ICON(NAME, \
+ GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \
+ fixed: 1 1; \
+ GENLIST_PARAM_ICON_BIG \
+ ) \
+ )
+
+#define GENLIST_PART_ICON_SMALL_L(NAME, LEFT) \
+ GENLIST_PART_ICON(NAME, \
+ GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \
+ GENLIST_PARAM_ICON_SMALL \
+ fixed: 1 1; \
+ ) \
+ )
+
+#define GENLIST_PART_ICON_SMALL_LB(NAME, LEFT, BOTTOM) \
+ GENLIST_PART_ICON(NAME, \
+ GENLIST_DESCRIPTION_LB(LEFT, BOTTOM, \
+ fixed: 1 1; \
+ GENLIST_PARAM_ICON_SMALL \
+ ) \
+ )
+
+#define GENLIST_PART_ICON_SMALL_LTB(NAME, LEFT, TOP, BOTTOM) \
+ GENLIST_PART_ICON(NAME, \
+ GENLIST_DESCRIPTION_LTB(LEFT, TOP, BOTTOM, \
+ GENLIST_PARAM_ICON_SMALL \
+ ) \
+ )
+
+#define GENLIST_PART_ICON_SMALL_RTB(NAME, RIGHT, TOP, BOTTOM) \
+ GENLIST_PART_ICON(NAME, \
+ GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \
+ GENLIST_PARAM_ICON_SMALL \
+ fixed: 1 1; \
+ ) \
+ )
+
+#define GENLIST_PART_ICON_BTN_01_RTB(NAME, RIGHT, TOP, BOTTOM) \
+ GENLIST_PART_ICON(NAME, \
+ GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM,\
+ GENLIST_PARAM_ICON_BTN_01 \
+ fixed: 1 1; \
+ ) \
+ )
+
+#define GENLIST_PART_ICON_BTN_02_RTB(NAME, RIGHT, TOP, BOTTOM) \
+ GENLIST_PART_ICON(NAME, \
+ GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM,\
+ GENLIST_PARAM_ICON_BTN_02 \
+ fixed: 1 1; \
+ ) \
+ )
+
+#define GENLIST_PART_ICON_BTN_ONOFF_R(NAME, RIGHT) \
+ GENLIST_PART_ICON(NAME, \
+ GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \
+ GENLIST_PARAM_ICON_ONOFF_WIDTH \
+ fixed: 1 1; \
+ ) \
+ )
+
+#define GENLIST_PART_ICON_BTN_ONOFF_L(NAME, LEFT) \
+ GENLIST_PART_ICON(NAME, \
+ GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \
+ GENLIST_PARAM_ICON_ONOFF_WIDTH \
+ ) \
+ )
+
+#define GENLIST_PART_ICON_THUMBNAIL1_R(NAME, RIGHT) \
+ GENLIST_PART_ICON(NAME, \
+ GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \
+ GENLIST_PARAM_ICON_THUMBNAIL1 \
+ fixed: 1 1; \
+ ) \
+ )
+
+#define GENLIST_PART_ICON_CHECK_RADIO_L(NAME, LEFT) \
+ GENLIST_PART_ICON(NAME, \
+ GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \
+ GENLIST_PARAM_ICON_CHECK_RADIO \
+ ) \
+ )
+
+#define GENLIST_PART_ICON_STAR_RTB(NAME, RIGHT, TOP, BOTTOM) \
+ GENLIST_PART_ICON(NAME, \
+ GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \
+ GENLIST_PARAM_ICON_STAR \
+ fixed: 1 1; \
+ ) \
+ )
+
+/*****************************************************************************/
+/******************************* Genlist IMAGE ********************************/
+/*****************************************************************************/
+#define GENLIST_PART_IMAGE(NAME, DESCRIPION) \
+ part { name: NAME; \
+ scale: 1; \
+ type: IMAGE; \
+ DESCRIPION \
+ GENLIST_DESCRIPTION_FADE \
+ }
+
+#define GENLIST_PARAM_PASSWORD_IMAGE \
+ min: GENLIST_ICON_PASSWORD_SIZE GENLIST_ICON_PASSWORD_SIZE; \
+ max: GENLIST_ICON_PASSWORD_SIZE GENLIST_ICON_PASSWORD_SIZE; \
+ image.normal: "00_search_edit_field_bg_02.png"; \
+ image.border: 4 4 4 4; \
+ image.border_scale: 1;
+
+/*****************************************************************************/
+/******************************* Genlist Bubble ********************************/
+/*****************************************************************************/
+#define GENLIST_IMAGES_EXPANDABLE_BTN \
+ images { \
+ image: "00_button_expand_closed.png" COMP; \
+ image: "00_button_expand_opened.png" COMP; \
+ }
+
+#define GENLIST_PART_EXPANDABLE_ARROW \
+ GENLIST_PART_ICON("touch_arrow", \
+ ignore_flags: ON_HOLD; \
+ GENLIST_DESCRIPTION_ENVELOP("arrow", ) \
+ GENLIST_DESCRIPTION_FADE \
+ ) \
+ GENLIST_PART_RECT("arrow_clip", \
+ GENLIST_DESCRIPTION_ENVELOP("arrow", \
+ color: 101 101 101 255; \
+ ) \
+ description { state: "disabled" 0.0; \
+ color: 101 101 101 76; \
+ } \
+ description { state: "expand_opened_press" 0.0; \
+ color: 248 246 230 255; \
+ } \
+ description { state: "default_press" 0.0; \
+ color: 248 246 230 255; \
+ } \
+ ) \
+ GENLIST_PART_IMAGE("arrow", \
+ clip_to: "arrow_clip"; \
+ ignore_flags: ON_HOLD; \
+ mouse_events: 0; \
+ GENLIST_DESCRIPTION_R("elm.padding.right", \
+ fixed: 1 1; \
+ min: 74 74; \
+ max: 74 74; \
+ image.normal: "00_button_expand_closed.png"; \
+ ) \
+ description { state: "default_press" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_button_expand_closed_press.png"; \
+ } \
+ description { state: "expand_opened" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_button_expand_opened.png"; \
+ } \
+ description { state: "expand_opened_press" 0.0; \
+ inherit: "expand_opened" 0.0; \
+ image.normal: "00_button_expand_opened_press.png"; \
+ } \
+ GENLIST_DESCRIPTION_FADE \
+ )
+/*****************************************************************************/
+/******************************* Genlist RECT ********************************/
+/*****************************************************************************/
+#define GENLIST_PART_SPACER(NAME, DESCRIPION) \
+ part { name: NAME; \
+ scale: 1; \
+ mouse_events: 0; \
+ type: SPACER; \
+ DESCRIPION \
+ }
+
+#define GENLIST_PART_RECT(NAME, DESCRIPION) \
+ part { name: NAME; \
+ scale: 1; \
+ type: RECT; \
+ DESCRIPION \
+ GENLIST_DESCRIPTION_FADE \
+ }
+
+#define GENLIST_PART_INDEX_LINE(LEFT, RIGHT, TOP, BOTTOM) \
+ GENLIST_PART_RECT("index_line", \
+ GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \
+ color: GENLIST_GROUPINDEX_LINE_COLOR; \
+ min: 0 4; \
+ max: -1 4;) \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_GROUPINDEX_LINE_FOCUS_COLOR; \
+ } \
+ )
+
+/*****************************************************************************/
+/******************************* Genlist TEXT ********************************/
+/*****************************************************************************/
+#define GENLIST_PART_TEXT(NAME, DESCRIPION) \
+ part { name: NAME; \
+ scale: 1; \
+ mouse_events: 0; \
+ type: TEXT; \
+ DESCRIPION \
+ GENLIST_DESCRIPTION_FADE \
+ }
+
+#define GENLIST_PART_TEXTBLOCK(NAME, DESCRIPION) \
+ part { name: NAME; \
+ scale: 1; \
+ mouse_events: 0; \
+ type: TEXTBLOCK; \
+ DESCRIPION \
+ GENLIST_DESCRIPTION_FADE \
+ }
+
+/*************************** parameters **********************************/
+#define GENLIST_PARAM_TEXT_LIMIT_RB \
+ rel1.to_x: "base"; /* This limits text growing. */\
+ rel1.relative: 0.35 0; /* This limits text growing. */\
+ text.max: 1 0; /* This limits text growing. */
+
+#define GENLIST_PARAM_TEXT_LIMIT_RT \
+ rel1.to_x: "base"; /* This limits text growing. */\
+ rel1.relative: 0.35 1; /* This limits text growing. */\
+ text.max: 1 0; /* This limits text growing. */
+
+#define GENLIST_PARAM_TEXT_LIMIT_RTB \
+ rel1.to_x: "base"; /* This limits text growing. */\
+ rel1.relative: 0.35 1; /* This limits text growing. */\
+ text.max: 1 0; /* This limits text growing. */
+
+// Group Index
+#define GENLIST_PARAM_INDEX_LIST \
+ color: GENLIST_GROUPINDEX_LIST_COLOR; \
+ text { \
+ align: 0 0.5; \
+ min: 0 1; \
+ font: "Tizen:style=Bold"; \
+ size: GENLIST_GROUPINDEX_LIST_SIZE; \
+ text_class: "list_item"; \
+ }
+
+// Group Title
+#define GENLIST_PARAM_DIALOGUE_GROUP_TITLE \
+ color: GENLIST_DIALOGUE_GROUP_TITLE_COLOR; \
+ text { \
+ align: 0.0 0.5; \
+ min: 0 1; \
+ font: "Tizen:style=Bold"; \
+ size: GENLIST_DIALOGUE_GROUP_TITLE_SIZE; \
+ text_class: "list_item"; \
+ }
+
+// Password style
+#define GENLIST_PARAM_PASSWORD_TITLE \
+ color: DIALOGUE_PASSWORD_TITLE_COLOR; \
+ text { \
+ font: "Tizen:style=Bold"; \
+ size: DIALOGUE_PASSWORD_TITLE_SIZE; \
+ min: 0 1; \
+ align: 0 0.5; \
+ text_class: "list_item"; \
+ }
+
+// list main text
+#define GENLIST_PARAM_LISTITEM \
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; \
+ text { \
+ align: 0 0.5; \
+ min: 0 1; \
+ font: "Tizen:style=Regular"; \
+ size: GENLIST_LIST_MAIN_TEXT_SIZE; \
+ text_class: "list_item"; \
+ }
+
+#define GENLIST_PARAM_LISTITEM_TB \
+ text { \
+ min: 0 1; \
+ style: "genlist_style_list_main_text_unread"; \
+ }
+
+#define GENLIST_PARAM_LISTITEM_TB_WRAP \
+ text { \
+ min: 0 1; \
+ style: "genlist_style_list_main_text_unread_wrap"; \
+ }
+
+// list subtext
+#define GENLIST_PARAM_SUBITEM_DEFAULT \
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR; \
+ text { \
+ align: 0 0.5; \
+ min: 0 1; \
+ font: "Tizen:style=Medium"; \
+ size: GENLIST_LIST_SUB_TEXT_SIZE; \
+ text_class: "tizen"; \
+ }
+
+#define GENLIST_PARAM_SUBITEM_SETTINGS \
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR; \
+ text { \
+ align: 0 0.5; \
+ min: 0 1; \
+ font: "Tizen:style=Medium"; \
+ size: GENLIST_LIST_SUB_TEXT_SIZE; \
+ text_class: "tizen"; \
+ }
+
+#define GENLIST_PARAM_SUBITEM_DEFAULT_TB \
+ text { \
+ min: 0 1; \
+ style: "genlist_style_list_sub_text_default"; \
+ }
+
+#define GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP \
+ text { \
+ min: 0 1; \
+ style: "genlist_style_list_sub_text_default_wrap"; \
+ }
+
+#define GENLIST_PARAM_SUBITEM_SETTINGS_TB \
+ text { \
+ min: 0 1; \
+ style: "genlist_style_list_sub_text_settings"; \
+ }
+
+#define GENLIST_PARAM_APPS_NAME\
+ color: GENLIST_APPS_NAME_COLOR; \
+ text { \
+ align: 0 0.5; \
+ min: 0 1; \
+ font: "Tizen:style=Bold"; \
+ size: GENLIST_APPS_NAME_SIZE; \
+ text_class: "list_item"; \
+ }
+
+#define GENLIST_PARAM_APPS_INC\
+ color: GENLIST_APPS_INC_COLOR; \
+ text { \
+ align: 0 0.5; \
+ min: 0 1; \
+ font: "Tizen:style=Bold"; \
+ size: GENLIST_APPS_INC_SIZE; \
+ text_class: "list_item"; \
+ }
+
+#define GENLIST_PARAM_APPS_RATING\
+ color: GENLIST_APPS_RATING_COLOR; \
+ text { \
+ align: 0 0.5; \
+ min: 0 1; \
+ font: "Tizen:style=Bold"; \
+ size: GENLIST_APPS_RATING_SIZE; \
+ text_class: "list_item"; \
+ }
+
+#define GENLIST_PARAM_APPS_PRICE\
+ color: GENLIST_APPS_PRICE_ORIGINAL_COLOR; \
+ text { \
+ align: 0 0.5; \
+ min: 0 1; \
+ font: "Tizen:style=Bold"; \
+ size: GENLIST_APPS_PRICE_SIZE; \
+ text_class: "list_item"; \
+ }
+
+#define GENLIST_PARAM_APPS_PRICE_SALE\
+ color: GENLIST_APPS_PRICE_SALE_COLOR; \
+ text { \
+ align: 0 0.5; \
+ min: 0 1; \
+ font: "Tizen:style=Bold"; \
+ size: GENLIST_APPS_PRICE_SIZE; \
+ text_class: "list_item"; \
+ }
+
+#define GENLIST_PARAM_CONTENTS_TEXT \
+ color: GENLIST_CONTENTS_TEXT_COLOR; \
+ text { \
+ align: 0 0.5; \
+ min: 0 1; \
+ font: "Tizen:style=Regular"; \
+ size: GENLIST_CONTENTS_TEXT_SIZE; \
+ text_class: "tizen"; \
+ }
+
+/*************************** Descriptions **********************************/
+// group index
+#define GENLIST_DESCRIPTION_INDEX_LIST \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_GROUPINDEX_LIST_FOCUS_COLOR; \
+ }
+
+// list main text
+#define GENLIST_DESCRIPTION_LISTITEM_OTHERS \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR; \
+ } \
+ description { state: "read" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_LIST_MAIN_TEXT_READ_COLOR; \
+ } \
+ description { state: "read,disabled" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_LIST_MAIN_TEXT_READ_DIM_COLOR; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR; \
+ }
+
+#define GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "genlist_style_list_main_text_unread_dim"; \
+ } \
+ description { state: "read" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "genlist_style_list_main_text_read"; \
+ } \
+ description { state: "read,disabled" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "genlist_style_list_main_text_read_dim"; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "genlist_style_list_main_text_focus"; \
+ }
+
+// list sub text
+#define GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR; \
+ }
+
+#define GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "genlist_style_list_sub_text_default_dim"; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "genlist_style_list_sub_text_focus"; \
+ }
+
+#define GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "genlist_style_list_sub_text_default_dim_wrap"; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "genlist_style_list_sub_text_focus_wrap"; \
+ }
+
+#define GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR; \
+ }
+
+#define GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS_TB \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "genlist_style_list_sub_text_settings_dim"; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "genlist_style_list_sub_text_focus"; \
+ }
+
+// list main text multiline
+#define GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "genlist_style_list_main_text_unread_dim_wrap"; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "genlist_style_list_main_text_focus_wrap"; \
+ }
+
+/*************************** Parts **********************************/
+#define GENLIST_PART_DIALOGUE_GROUP_HELP_TEXT(NAME, LEFT, RIGHT, TOP, BOTTOM, PARAM) \
+ GENLIST_PART_TEXTBLOCK(NAME, \
+ GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \
+ text { \
+ min: 0 1; \
+ style: "genlist_style_dialogue_group_help_text"; \
+ } \
+ PARAM) \
+ )
+
+#define GENLIST_PART_LISTITEM(NAME, DESCRIPTION) \
+ GENLIST_PART_TEXT(NAME, \
+ DESCRIPTION \
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS \
+ )
+
+#define GENLIST_PART_LISTITEM_TB(NAME, DESCRIPTION) \
+ GENLIST_PART_TEXTBLOCK(NAME, \
+ DESCRIPTION \
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \
+ )
+
+#define GENLIST_PART_LISTITEM_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM, PARAM) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_LISTITEM \
+ PARAM \
+ ) \
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS \
+ )
+
+#define GENLIST_PART_LISTITEM_TB_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM, PARAM) \
+ GENLIST_PART_TEXTBLOCK(NAME, \
+ GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_LISTITEM_TB \
+ PARAM \
+ fixed: 1 0; \
+ ) \
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \
+ )
+
+#define GENLIST_PART_LISTITEM_LR(NAME, HEIGHT, LEFT, RIGHT, PARAM) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION(LEFT, RIGHT, "elm.padding.top", "elm.padding.bottom", \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_LISTITEM \
+ PARAM \
+ ) \
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS \
+ )
+
+#define GENLIST_PART_LISTITEM_LRT_TB(NAME, HEIGHT, LEFT, RIGHT, TOP, PARAM) \
+ GENLIST_PART_TEXTBLOCK(NAME, \
+ GENLIST_DESCRIPTION_LRT(LEFT, RIGHT, TOP, \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_LISTITEM_TB \
+ fixed: 0 1; \
+ PARAM \
+ ) \
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \
+ )
+
+#define GENLIST_PART_LISTITEM_LR_TB(NAME, HEIGHT, LEFT, RIGHT, PARAM) \
+ GENLIST_PART_TEXTBLOCK(NAME, \
+ GENLIST_DESCRIPTION(LEFT, RIGHT, "elm.padding.top", "elm.padding.bottom", \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_LISTITEM_TB \
+ PARAM \
+ fixed: 1 0; \
+ ) \
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \
+ )
+
+#define GENLIST_PART_SUBITEM_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM, PARAM) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \
+ GENLIST_PARAM_SUBITEM_DEFAULT \
+ PARAM \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \
+ )
+
+#define GENLIST_PART_SUBITEM(NAME, DESCRIPTION) \
+ GENLIST_PART_TEXT(NAME, \
+ DESCRIPTION \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \
+ )
+
+#define GENLIST_PART_SUBITEM_DEFAULT_TB(NAME, DESCRIPTION) \
+ GENLIST_PART_TEXTBLOCK(NAME, \
+ DESCRIPTION \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \
+ )
+
+#define GENLIST_PART_SUBITEM_R(NAME, HEIGHT, RIGHT) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \
+ fixed: 1 0; \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_TEXT_LIMIT_RB \
+ GENLIST_PARAM_SUBITEM_DEFAULT \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \
+ )
+
+#define GENLIST_PART_SUBITEM_RB(NAME, HEIGHT, RIGHT, BOTTOM) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION_RB(RIGHT, BOTTOM, \
+ min: 0 HEIGHT; \
+ fixed: 1 1; \
+ GENLIST_PARAM_TEXT_LIMIT_RB \
+ GENLIST_PARAM_SUBITEM_DEFAULT \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \
+ )
+
+#define GENLIST_PART_SUBITEM_RB_TB(NAME, HEIGHT, RIGHT, BOTTOM) \
+ GENLIST_PART_TEXTBLOCK(NAME, \
+ GENLIST_DESCRIPTION_RB(RIGHT, BOTTOM, \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_TEXT_LIMIT_RB \
+ fixed: 1 1; \
+ GENLIST_PARAM_SUBITEM_DEFAULT_TB \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \
+ )
+
+#define GENLIST_PART_SUBITEM_TB_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM) \
+ GENLIST_PART_TEXTBLOCK(NAME, \
+ GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \
+ GENLIST_PARAM_SUBITEM_DEFAULT_TB \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \
+ )
+
+#define GENLIST_PART_SUBITEM_R_FIXED(NAME, WIDTH, HEIGHT, RIGHT) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \
+ min: WIDTH HEIGHT; \
+ fixed: 1 1; \
+ GENLIST_PARAM_SUBITEM_DEFAULT \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \
+ )
+
+#define GENLIST_PART_SUBITEM_R_FIXED_TB(NAME, WIDTH, HEIGHT, RIGHT) \
+ GENLIST_PART_TEXTBLOCK(NAME, \
+ GENLIST_DESCRIPTION_R(RIGHT, \
+ min: WIDTH HEIGHT; \
+ fixed: 1 0; \
+ GENLIST_PARAM_SUBITEM_DEFAULT_TB \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \
+ )
+
+#define GENLIST_PART_SUBITEM_L_FIXED(NAME, WIDTH, HEIGHT, LEFT) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \
+ min: WIDTH HEIGHT; \
+ fixed: 1 1; \
+ GENLIST_PARAM_SUBITEM_DEFAULT \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \
+ )
+
+#define GENLIST_PART_SUBITEM_LR(NAME, HEIGHT, LEFT, RIGHT, PARAM) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION(LEFT, RIGHT, "elm.padding.top", "elm.padding.bottom", \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_SUBITEM_DEFAULT \
+ PARAM \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \
+ )
+
+#define GENLIST_PART_SUBITEM_LR_TB(NAME, HEIGHT, LEFT, RIGHT) \
+ GENLIST_PART_TEXTBLOCK(NAME, \
+ GENLIST_DESCRIPTION_LR(LEFT, RIGHT, \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_SUBITEM_DEFAULT_TB \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \
+ )
+
+#define GENLIST_PART_SUBITEM_LB(NAME, HEIGHT, LEFT, RIGHT) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION_LB(LEFT, BOTTOM, \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_SUBITEM_DEFAULT_TB \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \
+ )
+
+#define GENLIST_PART_SUBITEM_LRB(NAME, HEIGHT, LEFT, RIGHT, BOTTOM) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION_LRB(LEFT, RIGHT, BOTTOM, \
+ min: 0 HEIGHT; \
+ fixed: 1 1; /*FIXME: why text need this, but textblock doesn't */ \
+ GENLIST_PARAM_SUBITEM_DEFAULT \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \
+ )
+
+#define GENLIST_PART_SUBITEM_SETTINGS_LRB(NAME, HEIGHT, LEFT, RIGHT, BOTTOM, PARAM) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION_LRB(LEFT, RIGHT, BOTTOM, \
+ min: 0 HEIGHT; \
+ fixed: 1 1; /*FIXME: why text need this, but textblock doesn't */ \
+ GENLIST_PARAM_SUBITEM_SETTINGS\
+ PARAM; \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS \
+ )
+
+#define GENLIST_PART_SUBITEM_LRB_TB(NAME, HEIGHT, LEFT, RIGHT, BOTTOM) \
+ GENLIST_PART_TEXTBLOCK(NAME, \
+ GENLIST_DESCRIPTION_LRB(LEFT, RIGHT, BOTTOM, \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_SUBITEM_DEFAULT_TB \
+ fixed: 0 1; \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \
+ )
+
+#define GENLIST_PART_SUBITEM_SETTINGS_LRB_TB(NAME, HEIGHT, LEFT, RIGHT, BOTTOM) \
+ GENLIST_PART_TEXTBLOCK(NAME, \
+ GENLIST_DESCRIPTION_LRB(LEFT, RIGHT, BOTTOM, \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_SUBITEM_SETTINGS_TB \
+ fixed: 0 1; \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS_TB \
+ )
+
+#define GENLIST_PART_SUBITEM_LRT(NAME, HEIGHT, LEFT, RIGHT, TOP) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION_LRT(LEFT, RIGHT, TOP, \
+ min: 0 HEIGHT; \
+ fixed: 1 1; /*FIXME: why text need this, but textblock doesn't */ \
+ GENLIST_PARAM_SUBITEM_DEFAULT \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \
+ )
+
+#define GENLIST_PART_SUBITEM_LTB(NAME, HEIGHT, LEFT, TOP, BOTTOM) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION_LTB(LEFT, TOP, BOTTOM, \
+ min: 0 HEIGHT; \
+ fixed: 1 1; /*FIXME: why text need this, but textblock doesn't */ \
+ GENLIST_PARAM_SUBITEM_DEFAULT \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \
+ )
+
+#define GENLIST_PART_SUBITEM_RTB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_TEXT_LIMIT_RT \
+ GENLIST_PARAM_SUBITEM_DEFAULT \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \
+ )
+
+#define GENLIST_PART_SUBITEM_RTB_TB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \
+ GENLIST_PART_TEXTBLOCK(NAME, \
+ GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_TEXT_LIMIT_RT \
+ GENLIST_PARAM_SUBITEM_DEFAULT_TB \
+ fixed: 1 0; \
+ ) \
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \
+ )
+
+#define GENLIST_PARAM_LIST_BUBBLE_TEXT \
+ color: GENLIST_LIST_BUBBLE_TEXT_COLOR; \
+ text { \
+ align: 1 0.5; \
+ min: 0 1; \
+ font: "Tizen:style=Bold"; \
+ size: GENLIST_LIST_BUBBLE_TEXT_SIZE; \
+ text_class: "tizen"; \
+ }
+// FIXME: Need to find why rel2.offset: 9 -1 will not fix the alignment of bubble text ?
+#define GENLIST_PART_LIST_BUBBLE_TEXT_RTB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \
+ GENLIST_PART_IMAGE("elm.bubble", \
+ GENLIST_DESCRIPTION_ENVELOP(NAME, \
+ image { \
+ normal: "00_list_bubble_bg.png"; \
+ border: 8 8 0 0; \
+ } \
+ rel1.offset: -10 0; \
+ rel2.offset: 8 -1; \
+ min: 48 38; \
+ max: -1 38; \
+ fixed: 0 1; \
+ ) \
+ GENLIST_DESCRIPTION_FADE \
+ ) \
+ GENLIST_PART_TEXT(NAME, \
+ GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \
+ min: 0 HEIGHT; \
+ GENLIST_PARAM_TEXT_LIMIT_RT \
+ rel2.offset: -10 -1; /* This maintain the text alignment with bubble text. */\
+ GENLIST_PARAM_LIST_BUBBLE_TEXT \
+ ) \
+ )
+
+#if 0
+#define GENLIST_PART_BASE__( param_item_height ) \
+ part { name: "base"; \
+ type: RECT; \
+ repeat_events: 1; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: 0 param_item_height; \
+ color: LAYOUT_GROUP_LIST_BG_COLOR_INC; \
+ } \
+ }
+
+#define GENLIST_PART_BG \
+ part { name: "bg"; \
+ type: RECT; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR; \
+ } \
+ description { state: "hide" 0.0; \
+ inherit: "default" 0.0; \
+ rel1 { relative: 0.025 0.0; } \
+ rel2 { relative: 1.025 1.0; } \
+ } \
+ description { state: "hide" 0.1; \
+ inherit: "default" 0.0; \
+ rel1 { relative: 0.13 0.0; } \
+ rel2 { relative: 1.13 1.0; } \
+ } \
+ description { state: "hide" 0.2; \
+ inherit: "default" 0.0; \
+ rel1 { relative: 0.5 0.0; } \
+ rel2 { relative: 1.5 1.0; } \
+ } \
+ description { state: "hide" 0.3; \
+ inherit: "default" 0.0; \
+ rel1 { relative: 1.0 0.0; } \
+ rel2 { relative: 2.0 1.0; } \
+ } \
+ }
+
+/******************************************************************************/
+/** ETC
+/******************************************************************************/
+// FIXME: UX do not define selected state. But I thinkt that it is neededs :(
+
+#define GENLIST_PROOGRAM_EXPAND(SRC, TARGET) \
+ program { \
+ name: "expand"; \
+ signal: "mouse,clicked,1"; \
+ source: SRC; \
+ action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; \
+ } \
+ program { \
+ name: "go_expanded"; \
+ signal: "elm,state,expanded"; \
+ source: "elm"; \
+ action: STATE_SET "active" 0.0; \
+ TARGET \
+ } \
+ program { \
+ name: "go_contracted"; \
+ signal: "elm,state,contracted"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ TARGET \
+ }
+
+#define GENLIST_PART_BASE_LIST_H( HEIGHT) \
+ part { name: "base"; \
+ type: RECT; \
+ repeat_events: 1; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ align: 0.5 0.5; \
+ color: 0 0 0 0; \
+ rel2.relative: 1 0; \
+ rel2.to: "bottom_line"; \
+ min: 0 HEIGHT; \
+ } \
+ } \
+ GENLIST_PART_BOTTOM_LINE
+
+#define GENLIST_PART_DIALOGUE_ITEM \
+ part { name: "elm.rect.dialogue"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: 10 0; \
+ fixed: 1 0; \
+ color: GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC; \
+ rel2.relative: 0.0 1.0; \
+ align: 0.0 0.0; \
+ } \
+ }
+
+#define GENLIST_PART_DIALOGUE_RIGHT_LINE \
+ part { name: "elm.rect.dialogue.right.line"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: 1 0; \
+ fixed: 1 0; \
+ rel1 { \
+ relative: 1.0 0.0; \
+ offset: -1 0; \
+ } \
+ align: 1.0 0.0; \
+ color: GENLIST_LIST_LINE1_COLOR; \
+ } \
+ }
+
+#define GENLIST_PROGRAM_FLIP_1TEXT \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_2TEXT \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_2TEXT_1ICON \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.icon"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.icon"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_2TEXT_2ICON \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_3TEXT_2ICON \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.text.3"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.text.3"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.flip.content"; \
+ }
+
+
+#define GENLIST_DESCRIPTION_INVISIBLE_SELECTED \
+ description { state: "selected" 1.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ }
+
+#define GENLIST_DESCRIPTION_FLIP_ENABLED \
+ description { state: "flip_enabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ }
+
+#define GENLIST_PROGRAM_SCRIPT_FLIP_SELECT_1TEXT \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"elm.text", st, 30, vl); \
+ set_state(PART:"bg_image", "selected", 0.0); \
+ if (!strcmp(st, "flip_enabled")) \
+ set_state(PART:"elm.text", "selected", 1.0); \
+ else \
+ set_state(PART:"elm.text", "selected", 0.0); \
+ }
+
+
+/* genlist multisense macro - start */
+#define GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS \
+ after: "play_button_press";
+
+#define GENLIST_PROGRAM_PLAY_BUTTON_PRESS \
+ program { name: "play_button_press"; \
+ action: PLAY_SAMPLE "button-pressed" 1.0; \
+ }
+#endif
\ No newline at end of file
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+/*
+ * vim:ts=3
+*/
+
+/* genlist multisense sample/tone listing */
+ sounds {
+ sample {
+ name: "button-pressed" RAW;
+ source: "button-pressed.wav";
+ }
+ }
+ group { name: "elm/genlist/item/default/default";
+ alias: "elm/genlist/item_odd/default/default";
+ alias: "elm/genlist/item_compress/default/default";
+ alias: "elm/genlist/item_compress_odd/default/default";
+ alias: "elm/genlist/tree/default/default";
+ alias: "elm/genlist/tree_odd/default/default";
+ alias: "elm/genlist/tree_compress/default/default";
+ alias: "elm/genlist/tree_compress_odd/default/default";
+
+ alias: "elm/list/item/default";
+ alias: "elm/list/item_odd/default";
+ alias: "elm/list/item_compress/default";
+ alias: "elm/list/item_compress_odd/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon elm.swallow.end";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_ICON("elm.swallow.icon",
+ GENLIST_DESCRIPTION_LTB("elm.padding.left",
+ "elm.padding.top", "elm.padding.bottom",
+ fixed: 1 0;)
+ )
+ GENLIST_PART_LISTITEM_("elm.text", GENLIST_HEIGHT_1LINE,
+ "elm.swallow.icon", "elm.swallow.end",
+ "elm.padding.top", "elm.padding.bottom",
+ )
+ GENLIST_PART_ICON("elm.swallow.end",
+ GENLIST_DESCRIPTION_R("elm.padding.right",
+ fixed: 1 0;)
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.swallow.icon"; target: "elm.swallow.end"; )
+ }
+
+// -------------------------------------------------------------------
+// Tizen Theme -------------------------------------------------------
+// -------------------------------------------------------------------
+ group { name: "elm/genlist/item/1icon/default";
+ alias: "elm/genlist/item_odd/1icon/default";
+ alias: "elm/genlist/item_compress/1icon/default";
+ alias: "elm/genlist/item_compress_odd/1icon/default";
+ alias: "elm/genlist/tree/1icon/default";
+ alias: "elm/genlist/tree_odd/1icon/default";
+ alias: "elm/genlist/tree_compress/1icon/default";
+ alias: "elm/genlist/tree_compress_odd/1icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_ICON("elm.icon",
+ GENLIST_DESCRIPTION(
+ "elm.padding.left", "elm.padding.right",
+ "elm.padding.top", "elm.padding.bottom",
+ min: 0 GENLIST_HEIGHT_1LINE;
+ )
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.icon"; )
+ }
+
+ group { name: "elm/genlist/item/1icon/with_no_line/default";
+ alias: "elm/genlist/item_odd/1icon/with_no_line/default";
+ alias: "elm/genlist/item_compress/1icon/with_no_line/default";
+ alias: "elm/genlist/item_compress_odd/1icon/with_no_line/default";
+ alias: "elm/genlist/tree/1icon/with_no_line/default";
+ alias: "elm/genlist/tree_odd/1icon/with_no_line/default";
+ alias: "elm/genlist/tree_compress/1icon/with_no_line/default";
+ alias: "elm/genlist/tree_compress_odd/1icon/with_no_line/default";
+ inherit: "elm/genlist/item/1icon/default";
+
+ parts {
+ part { name: "bottom_line";
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "bottom_line2";
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item/1icon/no_padding/default";
+ alias: "elm/genlist/item_odd/1icon/no_padding/default";
+ alias: "elm/genlist/item_compress/1icon/no_padding/default";
+ alias: "elm/genlist/item_compress_odd/1icon/no_padding/default";
+ alias: "elm/genlist/tree/1icon/no_padding/default";
+ alias: "elm/genlist/tree_odd/1icon/no_padding/default";
+ alias: "elm/genlist/tree_compress/1icon/no_padding/default";
+ alias: "elm/genlist/tree_compress_odd/1icon/no_padding/default";
+ inherit: "elm/genlist/item/1icon/default";
+
+ parts {
+ GENLIST_PART_PADDING_LEFT_SIZE(0)
+ GENLIST_PART_PADDING_RIGHT_SIZE(0)
+ }
+ }
+
+// -------------------------------------------------------------------
+// 1 line -------------------------------------------------------
+// -------------------------------------------------------------------
+// 2.2.1.1
+ group { name: "elm/genlist/item/1text/default";
+ alias: "elm/genlist/item_odd/1text/default";
+ alias: "elm/genlist/item_compress/1text/default";
+ alias: "elm/genlist/item_compress_odd/1text/default";
+ alias: "elm/genlist/tree/1text/default";
+ alias: "elm/genlist/tree_odd/1text/default";
+ alias: "elm/genlist/tree_compress/1text/default";
+ alias: "elm/genlist/tree_compress_odd/1text/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_LISTITEM_("elm.text", GENLIST_HEIGHT_1LINE,
+ "elm.padding.left", "elm.padding.right",
+ "elm.padding.top", "elm.padding.bottom",
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; )
+ }
+// 2.2.1.1 (textblock)
+ group { name: "elm/genlist/item/1text.tb/default";
+ alias: "elm/genlist/item_odd/1text.tb/default";
+ alias: "elm/genlist/item_compress/1text.tb/default";
+ alias: "elm/genlist/item_compress_odd/1text.tb/default";
+ alias: "elm/genlist/tree/1text.tb/default";
+ alias: "elm/genlist/tree_odd/1text.tb/default";
+ alias: "elm/genlist/tree_compress/1text.tb/default";
+ alias: "elm/genlist/tree_compress_odd/1text.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_LISTITEM_TB_("elm.text", GENLIST_HEIGHT_1LINE,
+ "elm.padding.left", "elm.padding.right",
+ "elm.padding.top", "elm.padding.bottom",
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; )
+ }
+
+// 2.2.1.2
+ group { name: "elm/genlist/item/2text/default";
+ alias: "elm/genlist/item_odd/2text/default";
+ alias: "elm/genlist/item_compress/2text/default";
+ alias: "elm/genlist/item_compress_odd/2text/default";
+ alias: "elm/genlist/tree/2text/default";
+ alias: "elm/genlist/tree_odd/2text/default";
+ alias: "elm/genlist/tree_compress/2text/default";
+ alias: "elm/genlist/tree_compress_odd/2text/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_1LINE,
+ "elm.padding.left", "elm.text.2",
+ "elm.padding.top", "elm.padding.bottom",
+ )
+ GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_1LINE,
+ "elm.padding.right",
+ "elm.padding.top", "elm.padding.bottom"
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
+ }
+
+// 2.2.1.3
+ group { name: "elm/genlist/item/2text.6/default";
+ alias: "elm/genlist/item_odd/2text.6/default";
+ alias: "elm/genlist/item_compress/2text.6/default";
+ alias: "elm/genlist/item_compress_odd/2text.6/default";
+ inherit: "elm/genlist/item/2text/default";
+
+ parts {
+
+ part { name: "elm.text.2";
+ description { state: "default" 0.0;
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR;
+ }
+ GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS
+ }
+ }
+ }
+
+// 2.2.1.4
+ group { name: "elm/genlist/item/1text.1icon/default";
+ alias: "elm/genlist/item_odd/1text.1icon/default";
+ alias: "elm/genlist/item_compress/1text.1icon/default";
+ alias: "elm/genlist/item_compress_odd/1text.1icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_LISTITEM_("elm.text", GENLIST_HEIGHT_1LINE,
+ "elm.padding.left", "elm.padding.icon.left",
+ "elm.padding.top", "elm.padding.bottom",
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon")
+ GENLIST_PART_ICON_BTN_01_RTB("elm.icon",
+ "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; )
+ }
+
+// 2.2.1.5
+ group { name: "elm/genlist/item/1text.1icon.4/default";
+ alias: "elm/genlist/item_odd/1text.1icon.4/default";
+ alias: "elm/genlist/item_compress/1text.1icon.4/default";
+ alias: "elm/genlist/item_compress_odd/1text.1icon.4/default";
+ inherit: "elm/genlist/item/1text.1icon/default";
+
+ parts {
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ }
+ }
+
+// 2.2.1.6
+ group { name: "elm/genlist/item/1text.1icon.6/default";
+ alias: "elm/genlist/item_odd/1text.1icon.6/default";
+ alias: "elm/genlist/item_compress/1text.1icon.6/default";
+ alias: "elm/genlist/item_compress_odd/1text.1icon.6/default";
+ inherit: "elm/genlist/item/1text.1icon/default";
+
+ parts {
+ GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right")
+ }
+ }
+
+
+// 2.2.1.7
+ group { name: "elm/genlist/item/1text.1icon.7/default";
+ alias: "elm/genlist/item_odd/1text.1icon.7/default";
+ alias: "elm/genlist/item_compress/1text.1icon.7/default";
+ alias: "elm/genlist/item_compress_odd/1text.1icon.7/default";
+ inherit: "elm/genlist/item/1text.1icon/default";
+
+ parts {
+ GENLIST_PART_ICON_BIG_R("elm.icon", "elm.padding.right")
+ }
+ }
+
+// 2.2.1.8
+ group { name: "elm/genlist/item/1text.1icon.5/default";
+ alias: "elm/genlist/item_odd/1text.1icon.5/default";
+ alias: "elm/genlist/item_compress/1text.1icon.5/default";
+ alias: "elm/genlist/item_compress_odd/1text.1icon.5/default";
+ inherit: "elm/genlist/item/1text.1icon/default";
+
+ parts {
+ GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon", "elm.padding.right")
+ }
+ }
+
+// 2.2.1.9
+ group { name: "elm/genlist/item/1text.2icon.3/default";
+ alias: "elm/genlist/item_odd/1text.2icon.3/default";
+ alias: "elm/genlist/item_compress/1text.2icon.3/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon.3/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE,
+ "elm.padding.left", "elm.text.limit",
+ fixed: 1 0; align: 0 0.5; text.max: 1 0; // This limits text growing.
+ )
+ GENLIST_PART_PADDING_L("elm.padding.text.right", "elm.text")
+ GENLIST_PART_ICON_SMALL_L("elm.icon.2", "elm.padding.text.right")
+ // Virtual part for Maxmimum right X axis of TEXT
+ GENLIST_PART_SPACER("elm.text.limit",
+ GENLIST_DESCRIPTION_R("elm.padding.icon1.left",
+ min: (GENLIST_ICON_SMALL_SIZE+GENLIST_PADDING_SIZE_DEFAULT) 0;
+ )
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
+ GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon.1", "elm.padding.right")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.2.1.9 (textblock)
+ group { name: "elm/genlist/item/1text.2icon.3.tb/default";
+ alias: "elm/genlist/item_odd/1text.2icon.3.tb/default";
+ alias: "elm/genlist/item_compress/1text.2icon.3.tb/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon.3.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_SIZE( 0 )
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_LISTITEM_LR_TB("elm.text", GENLIST_HEIGHT_1LINE,
+ "elm.padding.left", "elm.text.limit",
+ fixed: 1 0; align: 0 0.5; text.max: 1 0; // This limits text growing.
+ )
+ GENLIST_PART_PADDING_L("elm.padding.text.right", "elm.text")
+ GENLIST_PART_ICON_SMALL_L("elm.icon.2", "elm.padding.text.right")
+ // Virtual part for Maxmimum right X axis of TEXT
+ GENLIST_PART_SPACER("elm.text.limit",
+ GENLIST_DESCRIPTION_R("elm.padding.icon1.left",
+ min: (GENLIST_ICON_SMALL_SIZE+GENLIST_PADDING_SIZE_DEFAULT) 0;
+ )
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
+ GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon.1", "elm.padding.right")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.2.1.10
+ group { name: "elm/genlist/item/1text.1icon.2/default";
+ alias: "elm/genlist/item_odd/1text.1icon.2/default";
+ alias: "elm/genlist/item_compress/1text.1icon.2/default";
+ alias: "elm/genlist/item_compress_odd/1text.1icon.2/default";
+ alias: "elm/genlist/tree/1text.1icon.2/default";
+ alias: "elm/genlist/tree_odd/1text.1icon.2/default";
+ alias: "elm/genlist/tree_compress/1text.1icon.2/default";
+ alias: "elm/genlist/tree_compress_odd/1text.1icon.2/default";
+ // FIXME: just for backward compatibility
+ alias: "elm/genlist/item/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/item_odd/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/item_compress/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/item_compress_odd/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/tree/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/tree_odd/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/tree_compress/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/tree_compress_odd/1text.1/expandable_n_depth/default";
+ alias: "elm/genlist/item/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/item_odd/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/item_compress/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/item_compress_odd/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/tree/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/tree_odd/1text.2/expandable_n_depth/default";
+ alias: "elm/genlist/tree_compress/1text.2/expandable_n_depth/default";
+
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
+ GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE,
+ "elm.padding.icon.right", "elm.padding.right", )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; )
+ }
+
+// 2.2.1.10 (textblock)
+ group { name: "elm/genlist/item/1text.1icon.2.tb/default";
+ alias: "elm/genlist/item_odd/1text.1icon.2.tb/default";
+ alias: "elm/genlist/item_compress/1text.1icon.2.tb/default";
+ alias: "elm/genlist/item_compress_odd/1text.1icon.2.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
+ GENLIST_PART_LISTITEM_LR_TB("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon.right", "elm.padding.right",)
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; )
+ }
+
+// 2.2.1.11
+ group { name: "elm/genlist/item/2text.1icon/default";
+ alias: "elm/genlist/item_odd/2text.1icon/default";
+ alias: "elm/genlist/item_compress/2text.1icon/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
+ GENLIST_PART_LISTITEM_LR("elm.text.1", GENLIST_HEIGHT_1LINE, "elm.padding.icon.right", "elm.text.2",)
+ GENLIST_PART_SUBITEM_R("elm.text.2", GENLIST_HEIGHT_1LINE, "elm.padding.right")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
+ }
+
+// 2.2.1.12
+ group { name: "elm/genlist/item/2text.1icon.6/default";
+ alias: "elm/genlist/item_odd/2text.1icon.6/default";
+ alias: "elm/genlist/item_compress/2text.1icon.6/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.6/default";
+ alias: "elm/genlist/tree/2text.1icon.6/default";
+ alias: "elm/genlist/tree_odd/2text.1icon.6/default";
+ alias: "elm/genlist/tree_compress/2text.1icon.6/default";
+ alias: "elm/genlist/tree_compress_odd/2text.1icon.6/default";
+ inherit: "elm/genlist/item/2text.1icon/default";
+
+ parts {
+ part { name: "elm.text.2";
+ description { state: "default" 0.0;
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR;
+ }
+ GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS
+ }
+ }
+ }
+
+// 2.2.1.13
+ group { name: "elm/genlist/item/1text.2icon/default";
+ alias: "elm/genlist/item_odd/1text.2icon/default";
+ alias: "elm/genlist/item_compress/1text.2icon/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_ICON_BIG_L( "elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon1.right", "elm.padding.icon2.left",)
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.2.1.13 (textblock)
+ group { name: "elm/genlist/item/1text.2icon.tb/default";
+ alias: "elm/genlist/item_odd/1text.2icon.tb/default";
+ alias: "elm/genlist/item_compress/1text.2icon.tb/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_ICON_BIG_L( "elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_LISTITEM_LR_TB("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon1.right", "elm.padding.icon2.left",)
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.2.1.14
+ group { name: "elm/genlist/item/1text.2icon.6/default";
+ alias: "elm/genlist/item_odd/1text.2icon.6/default";
+ alias: "elm/genlist/item_compress/1text.2icon.6/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon.6/default";
+ inherit: "elm/genlist/item/1text.2icon/default";
+
+ parts {
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+
+ }
+ }
+
+// 2.2.1.14 (textblock)
+ group { name: "elm/genlist/item/1text.2icon.6.tb/default";
+ alias: "elm/genlist/item_odd/1text.2icon.6.tb/default";
+ alias: "elm/genlist/item_compress/1text.2icon.6.tb/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon.6.tb/default";
+ inherit: "elm/genlist/item/1text.2icon.tb/default";
+
+ parts {
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ }
+ }
+
+// 2.2.1.15
+ group { name: "elm/genlist/item/1text.2icon.7/default";
+ alias: "elm/genlist/item_odd/1text.2icon.7/default";
+ alias: "elm/genlist/item_compress/1text.2icon.7/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon.7/default";
+ inherit: "elm/genlist/item/1text.2icon/default";
+
+ parts {
+ GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon.2", "elm.padding.right")
+ }
+ }
+
+// 2.2.1.16
+// 2.2.1.20
+ group { name: "elm/genlist/item/1text.1icon.3/default";
+ alias: "elm/genlist/item_odd/1text.1icon.3/default";
+ alias: "elm/genlist/item_compress/1text.1icon.3/default";
+ alias: "elm/genlist/item_compress_odd/1text.1icon.3/default";
+ inherit: "elm/genlist/item/1text.1icon.2/default";
+
+ parts {
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon", "elm.padding.left")
+ }
+ }
+
+// 2.2.1.16 (textblock)
+// 2.2.1.20 (textblock)
+ group { name: "elm/genlist/item/1text.1icon.3.tb/default";
+ alias: "elm/genlist/item_odd/1text.1icon.3.tb/default";
+ alias: "elm/genlist/item_compress/1text.1icon.3.tb/default";
+ alias: "elm/genlist/item_compress_odd/1text.1icon.3.tb/default";
+ inherit: "elm/genlist/item/1text.1icon.2.tb/default";
+
+ parts {
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon", "elm.padding.left")
+ }
+ }
+
+// 2.2.1.17
+ group { name: "elm/genlist/item/1text.2icon.4/default";
+ alias: "elm/genlist/item_odd/1text.2icon.4/default";
+ alias: "elm/genlist/item_compress/1text.2icon.4/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon.4/default";
+ inherit: "elm/genlist/item/1text.2icon/default";
+
+ parts {
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ }
+ }
+
+// 2.2.1.17 (textblock)
+ group { name: "elm/genlist/item/1text.2icon.4.tb/default";
+ alias: "elm/genlist/item_odd/1text.2icon.4.tb/default";
+ alias: "elm/genlist/item_compress/1text.2icon.4.tb/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon.4.tb/default";
+ inherit: "elm/genlist/item/1text.2icon.tb/default";
+
+ parts {
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ }
+ }
+
+// 2.2.1.18
+// 2.2.1.23
+ group { name: "elm/genlist/item/1text.2icon.2/default";
+ alias: "elm/genlist/item_odd/1text.2icon.2/default";
+ alias: "elm/genlist/item_compress/1text.2icon.2/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon.2/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_ICON_BIG_L("elm.icon.2", "elm.padding.icon1.right")
+ GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2")
+ GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon2.right", "elm.padding.right",)
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.2.1.19
+// 2.2.1.25
+ group { name: "elm/genlist/item/1text.3icon/default";
+ alias: "elm/genlist/item_odd/1text.3icon/default";
+ alias: "elm/genlist/item_compress/1text.3icon/default";
+ alias: "elm/genlist/item_compress_odd/1text.3icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_ICON_BIG_L("elm.icon.2", "elm.padding.icon1.right")
+ GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2")
+ GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE,
+ "elm.padding.icon2.right", "elm.padding.icon3.left",)
+ GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3")
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon.3", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; )
+ }
+
+// 2.2.1.21
+ group { name: "elm/genlist/item/1text.2icon.8/default";
+ alias: "elm/genlist/item_odd/1text.2icon.8/default";
+ alias: "elm/genlist/item_compress/1text.2icon.8/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon.8/default";
+ inherit: "elm/genlist/item/1text.2icon/default";
+
+ parts {
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_ICON_BIG_R("elm.icon.2", "elm.padding.right")
+ }
+ }
+
+// 2.2.1.22
+ group { name: "elm/genlist/item/1text.2icon.9/default";
+ alias: "elm/genlist/item_odd/1text.2icon.9/default";
+ alias: "elm/genlist/item_compress/1text.2icon.9/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon.9/default";
+ inherit: "elm/genlist/item/1text.2icon/default";
+
+ parts {
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ }
+ }
+
+// 2.2.1.24
+ group { name: "elm/genlist/item/1text.3icon.2/default";
+ alias: "elm/genlist/item_odd/1text.3icon.2/default";
+ alias: "elm/genlist/item_compress/1text.3icon.2/default";
+ alias: "elm/genlist/item_compress_odd/1text.3icon.2/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE,
+ "elm.padding.icon1.right", "elm.padding.icon2.left", )
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON_BIG_R("elm.icon.2", "elm.padding.icon3.left")
+ GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3")
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon.3", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; )
+ }
+
+// 2.2.1.26
+ group { name: "elm/genlist/item/2text.4/default";
+ alias: "elm/genlist/item_odd/2text.4/default";
+ alias: "elm/genlist/item_compress/2text.4/default";
+ alias: "elm/genlist/item_compress_odd/2text.4/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_SUBITEM_LR("elm.text.1", GENLIST_HEIGHT_1LINE,
+ "elm.padding.left", "elm.elm.divider1.left",
+ )
+ GENLIST_PART_PADDING_R("elm.elm.divider1.left", "elm.divider1")
+ GENLIST_PART_DIVIDER_R("elm.text.2.left")
+ GENLIST_PART_PADDING_R("elm.text.2.left", "elm.text.2")
+ GENLIST_PART_SUBITEM_R_FIXED("elm.text.2", 200, GENLIST_HEIGHT_1LINE,
+ "elm.padding.right")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.divider1"; target: "elm.divider2"; )
+ }
+
+// 2.2.1.26 (textblock)
+ group { name: "elm/genlist/item/2text.4.tb/default";
+ alias: "elm/genlist/item_odd/2text.4.tb/default";
+ alias: "elm/genlist/item_compress/2text.4.tb/default";
+ alias: "elm/genlist/item_compress_odd/2text.4.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_LISTITEM_LR_TB("elm.text.1", GENLIST_HEIGHT_1LINE,
+ "elm.padding.left", "elm.elm.divider1.left",)
+ GENLIST_PART_PADDING_R("elm.elm.divider1.left", "elm.divider1")
+ GENLIST_PART_DIVIDER_R("elm.text.2.left")
+ GENLIST_PART_PADDING_R("elm.text.2.left", "elm.text.2")
+ GENLIST_PART_SUBITEM_R_FIXED_TB("elm.text.2", 206, GENLIST_HEIGHT_1LINE,
+ "elm.padding.right")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.divider1"; target: "elm.divider2"; )
+ }
+
+// 2.2.1.27
+ group { name: "elm/genlist/item/2text.5/default";
+ alias: "elm/genlist/item_odd/2text.5/default";
+ alias: "elm/genlist/item_compress/2text.5/default";
+ alias: "elm/genlist/item_compress_odd/2text.5/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_SUBITEM_L_FIXED("elm.text.2", 200, GENLIST_HEIGHT_1LINE,
+ "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.text2.right", "elm.text.2")
+ GENLIST_PART_DIVIDER_L("elm.text2.right")
+ GENLIST_PART_PADDING_L("elm.divider.right", "elm.divider2")
+ GENLIST_PART_SUBITEM_LR("elm.text.1", GENLIST_HEIGHT_1LINE,
+ "elm.divider.right", "elm.padding.right", )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.divider1"; target: "elm.divider2"; )
+ }
+
+// 2.2.1.28
+ group { name: "elm/genlist/item/1text.1icon.divider/default";
+ alias: "elm/genlist/item_odd/1text.1icon.divider/default";
+ alias: "elm/genlist/item_compress/1text.1icon.divider/default";
+ alias: "elm/genlist/item_compress_odd/1text.1icon.divider/default";
+ inherit: "elm/genlist/item/1text.1icon.7/default";
+
+ parts {
+ GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE,
+ "elm.padding.left", "elm.divider1",
+ )
+ GENLIST_PART_DIVIDER_R("elm.padding.icon.left")
+ GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon")
+ GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right")
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; target: "elm.divider1"; target: "elm.divider2"; )
+ }
+
+// 2.2.1.29
+ group { name: "elm/genlist/item/1text.2icon.divider/default";
+ alias: "elm/genlist/item_odd/1text.2icon.divider/default";
+ alias: "elm/genlist/item_compress/1text.2icon.divider/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon.divider/default";
+ inherit: "elm/genlist/item/1text.2icon.7/default";
+
+ parts {
+ GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE,
+ "elm.padding.icon1.right", "elm.divider1",
+ )
+ GENLIST_PART_DIVIDER_R("elm.padding.icon2.left")
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ }
+ }
+
+// -------------------------------------------------------------------
+// 2 line -------------------------------------------------------
+// -------------------------------------------------------------------
+// 2.2.2.1
+ group { name: "elm/genlist/item/2text.2/default";
+ alias: "elm/genlist/item_odd/2text.2/default";
+ alias: "elm/genlist/item_compress/2text.2/default";
+ alias: "elm/genlist/item_compress_odd/2text.2/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.right",
+ "elm.padding.top", "elm.text.2",
+ )
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.right", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
+ }
+
+// 2.2.2.1 (textblock)
+ group { name: "elm/genlist/item/2text.2.tb/default";
+ alias: "elm/genlist/item_odd/2text.2.tb/default";
+ alias: "elm/genlist/item_compress/2text.2.tb/default";
+ alias: "elm/genlist/item_compress_odd/2text.2.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.right",
+ "elm.padding.top", "elm.text.2",
+ )
+ GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.right", "elm.padding.bottom"
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
+ }
+
+// 2.2.2.2
+ group { name: "elm/genlist/item/2text.3/default";
+ alias: "elm/genlist/item_odd/2text.3/default";
+ alias: "elm/genlist/item_compress/2text.3/default";
+ alias: "elm/genlist/item_compress_odd/2text.3/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_SUBITEM_LRT("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.right", "elm.padding.top"
+ )
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.right",
+ "elm.text.2", "elm.padding.bottom",
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
+ }
+
+// 2.2.2.3
+ group { name: "elm/genlist/item/3text/default";
+ alias: "elm/genlist/item_odd/3text/default";
+ alias: "elm/genlist/item_compress/3text/default";
+ alias: "elm/genlist/item_compress_odd/3text/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.text.3",
+ "elm.padding.top", "elm.text.2",
+ )
+ GENLIST_PART_SUBITEM_RTB("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.right", "elm.padding.top", "elm.text.2"
+ )
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.right", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; )
+ }
+
+// 2.2.2.3 (textblock)
+ group { name: "elm/genlist/item/3text.tb/default";
+ alias: "elm/genlist/item_odd/3text.tb/default";
+ alias: "elm/genlist/item_compress/3text.tb/default";
+ alias: "elm/genlist/item_compress_odd/3text.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.text.3",
+ "elm.padding.top", "elm.text.2",
+ )
+ GENLIST_PART_SUBITEM_RTB_TB("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.right", "elm.padding.top", "elm.text.2"
+ )
+ GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.right", "elm.padding.bottom"
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; )
+ }
+
+// 2.2.2.4
+ group { name: "elm/genlist/item/2text.1icon.2/default";
+ alias: "elm/genlist/item_odd/2text.1icon.2/default";
+ alias: "elm/genlist/item_compress/2text.1icon.2/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.2/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon.left",
+ "elm.padding.top", "elm.text.2",
+ )
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom")
+ GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon")
+ GENLIST_PART_ICON_BTN_01_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
+ }
+
+// 2.2.2.5
+ group { name: "elm/genlist/item/2text.1icon.10/default";
+ alias: "elm/genlist/item_odd/2text.1icon.10/default";
+ alias: "elm/genlist/item_compress/2text.1icon.10/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.10/default";
+ inherit: "elm/genlist/item/2text.1icon.2/default";
+
+ parts {
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ }
+ }
+
+// 2.2.2.5 (textblock)
+ group { name: "elm/genlist/item/2text.1icon.10.tb/default";
+ alias: "elm/genlist/item_odd/2text.1icon.10.tb/default";
+ alias: "elm/genlist/item_compress/2text.1icon.10.tb/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.10.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon.left",
+ "elm.padding.top", "elm.text.2",
+ )
+ GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom"
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon")
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
+ }
+
+// 2.2.2.6
+ group { name: "elm/genlist/item/2text.5icon/default";
+ alias: "elm/genlist/item_odd/2text.5icon/default";
+ alias: "elm/genlist/item_compress/2text.5icon/default";
+ alias: "elm/genlist/item_compress_odd/2text.5icon/default";
+ alias: "elm/genlist/tree/2text.5icon/default";
+ alias: "elm/genlist/tree_odd/2text.5icon/default";
+ alias: "elm/genlist/tree_compress/2text.5icon/default";
+ alias: "elm/genlist/tree_compress_odd/2text.5icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.icon.5",
+ "elm.padding.top", "elm.text.2",
+ )
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.right", "elm.padding.bottom")
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.5",
+ "elm.padding.icon4.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", 2)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.4",
+ "elm.padding.icon3.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon3.left", "elm.icon.3", 2)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.3",
+ "elm.padding.icon2.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon2.left", "elm.icon.2", 2)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.2",
+ "elm.padding.icon1.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon1.left", "elm.icon.1", 2)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.1",
+ "elm.padding.right", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5";)
+ }
+
+// 2.2.2.7
+ group { name: "elm/genlist/item/3text.1icon/default";
+ alias: "elm/genlist/item_odd/3text.1icon/default";
+ alias: "elm/genlist/item_compress/3text.1icon/default";
+ alias: "elm/genlist/item_compress_odd/3text.1icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon.left",
+ "elm.padding.top", "elm.text.3",
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon",
+ "elm.padding.right", "elm.padding.top", "elm.text.3"
+ )
+
+ GENLIST_PART_SUBITEM_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.text3.right",
+ "elm.text.1", "elm.padding.bottom",
+ )
+ GENLIST_PART_PADDING_R("elm.padding.text3.right", "elm.text.3")
+ GENLIST_PART_SUBITEM_RB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.right", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
+ target: "elm.icon"; )
+ }
+
+// 2.2.2.7 (textblock)
+ group { name: "elm/genlist/item/3text.1icon.tb/default";
+ alias: "elm/genlist/item_odd/3text.1icon.tb/default";
+ alias: "elm/genlist/item_compress/3text.1icon.tb/default";
+ alias: "elm/genlist/item_compress_odd/3text.1icon.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ // elm.text.1 should be fixed part becuase 2nd line texts are both TEXTBLOCK
+ // and theier font size can be changed both.
+ GENLIST_PART_LISTITEM_LRT_TB("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon.left",
+ "elm.padding.top",
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon",
+ "elm.padding.right", "elm.padding.top", "elm.text.3")
+
+ GENLIST_PART_SUBITEM_TB_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.text3.right",
+ "elm.text.1", "elm.padding.bottom"
+ )
+ GENLIST_PART_PADDING_R("elm.padding.text3.right", "elm.text.3")
+ GENLIST_PART_SUBITEM_RTB_TB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.right", "elm.text.1", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
+ target: "elm.icon"; )
+ }
+
+// 2.2.2.8
+ group { name: "elm/genlist/item/2text.2icon/default";
+ alias: "elm/genlist/item_odd/2text.2icon/default";
+ alias: "elm/genlist/item_compress/2text.2icon/default";
+ alias: "elm/genlist/item_compress_odd/2text.2icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon1.left",
+ "elm.padding.top", "elm.icon.2",
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.1",
+ "elm.padding.right", "elm.padding.top", "elm.icon.2")
+
+ GENLIST_PART_ICON_SMALL_LB("elm.icon.2",
+ "elm.padding.left", "elm.padding.bottom")
+ GENLIST_PART_PADDING_L("elm.icon2.right", "elm.icon.2")
+ GENLIST_PART_SUBITEM_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.icon2.right", "elm.padding.right",
+ "elm.text.1", "elm.padding.bottom",
+ fixed: 1 1;
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.2.2.9
+ group { name: "elm/genlist/item/2text.7/default";
+ alias: "elm/genlist/item_odd/2text.7/default";
+ alias: "elm/genlist/item_compress/2text.7/default";
+ alias: "elm/genlist/item_compress_odd/2text.7/default";
+ inherit: "elm/genlist/item/2text.2/default";
+
+ parts {
+ part { name: "elm.text.2";
+ description { state: "default" 0.0;
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR;
+ }
+ GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS
+ }
+ }
+ }
+
+// 2.2.2.10
+ group { name: "elm/genlist/item/2text.1icon.7/default";
+ alias: "elm/genlist/item_odd/2text.1icon.7/default";
+ alias: "elm/genlist/item_compress/2text.1icon.7/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.7/default";
+ inherit: "elm/genlist/item/2text.1icon.2/default";
+
+ parts {
+ part { name: "elm.text.2";
+ description { state: "default" 0.0;
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR;
+ }
+ GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS
+ }
+ GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right")
+ }
+ }
+
+// 2.2.2.10 (textblock)
+ group { name: "elm/genlist/item/2text.1icon.7.tb/default";
+ alias: "elm/genlist/item_odd/2text.1icon.7.tb/default";
+ alias: "elm/genlist/item_compress/2text.1icon.7.tb/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.7.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon.left",
+ "elm.padding.top", "elm.text.2",
+ )
+ GENLIST_PART_SUBITEM_SETTINGS_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom"
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon")
+ GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
+ }
+
+// 2.2.2.11
+ group { name: "elm/genlist/item/2text.1icon.11/default";
+ alias: "elm/genlist/item_odd/2text.1icon.11/default";
+ alias: "elm/genlist/item_compress/2text.1icon.11/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.11/default";
+ inherit: "elm/genlist/item/2text.1icon.2/default";
+ parts {
+ part { name: "elm.text.2";
+ description { state: "default" 0.0;
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR;
+ }
+ GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS
+ }
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ }
+ }
+
+// 2.2.2.12
+ group { name: "elm/genlist/item/2text.2icon.2/default";
+ alias: "elm/genlist/item_odd/2text.2icon.2/default";
+ alias: "elm/genlist/item_compress/2text.2icon.2/default";
+ alias: "elm/genlist/item_compress_odd/2text.2icon.2/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon1.left",
+ "elm.padding.top", "elm.text.2",
+ )
+ GENLIST_PART_SUBITEM_RB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.icon2.rect", "elm.padding.bottom")
+ GENLIST_PART_PADDING_L("elm.padding.text2.right", "elm.text.2")
+ GENLIST_PART_ICON_SMALL_LTB("elm.icon.2",
+ "elm.padding.text2.right", "elm.text.1", "elm.padding.bottom")
+ // Virtual part for Maxmimum right X axis of text.2
+ part { name: "elm.icon2.rect";
+ type: RECT;
+ scale: 1;
+ GENLIST_DESCRIPTION_R("elm.padding.icon1.left",
+ min: (GENLIST_ICON_SMALL_SIZE + GENLIST_PADDING_SIZE_DEFAULT) GENLIST_ICON_SMALL_SIZE;
+ max: (GENLIST_ICON_SMALL_SIZE + GENLIST_PADDING_SIZE_DEFAULT) GENLIST_ICON_SMALL_SIZE;
+ fixed: 1 1;
+ visible: 0;
+ )
+ }
+ GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
+ GENLIST_PART_ICON_BIG_R("elm.icon.1", "elm.padding.right")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.2.2.13
+ group { name: "elm/genlist/item/2text.1icon.5/default";
+ alias: "elm/genlist/item_odd/2text.1icon.5/default";
+ alias: "elm/genlist/item_compress/2text.1icon.5/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.5/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_SUBITEM_LRT("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.icon.left", "elm.padding.top")
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon.left",
+ "elm.text.2", "elm.padding.bottom",
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon")
+ GENLIST_PART_ICON_BIG_R("elm.icon", "elm.padding.right")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon"; )
+ }
+
+// 2.2.2.14
+ group { name: "elm/genlist/item/2text.1icon.4/default";
+ alias: "elm/genlist/item_odd/2text.1icon.4/default";
+ alias: "elm/genlist/item_compress/2text.1icon.4/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.4/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon.right", "elm.padding.right",
+ "elm.padding.top", "elm.text.2",)
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon"; )
+ }
+
+// 2.2.2.14 (textblock)
+ group { name: "elm/genlist/item/2text.1icon.4.tb/default";
+ alias: "elm/genlist/item_odd/2text.1icon.4.tb/default";
+ alias: "elm/genlist/item_compress/2text.1icon.4.tb/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.4.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
+ GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon.right", "elm.padding.right",
+ "elm.padding.top", "elm.text.2",)
+ GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon"; )
+ }
+
+// 2.2.2.15
+ group { name: "elm/genlist/item/3text.1icon.2/default";
+ alias: "elm/genlist/item_odd/3text.1icon.2/default";
+ alias: "elm/genlist/item_compress/3text.1icon.2/default";
+ alias: "elm/genlist/item_compress_odd/3text.1icon.2/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon.right", "elm.text.3",
+ "elm.padding.top", "elm.text.2",)
+ GENLIST_PART_SUBITEM_RTB("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.right", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
+ target: "elm.icon"; )
+ }
+
+// 2.2.2.16
+ group { name: "elm/genlist/item/2text.1icon.8/default";
+ alias: "elm/genlist/item_odd/2text.1icon.8/default";
+ alias: "elm/genlist/item_compress/2text.1icon.8/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.8/default";
+ inherit: "elm/genlist/item/2text.1icon.4/default";
+
+ parts {
+ part { name: "elm.text.2";
+ description { state: "default" 0.0;
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR;
+ }
+ GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS
+ }
+ }
+ }
+
+// 2.2.2.17
+ group { name: "elm/genlist/item/2text.6icon/default";
+ alias: "elm/genlist/item_odd/2text.6icon/default";
+ alias: "elm/genlist/item_compress/2text.6icon/default";
+ alias: "elm/genlist/item_compress_odd/2text.6icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5 elm.icon.6";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_ICON_BIG_L("elm.icon.6", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon6.right", "elm.icon.6")
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon6.right", "elm.icon.5",
+ "elm.padding.top", "elm.text.2",)
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon6.right", "elm.padding.right", "elm.padding.bottom")
+
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.5",
+ "elm.padding.icon4.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", 2)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.4",
+ "elm.padding.icon3.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon3.left", "elm.icon.3", 2)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.3",
+ "elm.padding.icon2.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon2.left", "elm.icon.2", 2)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.2",
+ "elm.padding.icon1.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon1.left", "elm.icon.1", 2)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.1",
+ "elm.padding.right", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; target: "elm.icon.6"; )
+ }
+
+// 2.2.2.17 (textblock)
+ group { name: "elm/genlist/item_compress/2text.6icon.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5 elm.icon.6";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_ICON_BIG_L("elm.icon.6", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon6.right", "elm.icon.6")
+ GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon6.right", "elm.icon.5",
+ "elm.padding.top", "elm.text.2",)
+ GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon6.right", "elm.padding.right", "elm.padding.bottom")
+
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.5",
+ "elm.padding.icon4.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", 2)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.4",
+ "elm.padding.icon3.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon3.left", "elm.icon.3", 2)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.3",
+ "elm.padding.icon2.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon2.left", "elm.icon.2", 2)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.2",
+ "elm.padding.icon1.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon1.left", "elm.icon.1", 2)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.1",
+ "elm.padding.right", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; target: "elm.icon.6"; )
+ }
+
+// 2.2.2.18
+ group { name: "elm/genlist/item/2text.2icon.4/default";
+ alias: "elm/genlist/item_odd/2text.2icon.4/default";
+ alias: "elm/genlist/item_compress/2text.2icon.4/default";
+ alias: "elm/genlist/item_compress_odd/2text.2icon.4/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon1.right", "elm.padding.icon2.left",
+ "elm.padding.top", "elm.text.2",)
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom")
+
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+
+// 2.2.2.18 (textblock)
+ group { name: "elm/genlist/item/2text.2icon.4.tb/default";
+ alias: "elm/genlist/item_compress/2text.2icon.4.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon1.right", "elm.padding.icon2.left",
+ "elm.padding.top", "elm.text.2",)
+ GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom")
+
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2";)
+ }
+
+// 2.2.2.19
+ group { name: "elm/genlist/item/2text.2icon.6/default";
+ alias: "elm/genlist/item_odd/2text.2icon.6/default";
+ alias: "elm/genlist/item_compress/2text.2icon.6/default";
+ alias: "elm/genlist/item_compress_odd/2text.2icon.6/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon1.right", "elm.padding.right",
+ "elm.padding.top", "elm.text.2",)
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom")
+
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.2",
+ "elm.padding.right", "elm.text.1", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2";)
+ }
+
+// 2.2.2.19 (textblock)
+ group { name: "elm/genlist/item_compress/2text.2icon.6.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon1.right", "elm.padding.right",
+ "elm.padding.top", "elm.text.2",)
+ GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom")
+
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.2",
+ "elm.padding.right", "elm.text.1", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2";)
+ }
+
+// 2.2.2.20
+ group { name: "elm/genlist/item/2text.2icon.8/default";
+ alias: "elm/genlist/item_odd/2text.2icon.8/default";
+ alias: "elm/genlist/item_compress/2text.2icon.8/default";
+ alias: "elm/genlist/item_compress_odd/2text.2icon.8/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon1.right", "elm.padding.icon2.left",
+ "elm.padding.top", "elm.text.2",)
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom")
+
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.2.2.20 (textblock)
+ group { name: "elm/genlist/item/2text.2icon.8.tb/default";
+ alias: "elm/genlist/item_odd/2text.2icon.8.tb/default";
+ alias: "elm/genlist/item_compress/2text.2icon.8.tb/default";
+ alias: "elm/genlist/item_compress_odd/2text.2icon.8.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon1.right", "elm.padding.icon2.left",
+ "elm.padding.top", "elm.text.2",)
+ GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom")
+
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2";)
+ }
+
+// 2.2.2.21
+ group { name: "elm/genlist/item/2text.2icon.progress/default";
+ alias: "elm/genlist/item_odd/2text.2icon.progress/default";
+ alias: "elm/genlist/item_compress/2text.2icon.progress/default";
+ alias: "elm/genlist/item_compress_odd/2text.2icon.progress/default";
+ // FIXME: deprecated name, will be removed
+ alias: "elm/genlist/item/1text.2icon.5/default";
+ alias: "elm/genlist/item_odd/1text.2icon.5/default";
+ alias: "elm/genlist/item_compress/1text.2icon.5/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon.5/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.swallow.progress ";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_SIZE( 50 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 46 )
+
+ GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_ICON("elm.swallow.progress", GENLIST_DESCRIPTION(
+ "elm.padding.icon1.right", "elm.padding.right",
+ "elm.padding.top", "elm.padding.bottom",
+ min: 0 34;)
+ )
+ GENLIST_PART_SUBITEM_LRT("elm.text.1", 46,
+ "elm.padding.icon1.right", "elm.text.2", "elm.swallow.progress")
+ GENLIST_PART_SUBITEM("elm.text.2", GENLIST_DESCRIPTION_RT(
+ "elm.padding.right", "elm.swallow.progress",
+ min: 0 46;
+ GENLIST_PARAM_SUBITEM_DEFAULT
+ GENLIST_PARAM_TEXT_LIMIT_RT
+ fixed: 1 1;)
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.swallow.progress";)
+ }
+
+// 2.2.2.22
+ group { name: "elm/genlist/item/3text.3icon.progress/default";
+ alias: "elm/genlist/item_odd/3text.3icon.progress/default";
+ alias: "elm/genlist/item_compress/3text.3icon.progress/default";
+ alias: "elm/genlist/item_compress_odd/3text.3icon.progress/default";
+ // FIXME: deprecated name, will be removed
+ alias: "elm/genlist/item/3text.3icon/default";
+ alias: "elm/genlist/item_odd/3text.3icon/default";
+ alias: "elm/genlist/item_compress/3text.3icon/default";
+ alias: "elm/genlist/item_compress_odd/3text.3icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.swallow.progress";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_SIZE( 0 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
+
+ GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_LISTITEM("elm.text.1",
+ GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.padding.icon2.left",
+ "elm.padding.top",
+ min: 0 50;
+ GENLIST_PARAM_LISTITEM fixed: 1 1;
+ )
+ )
+ GENLIST_PART_ICON("elm.swallow.progress",
+ GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.icon2.left", "elm.text.1", "elm.text.2",
+ min: 0 34;
+ )
+ )
+ GENLIST_PART_SUBITEM("elm.text.2",
+ GENLIST_DESCRIPTION_LRB("elm.padding.icon1.right", "elm.text.3", "elm.padding.bottom",
+ min: 0 46;
+ GENLIST_PARAM_SUBITEM_DEFAULT
+ fixed: 1 1;
+ )
+ )
+ GENLIST_PART_SUBITEM("elm.text.3",
+ GENLIST_DESCRIPTION_RB("elm.padding.icon2.left", "elm.padding.bottom",
+ min: 0 46;
+ GENLIST_PARAM_SUBITEM_DEFAULT
+ GENLIST_PARAM_TEXT_LIMIT_RT
+ fixed: 1 1; // This limits text growing.
+ )
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON("elm.icon.2", GENLIST_DESCRIPTION_R(
+ "elm.padding.right",
+ min: 156 GENLIST_BTN_01_HEIGHT;
+ max: 156 GENLIST_BTN_01_HEIGHT;)
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.swallow.progress"; )
+ }
+
+// 2.2.2.23
+ group { name: "elm/genlist/item/2text.1icon.divider/default";
+ alias: "elm/genlist/item_odd/2text.1icon.divider/default";
+ alias: "elm/genlist/item_compress/2text.1icon.divider/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.divider/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.divider.left",
+ "elm.padding.top", "elm.text.2",
+ )
+ GENLIST_PART_SUBITEM_SETTINGS_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.divider.left", "elm.padding.bottom",)
+ GENLIST_PART_PADDING_R("elm.padding.divider.left", "elm.divider1")
+ GENLIST_PART_DIVIDER_R("elm.padding.icon.left")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon.left", "elm.icon", 26)
+ GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon"; target: "elm.divider1"; target: "elm.divider2"; )
+ }
+
+// 2.2.2.30
+ group { name: "elm/genlist/item/2text.3icon/default";
+ alias: "elm/genlist/item_odd/2text.3icon/default";
+ alias: "elm/genlist/item_compress/2text.3icon/default";
+ alias: "elm/genlist/item_compress_odd/2text.3icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.text.limit",
+ "elm.padding.top", "elm.icon.3",
+ fixed: 1 0; align: 0 0.5; text.max: 1 0; // This limits text growing.
+ )
+ GENLIST_PART_PADDING_L("elm.padding.text1.right", "elm.text.1")
+ GENLIST_PART_ICON_SMALL_LTB("elm.icon.2",
+ "elm.padding.text1.right", "elm.padding.top", "elm.icon.3")
+
+ GENLIST_PART_ICON_SMALL_LB("elm.icon.3",
+ "elm.padding.left", "elm.padding.bottom")
+ GENLIST_PART_PADDING_L("elm.icon3.right", "elm.icon.3")
+ GENLIST_PART_SUBITEM_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.icon3.right", "elm.padding.icon1.left",
+ "elm.text.1", "elm.padding.bottom",
+ fixed: 1 1;
+ )
+ // Virtual part for Maxmimum right X axis of TEXT
+ GENLIST_PART_SPACER("elm.text.limit",
+ GENLIST_DESCRIPTION_R("elm.padding.icon1.left",
+ min: (GENLIST_ICON_THUMBNAIL1_SIZE+GENLIST_PADDING_SIZE_DEFAULT) 0;
+ )
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
+ GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon.1", "elm.padding.right")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; )
+ }
+
+// 2.2.2.31
+ group { name: "elm/genlist/item/2text.1icon.12/default";
+ alias: "elm/genlist/item_odd/2text.1icon.12/default";
+ alias: "elm/genlist/item_compress/2text.1icon.12/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.12/default";
+
+ inherit: "elm/genlist/item/2text.1icon.2/default";
+ parts {
+ GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon", "elm.padding.right")
+ }
+ }
+
+// 2.2.2.32
+// 2.2.2.36
+ group { name: "elm/genlist/item/2text.1icon.9/default";
+ alias: "elm/genlist/item_odd/2text.1icon.9/default";
+ alias: "elm/genlist/item_compress/2text.1icon.9/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.9/default";
+
+ inherit:"elm/genlist/item/2text.1icon.4/default";
+ parts {
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon", "elm.padding.left")
+ }
+ }
+
+// 2.2.2.33
+ group { name: "elm/genlist/item/2text.2icon.7/default";
+ alias: "elm/genlist/item_odd/2text.2icon.7/default";
+ alias: "elm/genlist/item_compress/2text.2icon.7/default";
+ alias: "elm/genlist/item_compress_odd/2text.2icon.7/default";
+ inherit: "elm/genlist/item/2text.2icon.4/default";
+
+ parts {
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ }
+ }
+
+// 2.2.2.34
+// 2.2.2.37
+ group { name: "elm/genlist/item/2text.2icon.5/default";
+ alias: "elm/genlist/item_odd/2text.2icon.5/default";
+ alias: "elm/genlist/item_compress/2text.2icon.5/default";
+ alias: "elm/genlist/item_compress_odd/2text.2icon.5/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_ICON_BIG_L("elm.icon.2", "elm.padding.icon1.right")
+ GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2")
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon2.right", "elm.padding.right",
+ "elm.padding.top", "elm.text.2",)
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon2.right", "elm.padding.right", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2";)
+ }
+
+// 2.2.2.35
+ group { name: "elm/genlist/item/2text.3icon.4/default";
+ alias: "elm/genlist/item_odd/2text.3icon.4/default";
+ alias: "elm/genlist/item_compress/2text.3icon.4/default";
+ alias: "elm/genlist/item_compress_odd/2text.3icon.4/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_ICON_BIG_L("elm.icon.2", "elm.padding.icon1.right")
+ GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2")
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon2.right", "elm.padding.icon3.left",
+ "elm.padding.top", "elm.text.2",)
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon2.right", "elm.padding.icon3.left", "elm.padding.bottom")
+
+ GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3")
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon.3", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
+ }
+
+
+// 2.2.2.38
+ group { name: "elm/genlist/item/4text.1icon.1/default";
+ alias: "elm/genlist/item_odd/4text.1icon.1/default";
+ alias: "elm/genlist/item_compress/4text.1icon.1/default";
+ alias: "elm/genlist/item_compress_odd/4text.1icon.1/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";
+ data.item: "contents" "elm.icon.1";
+
+ images {
+ image: "00_list_bubble_bg.png" COMP;
+ }
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon1.left",
+ "elm.padding.top", "elm.text.3",
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.1",
+ "elm.padding.bubble.left", "elm.padding.top", "elm.text.3")
+
+ GENLIST_PART_PADDING_R("elm.padding.bubble.left", "elm.bubble")
+ GENLIST_PART_LIST_BUBBLE_TEXT_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.right", "elm.padding.top", "elm.text.3")
+
+ GENLIST_PART_SUBITEM_LRB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.text2.left", "elm.padding.bottom")
+ GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2")
+ GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.right", "elm.text.1", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4";
+ target: "elm.icon.1";)
+ }
+
+// 2.2.2.38 textblock
+ group { name: "elm/genlist/item/4text.1icon.1.tb/default";
+ alias: "elm/genlist/item_odd/4text.1icon.1.tb/default";
+ alias: "elm/genlist/item_compress/4text.1icon.1.tb/default";
+ alias: "elm/genlist/item_compress_odd/4text.1icon.1.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";
+ data.item: "contents" "elm.icon.1";
+
+ images {
+ image: "00_list_bubble_bg.png" COMP;
+ }
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ // elm.text.1 should be fixed part becuase 2nd line texts are both TEXTBLOCK
+ // and theier font size can be changed both.
+ GENLIST_PART_LISTITEM_LRT_TB("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon1.left", "elm.padding.top",
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.1",
+ "elm.padding.bubble.left", "elm.padding.top", "elm.text.3")
+
+ GENLIST_PART_PADDING_R("elm.padding.bubble.left", "elm.bubble")
+ GENLIST_PART_LIST_BUBBLE_TEXT_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.right", "elm.padding.top", "elm.text.3")
+
+ GENLIST_PART_SUBITEM_TB_("elm.text.3", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.text2.left", "elm.text.1", "elm.padding.bottom"
+ )
+ GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2")
+ GENLIST_PART_SUBITEM_RTB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.right", "elm.text.1", "elm.padding.bottom"
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4";
+ target: "elm.icon.1";)
+ }
+
+// 2.2.2.39
+ group { name: "elm/genlist/item/4text.1icon.2/default";
+ alias: "elm/genlist/item_odd/4text.1icon.2/default";
+ alias: "elm/genlist/item_compress/4text.1icon.2/default";
+ alias: "elm/genlist/item_compress_odd/4text.1icon.2/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";
+ data.item: "contents" "elm.icon.1 ";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon1.left",
+ "elm.padding.top", "elm.text.3",
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.1",
+ "elm.padding.text4.left", "elm.padding.top", "elm.text.3")
+ GENLIST_PART_PADDING_R("elm.padding.text4.left", "elm.text.4")
+ GENLIST_PART_SUBITEM_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.right", "elm.padding.top", "elm.text.3")
+
+ GENLIST_PART_SUBITEM_LRB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.text2.left", "elm.padding.bottom")
+ GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2")
+ GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.right", "elm.text.1", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4";
+ target: "elm.icon.1";)
+ }
+// 2.2.2.39 (TEXTBLOCK)
+ group { name: "elm/genlist/item/4text.1icon.2.tb/default";
+ alias: "elm/genlist/item_odd/4text.1icon.2.tb/default";
+ alias: "elm/genlist/item_compress/4text.1icon.2.tb/default";
+ alias: "elm/genlist/item_compress_odd/4text.1icon.2.tb/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";
+ data.item: "contents" "elm.icon.1";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon1.left",
+ "elm.padding.top", "elm.text.3",
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.1",
+ "elm.padding.text4.left", "elm.padding.top", "elm.text.3")
+ GENLIST_PART_PADDING_R("elm.padding.text4.left", "elm.text.4")
+ GENLIST_PART_SUBITEM_RTB_TB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.right", "elm.padding.top", "elm.text.3")
+
+ GENLIST_PART_SUBITEM_LRB_TB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.text2.left", "elm.padding.bottom")
+ GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2")
+ GENLIST_PART_SUBITEM_RTB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.right", "elm.text.1", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4";
+ target: "elm.icon.1";)
+ }
+
+// 2.2.2.40
+ group { name: "elm/genlist/item/4text.1/default";
+ alias: "elm/genlist/item_odd/4text.1/default";
+ alias: "elm/genlist/item_compress/4text.1/default";
+ alias: "elm/genlist/item_compress_odd/4text.1/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";
+
+ images {
+ image: "00_list_bubble_bg.png" COMP;
+ }
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.bubble.left",
+ "elm.padding.top", "elm.text.3",
+ )
+ GENLIST_PART_PADDING_R("elm.padding.bubble.left", "elm.bubble")
+ GENLIST_PART_LIST_BUBBLE_TEXT_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.right", "elm.padding.top", "elm.text.3")
+
+ GENLIST_PART_SUBITEM_LRB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.text2.left", "elm.padding.bottom")
+ GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2")
+ GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.right", "elm.text.1", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; )
+
+ }
+
+// 2.2.2.41
+ group { name: "elm/genlist/item/4text.2/default";
+ alias: "elm/genlist/item_odd/4text.2/default";
+ alias: "elm/genlist/item_compress/4text.2/default";
+ alias: "elm/genlist/item_compress_odd/4text.2/default";
+ inherit: "elm/genlist/item/4text.1/default";
+ parts {
+ part { name: "elm.bubble";
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ GENLIST_PART_SUBITEM_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.right", "elm.padding.top", "elm.text.3")
+ }
+ }
+
+// 2.2.2.42
+ group { name: "elm/genlist/item/3text.1icon.3/default";
+ alias: "elm/genlist/item_odd/3text.1icon.3/default";
+ alias: "elm/genlist/item_compress/3text.1icon.3/default";
+ alias: "elm/genlist/item_compress_odd/3text.1icon.3/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+ data.item: "contents" "elm.icon.1";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon1.left",
+ "elm.padding.top", "elm.text.3",)
+ GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.1",
+ "elm.padding.right", "elm.padding.top", "elm.text.3")
+ GENLIST_PART_SUBITEM_LRB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.text.2", "elm.padding.bottom")
+ GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.right", "elm.text.1", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
+ target: "elm.icon.1";)
+ }
+
+
+// 2.2.2.43
+ group { name: "elm/genlist/item/2text.4icon.1/default";
+ alias: "elm/genlist/item_odd/2text.4icon.1/default";
+ alias: "elm/genlist/item_compress/2text.4icon.1/default";
+ alias: "elm/genlist/item_compress_odd/2text.4icon.1/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon1.left",
+ "elm.padding.top", "elm.text.2",
+ )
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.icon4.left", "elm.padding.bottom")
+ GENLIST_PART_PADDING_R("elm.padding.icon4.left", "elm.icon.4")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.4",
+ "elm.padding.icon3.left", "elm.text.1", "elm.padding.bottom")
+ GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.3",
+ "elm.padding.icon2.left", "elm.text.1", "elm.padding.bottom")
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.2",
+ "elm.padding.icon1.left", "elm.text.1", "elm.padding.bottom")
+
+ GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
+ GENLIST_PART_ICON_BIG_R("elm.icon.1", "elm.padding.right")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4";)
+ }
+
+// 2.2.2.44
+ group { name: "elm/genlist/item/4text.1icon.3/default";
+ alias: "elm/genlist/item_odd/4text.1icon.3/default";
+ alias: "elm/genlist/item_compress/4text.1icon.3/default";
+ alias: "elm/genlist/item_compress_odd/4text.1icon.3/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";
+ data.item: "contents" "elm.swallow.colorbar elm.icon.1";
+
+ images {
+ image: "00_list_bubble_bg.png" COMP;
+ }
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_COLORBAR
+
+ GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon1.right", "elm.padding.bubble.left",
+ "elm.padding.top", "elm.text.3",
+ )
+ GENLIST_PART_PADDING_R("elm.padding.bubble.left", "elm.bubble")
+ GENLIST_PART_LIST_BUBBLE_TEXT_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.right", "elm.padding.top", "elm.text.3")
+
+ GENLIST_PART_SUBITEM_LRB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon1.right", "elm.padding.text2.left", "elm.padding.bottom")
+ GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2")
+ GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.right", "elm.text.1", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4";
+ target: "elm.swallow.colorbar"; target: "elm.icon.1";)
+ }
+
+// 2.2.2.45
+ group { name: "elm/genlist/item/3text.1icon.1/default";
+ alias: "elm/genlist/item_odd/3text.1icon.1/default";
+ alias: "elm/genlist/item_compress/3text.1icon.1/default";
+ alias: "elm/genlist/item_compress_odd/3text.1icon.1/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.icon.right", "elm.padding.right",
+ "elm.padding.top", "elm.text.2",)
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon.right", "elm.text.3", "elm.padding.bottom")
+ GENLIST_PART_SUBITEM_RTB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.right", "elm.text.1", "elm.padding.bottom")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
+ target: "elm.icon"; )
+ }
+
+// 2.2.2.46
+ group { name: "elm/genlist/item/2text.2icon.1/default";
+ alias: "elm/genlist/item_odd/2text.2icon.1/default";
+ alias: "elm/genlist/item_compress/2text.2icon.1/default";
+ alias: "elm/genlist/item_compress_odd/2text.2icon.1/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.icon1.left",
+ "elm.padding.top", "elm.text.2",
+ )
+ GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.icon1.left", "elm.padding.bottom")
+ GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
+ GENLIST_PART_ICON_BIG_R("elm.icon.1", "elm.padding.icon2.left")
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon.2", "elm.padding.right")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2";)
+ }
+
+// 2.2.2.47
+ group { name: "elm/genlist/item/2text.1icon.1/default";
+ alias: "elm/genlist/item_odd/2text.1icon.1/default";
+ alias: "elm/genlist/item_compress/2text.1icon.1/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.1/default";
+ inherit: "elm/genlist/item/2text.1icon.2/default";
+
+ parts {
+ GENLIST_PART_ICON_BIG_R("elm.icon", "elm.padding.right")
+ }
+ }
+
+// -------------------------------------------------------------------
+// Email Style -------------------------------------------------------
+// -------------------------------------------------------------------
+
+#define GENLIST_EMAIL_MAIN_TEXT_SIZE 40
+#define GENLIST_EMAIL_MAIN_TEXT_UNREAD_COLOR_STYLE "#000000FF"
+#define GENLIST_EMAIL_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE "#00000066"
+#define GENLIST_EMAIL_MAIN_TEXT_READ_COLOR_STYLE "#808080FF"
+#define GENLIST_EMAIL_TEXT_FOCUS_COLOR 255 255 255 255
+#define GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE "#FFFFFFFF"
+
+#define GENLIST_EMAIL_SUB_TEXT_SIZE 32
+#define GENLIST_EMAIL_SUB_TEXT_COLOR_STYLE "#808080FF"
+
+#define GENLIST_EMAIL_COUNT_TEXT_SIZE 28
+#define GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR 59 115 182 255
+#define GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR_STYLE "#3B73B6FF"
+#define GENLIST_EMAIL_COUNT_TEXT_READ_COLOR 128 128 128 255
+#define GENLIST_EMAIL_COUNT_TEXT_READ_COLOR_STYLE "#808080FF"
+
+#define GENLIST_EMAIL_CONTENTS_TEXT_SIZE 28
+#define GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE "#808080FF"
+
+#define STYLE_TAG \
+ tag: "br" "\n";\
+ tag: "ps" "ps";\
+ tag: "tab" "\t";\
+ tag: "b" "+ font=Tizen:style=Bold";
+
+#define STYLE_TAG_MATCH \
+ tag: "match" GENLIST_PART_MATCH_TAG_COLOR;
+
+#define STYLE_TAG_MATCH_EMAIL_FOCUS \
+ tag: "match" GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE;
+
+
+ styles {
+ style { name: "email_style_main";
+ base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_UNREAD_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "email_style_main_dim";
+ base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "email_style_main_read";
+ base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_READ_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "email_style_main_read_dim";
+ base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "email_style_main_focus";
+ base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH_EMAIL_FOCUS
+ }
+ style { name: "email_style_sub";
+ base: "font=Tizen:style=Bold font_size="GENLIST_EMAIL_SUB_TEXT_SIZE" color="GENLIST_EMAIL_SUB_TEXT_COLOR_STYLE" text_class=tizen ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "email_style_sub_focus";
+ base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_SUB_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH_EMAIL_FOCUS
+ }
+ style { name: "email_style_contents";
+ base: "font=Tizen:style=Medium font_size="GENLIST_EMAIL_CONTENTS_TEXT_SIZE" color="GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE" text_class=tizen ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ }
+
+// email main text
+#define PARAM_EMAIL_MAIN \
+ text { \
+ align: 0 0.5; \
+ min: 0 1; \
+ style: "email_style_main"; \
+ }
+
+#define DESCRIPTION_EMAIL_MAIN_OTHERS \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "email_style_main_dim"; \
+ } \
+ description { state: "read" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "email_style_main_read"; \
+ } \
+ description { state: "read,disabled" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "email_style_main_read_dim"; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "email_style_main_focus"; \
+ }
+
+// email sub text
+#define PARAM_EMAIL_SUB \
+ text { \
+ align: 0 0.5; \
+ min: 0 1; \
+ style: "email_style_sub"; \
+ }
+
+#define DESCRIPTION_EMAIL_SUB_OTHERS \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "email_style_sub_focus"; \
+ }
+
+// email contents text
+#define PARAM_EMAIL_COUNT \
+ color: GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR; \
+ text { \
+ align: 0 0.5; \
+ min: 0 1; \
+ font: "Tizen:style=Medium"; \
+ size: GENLIST_EMAIL_COUNT_TEXT_SIZE; \
+ text_class: "tizen"; \
+ }
+
+#define DESCRIPTION_EMAIL_COUNT_OTHERS \
+ description { state: "read" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_EMAIL_COUNT_TEXT_READ_COLOR; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_EMAIL_TEXT_FOCUS_COLOR; \
+ }
+
+// email contents text
+#define PARAM_EMAIL_CONTENTS \
+ text { \
+ align: 0 0.5; \
+ min: 0 1; \
+ font: "Tizen:style=Medium"; \
+ style: "email_style_contents"; \
+ }
+
+#define HEIGHT_EMAIL_MAIN 54
+#define HEIGHT_EMAIL_SUB 42
+#define HEIGHT_EMAIL_CONTENTS 38
+
+// 2.2.3.5 (Email Style)
+ group { name: "elm/genlist/item/email.list/default";
+ alias: "elm/genlist/item_odd/email.list/default";
+ alias: "elm/genlist/item_compress/email.list/default";
+ alias: "elm/genlist/item_compress_odd/email.list/default";
+ alias: "elm/genlist/tree/email.list/default";
+ alias: "elm/genlist/tree_odd/email.list/default";
+ alias: "elm/genlist/tree_compress/email.list/default";
+ alias: "elm/genlist/tree_compress_odd/email.list/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";
+ data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.4.touch";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_SIZE_TOP_3LINE )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_SIZE_BOTTOM_3LINE )
+ GENLIST_PART_COLORBAR
+
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+
+ GENLIST_PART_TEXTBLOCK("elm.text.1",
+ GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top",
+ PARAM_EMAIL_MAIN
+ min: 0 HEIGHT_EMAIL_MAIN;
+ fixed: 1 1; align: 0 0; text.max: 1 0; // This limits text growing.
+ )
+ DESCRIPTION_EMAIL_MAIN_OTHERS
+ )
+ // FIXME: because script cannot be inherited, text.5 is defined here and can be inherited
+ GENLIST_PART_TEXT("elm.text.5",
+ GENLIST_DESCRIPTION_LT("elm.text.1", "elm.padding.top",
+ visible: 0;
+ )
+ )
+ // Virtual part for Maxmimum right X axis of TEXT
+ GENLIST_PART_SPACER("elm.text.limit",
+ GENLIST_DESCRIPTION_R("elm.icon.3",
+ min: 0 0;
+ max: 0 0;
+ )
+ )
+ GENLIST_PART_ICON("elm.icon.3",
+ GENLIST_DESCRIPTION_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.3",)
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon4.left", "elm.icon.4")
+ GENLIST_PART_ICON("elm.icon.4",
+ GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.text.3",
+ min: 38 38;
+ max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN;
+ fixed: 1 1;
+ )
+ )
+ GENLIST_PART_ICON("elm.icon.4.touch",
+ GENLIST_DESCRIPTION_ENVELOP("elm.icon.4",
+ rel1.offset: -10 -17;
+ rel2.offset: 26 10;
+ fixed: 1 1;
+ )
+ )
+ GENLIST_PART_ICON("elm.icon.2",
+ GENLIST_DESCRIPTION_LT("elm.padding.icon1.right", "elm.text.1", )
+ )
+ GENLIST_PART_TEXTBLOCK("elm.text.3",
+ GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.text.4", "elm.text.1",
+ PARAM_EMAIL_SUB
+ min: 0 HEIGHT_EMAIL_SUB;
+ fixed: 0 1;
+ )
+ DESCRIPTION_EMAIL_SUB_OTHERS
+ )
+ GENLIST_PART_TEXTBLOCK("elm.text.4",
+ GENLIST_DESCRIPTION_RT("elm.padding.right", "elm.text.1",
+ PARAM_EMAIL_CONTENTS
+ GENLIST_PARAM_TEXT_LIMIT_RT
+ min: 0 HEIGHT_EMAIL_CONTENTS;
+ fixed: 0 1;
+ )
+ )
+ GENLIST_PART_TEXTBLOCK("elm.text.2",
+ GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.right", "elm.text.3", "elm.padding.bottom",
+ PARAM_EMAIL_CONTENTS
+ min: 0 HEIGHT_EMAIL_CONTENTS;
+ )
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_READ_TEXT1( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
+ target: "elm.text.4"; target: "elm.text.5";
+ target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3";
+ target: "elm.icon.4";
+ )
+ }
+
+// email list with conversation text
+ group { name: "elm/genlist/item/email.list.conversation/default";
+ alias: "elm/genlist/item_odd/email.list.conversation/default";
+ alias: "elm/genlist/item_compress/email.list.conversation/default";
+ alias: "elm/genlist/item_compress_odd/email.list.conversation/default";
+ alias: "elm/genlist/tree/email.list.conversation/default";
+ alias: "elm/genlist/tree_odd/email.list.conversation/default";
+ alias: "elm/genlist/tree_compress/email.list.conversation/default";
+ alias: "elm/genlist/tree_compress_odd/email.list.conversation/default";
+ inherit: "elm/genlist/item/email.list/default";
+
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4 elm.text.5";
+ parts {
+ GENLIST_PART_TEXT("elm.text.5",
+ GENLIST_DESCRIPTION_LT("elm.text.1", "elm.padding.top",
+ PARAM_EMAIL_COUNT
+ min: 45 HEIGHT_EMAIL_MAIN;
+ max: 45 HEIGHT_EMAIL_MAIN;
+ text.min: 1 0;
+ text.align: 0.5 0.65;
+ fixed: 1 1;
+ visible: 1;
+ )
+ DESCRIPTION_EMAIL_COUNT_OTHERS
+ )
+ // Virtual part for Maxmimum right X axis of TEXT
+ GENLIST_PART_SPACER("elm.text.limit",
+ GENLIST_DESCRIPTION_RTB("elm.icon.3", "elm.padding.top", "elm.text.2",
+ min: 45 HEIGHT_EMAIL_MAIN;
+ max: 45 HEIGHT_EMAIL_MAIN;
+ )
+ )
+ }
+ }
+
+ // 2.2.3.13
+ // email outbox style
+ group { name: "elm/genlist/item/email.outbox/default";
+ alias: "elm/genlist/item_odd/email.outbox/default";
+ alias: "elm/genlist/item_compress/email.outbox/default";
+ alias: "elm/genlist/item_compress_odd/email.outbox/default";
+ alias: "elm/genlist/tree/email.outbox/default";
+ alias: "elm/genlist/tree_odd/email.outbox/default";
+ alias: "elm/genlist/tree_compress/email.outbox/default";
+ alias: "elm/genlist/tree_compress_odd/email.outbox/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+ data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.4.touch elm.icon.5";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_SIZE_TOP_3LINE )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_SIZE_BOTTOM_3LINE )
+ GENLIST_PART_COLORBAR
+
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+
+ GENLIST_PART_TEXTBLOCK("elm.text.1",
+ GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top",
+ PARAM_EMAIL_MAIN
+ min: 0 HEIGHT_EMAIL_MAIN;
+ fixed: 1 1; align: 0 0; text.max: 1 0; // This limits text growing.
+ )
+ DESCRIPTION_EMAIL_MAIN_OTHERS
+ )
+ // FIXME: because script cannot be inherited, text.5 is defined here and can be inherited
+ GENLIST_PART_TEXT("elm.text.4",
+ GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.icon.5",
+ visible: 0;
+ )
+ )
+ // Virtual part for Maxmimum right X axis of TEXT
+ GENLIST_PART_SPACER("elm.text.limit",
+ GENLIST_DESCRIPTION_RTB("elm.icon.3", "elm.padding.top", "elm.text.2",
+ min: 0 0;
+ max: 0 0;
+ )
+ )
+ GENLIST_PART_ICON("elm.icon.3",
+ GENLIST_DESCRIPTION_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.3",
+ )
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon4.left", "elm.icon.4")
+ GENLIST_PART_ICON("elm.icon.4",
+ GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.text.3",
+ min: 38 38;
+ max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN;
+ fixed: 1 1;
+ )
+ )
+ GENLIST_PART_ICON("elm.icon.4.touch",
+ GENLIST_DESCRIPTION_ENVELOP("elm.icon.4",
+ rel1.offset: -10 -17;
+ rel2.offset: 26 10;
+ fixed: 1 1;
+ )
+ )
+
+ GENLIST_PART_ICON("elm.icon.2",
+ GENLIST_DESCRIPTION_LT("elm.padding.icon1.right", "elm.text.1",
+ fixed: 1 1;
+ )
+ )
+ GENLIST_PART_TEXTBLOCK("elm.text.3",
+ GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.padding.icon5.left", "elm.text.1",
+ PARAM_EMAIL_SUB
+ min: 0 HEIGHT_EMAIL_SUB;
+ fixed: 0 1;
+ )
+ DESCRIPTION_EMAIL_SUB_OTHERS
+ )
+ GENLIST_PART_TEXTBLOCK("elm.text.2",
+ GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.icon5.left", "elm.text.3", "elm.padding.bottom",
+ PARAM_EMAIL_CONTENTS
+ min: 0 HEIGHT_EMAIL_CONTENTS;
+ )
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon5.left", "elm.icon.5")
+ GENLIST_PART_ICON("elm.icon.5",
+ GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.text.1", "elm.padding.bottom",
+ min: 180 74;
+ max: 180 74;
+ fixed: 1 1;
+ )
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_READ_TEXT1( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
+ target: "elm.text.4";
+ target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3";
+ target: "elm.icon.4"; target: "elm.icon.5";
+ )
+ }
+
+// email outbox style with conversation
+ group { name: "elm/genlist/item/email.outbox.conversation/default";
+ alias: "elm/genlist/item_odd/email.outbox.conversation/default";
+ alias: "elm/genlist/item_compress/email.outbox.conversation/default";
+ alias: "elm/genlist/item_compress_odd/email.outbox.conversation/default";
+ alias: "elm/genlist/tree/email.outbox.conversation/default";
+ alias: "elm/genlist/tree_odd/email.outbox.conversation/default";
+ alias: "elm/genlist/tree_compress/email.outbox.conversation/default";
+ alias: "elm/genlist/tree_compress_odd/email.outbox.conversation/default";
+ inherit: "elm/genlist/item/email.outbox/default";
+
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";
+
+ parts {
+ GENLIST_PART_TEXT("elm.text.4",
+ GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.icon.5",
+ PARAM_EMAIL_COUNT
+ min: 45 HEIGHT_EMAIL_MAIN;
+ max: 45 HEIGHT_EMAIL_MAIN;
+ text.min: 1 0;
+ text.align: 0.5 0.65;
+ fixed: 1 1;
+ visible: 1;
+ )
+ DESCRIPTION_EMAIL_COUNT_OTHERS
+ )
+ GENLIST_PART_SPACER("elm.text.limit",
+ GENLIST_DESCRIPTION_RTB("elm.icon.3", "elm.padding.top", "elm.text.2",
+ min: 45 HEIGHT_EMAIL_MAIN;
+ max: 45 HEIGHT_EMAIL_MAIN;
+ fixed: 1 1;
+ )
+ )
+ }
+ }
+
+// Reomve this later
+ group { name: "elm/genlist/item/3text.5icon/default";
+ alias: "elm/genlist/item_odd/3text.5icon/default";
+ alias: "elm/genlist/item_compress/3text.5icon/default";
+ alias: "elm/genlist/item_compress_odd/3text.5icon/default";
+ // FIXME: deprecated name, will be removed
+ alias: "elm/genlist/item/3text.4icon.2/default";
+ alias: "elm/genlist/item_odd/3text.4icon.2/default";
+ alias: "elm/genlist/item_compress/3text.4icon.2/default";
+ alias: "elm/genlist/item_compress_odd/3text.4icon.2/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+ data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_SIZE_TOP_3LINE )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_SIZE_BOTTOM_3LINE )
+ GENLIST_PART_COLORBAR
+
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+
+ GENLIST_PART_TEXT("elm.text.1",
+ GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.padding.icon3.left", "elm.padding.top",
+ GENLIST_PARAM_LISTITEM
+ min: 0 HEIGHT_EMAIL_MAIN; fixed:1 1;)
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.3", "elm.padding.right", "elm.padding.top", "elm.icon.4")
+
+ GENLIST_PART_SUBITEM_("elm.text.2", HEIGHT_EMAIL_SUB,
+ "elm.padding.icon1.right", "elm.padding.icon4.left", "elm.text.1", "elm.text.3",)
+
+ GENLIST_PART_ICON_SMALL_LTB("elm.icon.2", "elm.padding.icon1.right", "elm.text.2", "elm.padding.bottom")
+ GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2")
+ GENLIST_PART_TEXTBLOCK("elm.text.3",
+ GENLIST_DESCRIPTION_LRB("elm.padding.icon2.right", "elm.padding.icon4.left", "elm.padding.bottom",
+ PARAM_EMAIL_CONTENTS
+ min: 0 HEIGHT_EMAIL_CONTENTS; fixed:1 1;)
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon4.left", "elm.icon.4")
+ GENLIST_PART_ICON("elm.icon.4",
+ GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.text.1", "elm.padding.bottom",
+ min: 0 80; fixed: 1 1;)
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_READ_TEXT1( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
+ target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.icon.2";
+ target: "elm.icon.3"; target: "elm.icon.4"; )
+ }
+
+// 2.2.4.1
+ group { name: "elm/genlist/item/multiline/1title.2text/default";
+ alias: "elm/genlist/item_odd/multiline/1title.2text/default";
+ alias: "elm/genlist/item_compress/multiline/1title.2text/default";
+ alias: "elm/genlist/item_compress_odd/multiline/1title.2text/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.title elm.text.1 elm.text.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_SIZE( 0 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
+
+ // FIXME: if textblock is used, part grows to big.
+ GENLIST_PART_TEXT("elm.title",
+ GENLIST_DESCRIPTION_L("elm.padding.left",
+ GENLIST_PARAM_LISTITEM
+ min: 226 0;
+ fixed: 1 0;)
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS
+ )
+ GENLIST_PART_PADDING_L("elm.padding.title.right", "elm.title")
+ GENLIST_PART_DIVIDER_L("elm.padding.title.right")
+ GENLIST_PART_PADDING_L("elm.divider.right", "elm.divider2")
+
+ GENLIST_PART_TEXTBLOCK("elm.text.1",
+ GENLIST_DESCRIPTION_LRT("elm.divider.right", "elm.padding.right", "elm.padding.top",
+ GENLIST_PARAM_LISTITEM_TB_WRAP
+ min: 0 90; fixed: 1 1;)
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP
+ )
+ GENLIST_PART_TEXTBLOCK("elm.text.2",
+ GENLIST_DESCRIPTION("elm.divider.right", "elm.padding.right", "center_line2", "elm.padding.bottom",
+ GENLIST_PARAM_LISTITEM_TB_WRAP
+ min: 0 90; )
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP
+ )
+ GENLIST_PART_CENTER_LINE_LT("elm.divider2", "elm.text.1")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.title"; target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.divider1"; target:"elm.divider2";
+ target: "center_line"; target:"center_line2";
+ )
+ }
+
+// 2.2.4.2
+ group { name: "elm/genlist/item/multiline/1title.1text/default";
+ alias: "elm/genlist/item_odd/multiline/1title.1text/default";
+ alias: "elm/genlist/item_compress/multiline/1title.1text/default";
+ alias: "elm/genlist/item_compress_odd/multiline/1title.1text/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.title elm.text";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_SIZE( 22 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 22 )
+
+ // FIXME: if textblock is used, part grows to big.
+ GENLIST_PART_TEXT("elm.title",
+ GENLIST_DESCRIPTION_L("elm.padding.left",
+ GENLIST_PARAM_LISTITEM
+ min: 226 0; )
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS
+ )
+ GENLIST_PART_PADDING_L("elm.padding.title.right", "elm.title")
+ GENLIST_PART_DIVIDER_L("elm.padding.title.right")
+ GENLIST_PART_PADDING_L("elm.divider.right", "elm.divider2")
+
+ GENLIST_PART_TEXTBLOCK("elm.text",
+ GENLIST_DESCRIPTION("elm.divider.right", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
+ GENLIST_PARAM_LISTITEM_TB_WRAP
+ min: 0 48; )
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.title"; target: "elm.text";
+ target: "elm.divider1"; target:"elm.divider2";
+ )
+ }
+
+// 2.2.4.3
+ group { name: "elm/genlist/item/multiline/2text/default";
+ alias: "elm/genlist/item_odd/multiline/2ext/default";
+ alias: "elm/genlist/item_compress/multiline/2text/default";
+ alias: "elm/genlist/item_compress_odd/multiline/2text/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_TEXT("elm.text.1",
+ GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.right", "elm.padding.top",
+ GENLIST_PARAM_LISTITEM
+ min: 0 GENLIST_HEIGHT_2LINE_MAIN; )
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS
+ )
+ GENLIST_PART_PADDING_T_SIZE("elm.padding.text1.bottom", "elm.text.1", 16)
+ GENLIST_PART_TEXTBLOCK("elm.text.2",
+ GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.right", "elm.padding.text1.bottom", "elm.padding.bottom",
+ GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP
+ min: 0 GENLIST_HEIGHT_MULTILINE_SUB; )
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
+ }
+
+// 2.2.4.4
+ group { name: "elm/genlist/item/multiline/2text.5icon/default";
+ alias: "elm/genlist/item_odd/multiline/2ext.5icon/default";
+ alias: "elm/genlist/item_compress/multiline/2text.5icon/default";
+ alias: "elm/genlist/item_compress_odd/multiline/2text.5icon/default";
+ // FIXME: deprecated name, wiil be removed
+ alias: "elm/genlist/item/multiline/2text.1icon/default";
+ alias: "elm/genlist/item_odd/multiline/2ext.1icon/default";
+ alias: "elm/genlist/item_compress/multiline/2text.1icon/default";
+ alias: "elm/genlist/item_compress_odd/multiline/2text.1icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_SIZE( 16 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 16 )
+
+ GENLIST_PART_LISTITEM("elm.text.1",
+ GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.icon5.left", "elm.padding.top",
+ GENLIST_PARAM_LISTITEM
+ min: 0 GENLIST_HEIGHT_2LINE_MAIN; )
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon5.left", "elm.icon.5")
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.5",
+ "elm.icon.4", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.4",
+ "elm.icon.3", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.3",
+ "elm.icon.2", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.2",
+ "elm.icon.1", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.1",
+ "elm.padding.right", "elm.padding.top", "elm.text.2")
+
+
+ GENLIST_PART_PADDING_T_SIZE("elm.padding.text1.bottom", "elm.text.1", 16)
+ GENLIST_PART_TEXTBLOCK("elm.text.2",
+ GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.right", "elm.padding.text1.bottom", "elm.padding.bottom",
+ GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP
+ min: 0 GENLIST_HEIGHT_MULTILINE_SUB; )
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
+ }
+
+// 2.4.4.5
+ group { name: "elm/genlist/item/multiline/2text.1icon.2/default";
+ alias: "elm/genlist/item_odd/multiline/2ext.1icon.2/default";
+ alias: "elm/genlist/item_compress/multiline/2text.1icon.2/default";
+ alias: "elm/genlist/item_compress_odd/multiline/2text.1icon.2/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_SIZE( 16 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 16 )
+
+ GENLIST_PART_ICON_SMALL_LTB("elm.icon", "elm.padding.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
+ GENLIST_PART_LISTITEM("elm.text.1",
+ GENLIST_DESCRIPTION_LRT("elm.padding.icon.right", "elm.padding.right", "elm.padding.top",
+ GENLIST_PARAM_LISTITEM
+ min: 0 GENLIST_HEIGHT_2LINE_MAIN; )
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS
+ )
+ GENLIST_PART_PADDING_T_SIZE("elm.padding.text1.bottom", "elm.text.1", 16)
+ GENLIST_PART_TEXTBLOCK("elm.text.2",
+ GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.right", "elm.padding.text1.bottom", "elm.padding.bottom",
+ GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP
+ min: 0 GENLIST_HEIGHT_MULTILINE_SUB; )
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
+ }
+
+/************************************************************/
+/******************** Dialogue Group ************************/
+/************************************************************/
+
+
+// Dialogue Group Separators
+// default separator
+ group { name : "elm/genlist/item/dialogue/separator/default";
+ alias: "elm/genlist/item_odd/dialogue/separator/default";
+ alias: "elm/genlist/item_compress/dialogue/separator/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/separator/default";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_SPACER("separator",
+ description { state: "default" 0.0;
+ min: 0 32;
+ max: -1 32;
+ }
+ )
+ }
+ }
+
+// Dialogue Group Separators
+// default separator
+ group { name : "elm/genlist/item/dialogue/separator.2/default";
+ alias: "elm/genlist/item_odd/dialogue/separator.2/default";
+ alias: "elm/genlist/item_compress/dialogue/separator.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/separator.2/default";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_SPACER("separator",
+ description { state: "default" 0.0;
+ min: 0 8;
+ max: -1 8;
+ }
+ )
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/1icon/default";
+ alias: "elm/genlist/item_odd/dialogue/1icon/default";
+ alias: "elm/genlist/item_compress/dialogue/1icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1icon/default";
+ alias: "elm/layout/dialogue/1icon";
+ inherit: "elm/genlist/item/1icon/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.icon";)
+ }
+
+// 2.4.1.1
+// 2.5.2.1 (deprecated)
+ group { name: "elm/genlist/item/dialogue/1text/default";
+ alias: "elm/genlist/item_odd/dialogue/1text/default";
+ alias: "elm/genlist/item_compress/dialogue/1text/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text/default";
+ alias: "elm/layout/dialogue/1text";
+ // FIXME: temporary alias for back-wrad compatibility
+ alias: "elm/genlist/item/dialogue/1text/expandable2/default";
+ alias: "elm/genlist/item_odd/dialogue/1text/expandable2/default";
+ alias: "elm/genlist/item_compress/dialogue/1text/expandable2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text/expandable2/default";
+
+ inherit: "elm/genlist/item/1text/default";
+
+ data.item: "contents" "elm.icon.edit";
+ /*
+ alias: "elm/genlist/item/dialogue.1text/default";
+ alias: "elm/genlist/item_odd/dialogue.1text/default";
+ alias: "elm/genlist/item_compress/dialogue.1text/default";
+ alias: "elm/genlist/item_compress_odd/dialogue.1text/default";
+ */
+ GENLIST_DIALOGUE_INHERIT_BODY(;)
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; )
+ }
+
+// 2.4.1.2
+ group { name: "elm/genlist/item/dialogue/1text.1icon/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.1icon/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.1icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.1icon/default";
+ alias: "elm/layout/dialogue/1text.1icon";
+ inherit: "elm/genlist/item/1text.1icon.6/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; )
+ }
+
+// 2.4.1.3
+// 2.5.2.4 (expandable)
+ group { name: "elm/genlist/item/dialogue/1text.1icon.2/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.1icon.2/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.1icon.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.1icon.2/default";
+ alias: "elm/layout/dialogue/1text.1icon.2";
+ // FIXME: deprecated, only for backward compatibility
+ alias: "elm/genlist/item/dialogue/1text.1icon.2/expandable2/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.1icon.2/expandable2/default";
+
+ inherit: "elm/genlist/item/1text.1icon.2/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; )
+ }
+
+// 2.4.1.3 (TEXTBLOCK)
+ group { name: "elm/genlist/item/dialogue/1text.1icon.2.tb/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.1icon.2.tb/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.1icon.2.tb/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.1icon.2.tb/default";
+ alias: "elm/layout/dialogue/1text.1icon.2.tb";
+ inherit: "elm/genlist/item/1text.1icon.2.tb/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; )
+ }
+
+// 2.4.1.4
+ group { name: "elm/genlist/item/dialogue/1text.2icon/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.2icon/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.2icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.2icon/default";
+ alias: "elm/layout/dialogue/1text.2icon";
+ inherit: "elm/genlist/item/1text.2icon.7/default";
+
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.4.1.5
+ group { name: "elm/genlist/item/dialogue/2text.1icon.6/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.6/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.6/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.6/default";
+ alias: "elm/layout/dialogue/2text.1icon.6";
+ inherit: "elm/genlist/item/2text.1icon.6/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
+ }
+
+// 2.4.1.6
+// 2.4.1.15
+// 2.5.2.2 & 2.5.2.3 (expandable)
+ group { name: "elm/genlist/item/dialogue/1text.1icon.3/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.1icon.3/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.1icon.3/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.1icon.3/default";
+ alias: "elm/layout/dialogue/1text.1icon.3";
+ // FIXME: deprecated, only for backward compatibility
+ alias: "elm/genlist/item/dialogue/1text.1icon/expandable2/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.1icon/expandable2/default";
+
+ inherit: "elm/genlist/item/1text.1icon.3/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; )
+ }
+
+// 2.4.1.6 (textblock)
+ group { name: "elm/genlist/item/dialogue/1text.1icon.3.tb/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.1icon.3.tb/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.1icon.3.tb/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.1icon.3.tb/default";
+ alias: "elm/layout/dialogue/1text.1icon.3.tb";
+ inherit: "elm/genlist/item/1text.1icon.3.tb/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; )
+ }
+
+// 2.4.1.7
+// 2.4.1.11
+ group { name: "elm/genlist/item/dialogue/1text.2icon.2/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.2icon.2/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.2icon.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.2icon.2/default";
+ alias: "elm/layout/dialogue/1text.2icon.2";
+ inherit: "elm/genlist/item/1text.2icon.4/default";
+
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.4.1.8
+ group { name: "elm/genlist/item/dialogue/1text.3icon/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.3icon/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.3icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.3icon/default";
+ alias: "elm/layout/dialogue/1text.3icon";
+ inherit: "elm/genlist/item/1text.3icon.2/default";
+
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text";
+ target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; )
+ }
+
+// 2.4.1.9 FIME: This style is not needed?? (slide has already 3icons style)
+ group { name: "elm/genlist/item/dialogue/3icon/default";
+ alias: "elm/genlist/item_odd/dialogue/3icon/default";
+ alias: "elm/genlist/item_compress/dialogue/3icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/3icon/default";
+ alias: "elm/layout/dialogue/3icon";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.edit";
+
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT )
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( DIALOGUE_PADDING_SIZE_RIGHT )
+ GENLIST_PART_PADDING_TOP
+ GENLIST_PART_PADDING_BOTTOM
+
+ GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_ICON("elm.icon.2", GENLIST_DESCRIPTION_LR(
+ "elm.padding.icon1.right", "elm.padding.icon3.left",
+ min: 468 GENLIST_HEIGHT_1LINE; )
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3")
+ GENLIST_PART_ICON_BIG_R("elm.icon.3", "elm.padding.right")
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.icon.1"; target: "elm.icon.2";
+ target: "elm.icon.3"; )
+ }
+
+// 2.4.1.9
+ group { name: "elm/genlist/item/dialogue/1text.1icon.5/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.1icon.5/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.1icon.5/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.1icon.5/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT )
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( DIALOGUE_PADDING_SIZE_RIGHT )
+ GENLIST_PART_PADDING_TOP_SIZE(0)
+ GENLIST_PART_PADDING_BOTTOM_SIZE(0)
+
+ GENLIST_PART_SUBITEM_("elm.text", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.icon",
+ )
+ GENLIST_PART_ICON("elm.icon",
+ GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom",
+ min: 0 74;
+ fixed: 0 1;
+ )
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; )
+ }
+
+// 2.4.1.10
+ group { name: "elm/genlist/item/dialogue/2text.1icon.4/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.4/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.4/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.4/default";
+ alias: "elm/layout/dialogue/2text.1icon.4";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT )
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( DIALOGUE_PADDING_SIZE_RIGHT )
+ GENLIST_PART_PADDING_TOP_SIZE(16)
+ GENLIST_PART_PADDING_BOTTOM_SIZE(16)
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.text.2",
+ "elm.padding.top", "elm.padding.icon.top",
+ )
+ GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.right", "elm.padding.top", "elm.padding.icon.top"
+ )
+ GENLIST_PART_PADDING_B_SIZE("elm.padding.icon.top", "elm.icon", 10)
+ GENLIST_PART_ICON("elm.icon",
+ GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom",
+ min: 0 16;
+ fixed: 0 1;
+ )
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon"; )
+ }
+
+// 2.4.1.12
+ group { name: "elm/genlist/item/dialogue/2text.6/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.6/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.6/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.6/default";
+ alias: "elm/layout/dialogue/2text.6";
+ // FIXME: deprecated, will be removed
+ alias: "elm/genlist/item/dialogue.1title.1text/default";
+ alias: "elm/genlist/item_odd/dialogue.1title.1text/default";
+ alias: "elm/genlist/item_compress/dialogue.1title.1text/default";
+ alias: "elm/genlist/item_compress_odd/dialogue.1title.1text/default";
+ inherit: "elm/genlist/item/2text.5/default";
+
+ data.item: "contents" "elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; )
+ }
+
+// 2.4.1.13
+ group { name: "elm/genlist/item/dialogue/2text.9/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.9/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.9/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.9/default";
+ alias: "elm/layout/dialogue/2text.9";
+ inherit: "elm/genlist/item/dialogue/2text.6/default";
+
+ data.item: "contents" "elm.icon.edit";
+
+ parts {
+ part { name: "elm.text.1";
+ description { state: "default";
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR;
+ }
+ }
+ }
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";)
+ }
+
+// 2.4.1.14
+ group { name: "elm/genlist/item/dialogue/2text.4/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.4/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.4/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.4/default";
+ alias: "elm/layout/dialogue/2text.4";
+ inherit: "elm/genlist/item/2text.4/default";
+
+ data.item: "contents" "elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY(; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.divider1"; target: "elm.divider2"; )
+ }
+
+// 2.4.1.14 (textblcok)
+ group { name: "elm/genlist/item/dialogue/2text.4.tb/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.4.tb/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.4.tb/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.4.tb/default";
+ alias: "elm/layout/dialogue/2text.4.tb";
+ inherit: "elm/genlist/item/2text.4.tb/default";
+
+ data.item: "contents" "elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY(
+ GENLIST_PART_SUBITEM_R_FIXED_TB("elm.text.2", 200, GENLIST_HEIGHT_1LINE,
+ "elm.padding.right")
+ )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.divider1"; target: "elm.divider2"; )
+ }
+
+// 2.4.1.16
+ group { name: "elm/genlist/item/dialogue/1text.3icon.2/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.3icon.2/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.3icon.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.3icon.2/default";
+ alias: "elm/layout/dialogue/1text.3icon.2";
+ inherit: "elm/genlist/item/1text.3icon/default";
+
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text";
+ target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; )
+ }
+
+// 2.4.1.17
+ group { name: "elm/genlist/item/dialogue/1text.1icon.4/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.1icon.4/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.1icon.4/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.1icon.4/default";
+ alias: "elm/layout/dialogue/1text.1icon.4";
+ inherit: "elm/genlist/item/1text.1icon.5/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text";
+ target: "elm.icon"; )
+ }
+
+// 2.4.1.18
+ group { name: "elm/genlist/item/dialogue/2text.5/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.5/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.5/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.5/default";
+ alias: "elm/layout/dialogue/2text.5";
+ inherit: "elm/genlist/item/2text.6/default";
+
+ data.item: "contents" "elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; )
+ }
+
+
+// 2.4.1.19
+ group { name: "elm/genlist/item/dialogue/multiline/1text.1icon/default";
+ alias: "elm/genlist/item_odd/dialogue/multiline/1text.1icon/default";
+ alias: "elm/genlist/item_compress/dialogue/multiline/1text.1icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/multiline/1text.1icon/default";
+ alias: "elm/layout/dialogue/1text.1icon.flexible";
+ inherit: "elm/genlist/item/1text.1icon.3.tb/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY(
+ part { name: "elm.text";
+ description { state: "default" 0.0;
+ text.style: "genlist_style_list_main_text_unread_wrap";
+ }
+ description { state: "selected" 0.0;
+ text.style: "genlist_style_list_main_text_focus_wrap";
+ }
+ description { state: "disabled" 0.0;
+ text.style: "genlist_style_list_main_text_unread_dim_wrap";
+ }
+ }
+ )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; )
+ }
+
+// 2.4.1.20
+ group { name: "elm/genlist/item/dialogue/1text.1icon.divider/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.1icon.divider/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.1icon.divider/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.1icon.divider/default";
+ alias: "elm/layout/dialogue/1text.1icon.divider";
+ inherit: "elm/genlist/item/1text.1icon.divider/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY(;)
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; )
+ }
+
+// 2.4.1.21
+ group { name: "elm/genlist/item/dialogue/1text.2icon.divider/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.2icon.divider/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.2icon.divider/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.2icon.divider/default";
+ alias: "elm/layout/dialogue/1text.2icon.divider";
+ inherit: "elm/genlist/item/1text.2icon.divider/default";
+
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY(;)
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2";
+ target: "elm.divider1"; target: "elm.divider2";
+ )
+ }
+
+
+// 2.4.2.1
+ group { name: "elm/genlist/item/dialogue/2text/default";
+ alias: "elm/genlist/item_odd/dialogue/2text/default";
+ alias: "elm/genlist/item_compress/dialogue/2text/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text/default";
+ alias: "elm/layout/dialogue/2text";
+ inherit: "elm/genlist/item/2text.2/default";
+
+ data.item: "contents" "elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; )
+ }
+
+// 2.4.2.2
+ group { name: "elm/genlist/item/dialogue/2text.2/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.2/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.2/default";
+ alias: "elm/layout/dialogue/2text.2";
+ inherit: "elm/genlist/item/2text.3/default";
+
+ data.item: "contents" "elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; )
+ }
+
+// 2.4.2.3
+ group { name: "elm/genlist/item/dialogue/2text.3/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.3/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.3/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.3/default";
+ alias: "elm/layout/dialogue/2text.3";
+ inherit: "elm/genlist/item/2text.7/default";
+
+ data.item: "contents" "elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; )
+ }
+
+// 2.4.2.4
+ group { name: "elm/genlist/item/dialogue/2text.1icon.2/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.2/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.2/default";
+ alias: "elm/layout/dialogue/2text.1icon.2";
+ inherit: "elm/genlist/item/2text.1icon.4/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon"; )
+ }
+
+// 2.4.2.5
+ group { name: "elm/genlist/item/dialogue/2text.1icon.3/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.3/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.3/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.3/default";
+ alias: "elm/layout/dialogue/2text.1icon.3";
+ inherit: "elm/genlist/item/2text.1icon.8/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
+ }
+
+// 2.4.2.6
+ group { name: "elm/genlist/item/dialogue/2text.3icon/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.3icon/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.3icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.3icon/default";
+ alias: "elm/layout/dialogue/2text.3icon";
+ inherit: "elm/genlist/item/2text.2icon.8/default";
+
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.swallow.colorbar elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY(
+ GENLIST_PART_COLORBAR
+ GENLIST_PART_ICON_BIG_R("elm.icon.2", "elm.padding.right")
+ )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.swallow.colorbar"; )
+ }
+
+// 2.4.2.7
+ group { name: "elm/genlist/item/dialogue/2text.2icon/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.2icon/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.2icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.2icon/default";
+ alias: "elm/layout/dialogue/2text.2icon";
+ inherit: "elm/genlist/item/2text.2icon.5/default";
+
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY(
+ GENLIST_PART_SUBITEM_SETTINGS_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.icon2.right", "elm.padding.right", "elm.padding.bottom",)
+ )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.4.2.8
+ group { name: "elm/genlist/item/dialogue/2text.2icon.2/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.2icon.2/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.2icon.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.2icon.2/default";
+ alias: "elm/layout/dialogue/2text.2icon.2";
+ inherit: "elm/genlist/item/2text.2icon.6/default";
+
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.4.2.9
+ group { name: "elm/genlist/item/dialogue/2text.2icon.3/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.2icon.3/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.2icon.3/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.2icon.3/default";
+ alias: "elm/layout/dialogue/2text.2icon.3";
+ inherit: "elm/genlist/item/2text.2icon.4/default";
+
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.4.2.9 (TEXTBLOCK)
+ group { name: "elm/genlist/item/dialogue/2text.2icon.3.tb/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.2icon.3.tb/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.2icon.3.tb/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.2icon.3.tb/default";
+ alias: "elm/layout/dialogue/2text.2icon.3.tb";
+ inherit: "elm/genlist/item/2text.2icon.4.tb/default";
+
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2";)
+ }
+
+// 2.4.2.10
+ group { name: "elm/genlist/item/dialogue/2text.1icon.5/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.5/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.5/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.5/default";
+ alias: "elm/layout/dialogue/2text.1icon.5";
+ inherit: "elm/genlist/item/2text.1icon.5/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon"; )
+ }
+
+
+// 2.4.2.11
+ group { name: "elm/genlist/item/dialogue/multiline/1title.1text/default";
+ alias: "elm/genlist/item_odd/dialogue/multiline/1title.1text/default";
+ alias: "elm/genlist/item_compress/dialogue/multiline/1title.1text/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/multiline/1title.1text/default";
+ alias: "elm/layout/dialogue/multiline/1title.1text/default";
+ // FIXME: deprecated name, will be removed
+ alias: "elm/genlist/item/dialogue/1title.1text.2/default";
+ alias: "elm/genlist/item_odd/dialogue/1title.1text.2/default";
+ alias: "elm/genlist/item_compress/dialogue/1title.1text.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1title.1text.2/default";
+ alias: "elm/layout/dialogue/1title.1text.2/default";
+ inherit: "elm/genlist/item/multiline/1title.1text/default";
+
+ data.item: "contents" "elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.title"; target: "elm.text";
+ target: "elm.divider1"; target:"elm.divider2"; )
+ }
+
+// 2.4.2.12
+ group { name: "elm/genlist/item/dialogue/multiline/1title.2text/default";
+ alias: "elm/genlist/item_odd/dialogue/multiline/1title.2text/default";
+ alias: "elm/genlist/item_compress/dialogue/multiline/1title.2text/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/multiline/1title.2text/default";
+ alias: "elm/layout/dialogue/multiline/1title.2text/default";
+ inherit: "elm/genlist/item/multiline/1title.2text/default";
+
+ data.item: "contents" "elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.title"; target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.divider1"; target:"elm.divider2";
+ target: "center_line"; target:"center_line2";)
+ }
+
+//2.4.2.13 (password style)
+ group { name: "elm/genlist/item/dialogue/1text.4icon/default";
+ alias: "elm/genlist/item_odd/dialogue/1text.4icon/default";
+ alias: "elm/genlist/item_compress/dialogue/1text.4icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1text.4icon/default";
+ alias: "elm/layout/dialogue/4icon";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.edit";
+
+ images {
+ image : "00_search_edit_field_bg_02.png" COMP;
+ }
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT )
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( 82+16 )
+ GENLIST_PART_PADDING_TOP_SIZE(22)
+ GENLIST_PART_PADDING_BOTTOM_SIZE(29)
+ GENLIST_PART_SPACER("elm.padding.top2",
+ description { state: "default" 0.0;
+ min: 0 29;
+ max: -1 29;
+ fixed: 0 1;
+ rel1.to: "base";
+ rel2.to: "base";
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0.0;
+ }
+ )
+ GENLIST_PART_TEXT( "elm.text",
+ GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.icon1.bg", "elm.padding.top",
+ min: 212 0;
+ fixed: 1 1;
+ GENLIST_PARAM_PASSWORD_TITLE
+ )
+ )
+
+ GENLIST_PART_IMAGE("elm.icon1.bg",
+ GENLIST_DESCRIPTION_RTB("elm.icon2.bg.left", "elm.padding.top2", "elm.padding.bottom",
+ GENLIST_PARAM_PASSWORD_IMAGE
+ fixed: 1 1;)
+ )
+ GENLIST_PART_ICON("elm.icon.1",
+ GENLIST_DESCRIPTION_ENVELOP("elm.icon1.bg",
+ rel1.offset: 1 1;
+ rel2.offset: -1 -1;
+ )
+ )
+
+ GENLIST_PART_PADDING_R_SIZE("elm.icon2.bg.left", "elm.icon2.bg", 22)
+ GENLIST_PART_IMAGE("elm.icon2.bg",
+ GENLIST_DESCRIPTION_RTB("elm.icon3.bg.left", "elm.padding.top2", "elm.padding.bottom",
+ GENLIST_PARAM_PASSWORD_IMAGE
+ fixed: 1 1;)
+ )
+ GENLIST_PART_ICON("elm.icon.2",
+ GENLIST_DESCRIPTION_ENVELOP("elm.icon2.bg",
+ rel1.offset: 1 1;
+ rel2.offset: -1 -1;
+ )
+ )
+
+ GENLIST_PART_PADDING_R_SIZE("elm.icon3.bg.left", "elm.icon3.bg", 22)
+ GENLIST_PART_IMAGE("elm.icon3.bg",
+ GENLIST_DESCRIPTION_RTB("elm.icon4.bg.left", "elm.padding.top2", "elm.padding.bottom",
+ GENLIST_PARAM_PASSWORD_IMAGE
+ fixed: 1 1;)
+ )
+ GENLIST_PART_ICON("elm.icon.3",
+ GENLIST_DESCRIPTION_ENVELOP("elm.icon3.bg",
+ rel1.offset: 1 1;
+ rel2.offset: -1 -1;
+ )
+ )
+
+ GENLIST_PART_PADDING_R_SIZE("elm.icon4.bg.left", "elm.icon4.bg", 22)
+ GENLIST_PART_IMAGE("elm.icon4.bg",
+ GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top2", "elm.padding.bottom",
+ // Do not add fixed: 1 1; even thougn edje util error,
+ // For some reason, size calculation is not correct.
+ GENLIST_PARAM_PASSWORD_IMAGE)
+
+ )
+ GENLIST_PART_ICON("elm.icon.4",
+ GENLIST_DESCRIPTION_ENVELOP("elm.icon4.bg",
+ rel1.offset: 1 1;
+ rel2.offset: -1 -1;
+ )
+ )
+ }
+ programs {
+ GENLIST_PROGRAM_DISABLED( target: "elm.text"; )
+ }
+ }
+
+// 2.4.2.14
+ group { name: "elm/genlist/item/dialogue/2text.2icon.4/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.2icon.4/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.2icon.4/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.2icon.4/default";
+ alias: "elm/layout/dialogue/2text.2icon.4";
+ inherit: "elm/genlist/item/2text.2icon/default";
+
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2";)
+ }
+
+// 2.4.2.15
+ group { name: "elm/genlist/item/dialogue/2text.1icon.10/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.10/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.10/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.10/default";
+ alias: "elm/layout/dialogue/2text.1icon.10";
+ inherit: "elm/genlist/item/2text.1icon.divider/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY(
+ GENLIST_PART_SUBITEM_SETTINGS_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom",)
+ part { name: "elm.divider1";
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.divider2";
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon"; )
+ }
+
+
+// 2.4.2.15 (textblock)
+ group { name: "elm/genlist/item/dialogue/2text.1icon.10.tb/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.10.tb/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.10.tb/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.10.tb/default";
+ alias: "elm/layout/dialogue/2text.1icon.10.tb";
+ inherit: "elm/genlist/item/2text.1icon.7.tb/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon"; )
+ }
+
+// 2.4.2.16
+ group { name: "elm/genlist/item/dialogue/2text.1icon.7/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.7/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.7/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.7/default";
+ alias: "elm/layout/dialogue/2text.1icon.12";
+ inherit: "elm/genlist/item/2text.1icon.12/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon"; )
+ }
+
+
+// 2.4.2.17
+ group { name: "elm/genlist/item/dialogue/2text.1icon.8/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.8/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.8/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.8/default";
+ alias: "elm/layout/dialogue/2text.1icon.8";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT )
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( DIALOGUE_PADDING_SIZE_RIGHT )
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_SUBITEM_LRT("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
+ "elm.padding.left", "elm.padding.right", "elm.padding.top")
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.text2.limit",
+ "elm.text.2", "elm.padding.bottom",
+ fixed: 1 1; align: 0 0.5; text.max: 1 0; // This limits text growing.
+ )
+ GENLIST_PART_PADDING_L("elm.padding.text1.right", "elm.text.1")
+ GENLIST_PART_ICON_SMALL_LTB("elm.icon",
+ "elm.padding.text1.right", "elm.text.2", "elm.padding.bottom")
+ // Virtual part for Maxmimum right X axis of text.2
+ GENLIST_PART_SPACER("elm.text2.limit",
+ GENLIST_DESCRIPTION_R("elm.padding.right",
+ min: (GENLIST_ICON_SMALL_SIZE+GENLIST_PADDING_SIZE_DEFAULT) 0;
+ )
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon"; )
+ }
+
+// 2.4.2.18
+ group { name: "elm/genlist/item/dialogue/multiline/2text/default";
+ alias: "elm/genlist/item_odd/dialogue/multiline/2text/default";
+ alias: "elm/genlist/item_compress/dialogue/multiline/2text/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/multiline/2text/default";
+ alias: "elm/layout/dialogue/multiline/2text/default";
+ // FIXME: deprecated name, will be removed
+ alias: "elm/genlist/item/multiline/dialogue/2text/default";
+ alias: "elm/genlist/item_odd/multiline/dialogue/2text/default";
+ alias: "elm/genlist/item_compress/multiline/dialogue/2text/default";
+ alias: "elm/genlist/item_compress_odd/multiline/dialogue/2text/default";
+ alias: "elm/layout/multiline/dialogue/2text/default";
+
+ inherit: "elm/genlist/item/multiline/2text/default";
+
+ data.item: "contents" "elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; )
+ }
+
+// 2.4.2.19
+ group { name: "elm/genlist/item/dialogue/2text.1icon.15/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.15/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.15/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.15/default";
+ alias: "elm/layout/dialogue/2text.1icon.15/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT )
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( DIALOGUE_PADDING_SIZE_RIGHT )
+ GENLIST_PART_PADDING_TOP_2LINE
+ GENLIST_PART_PADDING_BOTTOM_2LINE
+
+ GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
+ "elm.padding.left", "elm.padding.right",
+ "elm.padding.top", "elm.icon",
+ )
+ GENLIST_PART_ICON_SMALL_LB("elm.icon",
+ "elm.padding.left", "elm.padding.bottom")
+ GENLIST_PART_PADDING_L("elm.icon.right", "elm.icon")
+ GENLIST_PART_TEXT("elm.text.2",
+ GENLIST_DESCRIPTION("elm.icon.right", "elm.padding.right", "elm.text.1", "elm.padding.bottom",
+ GENLIST_PARAM_SUBITEM_SETTINGS
+ min: 0 GENLIST_HEIGHT_2LINE_SUB;
+ fixed: 0 1;
+ )
+ GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
+ }
+
+// 2.4.2.20
+ group { name: "elm/genlist/item/dialogue/2text.1icon.divider/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.divider/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.divider/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.divider/default";
+ alias: "elm/layout/dialogue/2text.1icon.divider/default";
+ inherit: "elm/genlist/item/2text.1icon.divider/default";
+
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
+ }
+
+// 2.4.2.21
+ group { name: "elm/genlist/item/dialogue/3text.2icon/default";
+ alias: "elm/genlist/item_odd/dialogue/3text.2icon/default";
+ alias: "elm/genlist/item_compress/dialogue/3text.2icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/3text.2icon/default";
+ alias: "elm/layout/dialogue/3text.2icon/default";
+ inherit: "elm/genlist/item/2text.2icon/default";
+
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit";
+
+ GENLIST_DIALOGUE_INHERIT_BODY( ; )
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.4.4.1 group title
+ group { name: "elm/genlist/item/dialogue/grouptitle/default";
+ alias: "elm/genlist/item_odd/dialogue/grouptitle/default";
+ alias: "elm/genlist/item_compress/dialogue/grouptitle/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/grouptitle/default";
+ alias: "elm/layout/dialogue/grouptitle";
+ alias : "elm/genlist/item/dialogue/title/default";
+ alias: "elm/genlist/item_odd/dialogue/title/default";
+ alias: "elm/genlist/item_compress/dialogue/title/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/title/default";
+ alias: "elm/layout/dialogue/title";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT )
+ GENLIST_PART_PADDING_RIGHT_SIZE( 26 )
+
+ GENLIST_PART_TEXT("elm.text",
+ repeat_events: 0;
+ GENLIST_DESCRIPTION_LR("elm.padding.left", "elm.icon",
+ GENLIST_PARAM_DIALOGUE_GROUP_TITLE
+ min: 0 GENLIST_HEIGHT_GROUPTITLE;
+ )
+ )
+
+ GENLIST_PART_ICON("elm.icon",
+ GENLIST_DESCRIPTION_R("elm.padding.right",
+ min: 32 32; max: 32 32; fixed: 1 1;
+ )
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_INDEX( target: "elm.text"; target: "elm.icon"; )
+ }
+
+// 2.4.4.2 Help Text
+ group { name: "elm/genlist/item/multiline/1text/default";
+ alias: "elm/genlist/item_odd/multiline/1text/default";
+ alias: "elm/genlist/item_compress/multiline/1text/default";
+ alias: "elm/genlist/item_compress_odd/multiline/1text/default";
+ alias: "elm/layout/dialogue/multiline/1text/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE(38)
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT(38)
+ GENLIST_PART_PADDING_TOP_SIZE(0)
+ GENLIST_PART_PADDING_BOTTOM_SIZE(0)
+
+ GENLIST_PART_DIALOGUE_GROUP_HELP_TEXT("elm.text",
+ "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
+ min: 0 38;
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAM_DISABLED( target: "elm.text"; )
+ }
+
+// 2.4.4.3
+ group { name: "elm/genlist/item/dialogue/bg/2text.1icon/default";
+ alias: "elm/genlist/item_odd/dialogue/bg/2text.1icon/default";
+ alias: "elm/genlist/item_compress/dialogue/bg/2text.1icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/bg/2text.1icon/default";
+ alias: "elm/layout/dialogue/bg/2text.1icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon elm.icon.edit";
+
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT )
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( DIALOGUE_PADDING_SIZE_RIGHT )
+ GENLIST_PART_PADDING_TOP_SIZE(20)
+ GENLIST_PART_PADDING_BOTTOM_SIZE(20)
+
+ GENLIST_PART_TEXT("elm.text.1",
+ GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.icon.left", "elm.padding.top",
+ GENLIST_PARAM_LISTITEM
+ min: 0 54; fixed:1 1;)
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS
+ )
+ GENLIST_PART_TEXT("elm.text.2",
+ GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.icon.left", "elm.text.1", "elm.padding.bottom",
+ GENLIST_PARAM_SUBITEM_DEFAULT
+ min: 0 42;)
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS
+ )
+
+ GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon")
+ GENLIST_PART_ICON("elm.icon", GENLIST_DESCRIPTION_R(
+ "elm.padding.right",
+ min: 124 124; max: 124 124;)
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
+ }
+
+// 2.4.4.4
+ group { name: "elm/genlist/item/dialogue/bg/3text.2icon/default";
+ alias: "elm/genlist/item_odd/dialogue/bg/3text.2icon/default";
+ alias: "elm/genlist/item_compress/dialogue/bg/3text.2icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/bg/3text.2icon/default";
+ alias: "elm/layout/dialogue/bg/3text.2icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit";
+
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT )
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( DIALOGUE_PADDING_SIZE_RIGHT )
+ GENLIST_PART_PADDING_TOP_SIZE(20)
+ GENLIST_PART_PADDING_BOTTOM_SIZE(20)
+
+ GENLIST_PART_TEXT("elm.text.1",
+ GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.icon1.left", "elm.padding.top",
+ GENLIST_PARAM_LISTITEM
+ min: 0 54; fixed:1 1;)
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS
+ )
+ GENLIST_PART_TEXT("elm.text.2",
+ GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.icon1.left", "elm.text.1", "elm.text.3",
+ GENLIST_PARAM_SUBITEM_DEFAULT
+ min: 0 34;)
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS
+ )
+ GENLIST_PART_TEXT("elm.text.3",
+ GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.icon1.left", "elm.padding.bottom",
+ GENLIST_PARAM_SUBITEM_DEFAULT
+ min: 0 34; fixed: 1 1; )
+ GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS
+ )
+
+ GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
+ GENLIST_PART_ICON_BTN_02_RTB("elm.icon.1", "elm.padding.icon2.left", "elm.padding.top", "elm.padding.bottom")
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON("elm.icon.2", GENLIST_DESCRIPTION_R(
+ "elm.padding.right",
+ min: 124 124; max: 124 124;)
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
+ target: "elm.icon.1"; target: "elm.icon.2"; )
+ }
+
+// 2.4.4.4 (Apps)
+ group { name: "elm/genlist/item/dialogue/bg/5text.6icon/default";
+ alias: "elm/genlist/item_odd/dialogue/bg/5text.6icon/default";
+ alias: "elm/genlist/item_compress/dialogue/bg/5text.6icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/bg/5text.6icon/default";
+ alias: "elm/layout/dialogue/bg/5text.6icon/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4 elm.text.5";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5 elm.icon.6 elm.icon.edit";
+
+ GENLIST_IMAGES_DIALOGUE_BG_IMAGE
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_BASE
+ GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT )
+ GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( DIALOGUE_PADDING_SIZE_RIGHT )
+ GENLIST_PART_PADDING_TOP_SIZE(9)
+ GENLIST_PART_PADDING_BOTTOM_SIZE(9)
+
+ GENLIST_PART_ICON("elm.icon.1",
+ GENLIST_DESCRIPTION_L("elm.padding.left",
+ min: 134 134; fixed: 1 1;)
+ )
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+ GENLIST_PART_TEXT("elm.text.1", GENLIST_DESCRIPTION_LRT(
+ "elm.padding.icon1.right", "elm.padding.right", "elm.padding.top",
+ GENLIST_PARAM_APPS_NAME
+ min: 0 32; fixed: 0 1;)
+ )
+ GENLIST_PART_TEXT("elm.text.2", GENLIST_DESCRIPTION_LRT(
+ "elm.padding.icon1.right", "elm.padding.right", "elm.text.1",
+ GENLIST_PARAM_APPS_INC
+ min: 0 32; fixed: 0 1;)
+ )
+
+ GENLIST_PART_ICON("elm.icon.2", GENLIST_DESCRIPTION_LTB(
+ "elm.padding.icon1.right", "elm.text.2", "elm.text.4",
+ min: 38 38; fixed: 1 1;)
+ )
+ GENLIST_PART_PADDING_L_SIZE("elm.padding.icon2.right", "elm.icon.2", 2)
+ GENLIST_PART_ICON("elm.icon.3", GENLIST_DESCRIPTION_LTB(
+ "elm.padding.icon2.right", "elm.text.2", "elm.text.4",
+ min: 38 38; fixed: 1 1;)
+ )
+ GENLIST_PART_PADDING_L_SIZE("elm.padding.icon3.right", "elm.icon.3", 2)
+ GENLIST_PART_ICON("elm.icon.4", GENLIST_DESCRIPTION_LTB(
+ "elm.padding.icon3.right", "elm.text.2", "elm.text.4",
+ min: 38 38; fixed: 1 1;)
+ )
+ GENLIST_PART_PADDING_L_SIZE("elm.padding.icon4.right", "elm.icon.4", 2)
+ GENLIST_PART_ICON("elm.icon.5", GENLIST_DESCRIPTION_LTB(
+ "elm.padding.icon4.right", "elm.text.2", "elm.text.4",
+ min: 38 38; fixed: 1 1;)
+ )
+ GENLIST_PART_PADDING_L_SIZE("elm.padding.icon5.right", "elm.icon.5", 2)
+ GENLIST_PART_ICON("elm.icon.6", GENLIST_DESCRIPTION_LTB(
+ "elm.padding.icon5.right", "elm.text.2", "elm.text.4",
+ min: 38 38; fixed: 1 1;)
+ )
+ GENLIST_PART_PADDING_L_SIZE("elm.padding.icon6.right", "elm.icon.6", 12)
+ GENLIST_PART_TEXT("elm.text.3", GENLIST_DESCRIPTION(
+ "elm.padding.icon6.right", "elm.padding.right", "elm.text.2", "elm.text.4",
+ GENLIST_PARAM_APPS_RATING
+ min :0 38;)
+ )
+
+ GENLIST_PART_TEXT("elm.text.4", GENLIST_DESCRIPTION_LB(
+ "elm.padding.icon1.right", "elm.padding.bottom",
+ GENLIST_PARAM_APPS_PRICE
+ min: 0 32; fixed: 0 1;
+ rel2.to_x: "base"; rel2.relative: 0.5 0; text.max: 1 0;/* This limits text growing. */ )
+ )
+ GENLIST_PART_PADDING_L("elm.padding.text4.right", "elm.text.4")
+ GENLIST_PART_TEXT("elm.text.5", GENLIST_DESCRIPTION_LRB(
+ "elm.padding.text4.right", "elm.padding.right", "elm.padding.bottom",
+ GENLIST_PARAM_APPS_PRICE_SALE
+ min: 0 32; fixed: 0 1;)
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; target: "elm.text.5";
+ target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; target: "elm.icon.6"; )
+ }
+
+#if 0
+// ???
+ /* NOTE: This style is new mailbox style for email application. Otherwise do not use this. */
+ group { name: "elm/genlist/item/3text.5icon.2/default";
+ alias: "elm/genlist/item_odd/3text.5icon.2/default";
+ alias: "elm/genlist/item_compress/3text.5icon.2/default";
+ alias: "elm/genlist/item_compress_odd/3text.5icon.2/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.subject elm.text.name elm.text.date";
+ data.item: "contents" "elm.icon.important elm.icon.num elm.icon.attach elm.icon.colorbar elm.swallow.outbox.progress elm.icon.checkbox";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_COLORBAR
+ part { name: "elm.icon.checkbox";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ max: GENLIST_SIZE_60_INC GENLIST_SIZE_60_INC;
+ min: GENLIST_SIZE_60_INC GENLIST_SIZE_60_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.text.date";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_154_INC GENLIST_SIZE_61_INC;
+ fixed: 1 1;
+ rel1 {
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 1.0;
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 1.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.icon.important";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_56_INC GENLIST_SIZE_61_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.text.date";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon.important.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1{
+ relative: 0.0 1.0;
+ to_x: "elm.icon.important";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.important";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.padding.icon.checkbox.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.checkbox";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.checkbox";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.subject.rect";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon.checkbox.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon.important.left";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.subject";
+ clip_to: "disclip";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.text.subject.rect";
+ rel2.to: "elm.text.subject.rect";
+ align: 0.0 0.0;
+ text {
+ style: "genlist_style_email_unread";
+ min: 0 1;
+ max: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_email_focus";
+ }
+ description { state: "read" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_email_read";
+ }
+ description { state: "unread" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_email_unread";
+ }
+ description { state: "urgency_read" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_email_urgency_read";
+ }
+ description { state: "urgency_unread" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_email_urgency_unread";
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.name";
+ clip_to: "disclip";
+ type: TEXTBLOCK;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon.checkbox.right";
+ to_y: "elm.text.subject";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon.num.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ text {
+ style: "genlist_style_name_text";
+ min: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_name_text_focus";
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon.num.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.num";
+ to_y: "elm.text.subject";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.icon.num";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon.num";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_112_INC GENLIST_SIZE_45_INC;
+ max: GENLIST_SIZE_112_INC GENLIST_SIZE_45_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon.attach.left";
+ to_y: "elm.text.subject";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon.attach.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon.attach.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.attach";
+ to_y: "elm.text.subject";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.icon.attach";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon.attach";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.text.date";
+ to_y: "elm.text.subject";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.text.date";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.swallow.outbox.progress";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ repeat_events: 0;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_168_INC 0;
+ fixed: 1 1;
+ color: 0 0 0 0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: 0 0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.subject";
+ target: "elm.text.name";
+ target: "elm.text.date";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.subject";
+ target: "elm.text.name";
+ target: "elm.text.date";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_read";
+ signal: "elm,state,read";
+ source: "elm";
+ action: STATE_SET "read" 0.0;
+ target: "elm.text.subject";
+ }
+ program { name: "go_unread";
+ signal: "elm,state,unread";
+ source: "elm";
+ action: STATE_SET "unread" 0.0;
+ target: "elm.text.subject";
+ }
+ program { name: "go_urgeny_unread";
+ signal: "elm,state,urgency_unread";
+ source: "elm";
+ action: STATE_SET "urgency_unread" 0.0;
+ target: "elm.text.subject";
+ }
+ program { name: "go_urgency_read";
+ signal: "elm,state,urgency_read";
+ source: "elm";
+ action: STATE_SET "urgency_read" 0.0;
+ target: "elm.text.subject";
+ }
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+// ???
+ /* NOTE: This style is a temporary style for email application. Otherwise do not use this. */
+ group { name: "elm/genlist/item/2text.1icon.13/default";
+ alias: "elm/genlist/item_odd/2text.1icon.13/default";
+ alias: "elm/genlist/item_compress/2text.1icon.13/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.13/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text elm.text.msgcount";
+ data.item: "contents" "elm.icon";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_BG
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ }
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.msgcount";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ align: 0 0;
+ color: GENLIST_PART_EMAIL_MSGCOUNT_TEXT_COLOR_INC;
+ rel1.to: "elm.icon";
+ rel2.to: "elm.icon";
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_28_INC;
+ min: 0 1;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.padding.icon.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon";
+ }
+ rel2.to_x: "elm.icon";
+ visible: 0;
+ }
+ }
+ part { name: "elm.text";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon.right";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ align: 0.0 0.5;
+ color: GENLIST_EMAIL_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_EMAIL_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+// ???
+ /* NOTE: This style is a temporary style for email application. Otherwise do not use this. */
+ group { name: "elm/genlist/item/2text.1icon.14/default";
+ alias: "elm/genlist/item_odd/2text.1icon.14/default";
+ alias: "elm/genlist/item_compress/2text.1icon.14/default";
+ alias: "elm/genlist/item_compress_odd/2text.1icon.14/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text elm.text.msgcount";
+ data.item: "contents" "elm.check elm.icon";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_BG
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.check";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ max: GENLIST_SIZE_60_INC GENLIST_SIZE_60_INC;
+ min: GENLIST_SIZE_60_INC GENLIST_SIZE_60_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ }
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+
+ part { name: "elm.padding.icon.checkbox.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.check";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.check";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ rel1.to_x: "elm.padding.right";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.msgcount";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ align: 0 0;
+ color: GENLIST_PART_EMAIL_MSGCOUNT_TEXT_COLOR_INC;
+ rel1.to: "elm.icon";
+ rel2.to: "elm.icon";
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_28_INC;
+ min: 0 1;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.padding.icon.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text";
+ clip_to: "disclip";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon.checkbox.right";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon.left";
+ }
+ align: 0.0 0.5;
+ text {
+ style: "genlist_style_email_unread";
+ min: 0 1;
+ max: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+
+ group { name: "elm/genlist/item/readmessage/default";
+ alias: "elm/genlist/item_odd/readmessage/default";
+ alias: "elm/genlist/item_compress/readmessage/default";
+ alias: "elm/genlist/item_compress_odd/readmessage/default";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "contents" "elm.icon";
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: GENLIST_LIST_BG_COLOR;
+ }
+ }
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ //rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad"; }
+ rel2 {
+ relative: 0.76 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ }
+ }
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_24_INC )
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ /*program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ transition: LINEAR 0.1;
+ }*/
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item/sentmessage/default";
+ alias: "elm/genlist/item_odd/sentmessage/default";
+ alias: "elm/genlist/item_compress/sentmessage/default";
+ alias: "elm/genlist/item_compress_odd/sentmessage/default";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "contents" "elm.icon";
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: GENLIST_LIST_BG_COLOR;
+ }
+ }
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.24 0.0; //to_y: "elm.rect.top.pad"; }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ }
+ }
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_24_INC )
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ /*program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ transition: LINEAR 0.1;
+ }*/
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+ group { name : "elm/genlist/item/dialogue/separator/end/default";
+ alias: "elm/genlist/item_odd/dialogue/separator/end/default";
+ alias: "elm/genlist/item_compress/dialogue/separator/end/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/separator/end/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+ parts {
+ GENLIST_PART_BASE__(GENLIST_DIALOGUE_SEPARATOR_DEFAULT_HEIGHT)
+ GENLIST_PART_DISCLIP
+ }
+ }
+
+ group { name : "elm/genlist/item/dialogue/seperator.2/default";
+ alias: "elm/genlist/item_odd/dialogue/seperator.2/default";
+ alias: "elm/genlist/item_compress/dialogue/seperator.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/seperator.2/default";
+ alias: "elm/genlist/item/dialogue/separator/11/with_line/default";
+ alias: "elm/genlist/item_odd/dialogue/separator/11/with_line/default";
+ alias: "elm/genlist/item_compress/dialogue/separator/11/with_line/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/separator/11/with_line/default";
+ alias: "elm/layout/dialogue/separator/hd18/with_line";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+
+ parts {
+ GENLIST_PART_BASE__( GENLIST_PADDING_18_INC )
+ GENLIST_PART_DISCLIP
+ }
+ }
+
+ group { name : "elm/genlist/item/dialogue/seperator.3/default";
+ alias: "elm/genlist/item_odd/dialogue/seperator.3/default";
+ alias: "elm/genlist/item_compress/dialogue/seperator.3/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/seperator.3/default";
+ alias: "elm/genlist/item/dialogue/separator/20/default";
+ alias: "elm/genlist/item_odd/dialogue/separator/20/default";
+ alias: "elm/genlist/item_compress/dialogue/separator/20/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/separator/20/default";
+ alias: "elm/layout/dialogue/separator/hd32";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+
+ parts {
+ GENLIST_PART_BASE__( GENLIST_PADDING_32_INC )
+ GENLIST_PART_DISCLIP
+ }
+ }
+
+ group { name : "elm/genlist/item/dialogue/seperator.4/default";
+ alias: "elm/genlist/item_odd/dialogue/seperator.4/default";
+ alias: "elm/genlist/item_compress/dialogue/seperator.4/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/seperator.4/default";
+ alias: "elm/genlist/item/dialogue/separator/10/default";
+ alias: "elm/genlist/item_odd/dialogue/separator/10/default";
+ alias: "elm/genlist/item_compress/dialogue/separator/10/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/separator/10/default";
+ alias: "elm/layout/dialogue/separator/hd16";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+
+ parts {
+ GENLIST_PART_BASE__( GENLIST_HEIGHT_16_INC )
+ GENLIST_PART_DISCLIP
+ }
+ }
+
+ group { name : "elm/genlist/item/dialogue/seperator.5/default";
+ alias: "elm/genlist/item_odd/dialogue/seperator.5/default";
+ alias: "elm/genlist/item_compress/dialogue/seperator.5/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/seperator.5/default";
+ alias: "elm/genlist/item/dialogue/separator/1/with_line/default";
+ alias: "elm/genlist/item_odd/dialogue/separator/1/with_line/default";
+ alias: "elm/genlist/item_compress/dialogue/separator/1/with_line/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/separator/1/with_line/default";
+ alias: "elm/layout/dialogue/separator/hd1";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+
+ parts {
+ GENLIST_PART_BASE__( GENLIST_HEIGHT_1_INC )
+ GENLIST_PART_DISCLIP
+ }
+ }
+
+
+ group { name: "elm/genlist/item/dialogue/1title.1text.3/default";
+ alias: "elm/genlist/item_odd/dialogue/1title.1text.3/default";
+ alias: "elm/genlist/item_compress/dialogue/1title.1text.3/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1title.1text.3/default";
+ alias: "elm/genlist/item/dialogue.1title.1text.3/default";
+ alias: "elm/genlist/item_odd/dialogue.1title.1text.3/default";
+ alias: "elm/genlist/item_compress/dialogue.1title.1text.3/default";
+ alias: "elm/genlist/item_compress_odd/dialogue.1title.1text.3/default";
+ alias: "elm/layout/dialogue/1title.1text.3";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.title elm.text";
+ data.item: "flips" "elm.flip.icon elm.flip.content.title elm.flip.content";
+ parts {
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_27_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.title";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_163_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2.to_x: "elm.padding.left";
+ align: 0.0 0.5;
+ color: GENLIST_MULTILINE_TEXT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_MULTILINE_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content.title";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1.to: "elm.title";
+ rel2.to: "elm.title";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.divider1";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.title";
+ }
+ rel2.to_x: "elm.title";
+ align: 0.0 0.5;
+ color: GENLIST_LIST_LINE1_COLOR;
+ }
+ }
+ part { name: "elm.padding.text.left";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.divider1";
+ }
+ rel2.to_x: "elm.divider1";
+ align: 0.0 0.5;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text.left";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x: "elm.text";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x: "elm.padding.right";
+ }
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ /*program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }*/
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program { name: "flip_enabled";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.title";
+ target: "elm.text";
+ target: "elm.flip.content.title";
+ target: "elm.flip.content";
+ }
+ program { name: "flip_disabled";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.title";
+ target: "elm.text";
+ target: "elm.flip.content.title";
+ target: "elm.flip.content";
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/1title.1text.1icon/default";
+ alias: "elm/genlist/item_odd/dialogue/1title.1text.1icon/default";
+ alias: "elm/genlist/item_compress/dialogue/1title.1text.1icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1title.1text.1icon/default";
+ alias: "elm/layout/dialogue/1title.1text.1icon";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.title elm.text";
+ data.item: "contents" "elm.icon";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+ parts {
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_27_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.title";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_163_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2.to_x: "elm.padding.left";
+ align: 0.0 0.5;
+ color: GENLIST_MULTILINE_TEXT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_MULTILINE_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part { name: "elm.divider1";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.title";
+ }
+ rel2.to_x: "elm.title";
+ align: 0.0 0.5;
+ color: GENLIST_LIST_LINE1_COLOR;
+ }
+ }
+ part { name: "elm.padding.text.left";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.divider1";
+ }
+ rel2.to_x: "elm.divider1";
+ align: 0.0 0.5;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ fixed: 1 1;
+ rel1.to_x: "elm.padding.right";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.padding.icon.left";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon";
+ }
+ rel2.to_x: "elm.icon";
+ align: 1.0 0.5;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text.left";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon.left";
+ }
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x: "elm.text";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x: "elm.padding.right";
+ }
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ /*program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }*/
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ //GENLIST_PROGRAM_FLIP_1TEXT
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/1title.1text.1icon.2/default";
+ alias: "elm/genlist/item_odd/dialogue/1title.1text.1icon.2/default";
+ alias: "elm/genlist/item_compress/dialogue/1title.1text.1icon.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1title.1text.1icon.2/default";
+ alias: "elm/layout/dialogue/1title.1text.1icon.2";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.title elm.text";
+ data.item: "contents" "elm.icon";
+ data.item: "flips" "elm.flip.icon elm.flip.content.title elm.flip.content";
+ parts {
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_27_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.title";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_163_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2.to_x: "elm.padding.left";
+ align: 0.0 0.5;
+ color: GENLIST_MULTILINE_TEXT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_MULTILINE_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content.title";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1.to: "elm.title";
+ rel2.to: "elm.title";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.divider1";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.title";
+ }
+ rel2.to_x: "elm.title";
+ align: 0.0 0.5;
+ color: GENLIST_LIST_LINE1_COLOR;
+ }
+ }
+ part { name: "elm.padding.text.left";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.divider1";
+ }
+ rel2.to_x: "elm.divider1";
+ align: 0.0 0.5;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ rel1.to_x: "elm.padding.right";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ align: 1.0 0.5;
+ visible: 0;
+ }
+ description { state: "contact_default_number_enabled" 0.0;
+ inherit: "default" 0.0;
+ min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ visible: 1;
+ }
+ }
+ part { name: "elm.padding.icon.left";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon";
+ }
+ rel2.to_x: "elm.icon";
+ align: 1.0 0.5;
+ visible: 0;
+ }
+ description { state: "contact_default_number_enabled" 0.0;
+ inherit: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ }
+ }
+ part { name: "elm.text";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text.left";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon.left";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "contact_default_number_enabled" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x: "elm.text";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.icon.left";
+ }
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ /*program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }*/
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program { name: "flip_enabled";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.title";
+ target: "elm.text";
+ target: "elm.flip.content.title";
+ target: "elm.flip.content";
+ }
+ program { name: "flip_disabled";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.title";
+ target: "elm.text";
+ target: "elm.flip.content.title";
+ target: "elm.flip.content";
+ }
+ program { name: "contact_default_number_enabled";
+ signal: "elm,state,contact,default_number,enabled";
+ source: "elm";
+ action: STATE_SET "contact_default_number_enabled" 0.0;
+ target: "elm.icon";
+ target: "elm.padding.icon.left";
+ target: "elm.text";
+ }
+ program { name: "contact_default_number_disabled";
+ signal: "elm,state,contact,default_number,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.icon";
+ target: "elm.padding.icon.left";
+ target: "elm.text";
+ }
+ }
+ }
+
+
+ group { name: "elm/genlist/item/dialogue/2text/default";
+ alias: "elm/genlist/item_odd/dialogue/2text/default";
+ alias: "elm/genlist/item_compress/dialogue/2text/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text/default";
+ alias: "elm/layout/dialogue/2text";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_2TEXT
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/2text.1icon.2/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.2/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.2/default";
+ alias: "elm/layout/dialogue/2text.1icon.2";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2.to_x: "elm.padding.left";
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon";
+ }
+ rel2.to_x: "elm.icon";
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon.right";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_2TEXT_1ICON
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/2text.1icon.3/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.3/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.3/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.3/default";
+ alias: "elm/layout/dialogue/2text.1icon.3";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2.to_x: "elm.padding.left";
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon";
+ }
+ rel2.to_x: "elm.icon";
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon.right";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_2TEXT_1ICON
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/2text.3icon/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.3icon/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.3icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.3icon/default";
+ alias: "elm/layout/dialogue/2text.3icon";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.swallow.colorbar";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.swallow.colorbar";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_10_INC GENLIST_SIZE_21_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.rect.dialogue";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.rect.dialogue";
+ }
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.icon.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ }
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon1.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.1";
+ }
+ rel2.to_x: "elm.icon.1";
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ rel1.to_x: "elm.padding.right";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon2.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon.2";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.2";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_2TEXT_2ICON
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/2text.2icon.2/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.2icon.2/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.2icon.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.2icon.2/default";
+ alias: "elm/layout/dialogue/2text.2icon.2";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.icon.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon1.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.1";
+ }
+ rel2.to_x: "elm.icon.1";
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.icon.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon2.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x: "elm.icon.2";
+ }
+ rel2.to_x: "elm.icon.2";
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_2TEXT_2ICON
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+// 2.4.2.9
+ group { name: "elm/genlist/item/dialogue/2text.2icon.3/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.2icon.3/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.2icon.3/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.2icon.3/default";
+ alias: "elm/layout/dialogue/2text.2icon.3";
+ inherit: "elm/genlist/item/2text.2icon.4/default";
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_SIZE_RIGHT )
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ }
+ }
+// 2.4.2.9 (textblock)
+ group { name: "elm/genlist/item_compress/dialogue/2text.2icon.3.tb/default";
+ alias: "elm/layout/dialogue/2text.2icon.3.tb";
+ inherit: "elm/genlist/item/2text.2icon.4.tb/default";
+ parts {
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_SIZE_RIGHT )
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ }
+ }
+
+// 4.2.11
+ group { name: "elm/genlist/item_compress/dialogue/1title.1text.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1title.1text.2/default";
+ alias: "elm/layout/dialogue/1title.1text.2";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.title elm.text";
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ }
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_21_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_22_INC )
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_27_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.title";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_163_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ }
+ align: 0.0 0.0;
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_LIST_SUB_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ }
+ part { name: "elm.divider1";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.title";
+ }
+ rel2.to_x: "elm.title";
+ align: 0.0 0.5;
+ color: GENLIST_LIST_LINE1_COLOR;
+ }
+ }
+ part { name: "elm.padding.text.left";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.divider1";
+ }
+ rel2.to_x: "elm.divider1";
+ align: 0.0 0.5;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text";
+ clip_to: "disclip";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.text.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ text {
+ style: "genlist_style_list_main_text_unread_wrap";
+ min: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_list_main_text_focus_wrap";
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.title";
+ target: "elm.text";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.title";
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/1title.2text/default";
+ alias: "elm/genlist/item_odd/dialogue/1title.2text/default";
+ alias: "elm/genlist/item_compress/dialogue/1title.2text/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1title.2text/default";
+ alias: "elm/layout/dialogue/1title.2text";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.title elm.text.1 elm.text.2";
+ parts {
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE( GENLIST_HEIGHT_142_INC )
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_27_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.divider1";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.title";
+ }
+ rel2.to_x: "elm.title";
+ align: 0.0 0.5;
+ color: GENLIST_LIST_LINE1_COLOR;
+ }
+ }
+ part { name: "center_line";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.divider1";
+ }
+ rel2.relative: 1.0 0.5;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "elm.title";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_163_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2.to_x: "elm.padding.left";
+ align: 0.0 0.5;
+ color: GENLIST_MULTILINE_TEXT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_MULTILINE_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part { name: "elm.padding.title.right";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.title";
+ }
+ rel2.to_x: "elm.title";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.title.right";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "center_line";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.title.right";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.title";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.title";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+#if 0
+ group { name: "elm/genlist/item/dialogue/2text.1icon.6/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.6/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.6/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.6/default";
+ alias: "elm/layout/dialogue/2text.1icon.6";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to_x: "elm.padding.right";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon.left";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon.left";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_2TEXT_1ICON
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/2text.1icon.7/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.7/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.7/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.7/default";
+ alias: "elm/layout/dialogue/2text.1icon.7";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_96_INC GENLIST_SIZE_96_INC;
+ max: GENLIST_SIZE_96_INC GENLIST_SIZE_96_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon.left";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon.left";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_2TEXT_1ICON
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+ // 2.4.2.19
+ group { name: "elm/genlist/item/dialogue/2text.1icon.9/default";
+ alias: "elm/genlist/item_odd/dialogue/2text.1icon.9/default";
+ alias: "elm/genlist/item_compress/dialogue/2text.1icon.9/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/2text.1icon.9/default";
+ alias: "elm/layout/dialogue/2text.1icon.9";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.icon.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon1.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.1";
+ }
+ rel2.to_x: "elm.icon.1";
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+// 4.3.1
+ group { name: "elm/genlist/item/dialogue/bg/2text.2icon/default";
+ alias: "elm/genlist/item_odd/dialogue/bg/2text.2icon/default";
+ alias: "elm/genlist/item_compress/dialogue/bg/2text.2icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/bg/2text.2icon/default";
+ alias: "elm/layout/dialogue/bg/2text.2icon";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+ images {
+ image: "00_list_thumbnail_bg.png" COMP;
+ }
+ parts {
+ GENLIST_PART_BASE__( GENLIST_HEIGHT_190_INC )
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_48_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_48_INC )
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.icon1.bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_128_INC GENLIST_SIZE_128_INC;
+ fixed: 1 1;
+ align: 0.0 0.52;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ }
+ image {
+ normal: "00_list_thumbnail_bg.png";
+ border: 1 1 1 1;
+ border_scale: 1;
+ middle: NONE;
+ }
+ }
+ }
+ part { name: "elm.icon.1";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "elm.icon1.bg";
+ rel2.to: "elm.icon1.bg";
+ }
+ }
+ part { name: "elm.padding.icon1.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_24_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon1.bg";
+ }
+ rel2.to_x: "elm.icon1.bg";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.icon.2";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x: "elm.padding.right";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x: "elm.padding.right";
+ }
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.padding.icon2.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon.2";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.2";
+ }
+ rel2.to_x: "elm.icon.2";
+ visible: 0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_54_INC;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon2.right";
+ to_y: "elm.padding.top";
+ }
+ color: GENLIST_DIALOGUE_FONT_DETAIL_TEXT_MAIN_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_FONT_48_INC;
+ min: 0 1;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ }
+ }
+ part { name: "elm.padding.text.1.bottom";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_PADDING_8_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "elm.text.1";
+ }
+ rel2.to_y: "elm.text.1";
+ visible: 0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.text.1.bottom";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon2.right";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_DIALOGUE_FONT_DETAIL_TEXT_SUB_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 1.0;
+ text_class: "tizen";
+ }
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ /*program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "elm.text.sub";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "elm.text.sub";
+ transition: LINEAR 0.1;
+ }*/
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+// 4.3.3
+ group { name: "elm/genlist/item/dialogue/bg/5text.2icon/default";
+ alias: "elm/genlist/item_odd/dialogue/bg/5text.2icon/default";
+ alias: "elm/genlist/item_compress/dialogue/bg/5text.2icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/bg/5text.2icon/default";
+ alias: "elm/layout/dialogue/bg/5text.2icon";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4 elm.text.5";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+ images {
+ image: "00_list_thumbnail_bg.png" COMP;
+ }
+ parts {
+ GENLIST_PART_BASE__( GENLIST_HEIGHT_182_INC )
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_14_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_14_INC )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.icon1.bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_141_INC GENLIST_SIZE_141_INC;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ }
+ image {
+ normal: "00_list_thumbnail_bg.png";
+ border: 1 1 1 1;
+ border_scale: 1;
+ middle: NONE;
+ }
+ }
+ }
+ part { name: "elm.icon.1";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "elm.icon1.bg";
+ rel2.to: "elm.icon1.bg";
+ }
+ }
+ part { name: "elm.padding.icon1.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon1.bg";
+ }
+ rel2.to_x: "elm.icon1.bg";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_38_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ color: GENLIST_DIALOGUE_FONT_APPS_NAME_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_38_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.text.1";
+ }
+ align: 0.0 0.0;
+ color: GENLIST_DIALOGUE_FONT_APPS_INC_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_28_INC;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part { name: "elm.icon.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.text.3";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.text.3";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.padding.icon2.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.2";
+ }
+ rel2.to_x: "elm.icon.2";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.text.3";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_38_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon2.right";
+ to_y: "elm.text.2";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.text.2";
+ }
+ align: 0.0 0.0;
+ color: GENLIST_DIALOGUE_FONT_APPS_RATING_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_28_INC;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part { name: "elm.text.4";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_96_INC GENLIST_SIZE_38_INC;
+ fixed: 1 1;
+ align: 0 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.bottom";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_DIALOGUE_FONT_APPS_PRICE_ORIGINAL_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_28_INC;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part { name: "elm.padding.text4.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.text.4";
+ }
+ rel2.to_x: "elm.text.4";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.text.5";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_96_INC GENLIST_SIZE_38_INC;
+ fixed: 1 1;
+ align: 0 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text4.right";
+ to_y: "elm.padding.bottom";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text4.right";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_DIALOGUE_FONT_APPS_PRICE_SALE_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_28_INC;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ /*program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "elm.text.sub";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "elm.text.sub";
+ transition: LINEAR 0.1;
+ }*/
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+ // 4.1.9
+
+ group { name: "elm/genlist/item/dialogue/bg/1icon/default";
+ alias: "elm/genlist/item_odd/dialogue/bg/1icon/default";
+ alias: "elm/genlist/item_compress/dialogue/bg/1icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/bg/1icon/default";
+ alias: "elm/layout/dialogue/bg/1icon";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BASE__( GENLIST_HEIGHT_73_INC )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/bg/2icon/default";
+ alias: "elm/genlist/item_odd/dialogue/bg/2icon/default";
+ alias: "elm/genlist/item_compress/dialogue/bg/2icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/bg/2icon/default";
+ alias: "elm/layout/dialogue/bg/2icon";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+
+ parts {
+ GENLIST_PART_BASE__( GENLIST_HEIGHT_73_INC )
+ part { name: "elm.icon.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.relative: 0.021 0.0;
+ rel2.relative: 0.492 1.0;
+ }
+ }
+ part { name: "elm.icon.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.relative: 0.51 0.0;
+ rel2.relative: 0.979 1.0;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/bg/3icon/default";
+ alias: "elm/genlist/item_odd/dialogue/bg/3icon/default";
+ alias: "elm/genlist/item_compress/dialogue/bg/3icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/bg/3icon/default";
+
+ alias: "elm/genlist/item/dialogue.3icon/default";
+ alias: "elm/genlist/item_odd/dialogue.3icon/default";
+ alias: "elm/genlist/item_compress/dialogue.3icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue.3icon/default";
+
+ alias: "elm/layout/dialogue/bg/3icon";
+ alias: "elm/layout/dialogue/dialogue.3icon";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3";
+
+ parts {
+ GENLIST_PART_BASE__( GENLIST_HEIGHT_73_INC )
+ part { name: "elm.icon.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.relative: 0.021 0.0;
+ rel2.relative: 0.327 1.0;
+ }
+ }
+ part { name: "elm.icon.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.relative: 0.348 0.0;
+ rel2.relative: 0.652 1.0;
+ }
+ }
+ part { name: "elm.icon.3";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.relative: 0.673 0.0;
+ rel2.relative: 0.979 1.0;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue.3icon.2/default";
+ alias: "elm/genlist/item_odd/dialogue.3icon.2/default";
+ alias: "elm/genlist/item_compress/dialogue.3icon.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue.3icon.2/default";
+ alias: "elm/layout/dialogue/dialogue.3icon.2";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3";
+
+ parts {
+ GENLIST_PART_BASE__( GENLIST_HEIGHT_89_INC )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_16_INC )
+ part { name: "elm.icon.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_234_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.padding.icon.1.left";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon.1";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.1";
+ }
+ visible: 0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.icon.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_234_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon.1.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon.1.left";
+ }
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.padding.icon.2.left";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon.2";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.2";
+ }
+ visible: 0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.icon.3";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_234_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon.2.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon.2.left";
+ }
+ align: 1.0 0.5;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue.1title.1text.2/default";
+ alias: "elm/genlist/item_odd/dialogue.1title.1text.2/default";
+ alias: "elm/genlist/item_compress/dialogue.1title.1text.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue.1title.1text.2/default";
+ alias: "elm/layout/dialogue/dialogue.1title.1text.2";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.title elm.text";
+
+ images {
+ image: "00_list_img_check.png" COMP;
+ }
+
+ parts {
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_27_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.divider1";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.title";
+ }
+ rel2.to_x: "elm.title";
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.title";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_163_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2.to_x: "elm.padding.left";
+ align: 0.0 0.5;
+ color: GENLIST_MULTILINE_TEXT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_MULTILINE_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part { name: "elm.padding.title.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.divider1";
+ }
+ rel2.to_x: "elm.divider1";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.text";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.title.right";
+ }
+ rel2.to_x: "elm.padding.title.right";
+ align: 0.0 0.5;
+ fixed: 1 1;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 1 1;
+ max: 1 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: 217 147 26 255;
+ }
+ }
+ part { name: "elm.padding.text.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_11_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.text";
+ }
+ rel2.to_x: "elm.text";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.image.check";
+ clip_to: "disclip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ image.normal: "00_list_img_check.png";
+ rel1 {
+ relative: 1.0 0.366;
+ to_x: "elm.padding.text.right";
+ }
+ rel2 {
+ relative: 3.857 0.648;
+ to_x: "elm.padding.text.right";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "elm.image.check";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "elm.image.check";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/1title.4text/default";
+ alias: "elm/genlist/item_odd/dialogue/1title.4text/default";
+ alias: "elm/genlist/item_compress/dialogue/1title.4text/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1title.4text/default";
+
+ alias: "elm/genlist/item/dialogue.1title.4text/default";
+ alias: "elm/genlist/item_odd/dialogue.1title.4text/default";
+ alias: "elm/genlist/item_compress/dialogue.1title.4text/default";
+ alias: "elm/genlist/item_compress_odd/dialogue.1title.4text/default";
+
+ alias: "elm/layout/dialogue/1title.4text";
+
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.title elm.text.1 elm.text.2 elm.text.3 elm.text.4";
+
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_454_INC )
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_27_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.divider1";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.title";
+ }
+ rel2.to_x: "elm.title";
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "center1_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.25;
+ to_x: "elm.divider1";
+ }
+ rel2.relative: 1.0 0.25;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "center2_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.divider1";
+ }
+ rel2.relative: 1.0 0.5;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "center3_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.75;
+ to_x: "elm.divider1";
+ }
+ rel2.relative: 1.0 0.75;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "elm.title";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_163_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2.to_x: "elm.padding.left";
+ align: 0.0 0.5;
+ color: GENLIST_MULTILINE_TEXT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_MULTILINE_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part { name: "elm.padding.title.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.title";
+ }
+ rel2.to_x: "elm.title";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.title.right";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "center1_line";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.25;
+ to_x: "elm.padding.title.right";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "center2_line";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ }
+ part { name: "elm.text.3";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.title.right";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "center3_line";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ }
+ part { name: "elm.text.4";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.75;
+ to_x: "elm.padding.title.right";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "bottom_line";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ /*program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }*/
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item/dialogue/1title.5text/default";
+ alias: "elm/genlist/item_odd/dialogue/1title.5text/default";
+ alias: "elm/genlist/item_compress/dialogue/1title.5text/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1title.5text/default";
+ alias: "elm/layout/dialogue/1title.5text";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.title elm.text.1 elm.text.2 elm.text.3 elm.text.4 elm.text.5";
+ data.item: "flips" "elm.flip.content.title elm.flip.content.1 elm.flip.content.2 elm.flip.content.3 elm.flip.content.4 elm.flip.content.5";
+
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_566_INC )
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_27_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.divider1";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.title";
+ }
+ rel2.to_x: "elm.title";
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "center1_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.2;
+ to_x: "elm.divider1";
+ }
+ rel2.relative: 1.0 0.2;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "center2_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.4;
+ to_x: "elm.divider1";
+ }
+ rel2.relative: 1.0 0.4;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "center3_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.6;
+ to_x: "elm.divider1";
+ }
+ rel2.relative: 1.0 0.6;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "center4_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.8;
+ to_x: "elm.divider1";
+ }
+ rel2.relative: 1.0 0.8;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "elm.title";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_163_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2.to_x: "elm.padding.left";
+ align: 0.0 0.5;
+ color: GENLIST_DIALOGUE_FONT_EDIT_MODE_TEXT_01_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content.title";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1.to: "elm.title";
+ rel2.to: "elm.title";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.padding.title.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.title";
+ }
+ rel2.to_x: "elm.title";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.title.right";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "center1_line";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1.to: "elm.text.1";
+ rel2.to: "elm.text.1";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.2;
+ to_x: "elm.padding.title.right";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "center2_line";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1.to: "elm.text.2";
+ rel2.to: "elm.text.2";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.text.3";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.4;
+ to_x: "elm.padding.title.right";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "center3_line";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content.3";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1.to: "elm.text.3";
+ rel2.to: "elm.text.3";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.text.4";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.6;
+ to_x: "elm.padding.title.right";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "center4_line";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content.4";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1.to: "elm.text.4";
+ rel2.to: "elm.text.4";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.text.5";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.8;
+ to_x: "elm.padding.title.right";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "bottom_line";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content.5";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1.to: "elm.text.5";
+ rel2.to: "elm.text.5";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ /*program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }*/
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program { name: "flip_enabled";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.title";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.text.3";
+ target: "elm.text.4";
+ target: "elm.text.5";
+ target: "elm.flip.content.title";
+ target: "elm.flip.content.1";
+ target: "elm.flip.content.2";
+ target: "elm.flip.content.3";
+ target: "elm.flip.content.4";
+ target: "elm.flip.content.5";
+ }
+ program { name: "flip_disabled";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.title";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.text.3";
+ target: "elm.text.4";
+ target: "elm.text.5";
+ target: "elm.flip.content.title";
+ target: "elm.flip.content.1";
+ target: "elm.flip.content.2";
+ target: "elm.flip.content.3";
+ target: "elm.flip.content.4";
+ target: "elm.flip.content.5";
+ }
+ }
+ }
+
+/* extended item of bg/2text.1icon.3 */
+ group { name: "elm/genlist/item/dialogue/bg/1text/default";
+ alias: "elm/genlist/item_odd/dialogue/bg/1text/default";
+ alias: "elm/genlist/item_compress/dialogue/bg/1text/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/bg/1text/default";
+ alias: "elm/layout/dialogue/bg/1text";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+ parts {
+ GENLIST_PART_BASE__( GENLIST_HEIGHT_1LINE )
+ GENLIST_PART_PADDING_TOP_SIZE( 0 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.icon.bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_160_INC 0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.padding.icon.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.bg";
+ }
+ rel2.to_x: "elm.icon.bg";
+ color: GENLIST_LIST_LINE1_COLOR;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.padding.text.left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon.right";
+ to_y: "elm.padding.top";
+ }
+ rel2.to_x: "elm.padding.icon.right";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.divider1";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon.right";
+ }
+ rel2.to_x: "elm.padding.icon.right";
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.text.bg";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon.right";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ }
+ part { name: "elm.text";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text.left";
+ to_y: "elm.text.bg";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.text.bg";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text.left";
+ to_y: "elm.text.bg";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.text.bg";
+ }
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ /*program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }*/
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program { name: "flip_enabled";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text";
+ target: "elm.flip.content";
+ }
+ program { name: "flip_disabled";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "elm.flip.content";
+ }
+ }
+ }
+
+
+
+ group { name: "elm/genlist/item/dialogue/bg/2text.1icon.2/default";
+ alias: "elm/genlist/item_odd/dialogue/bg/2text.1icon.2/default";
+ alias: "elm/genlist/item_compress/dialogue/bg/2text.1icon.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/bg/2text.1icon.2/default";
+ alias: "elm/genlist/item/dialogue.2text.1icon.2/default";
+ alias: "elm/genlist/item_odd/dialogue.2text.1icon.2/default";
+ alias: "elm/genlist/item_compress/dialogue.2text.1icon.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue.2text.1icon.2/default";
+ alias: "elm/layout/dialogue/bg/2text.1icon.2";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+ data.item: "flips" "elm.flip.content.1 elm.flip.content.2";
+ images {
+ image: "00_list_thumbnail_bg.png" COMP;
+ }
+ parts {
+ GENLIST_PART_BASE__( GENLIST_HEIGHT_291_INC )
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.icon.bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_144_INC GENLIST_SIZE_90_INC;
+ fixed: 1 1;
+ align: 0.0 0.8;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ }
+ image {
+ normal: "00_list_thumbnail_bg.png";
+ border: 1 1 1 1;
+ border_scale: 1;
+ middle: NONE;
+ }
+ }
+ }
+ part { name: "elm.icon";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "elm.icon.bg";
+ rel2.to: "elm.icon.bg";
+ }
+ }
+ part { name: "elm.padding.icon.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.bg";
+ }
+ rel2.to_x: "elm.icon.bg";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.padding.text.left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon.right";
+ to_y: "elm.padding.top";
+ }
+ rel2.to_x: "elm.padding.icon.right";
+ visible: 0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.divider1";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.text.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "text_vertical_rect";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ color: GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.divider1";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.padding.text.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "text_vertical_rect";
+ }
+ rel2.to_x: "text_vertical_rect";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "text_top_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "text_vertical_rect";
+ to_y: "text_vertical_rect";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "text_vertical_rect";
+ }
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "text_center_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "text_vertical_rect";
+ }
+ rel2.relative: 1.0 0.5;
+ align: 0.5 0.5;
+ }
+ }
+ part { name: "text_bottom_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "text_vertical_rect";
+ to_y: "text_vertical_rect";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_y: "text_vertical_rect";
+ }
+ align: 0.0 1.0;
+ }
+ }
+ part { name: "elm.text.bg.1";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "text_vertical_rect";
+ to_y: "text_top_line";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "text_center_line";
+ }
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ }
+ part { name: "elm.text.1";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_54_INC;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text.right";
+ to_y: "elm.text.bg.1";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.text.bg.1";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_FONT_48_INC;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1.to: "elm.text.1";
+ rel2.to: "elm.text.1";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.text.bg.2";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "text_vertical_rect";
+ to_y: "text_center_line";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "text_bottom_line";
+ }
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_54_INC;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text.right";
+ to_y: "elm.text.bg.2";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.text.bg.2";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_FONT_48_INC;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1.to: "elm.text.2";
+ rel2.to: "elm.text.2";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.divider2";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 1.0;
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -1 0;
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.0;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ /*program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "elm.text.sub";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "elm.text.sub";
+ transition: LINEAR 0.1;
+ }*/
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program { name: "flip_enabled";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.flip.content.1";
+ target: "elm.flip.content.2";
+ }
+ program { name: "flip_disabled";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.flip.content.1";
+ target: "elm.flip.content.2";
+ }
+ }
+ }
+
+/* non-bottom-border-area version of 2text.1icon.2 */
+ group { name: "elm/genlist/item/dialogue/bg/2text.1icon.3/default";
+ alias: "elm/genlist/item_odd/dialogue/bg/2text.1icon.3/default";
+ alias: "elm/genlist/item_compress/dialogue/bg/2text.1icon.3/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/bg/2text.1icon.3/default";
+ alias: "elm/layout/dialogue/bg/2text.1icon.3";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+ data.item: "flips" "elm.flip.content.1 elm.flip.content.2";
+ images {
+ image: "00_list_thumbnail_bg.png" COMP;
+ }
+ parts {
+ GENLIST_PART_BASE__( GENLIST_HEIGHT_260_INC )
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.icon.bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_144_INC GENLIST_SIZE_90_INC;
+ fixed: 1 1;
+ align: 0.0 0.7;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ }
+ image {
+ normal: "00_list_thumbnail_bg.png";
+ border: 1 1 1 1;
+ border_scale: 1;
+ middle: NONE;
+ }
+ }
+ }
+ part { name: "elm.icon";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "elm.icon.bg";
+ rel2.to: "elm.icon.bg";
+ }
+ }
+ part { name: "elm.padding.icon.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.bg";
+ }
+ rel2.to_x: "elm.icon.bg";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.padding.text.left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon.right";
+ to_y: "elm.padding.top";
+ }
+ rel2.to_x: "elm.padding.icon.right";
+ visible: 0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.divider1";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.text.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text.left";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ }
+ part { name: "text_vertical_rect";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ color: GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.divider1";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.padding.text.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "text_vertical_rect";
+ }
+ rel2.to_x: "text_vertical_rect";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "text_top_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "text_vertical_rect";
+ to_y: "text_vertical_rect";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "text_vertical_rect";
+ }
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "text_center_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 0.56;
+ to_x: "text_vertical_rect";
+ }
+ rel2.relative: 1.0 0.56;
+ align: 0.5 0.5;
+ }
+ }
+ part { name: "text_bottom_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "text_vertical_rect";
+ to_y: "text_vertical_rect";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_y: "text_vertical_rect";
+ }
+ align: 0.0 1.0;
+ }
+ }
+ part { name: "elm.text.bg.1";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "text_vertical_rect";
+ to_y: "text_top_line";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "text_center_line";
+ }
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ }
+ part { name: "elm.text.1";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_54_INC;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text.right";
+ to_y: "elm.text.bg.1";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.text.bg.1";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_FONT_48_INC;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content.1";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1.to: "elm.text.1";
+ rel2.to: "elm.text.1";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.text.bg.2";
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "text_vertical_rect";
+ to_y: "text_center_line";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "text_bottom_line";
+ }
+ color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
+ }
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_54_INC;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.text.right";
+ to_y: "elm.text.bg.2";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.text.bg.2";
+ }
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_FONT_48_INC;
+ text_class: "tizen";
+ }
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.flip.content.2";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1.to: "elm.text.2";
+ rel2.to: "elm.text.2";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.divider2";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 1 0;
+ fixed: 1 0;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 1.0 1.0;
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -1 0;
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.0;
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ /*program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "elm.text.sub";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "elm.text.sub";
+ transition: LINEAR 0.1;
+ }*/
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program { name: "flip_enabled";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.flip.content.1";
+ target: "elm.flip.content.2";
+ }
+ program { name: "flip_disabled";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.flip.content.1";
+ target: "elm.flip.content.2";
+ }
+ }
+ }
+
+ ///////// will be removed /////////
+ group { name: "elm/genlist/item/dialogue/1icon.2/default";
+ alias: "elm/genlist/item_odd/dialogue/1icon.2/default";
+ alias: "elm/genlist/item_compress/dialogue/1icon.2/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/1icon.2/default";
+ alias: "elm/layout/dialogue/1icon.2";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "contents" "elm.icon";
+
+ parts {
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_BG_IMAGE_DIALOGUE
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_DIALOGUE_ITEM
+ GENLIST_PART_DIALOGUE_RIGHT_LINE
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ /*program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }*/
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+
+// 4.3.2 (old)
+ group { name: "elm/genlist/item/dialogue/bg/3text.1icon/default";
+ alias: "elm/genlist/item_odd/dialogue/bg/3text.1icon/default";
+ alias: "elm/genlist/item_compress/dialogue/bg/3text.1icon/default";
+ alias: "elm/genlist/item_compress_odd/dialogue/bg/3text.1icon/default";
+ alias: "elm/layout/dialogue/bg/3text.1icon";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+ data.item: "contents" "elm.icon";
+ images {
+ image: "00_list_thumbnail_bg.png" COMP;
+ }
+ parts {
+ GENLIST_PART_BASE__( GENLIST_HEIGHT_190_INC )
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_34_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_34_INC )
+ GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.icon.bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_128_INC GENLIST_SIZE_128_INC;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ }
+ image {
+ normal: "00_list_thumbnail_bg.png";
+ border: 1 1 1 1;
+ border_scale: 1;
+ middle: NONE;
+ }
+ }
+ }
+ part { name: "elm.icon";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "elm.icon.bg";
+ rel2.to: "elm.icon.bg";
+ }
+ }
+ part { name: "elm.padding.icon.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_24_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.bg";
+ }
+ rel2.to_x: "elm.icon.bg";
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_54_INC;
+ fixed: 0 1;
+ align: 0 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ color: GENLIST_DIALOGUE_FONT_DETAIL_TEXT_MAIN_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_FONT_48_INC;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ }
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon.right";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.text.3";
+ }
+ color: GENLIST_DIALOGUE_FONT_DETAIL_TEXT_SUB_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ align: 0.0 1.0;
+ text_class: "tizen";
+ }
+ }
+ }
+ part { name: "elm.text.3";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_ICON_SMALL_SIZE;
+ fixed: 0 1;
+ align: 0 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon.right";
+ to_y: "elm.padding.bottom";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_DIALOGUE_FONT_DETAIL_TEXT_SUB_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ align: 0.0 1.0;
+ text_class: "tizen";
+ }
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ /*program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "elm.text.sub";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "elm.text.sub";
+ transition: LINEAR 0.1;
+ }*/
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
+////////////////////////////////////////////////////////
+// Check that belows are used
+ group { name: "elm/genlist/item/1text.2/default";
+ alias: "elm/genlist/item_odd/1text.2/default";
+ alias: "elm/genlist/item_compress/1text.2/default";
+ alias: "elm/genlist/item_compress_odd/1text.2/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "temp_center_line"; //temporary
+ clip_to: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 0.5;
+ to: "base";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to: "base";
+ }
+ }
+ }
+ part { name: "elm.text";
+ clip_to: "disclip";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ multiline: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ to_y: "temp_center_line";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x: "elm.padding.right";
+ to_y: "temp_center_line";
+ }
+ align: 0.0 0.5;
+ text {
+ style: "genlist_style_list_main_text_unread";
+ min: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_list_main_text_focus";
+ }
+ GENLIST_DESCRIPTION_INVISIBLE_SELECTED
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ GENLIST_PROGRAM_SCRIPT_FLIP_SELECT_1TEXT
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ //GENLIST_PROGRAM_FLIP_1TEXT
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+// ???
+ /* NOTE: This style is a temporary style for email application. Otherwise do not use this. */
+ group { name: "elm/genlist/item/3text.6icon/default";
+ alias: "elm/genlist/item_odd/3text.6icon/default";
+ alias: "elm/genlist/item_compress/3text.6icon/default";
+ alias: "elm/genlist/item_compress_odd/3text.6icon/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.swallow.colorbar elm.swallow.outbox.progress";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.swallow.colorbar";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_10_INC GENLIST_SIZE_21_INC;
+ rel2.relative: 0.0 0.0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.text.3";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_154_INC GENLIST_SIZE_61_INC;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 1.0;
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 1.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.icon.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.text.3";
+ }
+ align: 1.0 0.0;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon1.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ rel1.to_x: "elm.icon.1";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.1";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text1.rect";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.swallow.colorbar";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon1.left";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text1.rect";
+ rel2.to: "elm.text1.rect";
+ align: 0.0 0.0;
+ text {
+ style: "genlist_style_email_unread";
+ min: 0 1;
+ max: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_email_focus";
+ }
+ description { state: "read" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_email_read";
+ }
+ description { state: "urgency_read" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_email_urgency_read";
+ }
+ description { state: "urgency_unread" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_email_urgency_unread";
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXTBLOCK;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ text {
+ style: "genlist_style_name_text";
+ min: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_name_text_focus";
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon2.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.2";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.icon.2";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon3.left";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon3.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon3.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.3";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.icon.3";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon.3";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon4.left";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon4.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon4.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.4";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.icon.4";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon.4";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.text.3";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.text.3";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.swallow.outbox.progress";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ repeat_events: 0;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_168_INC 0;
+ color: 0 0 0 0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: 0 0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.text.3";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.text.3";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_3TEXT_2ICON
+ program { name: "go_read";
+ signal: "elm,state,read";
+ source: "elm";
+ action: STATE_SET "read" 0.0;
+ target: "elm.text.1";
+ }
+ program { name: "go_unread";
+ signal: "elm,state,unread";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.1";
+ }
+ program { name: "go_urgeny_unread";
+ signal: "elm,state,urgency_unread";
+ source: "elm";
+ action: STATE_SET "urgency_unread" 0.0;
+ target: "elm.text.1";
+ }
+ program { name: "go_urgency_read";
+ signal: "elm,state,urgency_read";
+ source: "elm";
+ action: STATE_SET "urgency_read" 0.0;
+ target: "elm.text.1";
+ }
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+ // 3.2.24
+ group { name: "elm/genlist/item/2text.3icon.2/default";
+ alias: "elm/genlist/item_odd/2text.3icon.2/default";
+ alias: "elm/genlist/item_compress/2text.3icon.2/default";
+ alias: "elm/genlist/item_compress_odd/2text.3icon.2/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.swallow.colorbar";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE_LIST_H( 129 )
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_PADDING_TOP_SIZE( 10 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 10 )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.swallow.colorbar";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 10 21;
+ fixed: 1 1;
+ rel2.relative: 0.0 0.0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.icon.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.padding.bottom",
+ fixed: 1 1;
+ )
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon2.left", "elm.icon.2", GENLIST_PADDING_16_INC)
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.icon2.left", "elm.padding.bottom",
+ min: 0 GENLIST_SIZE_48_INC;
+ fixed: 0 1;
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_LIST_SUB_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ )
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ // virtual padding for limiting flexible text
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.text1.right", "elm.icon.2", GENLIST_ICON_SMALL_SIZE+32)
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.text1.right", "elm.padding.top", "elm.text.2",
+ align: 0 0.5;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ max: 1 1;
+ align: 0 0.5;
+ text_class: "list_item";
+ }
+ )
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_PADDING_L_SIZE("elm.padding.icon1.left", "elm.text.1", GENLIST_PADDING_16_INC)
+ part { name: "elm.icon.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ GENLIST_DESCRIPTION("elm.padding.icon1.left", "elm.padding.icon2.left", "elm.padding.top", "elm.text.2",
+ min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ fixed: 1 1;
+ align: 0 0.5;
+ )
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_2TEXT_2ICON
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+// 3.2.25
+ group { name: "elm/genlist/item/2text.3icon.3/default";
+ alias: "elm/genlist/item_odd/2text.3icon.3/default";
+ alias: "elm/genlist/item_compress/2text.3icon.3/default";
+ alias: "elm/genlist/item_compress_odd/2text.3icon.3/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.swallow.colorbar";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.swallow.colorbar";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_10_INC GENLIST_SIZE_21_INC;
+ fixed: 1 1;
+ rel2.relative: 0.0 0.0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.icon.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon1.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.1";
+ }
+ rel2.to_x: "elm.icon.1";
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon2.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x: "elm.icon.2";
+ }
+ rel2.to_x: "elm.icon.2";
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_2TEXT_2ICON
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+ // 3.2.30
+ group { name: "elm/genlist/item/1text.3icon.3/default";
+ alias: "elm/genlist/item_odd/1text.3icon.3/default";
+ alias: "elm/genlist/item_compress/1text.3icon.3/default";
+ alias: "elm/genlist/item_compress_odd/1text.3icon.3/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.swallow.progress";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.icon.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon1.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.1";
+ }
+ rel2.to_x: "elm.icon.1";
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon2.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon.2";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.2";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.padding.top";
+ }
+ align: 0 0;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.swallow.progress";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.text.1";
+ }
+ align: 0.5 0.0;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program { name: "flip_enabled";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text.1";
+ target: "elm.icon.1";
+ target: "elm.icon.2";
+ target: "elm.swallow.progress";
+ target: "elm.flip.content";
+ }
+ program { name: "flip_disabled";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.1";
+ target: "elm.icon.1";
+ target: "elm.icon.2";
+ target: "elm.swallow.progress";
+ target: "elm.flip.content";
+ }
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+
+
+// 2.2.2.31
+ group { name: "elm/genlist/item/2text.2icon.9/default";
+ alias: "elm/genlist/item_odd/2text.2icon.9/default";
+ alias: "elm/genlist/item_compress/2text.2icon.9/default";
+ alias: "elm/genlist/item_compress_odd/2text.2icon.9/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon.1 elm.icon.2";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.icon.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon2.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon.2";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.2";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_48_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.bottom";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 1.0;
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: GENLIST_SIZE_560_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.text.2";
+ }
+ align: 0.0 0.5;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 1 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon1.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.text.1";
+ }
+ rel2.to_x: "elm.text.1";
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon1.left";
+ to_y: "elm.text.2";
+ }
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_2TEXT_2ICON
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+ // 3.2.33
+ group { name: "elm/genlist/item/1text.2icon.5/default";
+ alias: "elm/genlist/item_odd/1text.2icon.5/default";
+ alias: "elm/genlist/item_compress/1text.2icon.5/default";
+ alias: "elm/genlist/item_compress_odd/1text.2icon.5/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1";
+ data.item: "contents" "elm.icon.1 elm.swallow.progress";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.icon.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon1.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.1";
+ }
+ rel2.to_x: "elm.icon.1";
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ align: 0 0;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.swallow.progress";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.text.1";
+ }
+ align: 0.5 0.0;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program { name: "flip_enabled";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text.1";
+ target: "elm.icon.1";
+ target: "elm.swallow.progress";
+ target: "elm.flip.content";
+ }
+ program { name: "flip_disabled";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.1";
+ target: "elm.icon.1";
+ target: "elm.swallow.progress";
+ target: "elm.flip.content";
+ }
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+ // 3.2.30
+ group { name: "elm/genlist/item/3text.3icon/default";
+ alias: "elm/genlist/item_odd/3text.3icon/default";
+ alias: "elm/genlist/item_compress/3text.3icon/default";
+ alias: "elm/genlist/item_compress_odd/3text.3icon/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.swallow.progress";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.icon.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon1.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.1";
+ }
+ rel2.to_x: "elm.icon.1";
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon2.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon.2";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.2";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.padding.top";
+ }
+ align: 0 0;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.swallow.progress";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.text.2";
+ }
+ align: 0.5 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_48_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.bottom";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0 1;
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.3";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_48_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon1.right";
+ to_y: "elm.padding.bottom";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1 1;
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 1.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.text.3";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.text.3";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program { name: "flip_enabled";
+ signal: "elm,state,flip,enabled";
+ source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.text.3";
+ target: "elm.icon.1";
+ target: "elm.icon.2";
+ target: "elm.swallow.progress";
+ target: "elm.flip.content";
+ }
+ program { name: "flip_disabled";
+ signal: "elm,state,flip,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.text.3";
+ target: "elm.icon.1";
+ target: "elm.icon.2";
+ target: "elm.swallow.progress";
+ target: "elm.flip.content";
+ }
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+// ???
+ group { name: "elm/genlist/item/3text.5icon/default";
+ alias: "elm/genlist/item_odd/3text.5icon/default";
+ alias: "elm/genlist/item_compress/3text.5icon/default";
+ alias: "elm/genlist/item_compress_odd/3text.5icon/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+ data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.swallow.colorbar";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.swallow.colorbar";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_10_INC GENLIST_SIZE_21_INC;
+ fixed: 1 1;
+ rel2.relative: 0.0 0.0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.text.3";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_133_INC GENLIST_SIZE_61_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 1.0;
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 1.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.icon.1";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.text.3";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon1.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon.1";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon.1";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_61_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon1.left";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.text3.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1.to: "elm.text.3";
+ rel2 {
+ relative: 0.0 1.0;
+ to: "elm.text.3";
+ }
+ align: 1.0 1.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.text3.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon2.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.text.2";
+ }
+ rel2.to_x: "elm.text.2";
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon.2";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon2.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon3.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.2";
+ }
+ rel2.to_x: "elm.icon.2";
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon.3";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon3.left";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon3.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon4.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon.3";
+ }
+ rel2.to_x: "elm.icon.3";
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon.4";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.icon4.left";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon4.left";
+ to_y: "elm.padding.bottom";
+ }
+ align: 0.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.text.3";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ target: "elm.text.3";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_3TEXT_2ICON
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+ // Email style??
+ group { name: "elm/genlist/item/4text.8icon/default";
+ alias: "elm/genlist/item_odd/4text.8icon/default";
+ alias: "elm/genlist/item_compress/4text.8icon/default";
+ alias: "elm/genlist/item_compress_odd/4text.8icon/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.subject elm.text.name elm.text.date elm.text.preview elm.text.num";
+ data.item: "contents" "elm.icon.important elm.icon.important.touch elm.icon.attach elm.icon.colorbar elm.swallow.outbox.progress elm.icon.checkbox elm.icon.checkbox.touch elm.icon.priority elm.icon.lastverb elm.icon.appointment";
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+ script {
+ public email_state = 0;
+ }
+ images {
+ image: "00_list_bubble_bg.png" COMP;
+ }
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_SIZE_160_INC )
+ GENLIST_PART_BG
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_PADDING_TOP_SIZE( 8 )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( 8 )
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ GENLIST_PART_COLORBAR
+ part { name: "elm.icon.checkbox.touch";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.icon.checkbox";
+ rel1.offset: -GENLIST_PADDING_SIZE_LEFT 0;
+ rel2.to: "elm.icon.checkbox";
+ rel1.offset: GENLIST_PADDING_SIZE_DEFAULT 0;
+ }
+ }
+ part { name: "elm.icon.checkbox";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ GENLIST_DESCRIPTION_L("elm.padding.left",
+ max: GENLIST_ICON_CHECK_RADIO_SIZE GENLIST_ICON_CHECK_RADIO_SIZE;
+ max: GENLIST_ICON_CHECK_RADIO_SIZE GENLIST_ICON_CHECK_RADIO_SIZE;
+ fixed: 1 1;
+ )
+ }
+ GENLIST_PART_PADDING_L_SIZE("elm.padding.icon.checkbox.right", "elm.icon.checkbox", GENLIST_PADDING_SIZE_DEFAULT)
+ part { name: "elm.icon.important";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ GENLIST_DESCRIPTION_RT("elm.padding.right", "elm.padding.top",
+ min: 56 60;
+ fixed: 1 1;
+ )
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.icon.important.touch";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.icon.important";
+ rel2.to: "elm.icon.important";
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon.important.left", "elm.icon.important", GENLIST_PADDING_SIZE_DEFAULT)
+ part { name: "elm.image.num";
+ clip_to: "disclip";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ GENLIST_DESCRIPTION_RT("elm.padding.icon.important.left", "elm.padding.top",
+ max: 0 60;
+ fixed: 1 1;
+ rel1.offset: 0 8;
+ rel2.offset: 0 8;
+ image.normal: "00_list_bubble_bg.png";
+ image.border: 5 5 5 5;
+ )
+ description { state: "num_enable" 0.0;
+ inherit: "default" 0.0;
+ max: 62 60;
+ min: 46 44;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ // This part is used?
+ part { name: "elm.text.num";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ GENLIST_DESCRIPTION_RT("elm.padding.icon.important.left", "elm.padding.top",
+ max: 0 60;
+ fixed: 1 1;
+ rel1.offset: 0 8;
+ rel2.offset: 0 8;
+ )
+ description { state: "num_enable" 0.0;
+ inherit: "default" 0.0;
+ max: 62 60;
+ min: 46 44;
+ text {
+ font: "Tizen:style=Medium";
+ size: 32;
+ min: 1 1;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ color: GENLIST_CONVERTOR_STYLE_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.icon.attach";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ GENLIST_DESCRIPTION_RT("elm.image.num", "elm.padding.top",
+ min: 0 60;
+ fixed: 1 1;
+ )
+ description { state: "attach_enable" 0.0;
+ inherit: "default" 0.0;
+ min: 48 60;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.subject";
+ clip_to: "disclip";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ GENLIST_DESCRIPTION_LRT("elm.padding.icon.checkbox.right", "elm.icon.attach", "elm.padding.top",
+ min: 0 GENLIST_SIZE_SLIDE_60_INC;
+ fixed: 1 1;
+ text {
+ style: "genlist_style_email_unread";
+ min: 0 1;
+ align: 0 0.5;
+ }
+ )
+ description { state: "read" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_email_read";
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_email_focus";
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.intermediate";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ GENLIST_DESCRIPTION_LT("elm.padding.icon.checkbox.right", "elm.icon.attach",
+ min: 0 GENLIST_PADDING_4_INC;
+ fixed: 0 1;
+ visible: 0;
+ )
+ }
+ part { name: "elm.icon.priority";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ GENLIST_DESCRIPTION_LT("elm.padding.icon.checkbox.right", "elm.padding.intermediate",
+ min: 0 GENLIST_SIZE_40_INC;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ )
+ description { state: "priority_enable" 0.0;
+ inherit: "default" 0.0;
+ min: GENLIST_SIZE_48_INC GENLIST_SIZE_40_INC;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.icon.lastverb";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ GENLIST_DESCRIPTION_LT("elm.padding.icon.checkbox.right", "elm.icon.priority",
+ min: 0 GENLIST_SIZE_40_INC;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ )
+ description { state: "lastverb_enable" 0.0;
+ inherit: "default" 0.0;
+ min: GENLIST_SIZE_48_INC GENLIST_SIZE_40_INC;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+
+ part { name: "elm.text.date";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.text.name", "elm.padding.bottom",
+ min: GENLIST_SIZE_154_INC GENLIST_SIZE_40_INC;
+ fixed: 1 0;
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_LIST_SUB_TEXT_SIZE;
+ min: 0 1;
+ align: 1.0 0.5;
+ text_class: "tizen";
+ }
+ )
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+
+ part { name: "elm.icon.appointment";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ GENLIST_DESCRIPTION_RT("elm.padding.right", "elm.padding.intermediate",
+ min: 0 GENLIST_SIZE_40_INC;
+ fixed: 1 1;
+ align: 1.0 0.0;
+ )
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.name";
+ clip_to: "disclip";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ GENLIST_DESCRIPTION_LRT("elm.padding.icon.checkbox.right", "elm.icon.attach", "elm.text.subject",
+ min: 0 GENLIST_SIZE_40_INC;
+ fixed: 1 1;
+ text {
+ style: "genlist_style_name_text";
+ min: 0 1;
+ align: 0.0 0.5;
+ }
+ )
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_style_name_text_focus";
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.text.preview";
+ clip_to: "disclip";
+ type: TEXT;
+ scale: 1;
+ GENLIST_DESCRIPTION("elm.icon.lastverb", "elm.text.date", "elm.text.name", "elm.padding.bottom",
+ min: 0 GENLIST_SIZE_40_INC;
+ fixed: 1 1;
+ align: 0.0 1.0;
+ color: GENLIST_CONTENTS_TEXT_COLOR;
+ text {
+ font: "Tizen:style=Medium";
+ size: GENLIST_CONTENTS_TEXT_SIZE;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ )
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.swallow.outbox.progress";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ repeat_events: 0;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_168_INC 0;
+ fixed: 1 1;
+ color: 0 0 0 0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: 0 0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.subject";
+ target: "elm.text.name";
+ target: "elm.text.date";
+ target: "elm.text.preview";
+ GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ transition: LINEAR 0.1;
+ script {
+ set_state(PART:"bg_image", "default", 0.0);
+ set_state(PART:"elm.text.name", "default", 0.0);
+ set_state(PART:"elm.text.date", "default", 0.0);
+ set_state(PART:"elm.text.preview", "default", 0.0);
+ if (get_int(email_state) == 1)
+ set_state(PART:"elm.text.subject", "read", 0.0);
+ else
+ set_state(PART:"elm.text.subject", "default", 0.0);
+ }
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_read";
+ signal: "elm,state,read";
+ source: "elm";
+ script {
+ set_int(email_state, 1);
+ set_state(PART:"elm.text.subject", "read", 0.0);
+ }
+ }
+ program { name: "go_unread";
+ signal: "elm,state,unread";
+ source: "elm";
+ script {
+ set_int(email_state, 0);
+ set_state(PART:"elm.text.subject", "default", 0.0);
+ }
+ }
+ program { name: "go_attach";
+ signal: "elm,state,attach";
+ source: "elm";
+ action: STATE_SET "attach_enable" 0.0;
+ target: "elm.icon.attach";
+ }
+ program { name: "go_priority";
+ signal: "elm,state,priority";
+ source: "elm";
+ action: STATE_SET "priority_enable" 0.0;
+ target: "elm.icon.priority";
+ }
+ program { name: "go_lastverb";
+ signal: "elm,state,lastverb";
+ source: "elm";
+ action: STATE_SET "lastverb_enable" 0.0;
+ target: "elm.icon.lastverb";
+ }
+ program { name: "go_num";
+ signal: "elm,state,num";
+ source: "elm";
+ action: STATE_SET "num_enable" 0.0;
+ target: "elm.image.num";
+ target: "elm.text.num";
+ }
+ program { name: "click";
+ signal: "mouse,up,1";
+ source: "elm.icon.checkbox.touch";
+ action: SIGNAL_EMIT "elm,action,check,toggle" "";
+ }
+ GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+ }
+ }
+ group { name: "elm/list/item/matchlist";
+ alias: "elm/list/item_odd/matchlist";
+ alias: "elm/list/item_compress/matchlist";
+ alias: "elm/list/item_compress_odd/matchlist";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon elm.swallow.end";
+ parts {
+ GENLIST_PART_BASE_LIST_H( GENLIST_HEIGHT_93_INC )
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT_EDIT
+ part { name: "elm.swallow.end";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1.to_x: "elm.padding.right";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ }
+ }
+ part { name: "elm.text";
+ clip_to: "disclip";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.2;
+ offset: 0 0;
+ to_x: "elm.swallow.icon";
+ }
+ rel2 {
+ to_x: "elm.swallow.end";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ text {
+ style: "text_style";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2.to_x: "elm.padding.left";
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ GENLIST_PROGRAMS_NORMAL( target: "elm.text"; )
+ }
+
+// 2.2.3.5 (unread) && 2.2.3.6 (read)
+ group { name: "elm/genlist/item/4text.6icon.1/default";
+ alias: "elm/genlist/item_odd/4text.6icon.1/default";
+ alias: "elm/genlist/item_compress/4text.6icon.1/default";
+ alias: "elm/genlist/item_compress_odd/4text.6icon.1/default";
+ alias: "elm/genlist/tree/4text.6icon.1/default";
+ alias: "elm/genlist/tree_odd/4text.6icon.1/default";
+ alias: "elm/genlist/tree_compress/4text.6icon.1/default";
+ alias: "elm/genlist/tree_compress_odd/4text.6icon.1/default";
+ // FIXME: deprecated name, will be removed
+ alias: "elm/genlist/item/4text.6icon.2/default";
+ alias: "elm/genlist/item_odd/4text.6icon.2/default";
+ alias: "elm/genlist/item_compress/4text.6icon.2/default";
+ alias: "elm/genlist/item_compress_odd/4text.6icon.2/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";
+ data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_SIZE_TOP_3LINE )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_SIZE_BOTTOM_3LINE )
+ GENLIST_PART_COLORBAR
+
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+
+ GENLIST_PART_TEXT("elm.text.1",
+ GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.padding.icon3.left", "elm.padding.top",
+ GENLIST_PARAM_LISTITEM
+ min: 0 HEIGHT_EMAIL_MAIN;
+ fixed:1 1;)
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.3", "elm.padding.icon4.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", 10)
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.4", "elm.padding.icon5.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon5.left", "elm.icon.5", 10)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.5", "elm.padding.right", "elm.padding.top", "elm.text.2")
+
+ GENLIST_PART_SUBITEM_("elm.text.2", HEIGHT_EMAIL_SUB,
+ "elm.padding.icon1.right", "elm.text.3", "elm.text.1", "elm.text.4",)
+ GENLIST_PART_SUBITEM_RTB("elm.text.3", HEIGHT_EMAIL_SUB,
+ "elm.padding.right", "elm.text.1", "elm.text.4")
+ GENLIST_PART_ICON_SMALL_LTB("elm.icon.2", "elm.padding.icon1.right", "elm.text.3", "elm.padding.bottom")
+
+ GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2")
+ GENLIST_PART_TEXT("elm.text.4",
+ GENLIST_DESCRIPTION_LRB("elm.padding.icon2.right", "elm.padding.right", "elm.padding.bottom",
+ PARAM_EMAIL_CONTENTS
+ min: 0 HEIGHT_EMAIL_CONTENTS; fixed:1 1;)
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_READ_TEXT1( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.text.3"; target: "elm.text.4";
+ target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.icon.2";
+ target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; )
+ }
+
+
+ // 2.2.3.7 (unread) && 2.2.3.8 (read)
+ group { name: "elm/genlist/item/4text.5icon.1/default";
+ alias: "elm/genlist/item_odd/4text.5icon.1/default";
+ alias: "elm/genlist/item_compress/4text.5icon.1/default";
+ alias: "elm/genlist/item_compress_odd/4text.5icon.1/default";
+ // FIXME: deprecated name, will be removed
+ alias: "elm/genlist/item/4text.5icon.2/default";
+ alias: "elm/genlist/item_odd/4text.5icon.2/default";
+ alias: "elm/genlist/item_compress/4text.5icon.2/default";
+ alias: "elm/genlist/item_compress_odd/4text.5icon.2/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";
+ data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_SIZE_TOP_3LINE )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_SIZE_BOTTOM_3LINE )
+ GENLIST_PART_COLORBAR
+
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+
+ GENLIST_PART_TEXT("elm.text.1",
+ GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.padding.icon3.left", "elm.padding.top",
+ GENLIST_PARAM_LISTITEM
+ min: 0 HEIGHT_EMAIL_MAIN; fixed:1 1;)
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.3", "elm.padding.icon4.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", 10)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.4", "elm.padding.right", "elm.padding.top", "elm.text.2")
+
+ GENLIST_PART_SUBITEM_("elm.text.2", HEIGHT_EMAIL_SUB,
+ "elm.padding.icon1.right", "elm.text.3", "elm.text.1", "elm.text.4",)
+ GENLIST_PART_SUBITEM_RTB("elm.text.3", HEIGHT_EMAIL_SUB,
+ "elm.padding.right", "elm.text.1", "elm.text.4")
+ GENLIST_PART_ICON_SMALL_LTB("elm.icon.2", "elm.padding.icon1.right", "elm.text.3", "elm.padding.bottom")
+
+ GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2")
+ GENLIST_PART_TEXT("elm.text.4",
+ GENLIST_DESCRIPTION_LRB("elm.padding.icon2.right", "elm.padding.right", "elm.padding.bottom",
+ PARAM_EMAIL_CONTENTS
+ min: 0 HEIGHT_EMAIL_CONTENTS; fixed:1 1;)
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_READ_TEXT1( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.text.3"; target: "elm.text.4";
+ target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.icon.2";
+ target: "elm.icon.3"; target: "elm.icon.4"; )
+ }
+
+ // 2.2.3.9 (unread) && 2.2.3.10 (read)
+ group { name: "elm/genlist/item/4text.5icon.3/default";
+ alias: "elm/genlist/item_odd/4text.5icon.3/default";
+ alias: "elm/genlist/item_compress/4text.5icon.3/default";
+ alias: "elm/genlist/item_compress_odd/4text.5icon.3/default";
+ // FIXME: deprecated name, will be removed
+ alias: "elm/genlist/item/4text.5icon.4/default";
+ alias: "elm/genlist/item_odd/4text.5icon.4/default";
+ alias: "elm/genlist/item_compress/4text.5icon.4/default";
+ alias: "elm/genlist/item_compress_odd/4text.5icon.4/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";
+ data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_SIZE_TOP_3LINE )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_SIZE_BOTTOM_3LINE )
+ GENLIST_PART_COLORBAR
+
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+
+ GENLIST_PART_TEXT("elm.text.1",
+ GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.top",
+ GENLIST_PARAM_LISTITEM
+ min: 0 HEIGHT_EMAIL_MAIN; fixed:1 1;)
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.2", "elm.padding.icon3.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon3.left", "elm.icon.3", 10)
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.3", "elm.padding.icon4.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", 10)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.4", "elm.padding.right", "elm.padding.top", "elm.text.2")
+
+ GENLIST_PART_SUBITEM_("elm.text.2", HEIGHT_EMAIL_SUB,
+ "elm.padding.icon1.right", "elm.text.3", "elm.text.1", "elm.text.4",)
+ GENLIST_PART_SUBITEM_RTB("elm.text.3", HEIGHT_EMAIL_SUB,
+ "elm.padding.right", "elm.text.1", "elm.text.4")
+ GENLIST_PART_TEXT("elm.text.4",
+ GENLIST_DESCRIPTION_LRB("elm.padding.icon1.right", "elm.padding.right", "elm.padding.bottom",
+ PARAM_EMAIL_CONTENTS
+ min: 0 HEIGHT_EMAIL_CONTENTS; fixed:1 1;)
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_READ_TEXT1( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.text.3"; target: "elm.text.4";
+ target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.icon.2";
+ target: "elm.icon.3"; target: "elm.icon.4"; )
+ }
+
+ // 2.2.3.11 (unread) && 2.2.3.12 (read)
+ group { name: "elm/genlist/item/4text.4icon.1/default";
+ alias: "elm/genlist/item_odd/4text.4icon.1/default";
+ alias: "elm/genlist/item_compress/4text.4icon.1/default";
+ alias: "elm/genlist/item_compress_odd/4text.4icon.1/default";
+ // FIXME: deprecated name, will be removed
+ alias: "elm/genlist/item/4text.4icon.2/default";
+ alias: "elm/genlist/item_odd/4text.4icon.2/default";
+ alias: "elm/genlist/item_compress/4text.4icon.2/default";
+ alias: "elm/genlist/item_compress_odd/4text.4icon.2/default";
+
+ GENLIST_DATA_ITEM_NORMAL
+ data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";
+ data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_SIZE_TOP_3LINE )
+ GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_SIZE_BOTTOM_3LINE )
+ GENLIST_PART_COLORBAR
+
+ GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+ GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
+
+ GENLIST_PART_TEXT("elm.text.1",
+ GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.top",
+ GENLIST_PARAM_LISTITEM
+ min: 0 HEIGHT_EMAIL_MAIN; fixed:1 1;)
+ GENLIST_DESCRIPTION_LISTITEM_OTHERS
+ )
+ GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
+ GENLIST_PART_ICON_SMALL_RTB("elm.icon.2", "elm.padding.icon3.left", "elm.padding.top", "elm.text.2")
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.icon3.left", "elm.icon.3", 10)
+ GENLIST_PART_ICON_STAR_RTB("elm.icon.3", "elm.padding.right", "elm.padding.top", "elm.text.2")
+
+ GENLIST_PART_SUBITEM_("elm.text.2", HEIGHT_EMAIL_CONTENTS,
+ "elm.padding.icon1.right", "elm.text.3", "elm.text.1", "elm.text.4", )
+ GENLIST_PART_SUBITEM_RTB("elm.text.3", HEIGHT_EMAIL_CONTENTS,
+ "elm.padding.right", "elm.text.1", "elm.text.4")
+ GENLIST_PART_TEXT("elm.text.4",
+ GENLIST_DESCRIPTION_LRB("elm.padding.icon1.right", "elm.padding.right", "elm.padding.bottom",
+ PARAM_EMAIL_CONTENTS
+ min: 0 HEIGHT_EMAIL_CONTENTS; fixed:1 1;)
+ )
+ GENLIST_PART_FLIP
+ }
+ GENLIST_PROGRAMS_READ_TEXT1( target: "elm.text.1"; target: "elm.text.2";
+ target: "elm.text.3"; target: "elm.text.4";
+ target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.icon.2";
+ target: "elm.icon.3"; )
+ }
+#endif
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+/*
+ * vim:ts=3
+*/
+// 2.2.5.1
+ group { name: "elm/genlist/item/mode/slide/default";
+ alias: "elm/genlist/item_odd/mode/slide/default";
+ alias: "elm/genlist/item_compress/mode/slide/default";
+ alias: "elm/genlist/item_compress_odd/mode/slide/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "contents" "elm.slide.swallow.1";
+ data.item: "mode_part" "elm.swallow.origin";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+
+ parts {
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BASE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT
+ GENLIST_PART_PADDING_RIGHT
+ GENLIST_PART_PADDING_L_SIZE("elm.padding.btn.left", "elm.padding.left", 171)
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.btn.right", "elm.padding.right", 171)
+
+ GENLIST_PART_ICON("elm.slide.swallow.1",
+ GENLIST_DESCRIPTION_LR("elm.padding.btn.left", "elm.padding.btn.right",
+ min: 326 GENLIST_BTN_01_HEIGHT;
+ max: -1 GENLIST_BTN_01_HEIGHT; )
+ )
+ // Swallow part for original genlist item
+ GENLIST_PART_ICON("elm.swallow.origin";,
+ repeat_events: 0;
+ GENLIST_DESCRIPTION_ENVELOP("base", )
+ description { state: "slide" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 1 0;
+ to: "base";
+ }
+ rel2 {
+ relative: 2 1;
+ to: "base";
+ }
+ }
+ )
+ }
+ programs {
+ program {
+ name: "slide_right";
+ signal: "elm,state,slide,active";
+ source: "elm";
+ action: STATE_SET "slide" 0.0;
+ target: "elm.swallow.origin";
+ transition: ACCELERATE 0.5;
+ }
+
+ program {
+ name: "slide_left";
+ signal: "elm,state,slide,passive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.origin";
+ transition: DECELERATE 0.5;
+ after: "signal";
+ }
+ program {
+ name: "signal";
+ action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
+ }
+ }
+ }
+// 2.2.5.2
+ group { name: "elm/genlist/item/mode/slide2/default";
+ alias: "elm/genlist/item_odd/mode/slide2/default";
+ alias: "elm/genlist/item_compress/mode/slide2/default";
+ alias: "elm/genlist/item_compress_odd/mode/slide2/default";
+ inherit: "elm/genlist/item/mode/slide/default";
+ data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2";
+ parts {
+ GENLIST_PART_PADDING_L_SIZE("elm.padding.btn.left", "elm.padding.left", 0)
+ GENLIST_PART_PADDING_R_SIZE("elm.padding.btn.right", "elm.padding.right", 0)
+ GENLIST_PART_PADDING("elm.padding.center", GENLIST_PADDING_SIZE_DEFAULT, 0.5 0, 0.5 1)
+
+ GENLIST_PART_ICON("elm.slide.swallow.1",
+ GENLIST_DESCRIPTION_LR("elm.padding.left", "elm.padding.center",
+ min: 0 GENLIST_BTN_01_HEIGHT;
+ max: -1 GENLIST_BTN_01_HEIGHT; )
+ )
+ GENLIST_PART_ICON("elm.slide.swallow.2",
+ insert_before: "elm.slide.swallow.1";
+ GENLIST_DESCRIPTION_LR("elm.padding.center", "elm.padding.right",
+ min: 0 GENLIST_BTN_01_HEIGHT;
+ max: -1 GENLIST_BTN_01_HEIGHT; )
+ )
+ }
+ }
+// 2.2.5.3
+ group { name: "elm/genlist/item/mode/slide3/default";
+ alias: "elm/genlist/item_odd/mode/slide3/default";
+ alias: "elm/genlist/item_compress/mode/slide3/default";
+ alias: "elm/genlist/item_compress_odd/mode/slide3/default";
+ inherit: "elm/genlist/item/mode/slide2/default";
+ data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3";
+ parts {
+ GENLIST_PART_PADDING("elm.padding.center", GENLIST_PADDING_SIZE_DEFAULT, 0.333 0, 0.333 1)
+ GENLIST_PART_PADDING("elm.padding.center1", GENLIST_PADDING_SIZE_DEFAULT, 0.666 0, 0.666 1)
+ GENLIST_PART_ICON("elm.slide.swallow.1",
+ GENLIST_DESCRIPTION_LR("elm.padding.left", "elm.padding.center",
+ min: 0 GENLIST_BTN_01_HEIGHT;
+ max: -1 GENLIST_BTN_01_HEIGHT; )
+ )
+ GENLIST_PART_ICON("elm.slide.swallow.2",
+ GENLIST_DESCRIPTION_LR("elm.padding.center", "elm.padding.center1",
+ min: 0 GENLIST_BTN_01_HEIGHT;
+ max: -1 GENLIST_BTN_01_HEIGHT; )
+ )
+ GENLIST_PART_ICON("elm.slide.swallow.3",
+ insert_before: "elm.slide.swallow.2";
+ GENLIST_DESCRIPTION_LR("elm.padding.center1", "elm.padding.right",
+ min: 0 GENLIST_BTN_01_HEIGHT;
+ max: -1 GENLIST_BTN_01_HEIGHT; )
+ )
+ }
+ }
+// 2.2.5.4
+ group { name: "elm/genlist/item/mode/slide4/default";
+ alias: "elm/genlist/item_odd/mode/slide4/default";
+ alias: "elm/genlist/item_compress/mode/slide4/default";
+ alias: "elm/genlist/item_compress_odd/mode/slide4/default";
+ inherit: "elm/genlist/item/mode/slide3/default";
+ data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3 elm.slide.swallow.4";
+ parts {
+ GENLIST_PART_PADDING("elm.padding.center", GENLIST_PADDING_SIZE_DEFAULT, 0.25 0, 0.25 1)
+ GENLIST_PART_PADDING("elm.padding.center1", GENLIST_PADDING_SIZE_DEFAULT, 0.5 0, 0.5 1)
+ GENLIST_PART_PADDING("elm.padding.center2", GENLIST_PADDING_SIZE_DEFAULT, 0.75 0, 0.75 1)
+ GENLIST_PART_ICON("elm.slide.swallow.1",
+ GENLIST_DESCRIPTION_LR("elm.padding.left", "elm.padding.center",
+ min: 0 GENLIST_BTN_01_HEIGHT;
+ max: -1 GENLIST_BTN_01_HEIGHT; )
+ )
+ GENLIST_PART_ICON("elm.slide.swallow.2",
+ GENLIST_DESCRIPTION_LR("elm.padding.center", "elm.padding.center1",
+ min: 0 GENLIST_BTN_01_HEIGHT;
+ max: -1 GENLIST_BTN_01_HEIGHT; )
+ )
+ GENLIST_PART_ICON("elm.slide.swallow.3",
+ GENLIST_DESCRIPTION_LR("elm.padding.center1", "elm.padding.center2",
+ min: 0 GENLIST_BTN_01_HEIGHT;
+ max: -1 GENLIST_BTN_01_HEIGHT; )
+ )
+ GENLIST_PART_ICON("elm.slide.swallow.4",
+ insert_before: "elm.slide.swallow.3";
+ GENLIST_DESCRIPTION_LR("elm.padding.center2", "elm.padding.right",
+ min: 0 GENLIST_BTN_01_HEIGHT;
+ max: -1 GENLIST_BTN_01_HEIGHT; )
+ )
+ }
+ }
+
+#if 0
+// ---------------------------------------- Belows are not used anymore ?? ------------------------------------------------------
+ group { name: "elm/genlist/item/mode/slide.1text/default";
+ alias: "elm/genlist/item_odd/mode/slide.1text/default";
+ alias: "elm/genlist/item_compress/mode/slide.1text/default";
+ alias: "elm/genlist/item_compress_odd/mode/slide.1text/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.slide.text.1";
+ data.item: "contents" "elm.slide.swallow.1";
+ data.item: "mode_part" "elm.swallow.origin";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+
+ parts {
+ part { name: "base";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_HEIGHT_1LINE;
+ color: GENLIST_SWEEP_BG_COLOR_INC;
+ }
+ }
+ part { name: "bottom_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ visible: 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: 0 -1;
+ to: "base";
+ }
+ rel2.to: "base";
+ }
+ }
+ part { name: "base.padding.left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1.to: "base";
+ rel2 {
+ relative: 0 1;
+ to: "base";
+ }
+ }
+ }
+ part { name: "base.padding.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1 0;
+ to: "base";
+ }
+ rel2.to: "base";
+ }
+ }
+ part { name: "base.padding.bottom";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_PADDING_6_INC;
+ fixed: 0 1;
+ visible: 0;
+ align: 0.5 1;
+ rel1 {
+ relative: 0 1;
+ to: "base";
+ }
+ rel2 {
+ relative: 1 1;
+ to: "base";
+ }
+ }
+ }
+ part { name: "elm.slide.text.1";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_45_INC;
+ fixed: 0 1;
+ align: 0.5 0;
+ rel1 {
+ relative: 1 0;
+ to_x: "base.padding.left";
+ to_y: "base";
+ }
+ rel2 {
+ relative: 0 0;
+ to_x: "base.padding.right";
+ to_y: "base";
+ }
+ color: GENLIST_TEXT_COLOR_SWEEP_STYLE;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part { name: "elm.slide.swallow.1";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_390_INC GENLIST_SIZE_SLIDE_60_INC;
+ max: GENLIST_SIZE_390_INC GENLIST_SIZE_SLIDE_60_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.5 1;
+ to_x: "base";
+ to_y: "elm.slide.text.1";
+ }
+ rel2 {
+ relative: 0.5 0;
+ to_x: "base";
+ to_y: "base.padding.bottom";
+ }
+ }
+ }
+ // Transparent part between base parts and slidable parts
+ part { name: "event_block_layer";
+ type: RECT;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ color: 0 0 0 0;
+ }
+ description { state: "repeat_events" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ // Swallow part for original genlist item style
+ part { name: "elm.swallow.origin";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ description { state: "slide" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1 0;
+ rel2.relative: 2 1;
+ }
+ }
+ part { name: "disclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ }
+ programs {
+ program {
+ name: "slide_right";
+ signal: "elm,state,slide,active";
+ source: "elm";
+ action: STATE_SET "slide" 0.0;
+ target: "elm.swallow.origin";
+ transition: ACCELERATE 0.5;
+ after: "unblock_event";
+ }
+ program {
+ name: "unblock_event";
+ action: STATE_SET "repeat_events" 0.0;
+ target: "event_block_layer";
+ }
+ program {
+ name: "slide_left";
+ signal: "elm,state,slide,passive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "event_block_layer";
+ after: "slide_left2";
+ }
+ program {
+ name: "slide_left2";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.origin";
+ transition: DECELERATE 0.5;
+ after: "slide_left_finished";
+ }
+ program {
+ name: "slide_left_finished";
+ action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item/mode/slide2.text/default";
+ alias: "elm/genlist/item_odd/mode/slide2.text/default";
+ alias: "elm/genlist/item_compress/mode/slide2.text/default";
+ alias: "elm/genlist/item_compress_odd/mode/slide2.text/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.slide.text.1";
+ data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2";
+ data.item: "mode_part" "elm.swallow.origin";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+
+ parts {
+ part { name: "base";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_HEIGHT_129_INC;
+ color: GENLIST_SWEEP_BG_COLOR_INC;
+ }
+ }
+ part { name: "bottom_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ visible: 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: 0 -1;
+ to: "base";
+ }
+ rel2.to: "base";
+ }
+ }
+ part { name: "base.padding.left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1.to: "base";
+ rel2 {
+ relative: 0 1;
+ to: "base";
+ }
+ }
+ }
+ part { name: "base.padding.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1 0;
+ to: "base";
+ }
+ rel2.to: "base";
+ }
+ }
+ part { name: "base.padding.bottom";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_PADDING_11_INC;
+ fixed: 0 1;
+ visible: 0;
+ align: 0.5 1;
+ rel1 {
+ relative: 0 1;
+ to: "base";
+ }
+ rel2 {
+ relative: 1 1;
+ to: "base";
+ }
+ }
+ }
+ part { name: "elm.slide.text.1";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_56_INC;
+ fixed: 0 1;
+ align: 0.5 0;
+ rel1 {
+ relative: 1 0;
+ to_x: "base.padding.left";
+ to_y: "base";
+ }
+ rel2 {
+ relative: 0 0;
+ to_x: "base.padding.right";
+ to_y: "base";
+ }
+ color: GENLIST_TEXT_COLOR_SWEEP_STYLE;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part { name: "base.padding.center";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ align: 0.5 0.5;
+ rel1 {
+ relative: 0.5 0;
+ to: "base";
+ }
+ rel2 {
+ relative: 0.5 1;
+ to: "base";
+ }
+ }
+ }
+ part { name: "elm.slide.swallow.1";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1 1;
+ to_x: "base.padding.left";
+ to_y: "elm.slide.text.1";
+ }
+ rel2 {
+ relative: 0 0;
+ to_x: "base.padding.center";
+ to_y: "base.padding.bottom";
+ }
+ }
+ }
+ part { name: "elm.slide.swallow.2";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1 1;
+ to_x: "base.padding.center";
+ to_y: "elm.slide.text.1";
+ }
+ rel2 {
+ relative: 0 0;
+ to_x: "base.padding.right";
+ to_y: "base.padding.bottom";
+ }
+ }
+ }
+ // Transparent part between base parts and slidable parts
+ part { name: "event_block_layer";
+ type: RECT;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ color: 0 0 0 0;
+ }
+ description { state: "repeat_events" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ // Swallow part for original genlist item style
+ part { name: "elm.swallow.origin";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ description { state: "slide" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1 0;
+ rel2.relative: 2 1;
+ }
+ }
+ part { name: "disclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ }
+ programs {
+ program {
+ name: "slide_right";
+ signal: "elm,state,slide,active";
+ source: "elm";
+ action: STATE_SET "slide" 0.0;
+ target: "elm.swallow.origin";
+ transition: ACCELERATE 0.5;
+ after: "unblock_event";
+ }
+ program {
+ name: "unblock_event";
+ action: STATE_SET "repeat_events" 0.0;
+ target: "event_block_layer";
+ }
+ program {
+ name: "slide_left";
+ signal: "elm,state,slide,passive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "event_block_layer";
+ after: "slide_left2";
+ }
+ program {
+ name: "slide_left2";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.origin";
+ transition: DECELERATE 0.5;
+ after: "slide_left_finished";
+ }
+ program {
+ name: "slide_left_finished";
+ action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item/mode/slide3.text/default";
+ alias: "elm/genlist/item_odd/mode/slide3.text/default";
+ alias: "elm/genlist/item_compress/mode/slide3.text/default";
+ alias: "elm/genlist/item_compress_odd/mode/slide3.text/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.slide.text.1";
+ data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3";
+ data.item: "mode_part" "elm.swallow.origin";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+
+ parts {
+ part { name: "base";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_HEIGHT_1LINE;
+ color: GENLIST_SWEEP_BG_COLOR_INC;
+ }
+ }
+ part { name: "bottom_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ visible: 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: 0 -1;
+ to: "base";
+ }
+ rel2.to: "base";
+ }
+ }
+ part { name: "base.padding.left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1.to: "base";
+ rel2 {
+ relative: 0 1;
+ to: "base";
+ }
+ }
+ }
+ part { name: "base.padding.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1 0;
+ to: "base";
+ }
+ rel2.to: "base";
+ }
+ }
+ part { name: "base.padding.bottom";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_PADDING_6_INC;
+ fixed: 0 1;
+ visible: 0;
+ align: 0.5 1;
+ rel1 {
+ relative: 0 1;
+ to: "base";
+ }
+ rel2 {
+ relative: 1 1;
+ to: "base";
+ }
+ }
+ }
+ part { name: "elm.slide.text.1";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_LIST_MAIN_TEXT_SIZE;
+ fixed: 0 1;
+ align: 0.5 0;
+ rel1 {
+ relative: 1 0;
+ to_x: "base.padding.left";
+ to_y: "base";
+ }
+ rel2 {
+ relative: 0 0;
+ to_x: "base.padding.right";
+ to_y: "base";
+ }
+ color: GENLIST_TEXT_COLOR_SWEEP_STYLE;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part { name: "elm.slide.swallow.2";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_SLIDE_220_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.5 1;
+ to_x: "base";
+ to_y: "elm.slide.text.1";
+ }
+ rel2 {
+ relative: 0.5 0;
+ to_x: "base";
+ to_y: "base.padding.bottom";
+ }
+ }
+ }
+ part { name: "elm.padding.swallow.2.left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ align: 1 0.5;
+ visible: 0;
+ rel1.to: "elm.slide.swallow.2";
+ rel2 {
+ relative: 0 1;
+ to: "elm.slide.swallow.2";
+ }
+ }
+ }
+ part { name: "elm.slide.swallow.1";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_SLIDE_220_INC 0;
+ fixed: 1 0;
+ align: 1 0.5;
+ rel1.to: "elm.padding.swallow.2.left";
+ rel2 {
+ relative: 0 1;
+ to: "elm.padding.swallow.2.left";
+ }
+ }
+ }
+ part { name: "elm.padding.swallow.2.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ visible: 0;
+ rel1 {
+ relative: 1 0;
+ to: "elm.slide.swallow.2";
+ }
+ rel2.to: "elm.slide.swallow.2";
+ }
+ }
+ part { name: "elm.slide.swallow.3";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_SLIDE_220_INC 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 {
+ relative: 1 0;
+ to: "elm.padding.swallow.2.right";
+ }
+ rel2.to: "elm.padding.swallow.2.right";
+ }
+ }
+ // Transparent part between base parts and slidable parts
+ part { name: "event_block_layer";
+ type: RECT;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ color: 0 0 0 0;
+ }
+ description { state: "repeat_events" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ // Swallow part for original genlist item style
+ part { name: "elm.swallow.origin";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ description { state: "slide" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1 0;
+ rel2.relative: 2 1;
+ }
+ }
+ part { name: "disclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ }
+ programs {
+ program {
+ name: "slide_right";
+ signal: "elm,state,slide,active";
+ source: "elm";
+ action: STATE_SET "slide" 0.0;
+ target: "elm.swallow.origin";
+ transition: ACCELERATE 0.5;
+ after: "unblock_event";
+ }
+ program {
+ name: "unblock_event";
+ action: STATE_SET "repeat_events" 0.0;
+ target: "event_block_layer";
+ }
+ program {
+ name: "slide_left";
+ signal: "elm,state,slide,passive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "event_block_layer";
+ after: "slide_left2";
+ }
+ program {
+ name: "slide_left2";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.origin";
+ transition: DECELERATE 0.5;
+ after: "slide_left_finished";
+ }
+ program {
+ name: "slide_left_finished";
+ action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item/mode/slide4.text/default";
+ alias: "elm/genlist/item_odd/mode/slide4.text/default";
+ alias: "elm/genlist/item_compress/mode/slide4.text/default";
+ alias: "elm/genlist/item_compress_odd/mode/slide4.text/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.slide.text.1";
+ data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3 elm.slide.swallow.4";
+ data.item: "mode_part" "elm.swallow.origin";
+ data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
+
+ parts {
+ part { name: "base";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_HEIGHT_129_INC;
+ color: GENLIST_SWEEP_BG_COLOR_INC;
+ }
+ }
+ part { name: "bottom_line";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 1;
+ fixed: 0 1;
+ visible: 1;
+ color: GENLIST_LIST_LINE1_COLOR;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: 0 -1;
+ to: "base";
+ }
+ rel2.to: "base";
+ }
+ }
+ part { name: "base.padding.left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1.to: "base";
+ rel2 {
+ relative: 0 1;
+ to: "base";
+ }
+ }
+ }
+ part { name: "base.padding.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_16_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1 {
+ relative: 1 0;
+ to: "base";
+ }
+ rel2.to: "base";
+ }
+ }
+ part { name: "base.padding.bottom";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 7;
+ fixed: 0 1;
+ visible: 0;
+ align: 0.5 1;
+ rel1 {
+ relative: 0 1;
+ to: "base";
+ }
+ rel2 {
+ relative: 1 1;
+ to: "base";
+ }
+ }
+ }
+ part { name: "elm.slide.text.1";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_57_INC;
+ fixed: 0 1;
+ align: 0.5 0;
+ rel1 {
+ relative: 1 0;
+ to_x: "base.padding.left";
+ to_y: "base";
+ }
+ rel2 {
+ relative: 0 0;
+ to_x: "base.padding.right";
+ to_y: "base";
+ }
+ color: GENLIST_TEXT_COLOR_SWEEP_STYLE;
+ text {
+ font: "Tizen:style=Roman";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part { name: "base.padding.center";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_13_INC 0;
+ fixed: 1 0;
+ visible: 0;
+ align: 0.5 0.5;
+ rel1 {
+ relative: 0.5 1;
+ to_x: "base";
+ to_y: "elm.slide.text.1";
+ }
+ rel2 {
+ relative: 0.5 0;
+ to_x: "base";
+ to_y: "base.padding.bottom";
+ }
+ }
+ }
+ part { name: "elm.slide.swallow.2";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
+ max: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1.to: "base.padding.center";
+ rel2 {
+ relative: 0 1;
+ to: "base.padding.center";
+ }
+ }
+ }
+ part { name: "elm.padding.swallow.2.left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_13_INC 0;
+ fixed: 1 0;
+ align: 1 0.5;
+ visible: 0;
+ rel1.to: "elm.slide.swallow.2";
+ rel2 {
+ relative: 0 1;
+ to: "elm.slide.swallow.2";
+ }
+ }
+ }
+ part { name: "elm.slide.swallow.1";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
+ max: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1.to: "elm.padding.swallow.2.left";
+ rel2 {
+ relative: 0 1;
+ to: "elm.padding.swallow.2.left";
+ }
+ }
+ }
+ part { name: "elm.slide.swallow.3";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
+ max: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 {
+ relative: 1 0;
+ to: "base.padding.center";
+ }
+ rel2.to: "base.padding.center";
+ }
+ }
+ part { name: "elm.padding.swallow.3.right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_13_INC 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ visible: 0;
+ rel1 {
+ relative: 1 0;
+ to: "elm.slide.swallow.3";
+ }
+ rel2.to: "elm.slide.swallow.2";
+ }
+ }
+ part { name: "elm.slide.swallow.4";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
+ max: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 {
+ relative: 1 0;
+ to: "elm.padding.swallow.3.right";
+ }
+ rel2.to: "elm.padding.swallow.3.right";
+ }
+ }
+ // Transparent part between base parts and slidable parts
+ part { name: "event_block_layer";
+ type: RECT;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ color: 0 0 0 0;
+ }
+ description { state: "repeat_events" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ // Swallow part for original genlist item style
+ part { name: "elm.swallow.origin";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ description { state: "slide" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1 0;
+ rel2.relative: 2 1;
+ }
+ }
+ part { name: "disclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ }
+ programs {
+ program {
+ name: "slide_right";
+ signal: "elm,state,slide,active";
+ source: "elm";
+ action: STATE_SET "slide" 0.0;
+ target: "elm.swallow.origin";
+ transition: ACCELERATE 0.5;
+ after: "unblock_event";
+ }
+ program {
+ name: "unblock_event";
+ action: STATE_SET "repeat_events" 0.0;
+ target: "event_block_layer";
+ }
+ program {
+ name: "slide_left";
+ signal: "elm,state,slide,passive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "event_block_layer";
+ after: "slide_left2";
+ }
+ program {
+ name: "slide_left2";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.origin";
+ transition: DECELERATE 0.5;
+ after: "slide_left_finished";
+ }
+ program {
+ name: "slide_left_finished";
+ action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
+ }
+ }
+ }
+#endif
\ No newline at end of file
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+/*
+ * vim:ts=3
+*/
+
+#define STYLE_TAG \
+ tag: "br" "\n";\
+ tag: "ps" "ps";\
+ tag: "tab" "\t";\
+ tag: "b" "+ font=Tizen:style=Bold";
+
+#define STYLE_TAG_MATCH \
+ tag: "match" GENLIST_PART_MATCH_TAG_COLOR;
+
+// FIXME: Why this is needed? just don't use match color, right? damn textblock bug...
+#define STYLE_TAG_MATCH_FOCUS \
+ tag: "match" GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE;
+
+styles {
+ // ********************** dialgoue group help text
+ style { name: "genlist_style_dialogue_group_help_text";
+ base: "font=Tizen:style=Medium font_size="GENLIST_DIALOGUE_GROUP_HELP_TEXT_SIZE" color="GENLIST_DIALOGUE_GROUP_HELP_TEXT_COLOR_STYLE" text_class=list_item wrap=mixed";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ // ********************** list main text
+ style { name: "genlist_style_list_main_text_unread";
+ base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "genlist_style_list_main_text_unread_dim";
+ base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "genlist_style_list_main_text_read";
+ base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_READ_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "genlist_style_list_main_text_read_dim";
+ base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_READ_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "genlist_style_list_main_text_focus";
+ base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH_FOCUS
+ }
+ // ********************** list main text (multiline)
+ style { name: "genlist_style_list_main_text_unread_wrap";
+ base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR_STYLE" text_class=tizen wrap=mixed";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "genlist_style_list_main_text_unread_dim_wrap";
+ base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE" text_class=tizen wrap=mixed";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "genlist_style_list_main_text_focus_wrap";
+ base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE" text_class=tizen wrap=mixed";
+ STYLE_TAG
+ STYLE_TAG_MATCH_FOCUS
+ }
+ // ********************** list sub text
+ style { name: "genlist_style_list_sub_text_default";
+ base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR_STYLE" text_class=tizen ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "genlist_style_list_sub_text_default_dim";
+ base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR_STYLE" text_class=tizen ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH_FOCUS
+ }
+ style { name: "genlist_style_list_sub_text_settings";
+ base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR_STYLE" text_class=tizen ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "genlist_style_list_sub_text_settings_dim";
+ base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR_STYLE" text_class=tizen ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "genlist_style_list_sub_text_focus";
+ base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0";
+ STYLE_TAG
+ STYLE_TAG_MATCH_FOCUS
+ }
+ // ********************** list sub text (multiline)
+ style { name: "genlist_style_list_sub_text_default_wrap";
+ base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR_STYLE" text_class=tizen wrap=mixed";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "genlist_style_list_sub_text_default_dim_wrap";
+ base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR_STYLE" text_class=tizen wrap=mixed";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+ style { name: "genlist_style_list_sub_text_focus_wrap";
+ base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE" text_class=tizen wrap=mixed";
+ STYLE_TAG
+ STYLE_TAG_MATCH
+ }
+}
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+ group { name: "elm/index/base/vertical/default";
+ script {
+ public timer_flag;
+ public index_hide_timer(val) {
+ if (get_int(timer_flag) == 1)
+ run_program(PROGRAM:"index0.inactive");
+ return 0;
+ }
+ }
+ images {
+ image: "00_fast_scroll_popup_bg.png" COMP;
+ }
+ data{
+ item: "min_obj_height" "32";
+ item: "min_1st_level_obj_height" "32";
+ item: "special_char" "*";
+ }
+ parts {
+ part { name: "clip";
+ scale: 1;
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "active" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "clip2";
+ scale: 1;
+ type: RECT;
+ mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "active" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "elm.dragable.index.1";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "elm.swallow.index.0";
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 20 38;
+ rel1 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "elm.swallow.index.0";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "elm.swallow.index.0";
+ }
+ }
+ }
+ part { name: "elm.swallow.index.1.padding.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: INDEX_LEVEL_PADDING_INC 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ offset: 0 0;
+ }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.index.1";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "clip2";
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 {
+ to_y: "elm.dragable.index.1";
+ relative: 1.0 0.5;
+ offset: -1 0;
+ }
+ rel2 {
+ to_y: "elm.dragable.index.1";
+ relative: 1.0 0.5;
+ offset: -1 -1;
+ }
+ color: 255 255 255 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to_x: "elm.swallow.index.1.padding.right";
+ relative: 0.0 0.5;
+ offset: 0 0;
+ }
+ rel2 {
+ to_x: "elm.swallow.index.1.padding.right";
+ relative: 0.0 0.5;
+ offset: 0 -1;
+ }
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "elm.swallow.index.0";
+ type: SWALLOW;
+ clip_to: "clip";
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 1;
+ align: 1.0 0.5;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.5;
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ }
+ color: 255 255 255 50;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "button_image_padding";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 0 0;
+ max: 0 0;
+ fixed: 0 1;
+ rel1 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ }
+ }
+ }
+ part { name: "button_image";
+ scale: 1;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ min: INDEX_1ST_LEVEL_POPUP_WIDTH_INC INDEX_POPUP_HEIGHT_INC;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.text";
+ relative: 0.0 0.0;
+ offset: -10 0;
+ }
+ rel2 {
+ to: "elm.text";
+ relative: 1.067 1.083;
+ offset: 10 0;
+ }
+ image {
+ normal: "00_fast_scroll_popup_bg.png";
+ border: INDEX_POPUP_BG_NINEPATCH_INC;
+ border_scale: 1;
+ }
+ image.middle: 1;
+ }
+ description { state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "index1" 0.0;
+ inherit: "default" 0.0;
+ min: INDEX_2ND_LEVEL_POPUP_WIDTH_INC INDEX_POPUP_HEIGHT_INC;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: "TEXT";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clip";
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ min: 40 20;
+ visible: 0;
+ rel1 {
+ to_y: "button_image_padding";
+ relative: 0.5 1.0;
+ }
+ rel2 {
+ to_y: "button_image_padding";
+ relative: 0.5 1.0;
+ }
+ color: INDEX_POPUP_TEXT_COLOR_INC;
+ color3: 0 0 0 64;
+ text {
+ font: "Tizen:style=Medium";
+ size: INDEX_POPUP_TEXT_SIZE_INC;
+ min: 1 1;
+ text_class: "tizen";
+ }
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.dragable.pointer";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ }
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 8 8;
+ max: 8 8;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.event.0.bottom.padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 SOFTKEY_H;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ rel1{
+ relative: 1.0 1.0; offset: 0 0;
+ }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.event.0";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: -1 0;
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -1 -1;
+ to_y: "elm.swallow.event.0.bottom.padding";
+ }
+ }
+ }
+ part { name: "elm.swallow.event.1";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.index.1";
+ relative: 0.0 0.0;
+ offset: -1 0;
+ }
+ rel2 {
+ to: "elm.swallow.index.1";
+ relative: 0.0 1.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "load";
+ signal: "load";
+ source: "";
+ script {
+ run_program(PROGRAM:"initial.index0.active");
+ run_program(PROGRAM:"button.image.hidden");
+ timer(2.0, "index_hide_timer", 0);
+ }
+ }
+ program { name: "drag2";
+ signal: "drag,set";
+ source: "elm.dragable.index.1";
+ script {
+ new Float:dx;
+ new Float:dy;
+ get_drag(PART:"elm.dragable.index.1", dx, dy);
+ custom_state(PART:"elm.dragable.index.1", "default", 0.0);
+ set_state_val(PART:"elm.dragable.index.1", STATE_ALIGNMENT, 0.5, dy);
+ }
+ }
+ program { name: "index0.active";
+ signal: "elm,state,active";
+ source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: DECELERATE 0.3;
+ target: "elm.swallow.index.0";
+ target: "clip";
+ after: "disable_timer";
+ }
+ program { name: "initial.index0.active";
+ action: STATE_SET "active" 0.0;
+ transition: DECELERATE 0.3;
+ target: "elm.swallow.index.0";
+ target: "clip";
+ after: "enable_timer";
+ }
+ program { name: "index0.inactive";
+ signal: "elm,state,inactive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.3;
+ target: "elm.swallow.index.0";
+ target: "clip";
+ }
+ program { name: "index1.inactive";
+ signal: "elm,state,level,0";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.3;
+ target: "elm.swallow.index.1";
+ target: "clip2";
+ }
+ program { name: "index1.active";
+ signal: "elm,state,level,1";
+ source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: DECELERATE 0.3;
+ target: "elm.swallow.index.1";
+ target: "clip2";
+ }
+ program { name: "index.active";
+ signal: "elm,indicator,state,active";
+ source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip2";
+ target: "elm.swallow.index.0";
+ target: "clip";
+ target: "elm.text";
+ target: "button_image";
+ }
+ program { name: "index.inactive";
+ signal: "elm,indicator,state,inactive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip2";
+ }
+ program { name: "button.image.hidden";
+ signal: "elm,state,button,image,hide";
+ source: "elm";
+ action: STATE_SET "invisible" 0.0;
+ target: "button_image";
+ }
+ program { name: "disable_timer";
+ script {
+ set_int(timer_flag, 0);
+ }
+ }
+ program { name: "enable_timer";
+ script {
+ set_int(timer_flag, 1);
+ }
+ }
+ }
+ }
+
+ group { name: "elm/index/item/vertical/default";
+ alias: "elm/index/item_odd/vertical/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ images {
+ image: "00_fast_scroll_rollover_bg_focus.png" COMP;
+ }
+ parts {
+ part { name: "scroll.bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: INDEX_SCROLL_BG_COLOR_INC;
+ }
+ description {
+ state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "bottom.line";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 {
+ relative: 0.0 1.0; offset: 0 -1;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ }
+ color: INDEX_BOTTOM_LINE_COLOR_INC;
+ }
+ }
+ part { name: "left.line";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 0.0 1.0; offset: 1 0;
+ }
+ color: INDEX_LEFT_LINE_COLOR_INC;
+ }
+ description {
+ state: "active" 0.0;
+ rel1 {
+ relative: 0.0 0.0; offset: 0 -INDEX_ITEM_HEIGHT_INC;
+ }
+ rel2 {
+ relative: 0.0 1.0; offset: 1 +INDEX_ITEM_HEIGHT_INC;
+ }
+ color: INDEX_SCROLL_BG_COLOR_INC;
+ }
+ }
+ part { name: "item.bg";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 0.0 0.0; offset: 0 -INDEX_ITEM_HEIGHT_INC;
+ }
+ rel2 {
+ relative: 1.0 1.0; offset: 0 +INDEX_ITEM_HEIGHT_INC;
+ }
+ image {
+ normal: "00_fast_scroll_rollover_bg_focus.png";
+ border: INDEX_BG_NINEPATCH_INC;
+ border_scale: 1;
+ }
+ }
+ description {
+ state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ min: INDEX_ITEM_WIDTH_INC INDEX_ITEM_HEIGHT_INC;
+ align: 0.5 0.5;
+ state: "default" 0.0;
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ }
+ color: INDEX_ROLLOVER_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Bold";
+ size: INDEX_ROLLOVER_TEXT_SIZE_INC;
+ min: 1 1;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ color: INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC;
+ }
+ }
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,active";
+ source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: DECELERATE 0.0;
+ target: "elm.text";
+ target: "item.bg";
+ target: "left.line";
+ target: "scroll.bg";
+ }
+ program { name: "inactive";
+ signal: "elm,state,inactive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.0;
+ target: "elm.text";
+ target: "item.bg";
+ target: "left.line";
+ target: "scroll.bg";
+ }
+ }
+ }
+ group {
+ name: "elm/index/base/vertical/pagecontrol";
+ alias: "elm/index/base/horizontal/pagecontrol";
+ parts {
+ part { name: "clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "active" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "elm.swallow.index.0";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "clip";
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1.relative: 0.5 0.5;
+ rel2.relative: 0.5 0.5;
+ }
+ }
+ part { name: "elm.swallow.event.0";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ }
+ }
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,active";
+ source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip";
+ }
+ program { name: "inactive";
+ signal: "elm,state,inactive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip";
+ }
+ }
+ }
+ group {
+ name: "elm/index/item/vertical/pagecontrol";
+ alias: "elm/index/item_odd/vertical/pagecontrol";
+ alias: "elm/index/item/horizontal/pagecontrol";
+ alias: "elm/index/item_odd/horizontal/pagecontrol";
+ images {
+ image: "00_page_indicator_01.png" COMP;
+ image: "00_page_indicator_02.png" COMP;
+ }
+ parts {
+ part { name:"bg";
+ type : RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: INDEX_PAGECONTROL_IND_INC;
+ max: INDEX_PAGECONTROL_IND_INC;
+ visible: 0;
+ align: 0.5 0.5;
+ }
+ }
+ part { name: "indicator1";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ min: INDEX_PAGECONTROL_IND_MIN_INC;
+ max: INDEX_PAGECONTROL_IND_MIN_INC;
+ image {
+ normal: "00_page_indicator_02.png";
+ }
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "indicator2";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ min: INDEX_PAGECONTROL_IND_MIN_INC;
+ max: INDEX_PAGECONTROL_IND_MIN_INC;
+ image.normal: "00_page_indicator_01.png";
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,active";
+ source: "elm";
+ action: STATE_SET "active" 0.0;
+ target: "indicator1";
+ target: "indicator2";
+ transition: LINEAR 0.2;
+ }
+ program { name: "inactive";
+ signal: "elm,state,inactive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "indicator1";
+ target: "indicator2";
+ transition: LINEAR 0.2;
+ }
+ }
+ }
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+#define TEXT_SLIDE_DURATION 10
+
+ styles {
+ style { name: "textblock_style";
+ base: "font=Tizen:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_BLOCK_STYLE_COLOR_INC" text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "tab" "\t";
+ }
+ style { name: "naviframe_title_style";
+ base: "font=Tizen:style=Medium font_size="NAVIFRAME_TITLE_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "tab" "\t";
+ }
+ /* label doesn't use it */
+ style { name: "textblock_charwrap_style";
+base: "font=Tizen:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_BLOCK_STYLE_COLOR_INC" text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "tab" "\t";
+ }
+ }
+
+ group { name: "elm/label/base/default";
+ parts {
+ part { name: "label.text.clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ text {
+ style: "textblock_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ }
+ }
+
+ /* default label doesn't use it */
+ group { name: "elm/label/base_wrap/default";
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ multiline: 1;
+ description { state: "default" 0.0;
+ text {
+ style: "textblock_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "charwrap_mode" 0.0;
+ text {
+ style: "textblock_charwrap_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "default_on";
+ signal: "elm,state,default";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "charwrap_on";
+ signal: "elm,state,charwrap";
+ source: "elm";
+ action: STATE_SET "charwrap_mode" 0.0;
+ target: "elm.text";
+ }
+ } // end programs
+ } // end group
+
+ /* default label doesn't use it */
+ group { name: "elm/label/base_wrap_ellipsis/default";
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ multiline: 1;
+ description { state: "default" 0.0;
+ // FIXME : fixed for multiline ellipsis.
+ // does it need to make another ellipsis style?
+ fixed: 0 1;
+ text {
+ style: "textblock_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "charwrap_mode" 0.0;
+ // FIXME : fixed for multiline ellipsis.
+ // does it need to make another ellipsis style?
+ fixed: 0 1;
+ text {
+ style: "textblock_charwrap_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "default_on";
+ signal: "elm,state,default";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "charwrap_on";
+ signal: "elm,state,charwrap";
+ source: "elm";
+ action: STATE_SET "charwrap_mode" 0.0;
+ target: "elm.text";
+ }
+ } // end programs
+ } // end group
+
+ group { name: "elm/label/base/marker";
+ styles {
+ style { name: "textblock_style2";
+ base: "font=Tizen:style=Bold font_size=14 align=center color=#fff wrap=word text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ color=#ffff";
+ tag: "b" "+ color=#ffff";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ text {
+ style: "textblock_style2";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ }
+ }
+
+ /* default label doesn't use it */
+ group { name: "elm/label/base_wrap/marker";
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ multiline: 1;
+ description { state: "default" 0.0;
+ text {
+ style: "textblock_style2";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ }
+ }
+
+ group { name: "elm/label/base/slide_long";
+ script {
+ public g_duration, g_stopslide, g_timer_id, g_anim_id;
+
+ public message(Msg_Type:type, id, ...) {
+ if ((type == MSG_FLOAT_SET) && (id == 0)) {
+ new Float:duration;
+ duration = getfarg(2);
+ set_float(g_duration, duration);
+ }
+ }
+ public slide_to_end_anim(val, Float:pos) {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
+ if (pos >= 1.0) {
+ id = timer(0.5, "slide_to_begin", 1);
+ set_int(g_timer_id, id);
+ }
+ }
+ public slide_to_end() {
+ new stopflag;
+ new id;
+ new Float:duration;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ duration = get_float(g_duration);
+ id = anim(duration, "slide_to_end_anim", 1);
+ set_int(g_anim_id, id);
+ }
+ public slide_to_begin() {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ id = timer(0.5, "slide_to_end", 1);
+ set_int(g_timer_id, id);
+ }
+ public start_slide() {
+ set_int(g_stopslide, 0);
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ slide_to_end();
+ }
+ public stop_slide() {
+ new id;
+ set_int(g_stopslide, 1);
+ id = get_int(g_anim_id);
+ cancel_anim(id);
+ id = get_int(g_timer_id);
+ cancel_timer(id);
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+
+ parts {
+ part { name: "label.text.clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ text {
+ style: "textblock_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "slide_end" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 1.0 0.0;
+ text {
+ style: "textblock_style";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "slide_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ text {
+ style: "textblock_style";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "start_slide";
+ source: "elm";
+ signal: "elm,state,slide,start";
+ script {
+ start_slide();
+ }
+ }
+ program { name: "stop_slide";
+ source: "elm";
+ signal: "elm,state,slide,stop";
+ script {
+ stop_slide();
+ }
+ }
+ }
+ }
+
+ group { name: "elm/label/base/slide_short";
+ script {
+ public g_duration, g_stopslide, g_timer_id, g_anim_id;
+
+ public message(Msg_Type:type, id, ...) {
+ if ((type == MSG_FLOAT_SET) && (id == 0)) {
+ new Float:duration;
+ duration = getfarg(2);
+ set_float(g_duration, duration);
+ }
+ }
+ public slide_to_end_anim(val, Float:pos) {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
+ if (pos >= 1.0) {
+ id = timer(0.5, "slide_to_begin", 1);
+ set_int(g_timer_id, id);
+ }
+ }
+ public slide_to_end() {
+ new stopflag;
+ new id;
+ new Float:duration;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ duration = get_float(g_duration);
+ id = anim(duration, "slide_to_end_anim", 1);
+ set_int(g_anim_id, id);
+ }
+ public slide_to_begin() {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ id = timer(0.5, "slide_to_end", 1);
+ set_int(g_timer_id, id);
+ }
+ public start_slide() {
+ set_int(g_stopslide, 0);
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ slide_to_end();
+ }
+ public stop_slide() {
+ new id;
+ set_int(g_stopslide, 1);
+ id = get_int(g_anim_id);
+ cancel_anim(id);
+ id = get_int(g_timer_id);
+ cancel_timer(id);
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+
+ parts {
+ part { name: "label.text.clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ text {
+ style: "textblock_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "slide_end" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 1.0 0.0;
+ text {
+ style: "textblock_style";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "slide_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.0;
+ text {
+ style: "textblock_style";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "start_slide";
+ source: "elm";
+ signal: "elm,state,slide,start";
+ script {
+ start_slide();
+ }
+ }
+ program { name: "stop_slide";
+ source: "elm";
+ signal: "elm,state,slide,stop";
+ script {
+ stop_slide();
+ }
+ }
+ }
+ }
+
+ group { name: "elm/label/base/slide_bounce";
+ script {
+ public g_duration, g_stopslide, g_timer_id, g_anim_id;
+
+ public message(Msg_Type:type, id, ...) {
+ if ((type == MSG_FLOAT_SET) && (id == 0)) {
+ new Float:duration;
+ duration = getfarg(2);
+ set_float(g_duration, duration);
+ }
+ }
+ public slide_to_end_anim(val, Float:pos) {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
+ if (pos >= 1.0) {
+ id = timer(0.5, "slide_to_begin", 1);
+ set_int(g_timer_id, id);
+ }
+ }
+ public slide_to_end() {
+ new stopflag;
+ new id;
+ new Float:duration;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ duration = get_float(g_duration);
+ id = anim(duration, "slide_to_end_anim", 1);
+ set_int(g_anim_id, id);
+ }
+ public slide_to_begin_anim(val, Float:pos) {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
+ if (pos >= 1.0) {
+ id = timer(0.5, "slide_to_end", 1);
+ set_int(g_timer_id, id);
+ }
+ }
+ public slide_to_begin() {
+ new stopflag;
+ new id;
+ new Float:duration;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ duration = get_float(g_duration);
+ id = anim(duration, "slide_to_begin_anim", 1);
+ set_int(g_anim_id, id);
+ }
+ public start_slide() {
+ set_int(g_stopslide, 0);
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ slide_to_end();
+ }
+ public stop_slide() {
+ new id;
+ set_int(g_stopslide, 1);
+ id = get_int(g_anim_id);
+ cancel_anim(id);
+ id = get_int(g_timer_id);
+ cancel_timer(id);
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+
+ parts {
+ part { name: "label.text.clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ text {
+ style: "textblock_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "slide_end" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 1.0 0.0;
+ text {
+ style: "textblock_style";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "slide_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.0;
+ text {
+ style: "textblock_style";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "start_slide";
+ source: "elm";
+ signal: "elm,state,slide,start";
+ script {
+ start_slide();
+ }
+ }
+ program { name: "stop_slide";
+ source: "elm";
+ signal: "elm,state,slide,stop";
+ script {
+ stop_slide();
+ }
+ }
+ }
+ }
+
+ group { name: "elm/label/base/naviframe_title";
+ script {
+ public g_duration, g_stopslide, g_timer_id, g_anim_id;
+
+ public message(Msg_Type:type, id, ...) {
+ if ((type == MSG_FLOAT_SET) && (id == 0)) {
+ new Float:duration;
+ duration = getfarg(2);
+ set_float(g_duration, duration);
+ }
+ }
+ public slide_end_pending(val, Float:pos) {
+ if (pos >= 1.0) {
+ stop_slide();
+ emit("elm,state,slide,end", "");
+ }
+ }
+ public slide_to_end_anim(val, Float:pos) {
+ new stopflag;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
+ if (pos >= 1.0)
+ anim(1, "slide_end_pending", 1);
+ }
+ public slide_to_end() {
+ new stopflag;
+ new id;
+ new Float:duration;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ duration = get_float(g_duration);
+ id = anim(duration, "slide_to_end_anim", 1);
+ set_int(g_anim_id, id);
+ }
+ public slide_to_begin() {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ id = timer(0.5, "slide_to_end", 1);
+ set_int(g_timer_id, id);
+ }
+ public start_slide() {
+ set_int(g_stopslide, 0);
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ slide_to_end();
+ }
+ public stop_slide() {
+ new id;
+ set_int(g_stopslide, 1);
+ id = get_int(g_anim_id);
+ cancel_anim(id);
+ id = get_int(g_timer_id);
+ cancel_timer(id);
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+
+ parts {
+ part { name: "label.text.clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ text {
+ style: "naviframe_title_style";
+ min: 0 1;
+ }
+ }
+ description { state: "slide_end" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 1.0 0.0;
+ text {
+ style: "naviframe_title_style";
+ min: 1 1;
+ }
+ }
+ description { state: "slide_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.0;
+ text {
+ style: "naviframe_title_style";
+ min: 1 1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "start_slide";
+ source: "elm";
+ signal: "elm,state,slide,start";
+ script {
+ start_slide();
+ }
+ }
+ program { name: "stop_slide";
+ source: "elm";
+ signal: "elm,state,slide,stop";
+ script {
+ stop_slide();
+ }
+ }
+ }
+ }
+
+
+ group { name: "elm/label/base/datetime";
+ inherit: "elm/label/base/default";
+ parts {
+ part { name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ color: DATETIME_LABEL_TEXT_BLOCK_STYLE_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: DATETIME_TEXT_FONT_SIZE_INC;
+ text_class: "tizen";
+ min: 1 0;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: DATETIME_LABEL_TEXT_BLOCK_STYLE_SELECTED_COLOR_INC;
+ }
+ }
+ }
+ programs {
+ program { name: "label_select";
+ signal: "elm,state,select";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ }
+ program { name: "label_unselect";
+ signal: "elm,state,unselect";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+ /*************************************************/
+ /* elm_layout -> fundamental template style */
+ /*************************************************/
+ group { name: "elm/layout/application/default";
+ alias: "elm/layout/application/noindicator";
+ parts {
+ part { name: "elm.swallow.bg";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ }
+ //Might be no need anymore
+ part { name: "elm.swallow.controlbar";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ }
+ }
+ /*************************************************************************/
+ /* elm_layout -> fundamental template style with controlbar (deprecated) */
+ /*************************************************************************/
+ group { name: "elm/layout/application/controlbar";
+ parts {
+ part { name: "elm.swallow.bg";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel2.relative: 1.0 0.0;
+ rel2.to: "elm.swallow.controlbar";
+ }
+ }
+ part { name: "elm.swallow.controlbar";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 CONTROLBAR_LARGE_HEIGHT_INC;
+ fixed: 0 1;
+ rel1 { relative: 0.0 1.0; }
+ rel2 { relative: 1.0 1.0; }
+ align: 0.5 1.0;
+ }
+ }
+ }
+ }
+ /************************************************************/
+ /* elm_layout -> fundamental template style with tabbar */
+ /************************************************************/
+ group { name: "elm/layout/application/tabbar";
+ alias: "elm/layout/tabbar/default";
+ parts {
+ part { name: "elm.swallow.bg";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.tabbar";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 TABBAR_DEFAULT_HEIGHT_INC;
+ fixed: 0 1;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 0.0; }
+ align: 0.5 0.0;
+ }
+ description { state: "icon_text" 0.0;
+ inherit: "default" 0.0;
+ min: 0 TABBAR_ICON_TEXT_HEIGHT_INC;
+ }
+ description { state: "horizontal" 0.0;
+ inherit: "default" 0.0;
+ min: 0 TABBAR_HORIZONTAL_HEIGHT_INC;
+ }
+ description { state: "horizontal_icon_text" 0.0;
+ inherit: "default" 0.0;
+ min: 0 TABBAR_HORIZONTAL_ICON_TEXT_HEIGHT_INC;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to_y: "elm.swallow.tabbar";
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ }
+ programs {
+ program { name: "show_tabbar";
+ signal: "elm,state,show,tabbar";
+ signal: "elm,state,default,tabbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.tabbar";
+ }
+ program { name: "hide_tabbar";
+ signal: "elm,state,hide,tabbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.swallow.tabbar";
+ }
+ program { name: "icon_text_tabbar";
+ signal: "elm,state,icon_text,tabbar";
+ source: "elm";
+ action: STATE_SET "icon_text" 0.0;
+ target: "elm.swallow.tabbar";
+ }
+ program { name: "horizontal_tabbar";
+ signal: "elm,state,horizontal,tabbar";
+ source: "elm";
+ action: STATE_SET "horizontal" 0.0;
+ target: "elm.swallow.tabbar";
+ }
+ program { name: "horizontal_icon_text_tabbar";
+ signal: "elm,state,horizontal_icon_text,tabbar";
+ source: "elm";
+ action: STATE_SET "horizontal_icon_text" 0.0;
+ target: "elm.swallow.tabbar";
+ }
+ }
+ }
+
+ /*************************************************/
+ /* elm_layout -> searchbar style */
+ /*************************************************/
+ group { name: "elm/layout/application/searchbar_base";
+ parts {
+ part { name: "elm.swallow.bg";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "searchbar";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 SEARCHBAR_H_INC;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel2 {
+ relative: 1.0 0.0;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "searchbar";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "show_searchbar";
+ signal: "elm,state,show,searchbar";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "searchbar";
+ }
+ program { name: "show_searchbar_with_animation";
+ signal: "elm,state,show,searchbar,animation";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.3;
+ target: "searchbar";
+ }
+ program { name: "hide_searchbar";
+ signal: "elm,state,hide,searchbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "searchbar";
+ }
+ program { name: "hide_searchbar_with_animation";
+ signal: "elm,state,hide,searchbar,animation";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: ACCELERATE 0.3;
+ target: "searchbar";
+ }
+ }
+ }
+
+ /*************************************************/
+ /* elm_layout -> integrated style (deprecated) */
+ /*************************************************/
+ group { name: "elm/standard/window/integration";
+ parts {
+ /* for event blocking */
+ part { name: "base_event";
+ type: RECT;
+ repeat_events: 0;
+ description { state: "default" 0.0;
+ visible: 1;
+ color: 0 0 0 0;
+ }
+ description { state: "block_events" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "repeat_events" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "base";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: LAYOUT_BG_COLOR_INC;
+ }
+ description { state: "white_bg" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "black_bg" 0.0;
+ color: 0 0 0 255;
+ }
+ description { state: "beige_bg" 0.0;
+ color: 246 245 237 255;
+ }
+ description { state: "group_list_bg" 0.0;
+ color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
+ }
+ description { state: "transparent_bg" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "edit_mode" 0.0;
+ color: LAYOUT_EDIT_MODE_BG_COLOR_INC;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "show_with_navi_bar" 0.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 0.0 1.0; to_y: "elm.swallow.navi_bar"; }
+ visible: 1;
+ }
+ description { state: "show" 1.0;
+ inherit: "default" 0.0;
+ rel2 { relative: 1.0 0.0; to_y: "elm.swallow.controlbar"; }
+ visible: 1;
+ }
+ description { state: "show_with_navi_bar" 1.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 0.0 1.0; to_y: "elm.swallow.navi_bar"; }
+ rel2 { relative: 1.0 0.0; to_y: "elm.swallow.controlbar"; }
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.navi_bar";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 NAVIFRAME_TITLE_H_INC;
+ fixed: 0 1;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 0.0; }
+ align: 0.5 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.controlbar";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 CONTROLBAR_LARGE_HEIGHT_INC;
+ fixed: 0 1;
+ rel1 { relative: 0.0 1.0; }
+ rel2 { relative: 1.0 1.0; }
+ align: 0.5 1.0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "block_events";
+ signal: "elm,base_event,block_events";
+ source: "elm";
+ action: STATE_SET "block_events" 0.0;
+ target: "base_event";
+ }
+ program { name: "repeat_events";
+ signal: "elm,base_event,repeat_events";
+ source: "elm";
+ action: STATE_SET "repeat_events" 0.0;
+ target: "base_event";
+ }
+ program { name: "show_default_bg";
+ signal: "elm,bg,show,default";
+ source: "elm";
+ script {
+ set_state(PART:"base", "default", 0.0);
+ }
+ }
+ program { name: "show_black_bg";
+ signal: "elm,bg,show,black";
+ source: "elm";
+ script {
+ set_state(PART:"base", "black_bg", 0.0);
+ }
+ }
+ program { name: "show_white_bg";
+ signal: "elm,bg,show,white";
+ source: "elm";
+ script {
+ set_state(PART:"base", "white_bg", 0.0);
+ }
+ }
+ program { name: "show_beige_bg";
+ signal: "elm,bg,show,beige";
+ source: "elm";
+ script {
+ set_state(PART:"base", "beige_bg", 0.0);
+ }
+ }
+ program { name: "show_group_list_bg";
+ signal: "elm,bg,show,group_list";
+ source: "elm";
+ script {
+ set_state(PART:"base", "group_list_bg", 0.0);
+ }
+ }
+ program { name: "show_transparent_bg";
+ signal: "elm,bg,show,transparent";
+ source: "elm";
+ script {
+ set_state(PART:"base", "transparent_bg", 0.0);
+ }
+ }
+ program { name: "show_edit_mode_bg";
+ signal: "elm,bg,show,edit_mode";
+ source: "elm";
+ script {
+ set_state(PART:"base", "edit_mode", 0.0);
+ }
+ }
+ program { name: "show_navi_bar";
+ signal: "elm,state,show,navi_bar";
+ source: "elm";
+ script {
+ set_state(PART:"elm.swallow.navi_bar", "show", 0.0);
+ run_program(PROGRAM:"check_location");
+ }
+ }
+ program { name: "hide_navi_bar";
+ signal: "elm,state,hide,navi_bar";
+ source: "elm";
+ script {
+ set_state(PART:"elm.swallow.navi_bar", "default", 0.0);
+ run_program(PROGRAM:"check_location");
+ }
+ }
+ program { name: "show_content";
+ signal: "elm,state,show,content";
+ source: "elm";
+ script {
+ set_state(PART:"elm.swallow.content", "show", 0.0);
+ run_program(PROGRAM:"check_location");
+ }
+ }
+ program { name: "hide_content";
+ signal: "elm,state,hide,content";
+ source: "elm";
+ script {
+ set_state(PART:"elm.swallow.content", "hide", 0.0);
+ run_program(PROGRAM:"check_location");
+ }
+ }
+ program { name: "show_controlbar";
+ signal: "elm,state,show,controlbar";
+ source: "elm";
+ script {
+ set_state(PART:"elm.swallow.controlbar", "show", 0.0);
+ run_program(PROGRAM:"check_location");
+ }
+ }
+ program { name: "hide_controlbar";
+ signal: "elm,state,hide,controlbar";
+ source: "elm";
+ script {
+ set_state(PART:"elm.swallow.controlbar", "default", 0.0);
+ run_program(PROGRAM:"check_location");
+ }
+ }
+ program { name: "check_location";
+ script {
+ new st[30];
+ new Float:vl;
+ new navi_bar = 0, content = 0, controlbar = 0;
+
+ get_state(PART:"elm.swallow.navi_bar", st, 30, vl)
+ if (!strncmp(st, "show", 4)) navi_bar = 1;
+ get_state(PART:"elm.swallow.content", st, 30, vl)
+ if (!strncmp(st, "show", 4)) content = 1;
+ get_state(PART:"elm.swallow.controlbar", st, 30, vl)
+ if (!strncmp(st, "show", 4)) controlbar = 1;
+
+ // set navi bar
+ if (navi_bar == 1) {
+ set_state(PART:"elm.swallow.navi_bar", "show", 0.0)
+ }
+
+ // set content
+ if (content == 1) {
+ if (navi_bar == 1) {
+ set_state(PART:"elm.swallow.content", "show_with_navi_bar", 0.0)
+ } else {
+ set_state(PART:"elm.swallow.content", "show", 0.0)
+ }
+ get_state(PART:"elm.swallow.content", st, 30, vl)
+
+ if (controlbar == 1) {
+ set_state(PART:"elm.swallow.content", st, 1.0)
+ }
+ }
+ }
+ }
+ }
+ }
+
+group { name: "elm/layout/editfield/default";
+ images {
+ image: "00_EditField_clear.png" COMP;
+ image: "00_EditField_clear_press.png" COMP;
+ }
+ parts {
+ part {
+ name: "base";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ min: 0 EDITFIELD_DEFAULT_MINH_INC;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "top1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0;
+ }
+ }
+ part {
+ name: "left1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_LEFT1_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1.relative : 0.0 0.0;
+ rel2.relative : 0.0 1.0;
+ }
+ }
+ part {
+ name: "right1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1.relative : 1.0 0.0;
+ rel2.relative : 1.0 1.0;
+ }
+ }
+ part {
+ name: "right2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1.relative : 1.0 0.0;
+ rel2.relative : 1.0 1.0;
+ }
+ }
+ part {
+ name: "bottom1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
+ fixed: 1 1;
+ align: 0 1;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ part {
+ name: "elm.guidetext";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: ENTRY_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ min: 0 40;
+ rel1 {
+ relative : 1.0 1.0;
+ to_x: "left1";
+ to_y: "top1";
+ }
+ rel2 {
+ relative : 0.0 0.0;
+ to_x: "right1";
+ to_y: "bottom1";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part {
+ name: "eraser_image";
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ }
+ }
+ description {
+ state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "00_EditField_clear.png";
+ border: 10 10 10 10;
+ border_scale: 1;
+ }
+ }
+ description {
+ state: "elm.eraser.pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "00_EditField_clear_press.png";
+ border: 8 8 8 8;
+ border_scale: 1;
+ }
+ }
+ }
+ part {
+ name: "eraser";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ }
+ }
+ description {
+ state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "guidetext_show";
+ signal: "elm,state,guidetext,show";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "guidetext_hide";
+ signal: "elm,state,guidetext,hide";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "eraser_show";
+ signal: "elm,state,eraser,show";
+ source: "elm";
+ action: STATE_SET "elm.eraser.show" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "eraser_hide";
+ signal: "elm,state,eraser,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "eraser_clicked";
+ signal: "mouse,clicked,1";
+ source: "eraser";
+ action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
+ }
+ program {
+ name: "eraser_pressed";
+ signal: "mouse,down,1";
+ source: "eraser";
+ action: STATE_SET "elm.eraser.pressed" 0.0;
+ target: "eraser_image";
+ }
+ program {
+ name: "eraser_unpressed";
+ signal: "mouse,up,1";
+ source: "eraser";
+ action: STATE_SET "elm.eraser.show" 0.0;
+ target: "eraser_image";
+ }
+ }
+}
+
+group { name: "elm/layout/editfield/title";
+ images {
+ image: "00_EditField_clear.png" COMP;
+ image: "00_EditField_clear_press.png" COMP;
+ }
+ parts {
+ part {
+ name: "base";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ min: 0 EDITFIELD_TITLE_MINH_INC;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "top1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0;
+ }
+ }
+ part {
+ name: "top2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_TOP2_INC;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0;
+ }
+ }
+ part {
+ name: "left1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_LEFT1_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1.relative : 0.0 0.0;
+ rel2.relative : 0.0 1.0;
+ }
+ }
+ part {
+ name: "left2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_LEFT2_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1.relative : 0.0 0.0;
+ rel2.relative : 0.0 1.0;
+ }
+ }
+ part {
+ name: "right1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1.relative : 1.0 0.0;
+ rel2.relative : 1.0 1.0;
+ }
+ }
+ part {
+ name: "right2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1.relative : 1.0 0.0;
+ rel2.relative : 1.0 1.0;
+ }
+ }
+ part {
+ name: "bottom1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
+ fixed: 1 1;
+ align: 0 1;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ part {
+ name: "bottom2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
+ fixed: 0 1;
+ rel1.relative: 0.0 1.0;
+ align: 0 1;
+ }
+ }
+ part {
+ name: "eraser_base";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "top1";
+ }
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 0 34;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "left2";
+ to_y: "top2";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "left2";
+ to_y: "top2";
+ }
+ color: EDITFIELD_TITLE_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: EDITFIELD_TITLE_SIZE_INC;
+ min: 1 1;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ }
+ }
+ part {
+ name: "elm.guidetext";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: ENTRY_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ min: 0 40;
+ rel1 {
+ relative : 1.0 1.0;
+ to_x: "left1";
+ to_y: "top1";
+ }
+ rel2 {
+ relative : 0.0 0.0;
+ to_x: "right1";
+ to_y: "bottom1";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part {
+ name: "eraser_image";
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ to_y : "eraser_base";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ to_y : "eraser_base";
+ }
+ }
+ description {
+ state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "00_EditField_clear.png";
+ border: 10 10 10 10;
+ border_scale: 1;
+ }
+ }
+ description {
+ state: "elm.eraser.pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "00_EditField_clear_press.png";
+ border: 8 8 8 8;
+ border_scale: 1;
+ }
+ }
+ }
+ part {
+ name: "eraser";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ to_y : "eraser_base";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ to_y : "eraser_base";
+ }
+ }
+ description {
+ state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "guidetext_show";
+ signal: "elm,state,guidetext,show";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "guidetext_hide";
+ signal: "elm,state,guidetext,hide";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "eraser_show";
+ signal: "elm,state,eraser,show";
+ source: "elm";
+ action: STATE_SET "elm.eraser.show" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "eraser_hide";
+ signal: "elm,state,eraser,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "eraser_clicked";
+ signal: "mouse,clicked,1";
+ source: "eraser";
+ action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
+ }
+ program {
+ name: "eraser_pressed";
+ signal: "mouse,down,1";
+ source: "eraser";
+ action: STATE_SET "elm.eraser.pressed" 0.0;
+ target: "eraser_image";
+ }
+ program {
+ name: "eraser_unpressed";
+ signal: "mouse,up,1";
+ source: "eraser";
+ action: STATE_SET "elm.eraser.show" 0.0;
+ target: "eraser_image";
+ }
+ }
+}
+
+group { name: "elm/layout/searchbar/default";
+ images {
+ image: "00_EditField_clear.png" COMP;
+ image: "00_EditField_clear_press.png" COMP;
+ image: "00_search_edit_field_bg.png" COMP;
+ image: "00_search_icon.png" COMP;
+ }
+ parts {
+ part { name: "inputfield_base";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "top_left_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: SEARCHBAR_LEFT_PADDING_INC SEARCHBAR_TOP_PADDING_INC;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "inputfield_base"; }
+ rel2 { relative: 0.0 0.0; to: "inputfield_base"; }
+ visible: 0;
+ }
+ }
+ part { name: "bottom_right_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: SEARCHBAR_RIGHT_PADDING_INC SEARCHBAR_BOTTOM_PADDING_INC;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ rel1 { relative: 1.0 1.0; to: "inputfield_base"; }
+ rel2 { relative: 1.0 1.0; to: "inputfield_base"; }
+ visible: 0;
+ }
+ }
+ part { name: "inputfield_rect";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 SEARCHBAR_HEIGHT_INC;
+ align: 0.0 0.5;
+ image {
+ normal: "00_search_edit_field_bg.png";
+ border: SEARCHBAR_INPUTFIELD_BORDER_INC;
+ }
+ rel1 { relative: 1.0 1.0; to: "top_left_padding"; }
+ rel2 { relative: 0.0 0.0; to: "bottom_right_padding"; }
+ }
+ }
+ part { name: "left_icon_padding_rect";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: SEARCHBAR_LEFT_ICON_PADDING_INC 0;
+ fixed: 1 0;
+ align: 0 0;
+ rel1.to: "inputfield_rect";
+ rel2 {
+ relative: 0.0 1.0;
+ to: "inputfield_rect";
+ }
+ }
+ }
+ part { name: "search_icon";
+ type: IMAGE;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ min: SEARCHBAR_ICON_MIN_W_INC SEARCHBAR_ICON_MIN_H_INC;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "left_icon_padding_rect";
+ to_y: "inputfield_rect";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "left_icon_padding_rect";
+ to_y: "inputfield_rect";
+ }
+ image.normal: "00_search_icon.png";
+ }
+ }
+ part { name: "left_padding_search_textfield";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "search_icon";
+ to_y: "inputfield_rect";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "search_icon";
+ to_y: "inputfield_rect";
+ }
+ }
+ }
+ part { name: "right_padding_search_textfield";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "inputfield_rect";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "inputfield_rect";
+ }
+ }
+ }
+ part { name: "search_textfield";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ min: 0 SEARCHBAR_SEARCH_TEXTFIELD_H_INC;
+ fixed: 0 1;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "left_padding_search_textfield";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "right_padding_search_textfield";
+ }
+ }
+ }
+ part { name: "top1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "search_textfield";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to: "search_textfield";
+ }
+ align: 0.5 0;
+ }
+ description { state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
+ }
+ }
+ part { name: "top2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "search_textfield";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to: "search_textfield";
+ }
+ align: 0.5 0;
+ }
+ }
+ part { name: "left1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "search_textfield";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "search_textfield";
+ }
+ }
+ }
+ part { name: "left2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "search_textfield";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "search_textfield";
+ }
+ }
+ }
+ part { name: "right1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "search_textfield";
+ }
+ rel2.to: "search_textfield";
+ }
+ }
+ part { name: "right2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "search_textfield";
+ }
+ rel2.to: "search_textfield";
+ }
+ }
+ part { name: "bottom1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
+ fixed: 1 1;
+ align: 0 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "search_textfield";
+ }
+ }
+ description { state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
+ }
+ }
+ part { name: "bottom2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "search_textfield";
+ }
+ align: 0 1;
+ }
+ description { state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
+ }
+ }
+ part { name: "bottom3";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "search_textfield";
+ }
+ align: 0 1;
+ }
+ description { state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.0;
+ min: 0 32;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "left2";
+ to_y: "top2";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "left2";
+ to_y: "top2";
+ }
+ color: EDITFIELD_TITLE_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: EDITFIELD_TITLE_SIZE_INC;
+ min: 1 1;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.guidetext";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: ENTRY_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ min: 0 40;
+ rel1 {
+ relative : 1.0 1.0;
+ to_x: "left1";
+ to_y: "top1";
+ }
+ rel2 {
+ relative : 0.0 0.0;
+ to_x: "right1";
+ to_y: "bottom1";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "eraser_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ }
+ }
+ description { state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "00_EditField_clear.png";
+ border: 10 10 10 10;
+ border_scale: 1;
+ }
+ }
+ description {
+ state: "elm.eraser.pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "00_EditField_clear_press.png";
+ border: 8 8 8 8;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "eraser";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_ERASER_EVENT_MINW_INC EDITFIELD_SEARCHBAR_ERASER_EVENT_MINH_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ }
+ }
+ description { state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "guidetext_show";
+ signal: "elm,state,guidetext,show";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "guidetext_hide";
+ signal: "elm,state,guidetext,hide";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "eraser_show";
+ signal: "elm,state,eraser,show";
+ source: "elm";
+ action: STATE_SET "elm.eraser.show" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "eraser_hide";
+ signal: "elm,state,eraser,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "label_show";
+ signal: "elm,state,title,show";
+ source: "elm";
+ action: STATE_SET "elm.text.show" 0.0;
+ target: "elm.text";
+ target: "top1";
+ target: "bottom1";
+ target: "bottom2";
+ target: "bottom3";
+ }
+ program {
+ name: "label_hide";
+ signal: "elm,state,title,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "top1";
+ target: "bottom1";
+ target: "bottom2";
+ target: "bottom3";
+ }
+ program {
+ name: "eraser_clicked";
+ signal: "mouse,clicked,1";
+ source: "eraser";
+ action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
+ }
+ program {
+ name: "bg_clicked";
+ signal: "mouse,clicked,1";
+ source: "search_textfield";
+ action: SIGNAL_EMIT "elm,bg,clicked" "elm";
+ }
+ program { name: "mouse_click";
+ signal: "mouse,clicked,1";
+ source: "search_icon";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "eraser_pressed";
+ signal: "mouse,down,1";
+ source: "eraser";
+ action: STATE_SET "elm.eraser.pressed" 0.0;
+ target: "eraser_image";
+ }
+ program {
+ name: "eraser_unpressed";
+ signal: "mouse,up,1";
+ source: "eraser";
+ action: STATE_SET "elm.eraser.show" 0.0;
+ target: "eraser_image";
+ }
+ }
+}
+
+group { name: "elm/layout/searchbar/cancel_button";
+ images {
+ image: "00_EditField_clear.png" COMP;
+ image: "00_EditField_clear_press.png" COMP;
+ image: "00_search_edit_field_bg.png" COMP;
+ image: "00_search_icon.png" COMP;
+ }
+ parts {
+ part { name: "top_padding_rect";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 SEARCHBAR_TOP_PADDING_INC;
+ fixed: 0 1;
+ align: 0 0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "bottom_padding_rect";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 SEARCHBAR_BOTTOM_PADDING_INC;
+ fixed: 0 1;
+ align: 0 1;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ part { name: "base_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 SEARCHBAR_HEIGHT_INC;
+ align: 0 0.5;
+ fixed: 0 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "top_padding_rect";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to: "bottom_padding_rect";
+ }
+ }
+ }
+ part { name: "left_padding_rect";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: SEARCHBAR_LEFT_PADDING_INC 0;
+ fixed: 1 0;
+ align: 0 0;
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ part { name: "right_padding_rect";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: SEARCHBAR_RIGHT_PADDING_INC 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1.relative: 1.0 0.0;
+ }
+ description { state: "in" 0.0;
+ inherit: "default" 0.0;
+ min: SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 0;
+ }
+ }
+ part { name: "inputfield_rect";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "left_padding_rect";
+ to_y: "base_bg";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "right_padding_rect";
+ to_y: "base_bg";
+ }
+ image {
+ normal: "00_search_edit_field_bg.png";
+ border: SEARCHBAR_INPUTFIELD_BORDER_INC;
+ }
+ }
+ }
+ part { name: "right_btn_padding_rect";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: SEARCHBAR_RIGHT_PADDING_INC 0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.to: "inputfield_rect";
+ rel2.relative: 1.0 1.0;
+ rel2.to: "inputfield_rect";
+ }
+ description { state: "in" 0.0;
+ inherit: "default" 0.0;
+ min: SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 0;
+ }
+ }
+ part { name: "left_icon_padding_rect";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: SEARCHBAR_LEFT_ICON_PADDING_INC 0;
+ fixed: 1 0;
+ align: 0 0;
+ rel1.to: "inputfield_rect";
+ rel2 {
+ relative: 0.0 1.0;
+ to: "inputfield_rect";
+ }
+ }
+ }
+ part { name: "search_icon";
+ type: IMAGE;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ min: SEARCHBAR_ICON_MIN_W_INC SEARCHBAR_ICON_MIN_H_INC;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "left_icon_padding_rect";
+ to_y: "inputfield_rect";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "left_icon_padding_rect";
+ to_y: "inputfield_rect";
+ }
+ image.normal: "00_search_icon.png";
+ }
+ }
+ part { name: "left_padding_search_textfield";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "search_icon";
+ to_y: "inputfield_rect";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "search_icon";
+ to_y: "inputfield_rect";
+ }
+ }
+ }
+ part { name: "right_padding_search_textfield";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "inputfield_rect";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "inputfield_rect";
+ }
+ }
+ }
+ part { name: "search_textfield";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 SEARCHBAR_SEARCH_TEXTFIELD_H_INC;
+ fixed: 0 1;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "left_padding_search_textfield";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "right_padding_search_textfield";
+ }
+ }
+ }
+ part { name: "button_cancel";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: SEARCHBAR_CANCEL_BUTTON_W_INC 0;
+ align: 0.0 0.5;
+ state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "right_btn_padding_rect";
+ to_y: "top_padding_rect";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "right_btn_padding_rect";
+ to_y: "bottom_padding_rect";
+ }
+ }
+ }
+ part { name: "top1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "search_textfield";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to: "search_textfield";
+ }
+ align: 0.5 0;
+ }
+ description { state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
+ }
+ }
+ part { name: "top2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "search_textfield";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to: "search_textfield";
+ }
+ align: 0.5 0;
+ }
+ }
+ part { name: "left1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "search_textfield";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "search_textfield";
+ }
+ }
+ }
+ part { name: "left2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
+ fixed: 1 1;
+ align: 0 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "search_textfield";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "search_textfield";
+ }
+ }
+ }
+ part { name: "right1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "search_textfield";
+ }
+ rel2.to: "search_textfield";
+ }
+ }
+ part { name: "right2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "search_textfield";
+ }
+ rel2.to: "search_textfield";
+ }
+ }
+ part { name: "bottom1";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
+ fixed: 1 1;
+ align: 0 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "search_textfield";
+ }
+ rel2.to: "search_textfield";
+ }
+ description { state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
+ }
+ }
+ part { name: "bottom2";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "search_textfield";
+ }
+ rel2.to: "search_textfield";
+ align: 0 1;
+ }
+ description { state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
+ }
+ }
+ part { name: "bottom3";
+ type: RECT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "search_textfield";
+ }
+ rel2.to: "search_textfield";
+ align: 0 1;
+ }
+ description { state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.0;
+ min: 0 34;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "left2";
+ to_y: "top2";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "left2";
+ to_y: "top2";
+ }
+ color: EDITFIELD_TITLE_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: EDITFIELD_TITLE_SIZE_INC;
+ min: 1 1;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "elm.text.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.guidetext";
+ type: TEXT;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: ENTRY_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ min: 0 40;
+ rel1 {
+ relative : 1.0 1.0;
+ to_x: "left1";
+ to_y: "top1";
+ }
+ rel2 {
+ relative : 0.0 0.0;
+ to_x: "right1";
+ to_y: "bottom1";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "eraser_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ }
+ }
+ description { state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "00_EditField_clear.png";
+ border: 10 10 10 10;
+ border_scale: 1;
+ }
+ }
+ description {
+ state: "elm.eraser.pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "00_EditField_clear_press.png";
+ border: 8 8 8 8;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "eraser";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: EDITFIELD_SEARCHBAR_ERASER_EVENT_MINW_INC EDITFIELD_SEARCHBAR_ERASER_EVENT_MINH_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x : "right2";
+ }
+ }
+ description { state: "elm.eraser.show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "guidetext_show";
+ signal: "elm,state,guidetext,show";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "guidetext_hide";
+ signal: "elm,state,guidetext,hide";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.guidetext";
+ }
+ program {
+ name: "eraser_show";
+ signal: "elm,state,eraser,show";
+ source: "elm";
+ action: STATE_SET "elm.eraser.show" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "eraser_hide";
+ signal: "elm,state,eraser,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "eraser_image";
+ target: "eraser";
+ }
+ program {
+ name: "label_show";
+ signal: "elm,state,title,show";
+ source: "elm";
+ action: STATE_SET "elm.text.show" 0.0;
+ target: "elm.text";
+ target: "top1";
+ target: "bottom1";
+ target: "bottom2";
+ target: "bottom3";
+ }
+ program {
+ name: "label_hide";
+ signal: "elm,state,title,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "top1";
+ target: "bottom1";
+ target: "bottom2";
+ target: "bottom3";
+ }
+ program {
+ name: "eraser_clicked";
+ signal: "mouse,clicked,1";
+ source: "eraser";
+ action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
+ }
+ program {
+ name: "bg_clicked";
+ signal: "mouse,clicked,1";
+ source: "search_textfield";
+ action: SIGNAL_EMIT "elm,bg,clicked" "elm";
+ }
+ program { name: "cancel_in";
+ signal: "cancel,in";
+ source: "";
+ action: STATE_SET "in" 0.0;
+ target: "right_padding_rect";
+ target: "right_btn_padding_rect";
+ transition: LINEAR 0.3;
+ }
+ program { name: "cancel_out";
+ signal: "cancel,out";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "right_padding_rect";
+ target: "right_btn_padding_rect";
+ transition: LINEAR 0.3;
+ }
+ program { name: "cancel_show";
+ signal: "cancel,show";
+ source: "";
+ action: STATE_SET "in" 0.0;
+ target: "right_padding_rect";
+ target: "right_btn_padding_rect";
+ }
+ program { name: "cancel_hide";
+ signal: "cancel,hide";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "right_padding_rect";
+ target: "right_btn_padding_rect";
+ }
+ program { name: "mouse_click";
+ signal: "mouse,clicked,1";
+ source: "search_icon";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "eraser_pressed";
+ signal: "mouse,down,1";
+ source: "eraser";
+ action: STATE_SET "elm.eraser.pressed" 0.0;
+ target: "eraser_image";
+ }
+ program {
+ name: "eraser_unpressed";
+ signal: "mouse,up,1";
+ source: "eraser";
+ action: STATE_SET "elm.eraser.show" 0.0;
+ target: "eraser_image";
+ }
+ }
+}
+
+group {
+ name: "elm/layout/nocontents/full";
+ alias: "elm/nocontents/base/full";
+ alias: "elm/nocontents/base/default";
+ styles{
+ style { name: "nocontent_style";
+ base: "font=Tizen:style=Regular font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" align=center color=#ffffff wrap=mixed ellipsis=1.0 text_class=tizen";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "tab" "\t";
+ }
+ }
+ images {
+ image: "00_Nocontents_picture.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: NOCONTENT_BG_COLOR_INC;
+ }
+ }
+ part { name: "image_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "nocontents.image";
+ rel2.to: "nocontents.image";
+ color: NOCONTENT_IMAGE_BG_COLOR_INC;
+ }
+ }
+ part { name: "nocontents.image";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: NOCONTENT_IMAGE_WIDTH_HEIGHT_INC;
+ rel1 {
+ relative: 0.5 0.5;
+ to: "bg";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ to: "bg";
+ }
+ image {
+ normal: "00_Nocontents_picture.png";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: BOTH;
+ }
+ }
+ part { name: "middle.padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 NOCONTENT_MIDDLE_PADDING_INC;
+ align: 0.5 0.0;
+ fixed: 0 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "nocontents.image";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "nocontents.image";
+ }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "bg";
+ to_y: "middle.padding";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "bg";
+ to_y: "middle.padding";
+ }
+ color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
+ text {
+ style: "nocontent_style";
+ align: 0.5 0.5;
+ min: 0 0;
+ max: 0 1;
+ }
+ }
+ }
+ }
+}
+
+group {
+ name: "elm/layout/nocontents/multimedia";
+ alias: "elm/nocontents/base/multimedia";
+ inherit: "elm/layout/nocontents/full";
+ images {
+ image: "00_Nocontents_multimedia.png" COMP;
+ }
+ parts {
+ part { name: "nocontents.image";
+ description { state: "default" 0.0;
+ image {
+ normal: "00_Nocontents_multimedia.png";
+ }
+ }
+ }
+ }
+}
+
+group {
+ name: "elm/layout/nocontents/text";
+ alias: "elm/nocontents/base/text";
+ inherit: "elm/layout/nocontents/full";
+ images {
+ image: "00_Nocontents_text.png" COMP;
+ }
+ parts {
+ part { name: "nocontents.image";
+ description { state: "default" 0.0;
+ image {
+ normal: "00_Nocontents_text.png";
+ }
+ }
+ }
+ }
+}
+
+group {
+ name: "elm/layout/nocontents/unnamed";
+ alias: "elm/nocontents/base/unnamed";
+ inherit: "elm/layout/nocontents/full";
+ images {
+ image: "00_Nocontents_unnamed.png" COMP;
+ }
+ parts {
+ part { name: "nocontents.image";
+ description { state: "default" 0.0;
+ image {
+ normal: "00_Nocontents_unnamed.png";
+ }
+ }
+ }
+ }
+}
+
+group {
+ name: "elm/layout/nocontents/devices";
+ alias: "elm/nocontents/base/devices";
+ inherit: "elm/layout/nocontents/full";
+ images {
+ image: "00_Nocontents_devices.png" COMP;
+ }
+ parts {
+ part { name: "nocontents.image";
+ description { state: "default" 0.0;
+ image {
+ normal: "00_Nocontents_devices.png";
+ }
+ }
+ }
+ }
+}
+
+group {
+ name: "elm/layout/nocontents/search";
+ alias: "elm/nocontents/base/search";
+ parts {
+ part { name: "bg";
+ mouse_events: 0;
+ type: RECT;
+ description { state: "default" 0.0;
+ visible: 1;
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "top_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
+ fixed: 0 1;
+ align: 0 0;
+ visible: 1;
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.text";
+ mouse_events: 0;
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ //min: 0 30;
+ fixed: 0 1;
+ align: 0 0;
+ visible: 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to:"top_padding";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to:"top_padding";
+ }
+ color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: 30;
+ text: "";
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part { name: "text_bottom_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
+ fixed: 0 1;
+ align: 0 0;
+ visible: 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to:"elm.text";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to:"elm.text";
+ }
+ }
+ }
+ part { name: "custom";
+ mouse_events: 1;
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 0 1;
+ align: 0 0;
+ visible: 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to:"text_bottom_padding";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to:"text_bottom_padding";
+ }
+ }
+ }
+ }
+}
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+///////////////////////////////////////////////////////////////////////////////
+group { name: "elm/map/base/default";
+ images {
+ image: "00_winset_list_process_01.png" COMP;
+ image: "00_winset_list_process_02.png" COMP;
+ image: "00_winset_list_process_03.png" COMP;
+ image: "00_winset_list_process_04.png" COMP;
+ image: "00_winset_list_process_05.png" COMP;
+ image: "00_winset_list_process_06.png" COMP;
+ image: "00_winset_list_process_07.png" COMP;
+ image: "00_winset_list_process_08.png" COMP;
+ image: "00_winset_list_process_09.png" COMP;
+ image: "00_winset_list_process_10.png" COMP;
+ image: "00_winset_list_process_11.png" COMP;
+ image: "00_winset_list_process_12.png" COMP;
+ image: "00_winset_list_process_13.png" COMP;
+ image: "00_winset_list_process_14.png" COMP;
+ image: "00_winset_list_process_15.png" COMP;
+ image: "00_winset_list_process_16.png" COMP;
+ image: "00_winset_list_process_17.png" COMP;
+ image: "00_winset_list_process_18.png" COMP;
+ image: "00_winset_list_process_19.png" COMP;
+ image: "00_winset_list_process_20.png" COMP;
+ image: "00_winset_list_process_21.png" COMP;
+ image: "00_winset_list_process_22.png" COMP;
+ image: "00_winset_list_process_23.png" COMP;
+ image: "00_winset_list_process_24.png" COMP;
+ image: "00_winset_list_process_25.png" COMP;
+ image: "00_winset_list_process_26.png" COMP;
+ image: "00_winset_list_process_27.png" COMP;
+ image: "00_winset_list_process_28.png" COMP;
+ image: "00_winset_list_process_29.png" COMP;
+ image: "00_winset_list_process_30.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ }
+ part { name: "elm.swallow.content";
+ clip_to: "clipper";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "busy_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "active" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "busy";
+ clip_to: "busy_clip";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 32 32;
+ aspect: 1.0 1.0;
+ align: 1.0 1.0;
+ aspect_preference: BOTH;
+ rel1 {
+ relative: 0.9 0.9;
+ offset: -9 -9;
+ }
+ rel2 {
+ relative: 0.9 0.9;
+ offset: -9 -9;
+ }
+ image {
+ normal: "00_winset_list_process_30.png";
+ tween: "00_winset_list_process_01.png";
+ tween: "00_winset_list_process_02.png";
+ tween: "00_winset_list_process_03.png";
+ tween: "00_winset_list_process_04.png";
+ tween: "00_winset_list_process_05.png";
+ tween: "00_winset_list_process_06.png";
+ tween: "00_winset_list_process_07.png";
+ tween: "00_winset_list_process_08.png";
+ tween: "00_winset_list_process_09.png";
+ tween: "00_winset_list_process_10.png";
+ tween: "00_winset_list_process_11.png";
+ tween: "00_winset_list_process_12.png";
+ tween: "00_winset_list_process_13.png";
+ tween: "00_winset_list_process_14.png";
+ tween: "00_winset_list_process_15.png";
+ tween: "00_winset_list_process_16.png";
+ tween: "00_winset_list_process_17.png";
+ tween: "00_winset_list_process_18.png";
+ tween: "00_winset_list_process_19.png";
+ tween: "00_winset_list_process_20.png";
+ tween: "00_winset_list_process_21.png";
+ tween: "00_winset_list_process_22.png";
+ tween: "00_winset_list_process_23.png";
+ tween: "00_winset_list_process_24.png";
+ tween: "00_winset_list_process_25.png";
+ tween: "00_winset_list_process_26.png";
+ tween: "00_winset_list_process_27.png";
+ tween: "00_winset_list_process_28.png";
+ tween: "00_winset_list_process_29.png";
+ }
+ }
+ }
+ program { name: "go1";
+ signal: "elm,state,busy,start";
+ source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: SINUSOIDAL 1.0;
+ target: "busy_clip";
+ }
+ program { name: "go2";
+ signal: "elm,state,busy,start";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.5;
+ target: "busy";
+ after: "go2";
+ }
+ program { name: "stop1";
+ signal: "elm,state,busy,stop";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 1.0;
+ target: "busy_clip";
+ after: "stop2";
+ }
+ program { name: "stop2";
+ action: ACTION_STOP;
+ target: "go2";
+ }
+ }
+}
+group { name: "elm/map/marker/radio/default";
+ data {
+ item: size_w 48;
+ item: size_h 48;
+ item: size_max_w 58;
+ item: size_max_h 58;
+ }
+ images {
+ image: "map_item.png" COMP;
+ }
+ parts {
+ part { name: "whole";
+ type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "base";
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ image.normal: "map_item.png";
+ }
+ }
+ part { name: "elm.icon";
+ type: SWALLOW;
+ clip_to: "whole";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.relative: 0.27 0.27;
+ rel2.relative: 0.73 0.73;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ effect: SOFT_SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ color: 224 224 224 255;
+ color3: 0 0 0 64;
+ rel1.relative: 0.28 0.25;
+ rel2.relative: 0.75 0.75;
+ text {
+ font: "Tizen:style=Medium";
+ size: 24;
+ min: 0 0;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "open";
+ signal: "mouse,clicked,1";
+ source: "base";
+ action: SIGNAL_EMIT "open" "elm";
+ }
+ program { name: "bringin";
+ signal: "mouse,down,1,double";
+ source: "base";
+ action: SIGNAL_EMIT "bringin" "elm";
+ }
+ }
+}
+group { name: "elm/map/marker/radio2/default";
+ data {
+ item: size_w 48;
+ item: size_h 48;
+ item: size_max_w 58;
+ item: size_max_h 58;
+ }
+ images {
+ image: "map_item_2.png" COMP;
+ }
+ parts {
+ part { name: "base";
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ image.normal: "map_item_2.png";
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ effect: SOFT_SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ color: 224 224 224 255;
+ color3: 0 0 0 64;
+ rel1.relative: 0.28 0.25;
+ rel2.relative: 0.75 0.75;
+ text {
+ font: "Tizen:style=Medium";
+ size: 24;
+ min: 0 0;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "open";
+ signal: "mouse,clicked,1";
+ source: "base";
+ action: SIGNAL_EMIT "open" "elm";
+ }
+ program { name: "bringin";
+ signal: "mouse,down,1,double";
+ source: "base";
+ action: SIGNAL_EMIT "bringin" "elm";
+ }
+ }
+}
+group { name: "elm/map/marker/empty/default";
+ data {
+ item: size_w 44;
+ item: size_h 44;
+ item: size_max_w 64;
+ item: size_max_h 64;
+ }
+ parts {
+ part { name: "whole";
+ type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "base";
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.icon";
+ type: SWALLOW;
+ clip_to: "whole";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ effect: SOFT_SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ color: 224 224 224 255;
+ color3: 0 0 0 64;
+ rel1.relative: 0.28 0.25;
+ rel2.relative: 0.75 0.75;
+ text {
+ font: "Tizen:style=Medium";
+ size: 24;
+ min: 0 0;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "open";
+ signal: "mouse,clicked,1";
+ source: "base";
+ action: SIGNAL_EMIT "open" "elm";
+ }
+ program { name: "bringin";
+ signal: "mouse,down,1,double";
+ source: "base";
+ action: SIGNAL_EMIT "bringin" "elm";
+ }
+ }
+}
+group { name: "elm/map/marker_bubble/default";
+ images {
+ image: "bubble.png" COMP;
+ image: "bubble_shine.png" COMP;
+ }
+ data {
+ item: size_w 200;
+ item: size_h 100;
+ }
+ parts {
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "base0";
+ mouse_events: 0;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ image {
+ normal: "bubble.png";
+ border: 11 36 10 19;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 {
+ offset: 9 8;
+ }
+ rel2 {
+ offset: -10 -17;
+ }
+ }
+ }
+ part { name: "shine";
+ mouse_events: 0;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1 {
+ to: "base0";
+ }
+ rel2 {
+ to: "base0";
+ relative: 1.0 0.5;
+ }
+ image {
+ normal: "bubble_shine.png";
+ border: 5 5 5 0;
+ }
+ fill.smooth: 0;
+ }
+ }
+ }
+ programs {
+ program { name: "show";
+ signal: "show";
+ action: STATE_SET "show" 0.0;
+ target: "clipper";
+ transition: ACCELERATE 0.5;
+ }
+ }
+}
+group { name: "elm/map/circle/base/default";
+ images {
+ image: "map_circle.png" COMP;
+ }
+ parts {
+ part { name: "base";
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ image.normal: "map_circle.png";
+ }
+ }
+ }
+}
+group { name: "elm/map/scale/base/default";
+ data {
+ item: size_w 100;
+ item: size_h 25;
+ }
+ images {
+ image: "map_scale.png" COMP;
+ }
+ parts {
+ part { name: "base";
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ image.normal: "map_scale.png";
+ image.border: 10 10 10 10;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ ignore_flags: ON_HOLD;
+ effect: SOFT_SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 224 224 224 255;
+ color3: 0 0 0 64;
+ rel1 {
+ relative: 0 0;
+ offset: 1 1;
+ }
+ rel2 {
+ relative: 1 1;
+ offset: -1 -1;
+ }
+ text {
+ font: "Tizen:style=Medium";
+ size: 24;
+ min: 0 0;
+ align: 0.1 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ }
+}
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+group {
+ name: "elm/multibuttonentry/base/default";
+
+ data.item: "horizontal_pad" MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC;
+ data.item: "vertical_pad" MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC;
+
+ parts {
+ part {
+ name: "top.left.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC;
+ fixed: 1 1;
+ rel2.relative: 0.0 0.0;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "bottom.right.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC;
+ fixed: 1 1;
+ rel1.relative: 1.0 1.0;
+ align: 1.0 1.0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.swallow.box";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "top.left.pad";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "bottom.right.pad";
+ }
+ }
+ }
+ part { name: "block_events";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description {
+ state: "invisible" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "events";
+ type: RECT;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "clicked";
+ signal: "mouse,clicked,1";
+ source: "events";
+ action: SIGNAL_EMIT "elm,action,clicked" "";
+ }
+ program {
+ name: "event_allow";
+ signal: "elm,state,event,allow";
+ source: "elm";
+ action: STATE_SET "invisible" 0.0;
+ target: "block_events";
+ }
+ program {
+ name: "event_block";
+ signal: "elm,state,event,block";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "block_events";
+ }
+ }
+}
+
+group {
+ name: "elm/multibuttonentry/label/default";
+
+ styles {
+ style {
+ name: "multibuttonentry_label_style";
+ base: "font=SLP:style=Regular font_size="MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC" wrap=char text_class=slp";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font=SLP:style=Bold";
+ tag: "b" "+ font=SLP:style=Bold";
+ tag: "tab" "\t";
+ }
+ }
+
+ parts {
+ part {
+ name: "right.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: MULTIBUTTONENTRY_LABEL_PAD_INC 0;
+ fixed: 1 0;
+ rel1.relative: 1.0 0.0;
+ align: 1.0 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ multiline: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC;
+ text {
+ style: "multibuttonentry_label_style";
+ min: 1 0;
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "right.pad";
+ }
+ }
+ }
+ }
+}
+
+group {
+ name: "elm/multibuttonentry/guide/default";
+
+ styles {
+ style {
+ name: "multibuttonentry_guide_style";
+ base: "font=SLP:style=Regular font_size="MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_GUIDE_TEXT_COLOR_INC" wrap=char text_class=slp";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font=SLP:style=Bold";
+ tag: "b" "+ font=SLP:style=Bold";
+ tag: "tab" "\t";
+ }
+ }
+
+ parts {
+ part {
+ name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ multiline: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 MULTIBUTTONENTRY_GUIDE_HEIGHT_INC;
+ text {
+ style: "multibuttonentry_guide_style";
+ min: 1 0;
+ }
+ }
+ }
+ }
+}
+
+group {
+ name: "elm/multibuttonentry/button/default";
+
+ images {
+ image: "00_contacts_button.png" COMP;
+ image: "00_contacts_button_press.png" COMP;
+ }
+
+ data.item: "max_size" MULTIBUTTONENTRY_BUTTON_MAX_INC;
+
+ parts {
+ part {
+ name: "bg";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 MULTIBUTTONENTRY_BUTTON_HEIGHT_INC;
+ image {
+ normal: "00_contacts_button.png";
+ border: MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC;
+ border_scale: 1;
+ }
+ }
+ description {
+ state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_contacts_button_press.png";
+ }
+ }
+ part {
+ name: "left.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0;
+ fixed: 1 0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "right.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0;
+ fixed: 1 0;
+ rel1.relative: 1.0 0.0;
+ align: 1.0 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC;
+ text {
+ font: "SLP:style=Regular";
+ size: MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC;
+ min: 1 0;
+ text_class: "slp";
+ }
+ rel1 {
+ relative: 1.0 0.0;
+ to: "left.pad";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "right.pad";
+ }
+ }
+ description {
+ state: "ellipsis" 0.0;
+ inherit: "default" 0.0;
+ min: MULTIBUTTONENTRY_BUTTON_TEXT_MAX_INC 0;
+ text.min: 0 0;
+ }
+ }
+ part { name: "events";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "text_ellipsis";
+ signal: "elm,state,text,ellipsis";
+ source: "elm";
+ action: STATE_SET "ellipsis" 0.0;
+ target: "elm.text";
+ }
+ program {
+ name: "focused";
+ signal: "elm,state,bg,focus";
+ source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "bg";
+ after: "selected";
+ }
+ program {
+ name: "unfocused";
+ signal: "elm,state,bg,unfocus";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg";
+ }
+ program {
+ name: "clicked";
+ signal: "mouse,clicked,1";
+ source: "events";
+ action: SIGNAL_EMIT "elm,action,clicked" "";
+ }
+ program {
+ name: "selected";
+ action: SIGNAL_EMIT "elm,action,selected" "";
+ }
+ }
+}
+
+group {
+ name: "elm/multibuttonentry/number/default";
+
+ parts {
+ part {
+ name: "left.pad";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: MULTIBUTTONENTRY_LABEL_PAD_INC 0;
+ fixed: 1 0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC;
+ color: MULTIBUTTONENTRY_NUMBER_TEXT_COLOR_INC;
+ text {
+ font: "SLP:style=Regular";
+ size: MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC;
+ min: 1 0;
+ text_class: "slp";
+ }
+ rel1 {
+ relative: 1.0 0.0;
+ to: "left.pad";
+ }
+ }
+ }
+ }
+}
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+/**
+ *This file contains the list of BEAT theme haptics.
+ *The various variables used to describe a haptic are-
+
+ *name:The name of the haptic to be used as reference later in the theme.
+ *magnitude:The Magnitude of an effect corresponds to its strength, or the amplitude of the vibration.
+ *duration :The Duration parameter specifies how long the effect lasts from start to finish including the envelope that is the means of shaping the strength of effect in time.
+ *attack_level :The Attack Level specifies the initial strength of the effect.
+ *attack_time: specifies the amount of time, in milliseconds, for the effect to ramp from the Attack Level to the Magnitude.
+ *fade_level: It specifies the final strength of effect to be reduced to from magnitude at the end of effect's fade time
+ *fade_time: corresponds to the amount of time before the end of the effect, for the vibration to ramp between the Magnitude and the Fade Level.
+ *type: The Haptic types i.e MAGSWEEP or PERIODIC
+ *pattern:The Full pattern of Haptic - in hexadecimal values
+
+ *NOTE-Present implementation uses only name and pattern parameters to play haptic
+
+*/
+
+haptics
+ {
+ haptic
+ {
+ name: "TOUCH_HAPTIC" ;
+ type: MAGSWEEP ;
+ pattern: "01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,E1,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
+ }
+ haptic
+ {
+ name: "ALARM_HAPTIC" ;
+ type: MAGSWEEP ;
+ pattern:"01,00,03,00,38,00,42,00,00,00,19,00,21,00,F1,E0,01,E2,00,00,F1,E0,02,E2,01,1D,F1,E0,01,E2,03,BA,F1,E0,02,E2,04,E0,FF,20,17,00,00,7F,D1,2F,81,30,00,00,F4,01,00,00,00,20,1F,00,00,40,01,96,41,00,00,00,12,00,24,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,20,00,23,00,31,00,00,00" ;
+ }
+ haptic
+ {
+ name: "WARNING_HAPTIC" ;
+ type: MAGSWEEP ;
+ pattern: "01,00,02,00,1A,00,28,00,00,00,0D,00,F1,E0,01,E2,00,00,F1,E0,01,E2,00,72,FF,20,01,00,00,7F,00,00,41,00,00,00,12,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
+ }
+ haptic
+ {
+ name:"POPUP_HAPTIC" ;
+ type: MAGSWEEP ;
+ pattern: "01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,41,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
+ }
+ haptic
+ {
+ name:"PRESS_HAPTIC" ;
+ type: MAGSWEEP ;
+ pattern: "01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,E1,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
+ }
+ haptic
+ {
+ name:"RELEASE_HAPTIC" ;
+ type: MAGSWEEP ;
+ pattern: "01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,41,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
+ }
+
+ haptic
+ {
+ name:"TAP_HAPTIC" ;
+ type: MAGSWEEP ;
+ pattern: "01,00,02,00,1A,00,28,00,00,00,0D,00,F1,E0,01,E2,00,00,F1,E0,01,E2,00,33,FF,20,01,00,00,7F,00,00,E1,00,00,00,12,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
+ }
+ haptic
+ {
+ name: "DOUBLE_TAP_HAPTIC" ;
+ type: MAGSWEEP ;
+ pattern: "01,00,01,00,12,00,14,00,00,00,30,85,00,06,00,00,7F,00,20,0A,00,00,0D,00,00,01,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
+ }
+ haptic
+ {
+ name: "LONG_TAP_HAPTIC" ;
+ type: MAGSWEEP ;
+ pattern: "01,00,02,00,1A,00,28,00,00,00,0D,00,F1,E0,01,E2,00,00,F1,E0,01,E2,00,BB,FF,20,01,00,00,7F,00,00,E1,00,00,00,12,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
+
+ }
+ }
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+/**
+
+ *Usage:
+ *sounds {
+ sound: BUTTON_PRESSED_SOUND START_POINT ENDPOINT
+ ..
+ }
+ *The " sounds" block contains a list of one or more " sound" items.
+
+ *Present implementation supports only .wav format
+*/
+
+#define BUTTON_PRESSED_SOUND "button-pressed.wav"
+#define BUTTON_TOGGLE_OFF_SOUND "button-toggle-off.wav"
+#define BUTTON_TOGGLE_ON_SOUND "button-toggle-on.wav"
+#define DIALOG_CANCEL_SOUND "dialog-cancel.wav"
+#define DIALOG_ERROR_SOUND "dialog-error.wav"
+#define DIALOG_INFORMATION_SOUND "dialog-information.wav"
+#define DIALOG_OK_SOUND "dialog-ok.wav"
+#define DIALOG_QUESTION_SOUND "dialog-question.wav"
+#define DIALOG_WARNING_SOUND "dialog-warning.wav"
+#define DRAG_ACCEPT_SOUND "drag-accept.wav"
+#define DRAG_FAIL_SOUND "drag-fail.wav"
+#define DRAG_START_SOUND "drag-start.wav"
+#define LINK_PRESSED_SOUND "link-pressed.wav"
+#define MENU_CLICK_SOUND "menu-click.wav"
+#define MENU_POPUP_SOUND "menu-popup.wav"
+#define TOOLTIP_POPUP_SOUND "tooltip-popup.wav"
+#define WINDOW_NEW_SOUND "window-new.wav"
+#define WATERDROP_SOUND "Waterdrop.wav"
+
+sounds {
+ sound: BUTTON_PRESSED_SOUND 0 100 ;
+ sound: BUTTON_TOGGLE_OFF_SOUND 0 100 ;
+ sound: BUTTON_TOGGLE_ON_SOUND 0 100 ;
+ sound: DIALOG_CANCEL_SOUND 0 100 ;
+ sound: DIALOG_ERROR_SOUND 0 100 ;
+ sound: DIALOG_INFORMATION_SOUND 0 100 ;
+ sound: DIALOG_OK_SOUND 0 100 ;
+ sound: DIALOG_QUESTION_SOUND 0 100 ;
+ sound: DIALOG_WARNING_SOUND 0 100 ;
+ sound: DRAG_ACCEPT_SOUND 0 100 ;
+ sound: DRAG_FAIL_SOUND 0 100 ;
+ sound: DRAG_START_SOUND 0 100 ;
+ sound: LINK_PRESSED_SOUND 0 100 ;
+ sound: MENU_CLICK_SOUND 0 100 ;
+ sound: MENU_POPUP_SOUND 0 100 ;
+ sound: TOOLTIP_POPUP_SOUND 0 100 ;
+ sound: WINDOW_NEW_SOUND 0 100 ;
+ sound: WATERDROP_SOUND 0 100 ;
+ }
+
+
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+#include "multisense_sound.edc"
+#include "multisense_haptic.edc"
+
+/*
+ Sound and Haptic
+*/
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/sound_dark";
+ images {
+ image: "00_button_02_normal.png" COMP;
+ image: "00_button_02_press.png" COMP;
+ image: "00_button_02_focus.png" COMP;
+ }
+ script {
+ public button_state = 0; //0:enabled, 1: disabled
+ }
+ parts {
+ part { name: "button_image";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 16 50;
+ image {
+ normal: "00_button_02_normal.png";
+ border: 7 7 7 7;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_02_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_02_focus.png";
+ }
+ }
+ part {
+ name: "padding_left";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ min: 5 5;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding_right";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ min: 5 5;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ min: 5 5;
+ fixed: 0 1;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 1.0;
+ min: 5 5;
+ fixed: 0 1;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "icon_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 1;
+ min: 0 40;
+ fixed: 1 0;
+ rel1 {relative: 0.0 1.0; to_x: "elm.swallow.content"; to_y: "padding_top"; }
+ rel2 {relative: 1.0 0.0; to_x: "elm.swallow.content"; to_y: "padding_bottom"; }
+ align: 0.0 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding_icon_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "icon_rect"; }
+ rel2 { relative: 1.0 1.0; to: "icon_rect"; }
+ fixed: 1 0;
+ min: 0 0;
+ color: 0 0 0 0;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "visible" 0.0; //when icon is visible
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "icon_rect"; }
+ rel2 { relative: 1.0 1.0; to: "icon_rect"; }
+ fixed: 1 0;
+ min: 5 0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
+ rel2 {relative: 1.0 0.0; to_x: "padding_left"; to_y: "padding_bottom"; }
+ fixed: 1 0;
+ }
+ description { state: "visible" 0.0;
+ fixed: 1 0;
+ visible: 1;
+ align: 0.0 0.5;
+ rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
+ rel2 {relative: 1.0 0.0; to_x: "padding_left"; to_y: "padding_bottom"; }
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ description { state: "icononly" 0.0;;
+ visible: 1;
+ min: 40 40;
+ rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
+ rel2 {relative: 0.0 0.0; to_x: "padding_right"; to_y: "padding_bottom"; }
+ align: 0.5 0.5;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ effect: SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 { relative: 1.0 1.0; to_x: "padding_icon_text"; to_y: "padding_top"; }
+ rel2 { relative: 0.0 0.0; to_x: "padding_right"; to_y:"padding_bottom"; }
+ align: 0.5 0.5;
+ color: 255 255 255 255;
+ color2: 0 0 0 0;
+ text {
+ font: "Tizen:style=Medium";
+ size: 24;
+ min: 0 0;
+ align: 0.5 0.5;
+ max: 1 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 90 40;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 0 0;
+ color: 255 255 255 255;
+ color2: 0 0 0 102;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 128;
+ color3: 0 0 0 0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 128;
+ color3: 0 0 0 0;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 0 0;
+ color: 255 255 255 255;
+ color2: 0 0 0 102;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after:touch_sound ;
+ after: "button_click_anim";
+ }
+ program { name: touch_sound;
+ action: TOUCH_SOUND BUTTON_TOGGLE_OFF_SOUND 1 ;
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ after: "text_clicked";
+ }
+ program { name: "text_clicked";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "clicked", 0.0);
+ }
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (strcmp(st, "icononly"))
+ {
+ emit("elm,action,default,text,set", "");
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ if(get_int(button_state) !=1)
+ set_state(PART:"button_image", "default", 0.0);
+ }
+ after: button_unpress;
+ }
+ program { name: "button_click2";
+ signal: "mouse,down,1";
+ source: "over3";
+ action: STATE_SET "clicked" 0.0;
+ target: "over3";
+ }
+ program { name: "button_unclick2";
+ signal: "mouse,clicked,1";
+ source: "over3";
+ action: STATE_SET "default" 0.0;
+ target: "over3";
+ }
+ program { name: "button_unclick3";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "over2";
+ target: "disabler";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(button_state, 1);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "over2";
+ target: "disabler";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(button_state, 0);
+ }
+ }
+ program { name: "focused";
+ signal: "elm,action,focus";
+ source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "unfocused";
+ signal: "elm,action,unfocus";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ after: "unfocus_text";
+ }
+ program { name: "unfocus_text";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/haptic";
+ images {
+ image: "00_message_button_add_recipient.png" COMP;
+ }
+ script {
+ public button_state = 0; //0:enabled, 1: disabled
+ }
+ parts {
+ part { name: "button_image";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 { to_x: "padding.left"; to_y: "elm.text";}
+ rel2 { to_x: "padding.right"; to_y: "elm.text";}
+ min: 44 41;
+ image {
+ normal: "00_message_button_add_recipient.png";
+ border: 21 21 19 19;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 10 1;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ rel1.relative: 0 0;
+ rel2 { relative: 0.0 1.0; to_x: "elm.text";}
+ align: 1 0;
+ }
+ }
+ part { name: "padding.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 10 1;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ rel1 { relative: 1.0 0.0; to_x: "elm.text";}
+ rel2.relative: 1.0 1.0;
+ align: 0 0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ effect: SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ color: 255 255 255 255;
+ color2: 0 0 0 255;
+ text {
+ font: "Tizen:style=Medium";
+ size: 28;
+ min: 1 1;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 1 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 1 1;
+ color: 53 45 39 255;
+ color2: 0 0 0 102;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 128;
+ color3: 0 0 0 0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 128;
+ color3: 0 0 0 0;
+ visible: 1;
+ min: 1 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 1 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "over1";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel2.relative: 1.0 0.5;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "over2";
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ rel1.to: "button_image";
+ rel2.to: "button_image";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "over3";
+ mouse_events: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "button_image";
+ rel2.to: "button_image";
+ color: 255 255 255 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "button_image";
+ rel2.to: "button_image";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: touch_haptic;
+ after: "button_click_anim";
+ }
+ program { name: touch_haptic;
+ action: TOUCH_HAPTIC LONG_TAP_HAPTIC 3 ;
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "clicked") || !strcmp(st, "focused"))
+ {
+ emit("elm,action,default,text,set", "");
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ if(get_int(button_state) !=1)
+ set_state(PART:"button_image", "default", 0.0);
+ }
+ after: button_unpress;
+ }
+ program { name: "button_click2";
+ signal: "mouse,down,1";
+ source: "over3";
+ action: STATE_SET "clicked" 0.0;
+ target: "over3";
+ }
+ program { name: "button_unclick2";
+ signal: "mouse,clicked,1";
+ source: "over3";
+ action: STATE_SET "default" 0.0;
+ target: "over3";
+ }
+ program { name: "button_unclick3";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "over1";
+ target: "over2";
+ target: "disabler";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(button_state, 1);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "over1";
+ target: "over2";
+ target: "disabler";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(button_state, 0);
+ }
+ }
+ program { name: "focused";
+ signal: "elm,action,focus";
+ source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "unfocused";
+ signal: "elm,action,unfocus";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/sound_haptic_multiline";
+ images {
+ image: "00_button_02_normal.png" COMP;
+ image: "00_button_02_press.png" COMP;
+ image: "00_button_02_focus.png" COMP;
+ }
+ script {
+ public button_state = 0; //0:enabled, 1: disabled
+ }
+ styles{
+ style { name: "btn_sound_haptic_style";
+ base: "font=Tizen:style=Medium font_size=18 align=center color=#ffffff wrap=mixed text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "button_image";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 16 50;
+ image {
+ normal: "00_button_02_normal.png";
+ border: 7 7 7 7;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_02_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_02_focus.png";
+ }
+ }
+ part {
+ name: "padding_left";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ min: 5 5;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding_right";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ min: 5 5;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ min: 5 5;
+ fixed: 0 1;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 1.0;
+ min: 5 5;
+ fixed: 0 1;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "icon_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 1;
+ min: 0 40;
+ fixed: 1 0;
+ rel1 {relative: 0.0 1.0; to_x: "elm.swallow.content"; to_y: "padding_top"; }
+ rel2 {relative: 1.0 0.0; to_x: "elm.swallow.content"; to_y: "padding_bottom"; }
+ align: 0.0 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding_icon_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "icon_rect"; }
+ rel2 { relative: 1.0 1.0; to: "icon_rect"; }
+ fixed: 1 0;
+ min: 0 0;
+ color: 0 0 0 0;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "visible" 0.0; //when icon is visible
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "icon_rect"; }
+ rel2 { relative: 1.0 1.0; to: "icon_rect"; }
+ fixed: 1 0;
+ min: 5 0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
+ rel2 {relative: 1.0 0.0; to_x: "padding_left"; to_y: "padding_bottom"; }
+ fixed: 1 0;
+ }
+ description { state: "visible" 0.0;
+ fixed: 1 0;
+ visible: 1;
+ align: 0.0 0.5;
+ rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
+ rel2 {relative: 1.0 0.0; to_x: "padding_left"; to_y: "padding_bottom"; }
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ description { state: "icononly" 0.0;;
+ visible: 1;
+ min: 40 40;
+ rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
+ rel2 {relative: 0.0 0.0; to_x: "padding_right"; to_y: "padding_bottom"; }
+ align: 0.5 0.5;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ effect: SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 { relative: 1.0 1.0; to_x: "padding_icon_text"; to_y: "padding_top"; }
+ rel2 { relative: 0.0 0.0; to_x: "padding_right"; to_y:"padding_bottom"; }
+ align: 0.5 0.5;
+ color: 255 255 255 255;
+ color2: 0 0 0 0;
+ text {
+ style: "btn_sound_haptic_style";
+ min: 0 0;
+ max: 0 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 90 40;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 0 0;
+ color: 255 255 255 255;
+ color2: 0 0 0 102;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 128;
+ color3: 0 0 0 0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 128;
+ color3: 0 0 0 0;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 0 0;
+ color: 255 255 255 255;
+ color2: 0 0 0 102;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after:touch_sound ;
+ after:touch_haptic ;
+ after: "button_click_anim";
+ }
+ program { name: touch_sound;
+ action: TOUCH_SOUND BUTTON_PRESSED_SOUND 1;
+ }
+ program { name: touch_haptic;
+ action: TOUCH_HAPTIC WARNING_HAPTIC 3;
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ after: "text_clicked";
+ }
+ program { name: "text_clicked";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "clicked", 0.0);
+ }
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (strcmp(st, "icononly"))
+ {
+ emit("elm,action,default,text,set", "");
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ if(get_int(button_state) !=1)
+ set_state(PART:"button_image", "default", 0.0);
+ }
+ after: button_unpress;
+ }
+ program { name: "button_click2";
+ signal: "mouse,down,1";
+ source: "over3";
+ action: STATE_SET "clicked" 0.0;
+ target: "over3";
+ }
+ program { name: "button_unclick2";
+ signal: "mouse,clicked,1";
+ source: "over3";
+ action: STATE_SET "default" 0.0;
+ target: "over3";
+ }
+ program { name: "button_unclick3";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "over2";
+ target: "disabler";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(button_state, 1);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "over2";
+ target: "disabler";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(button_state, 0);
+ }
+ }
+ program { name: "focused";
+ signal: "elm,action,focus";
+ source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "unfocused";
+ signal: "elm,action,unfocus";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ after: "unfocus_text";
+ }
+ program { name: "unfocus_text";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+#define NAVIFRAME_VIEW_TRANS_TIME 0.3
+
+ group { name:"elm/naviframe/base/default";
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ }
+ }
+ }
+ }
+
+ group { name:"elm/naviframe/item/basic/default";
+ images {
+ image: "00_badge_bg.png" COMP;
+ }
+ script {
+ public tbar_bg = 0; //Toolbar BG Show call count
+ public toolbar_buttons_visible = 0; //when both toolbar buttons are visible
+ public title_toolbar_buttons_visible = 0; //when both title toolbar buttons are visible
+ public tbar_close = 0; //Toolbar lastest Open/Close status
+ public sip_visible = 0; //SIP latest visible/hidden status
+ public title_badge_visible = 0; //Title badge visible/hidden status
+ public title_slide_visible = 0; //Title slide visible/hidden status
+ }
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "left" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: -1.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ description { state: "right" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 2.0 1.0;
+ }
+ }
+ part { name: "title_toolbar_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "base"; }
+ rel2 { relative: 1.0 0.0; to: "base"; }
+ color: NAVIFRAME_TITLE_BG_COLOR_INC;
+ visible: 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 NAVIFRAME_TITLE_H_INC;
+ visible: 1;
+ }
+ }
+ part { name: "title_toolbar_top_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: NAVIFRAME_TITLE_TOOLBAR_TOP_PADDING_INC;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "title_toolbar_bg"; }
+ rel2 { relative: 1.0 0.0; to: "title_toolbar_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_toolbar_bottom_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TITLE_TOOLBAR_BOTTOM_PADDING_INC;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1 { relative: 0.0 1.0; to: "title_toolbar_bg"; }
+ rel2 { relative: 1.0 1.0; to: "title_toolbar_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_more_btn_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 1.0; to_x: "title_toolbar_bg"; to_y: "title_toolbar_top_padding"; }
+ rel2 { relative: 0.0 0.0; to_x: "title_toolbar_bg"; to_y: "title_toolbar_bottom_padding"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_prev_btn_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC;
+ fixed: 1 1;
+ align: 1.0 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "title_toolbar_bg"; to_y: "title_toolbar_top_padding"; }
+ rel2 { relative: 1.0 0.0; to_x: "title_toolbar_bg"; to_y: "title_toolbar_bottom_padding"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_toolbar_btns_area";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { relative: 1.0 0.0; to: "title_more_btn_bg"; }
+ rel2 { relative: 0.0 1.0; to: "title_prev_btn_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_toolbar_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "title_toolbar_bg"; }
+ rel2 { to: "title_toolbar_bg"; }
+ }
+ }
+ part { name: "title_toolbar_button_padding";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 0;
+ max: NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 9999;
+ fixed : 1 0;
+ visible: 0;
+ align: 0.5 0.5;
+ rel1.to: "title_toolbar_btns_area";
+ rel2.to: "title_toolbar_btns_area";
+ }
+ }
+ part { name: "title_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 1 NAVIFRAME_TITLE_H_INC;
+ align: 0.0 0.0;
+ fixed: 0 1;
+ rel1 { relative: 0.0 0.0; to: "base"; }
+ rel2 { relative: 1.0 0.0; to: "base"; }
+ color: NAVIFRAME_TITLE_BG_COLOR_INC;
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "title_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "title_bg"; }
+ rel2 { to: "title_bg"; }
+ }
+ }
+ part { name: "top_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: NAVIFRAME_TITLE_TOP_PADDING_INC;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "title_bg"; }
+ rel2 { relative: 1.0 0.0; to: "title_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "right_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: NAVIFRAME_TITLE_RIGHT_PADDING_INC;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "title_bg"; }
+ rel2 { relative: 1.0 1.0; to: "title_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "padding_center_text1";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_PADDING_INC;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "title_bg"; }
+ rel2 { relative: 0.0 1.0; to: "title_bg"; }
+ visible: 0;
+ }
+ description { state: "icon" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_ICON_PADDING_INC;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ repeat_events: 0;
+ clip_to: "content_clip";
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.to_x: "base";
+ rel1.to_y: "title_bg";
+ rel2.relative: 1.0 0.0;
+ rel2.to_x: "base";
+ rel2.to_y: "toolbar_bg";
+ }
+ description { state: "sip_visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to_y: "title_toolbar_bg";
+ }
+ }
+ part { name: "content_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+ part { name: "padding_center_text2";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_PADDING2_INC;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1 { relative: 0.0 0.0; to: "title_left_btn_bg"; }
+ rel2 { relative: 0.0 1.0; to: "title_left_btn_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "padding_bottom_text";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_BOTTOM_TEXT_PADDING_INC;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1 { relative: 0.0 1.0; to: "title_bg"; }
+ rel2 { relative: 1.0 1.0; to: "title_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "badge_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "padding_center_text2"; }
+ rel2 { relative: 0.0 1.0; to: "padding_center_text2"; }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_BADGE_PADDING_INC;
+ }
+ }
+ part { name: "elm.text.title";
+ type: TEXT;
+ effect: FAR_SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ text { font: "Tizen:style=Medium";
+ size: NAVIFRAME_TITLE_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
+ color3: 255 255 255 255;
+ align: 0.0 0.5;
+ fixed: 1 1;
+ rel1 { relative: 1.0 1.0; to_x: "padding_center_text1"; to_y: "top_padding"; }
+ rel2 { relative: 0.0 0.0; to_x: "badge_padding"; to_y: "padding_bottom_text"; }
+ }
+ description { state: "subtitle_is_set" 0.0;
+ inherit: "default" 0.0;
+ text { font: "Tizen:style=Medium";
+ size: NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ align: 0.0 0.2;
+ text_class: "tizen";
+ }
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to_x: "padding_center_text1"; to_y: "top_padding"; }
+ }
+ }
+ part { name: "elm.text.subtitle";
+ type: TEXT;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ text { font: "Tizen:style=Medium";
+ size: NAVIFRAME_SUBTITLE_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ text_class: "tizen";
+ align: 0.0 1.0;
+ }
+ color: NAVIFRAME_SUBTITLE_TEXT_COLOR_INC;
+ align: 0.0 1.0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_center_text1";
+ to_y: "elm.text.title";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "padding_center_text2";
+ to_y: "elm.text.title";
+ }
+ }
+ }
+ part { name: "padding_before_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ rel1 { relative: 0.0 0.0; to: "elm.text.title"; }
+ rel2 { relative: 0.0 1.0; to: "elm.text.title"; }
+ fixed: 1 0;
+ min: NAVIFRAME_PADDING_INC;
+ visible: 0;
+ }
+ }
+ part { name: "badge_top_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: NAVIFRAME_BADGE_TOP_PADDING_INC;
+ fixed: 0 1;
+ rel1 { relative: 0.0 0.0; to: "title_bg"; }
+ rel2 { relative: 1.0 0.0; to: "title_bg"; }
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "badge_left_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ fixed: 1 1;
+ rel1 { relative: 1.0 1.0; to_x: "elm.text.title"; to_y: "badge_top_padding"; }
+ rel2 { relative: 1.0 0.5; to_x: "elm.text.title"; to_y: "title_bg"; }
+ align: 0.0 0.5;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_PADDING2_INC;
+ }
+ description { state: "title_slide_is_set" 0.0;
+ inherit: "visible" 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "elm.swallow.title"; to_y: "badge_top_padding"; }
+ rel2 { relative: 1.0 0.5; to_x: "elm.swallow.title"; to_y: "title_bg"; }
+ }
+ }
+ part { name: "left.padding.text";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: 0 0;
+ rel1 {
+ to: "badge_left_padding";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "badge_left_padding";
+ relative: 1.0 1.0;
+ }
+ align: 0.0 0.0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: 23 48;
+ }
+ }
+ part { name: "right.padding.text";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: 0 0;
+ rel1 {
+ to: "title_badge";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "title_badge";
+ relative: 1.0 1.0;
+ }
+ align: 0.0 0.0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: 18 48;
+ }
+ }
+ part { name: "badge_bg";
+ type: IMAGE;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ fixed: 1 1;
+ rel1 {
+ to: "left.padding.text";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "right.padding.text";
+ relative: 1.0 1.0;
+ }
+ image {
+ normal: "00_badge_bg.png";
+ border: NAVIFRAME_BADGE_BG_IMAGE_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: NAVIFRAME_BADGE_BG_IMAGE_SIZE_INC;
+ }
+ }
+ part { name: "title_badge";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ max: NAVIFRAME_BADGE_TEXT_W_INC -1;
+ fixed: 1 0;
+ rel1 { relative: 1.0 0.0; to: "left.padding.text"; }
+ rel2 { relative: 1.0 1.0; to_y: "left.padding.text"; to_x: "badge_padding"; }
+ align: 0.0 0.5;
+ color: NAVIFRAME_BADGE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Bold";
+ size: NAVIFRAME_BADGE_TEXT_H_INC;
+ min: 0 0;
+ max: 1 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "click_event_area";
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ rel1 { to: "title_bg"; }
+ rel2 { to: "title_bg"; }
+ }
+ }
+ part { name: "elm.swallow.title";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clip";
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1 { relative: 1.0 1.0; to_x: "padding_center_text1"; to_y: "top_padding"; }
+ rel2 { relative: 0.0 0.0; to_x: "badge_padding"; to_y: "padding_bottom_text"; }
+ }
+ }
+ part { name: "access.title";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "title_bg";
+ rel2.to: "title_bg";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "title_more_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_toolbar_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "title_more_btn_bg";
+ rel2.to: "title_more_btn_bg";
+ }
+ }
+ part { name: "title_prev_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_toolbar_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "title_prev_btn_bg";
+ rel2.to: "title_prev_btn_bg";
+ }
+ }
+ part { name: "title_left_btn_bg";
+ type: RECT;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1 { relative: 0.0 0.0; to: "title_right_btn_bg"; }
+ rel2 { relative: 0.0 1.0; to: "title_right_btn_bg"; }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
+ }
+ }
+ part { name: "title_left_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1 { to: "title_left_btn_bg"; }
+ rel2 { to: "title_left_btn_bg"; }
+ }
+ }
+ part { name: "title_toolbar_button1";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_toolbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "title_toolbar_btns_area";
+ rel2.to: "title_toolbar_btns_area";
+ }
+ description { state: "buttons_set" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ rel2 {
+ relative: 0.0 1.0;
+ to: "title_toolbar_button_padding";
+ }
+ }
+ }
+ part { name: "title_toolbar_button2";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_toolbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "title_toolbar_btns_area";
+ rel2.to: "title_toolbar_btns_area";
+ }
+ description { state: "buttons_set" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "title_toolbar_button_padding";
+ }
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_ICON_SIZE_INC;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0; to: "padding_before_text"; }
+ rel2 { relative: 0.0 1.0; to: "padding_before_text"; }
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "title_right_btn_bg";
+ type: RECT;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1 { relative: 0.0 0.0; to: "right_padding"; }
+ rel2 { relative: 0.0 1.0; to: "right_padding"; }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
+ }
+ }
+ part { name: "title_right_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ rel1 { to: "title_right_btn_bg"; }
+ rel2 { to: "title_right_btn_bg"; }
+ }
+ }
+ part { name: "toolbar_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 999999 0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ visible: 0;
+ rel1 { to: "base"; }
+ rel2 { to: "base"; }
+ color: NAVIFRAME_TOOLBAR_BG_COLOR_INC;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC;
+ max: 999999 NAVIFRAME_TOOLBAR_HEIGHT_INC;
+ visible: 1;
+ }
+ }
+ part { name: "more_btn_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "toolbar_bg"; }
+ rel2 { relative: 0.0 1.0; to: "toolbar_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "toolbar_more_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "toolbar_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ rel1.to: "more_btn_bg";
+ rel2.to: "more_btn_bg";
+ }
+ }
+ part { name: "prev_btn_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "toolbar_bg"; }
+ rel2.to: "toolbar_bg";
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.prev_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "toolbar_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "prev_btn_bg";
+ rel2.to: "prev_btn_bg";
+ }
+ }
+ part { name: "toolbar_btns_area";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { relative: 1.0 0.0; to: "more_btn_bg"; }
+ rel2 { relative: 0.0 1.0; to: "prev_btn_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "toolbar_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "toolbar_bg"; }
+ rel2 { to: "toolbar_bg"; }
+ }
+ }
+ part { name: "toolbar_button1";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "toolbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "toolbar_btns_area";
+ rel2.to: "toolbar_btns_area";
+ }
+ description { state: "buttons_set" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ rel2 {
+ relative: 0.0 1.0;
+ to: "toolbar_button_padding";
+ }
+ }
+ }
+ part { name: "toolbar_button_padding";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 0;
+ max: NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 9999;
+ fixed : 1 0;
+ visible: 0;
+ align: 0.5 0.5;
+ rel1.to: "toolbar_btns_area";
+ rel2.to: "toolbar_btns_area";
+ }
+ }
+ part { name: "toolbar_button2";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "toolbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "toolbar_btns_area";
+ rel2.to: "toolbar_btns_area";
+ }
+ description { state: "buttons_set" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "toolbar_button_padding";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "content_new_pushed";
+ signal: "elm,state,new,pushed,deferred";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "show_finished";
+ }
+ program { name: "content_cur_pushed";
+ signal: "elm,state,cur,pushed,deferred";
+ source: "elm";
+ action: STATE_SET "left" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "pushed_finished";
+ }
+ program { name: "content_prev_popped";
+ signal: "elm,state,prev,popped,deferred";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "show_finished";
+ }
+ program { name: "content_cur_popped";
+ signal: "elm,state,cur,popped,deferred";
+ source: "elm";
+ action: STATE_SET "right" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "popped_finished";
+ }
+ program { name: "cur_pushed";
+ signal: "elm,state,cur,pushed";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "new_pushed";
+ signal: "elm,state,new,pushed";
+ source: "elm";
+ action: STATE_SET "right" 0.0;
+ target: "base";
+ }
+ program { name: "prev_popped";
+ signal: "elm,state,prev,popped";
+ source: "elm";
+ action: STATE_SET "left" 0.0;
+ target: "base";
+ }
+ program { name: "cur_popped";
+ signal: "elm,state,cur,popped";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "visible";
+ signal: "elm,state,visible";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "title_show";
+ signal: "elm,state,title,show";
+ source: "elm";
+ script {
+ if (get_int(sip_visible) == 0)
+ set_state(PART:"title_bg", "default", 0.0);
+ else
+ set_state(PART:"title_toolbar_bg", "show", 0.0);
+ }
+ }
+ program { name: "title_hide";
+ signal: "elm,state,title,hide";
+ source: "elm";
+ script {
+ if (get_int(sip_visible) == 0)
+ set_state(PART:"title_bg", "hide", 0.0);
+ else
+ set_state(PART:"title_toolbar_bg", "default", 0.0);
+ }
+ }
+ program { name: "subtitle_show";
+ signal: "elm,state,subtitle,show";
+ source: "elm";
+ script {
+ set_state(PART:"elm.text.title", "subtitle_is_set", 0.0);
+ }
+ }
+ program { name: "subtitle_hide";
+ signal: "elm,state,subtitle,hide";
+ source: "elm";
+ script {
+ set_state(PART:"elm.text.title", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,show";
+ source: "elm";
+ action: STATE_SET "icon" 0.0;
+ target: "padding_center_text1";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "padding_center_text1";
+ }
+ program { name: "left_btn_show";
+ signal: "elm,state,title_left_btn,show";
+ source: "elm";
+ script {
+ set_state(PART:"title_left_btn_bg", "visible", 0.0);
+ }
+ }
+ program { name: "left_btn_hide";
+ signal: "elm,state,title_left_btn,hide";
+ source: "elm";
+ script {
+ set_state(PART:"title_left_btn_bg", "default", 0.0);
+ }
+ }
+ program { name: "right_btn_show";
+ signal: "elm,state,title_right_btn,show";
+ source: "elm";
+ script {
+ set_state(PART:"title_right_btn_bg", "visible", 0.0);
+ }
+ }
+ program { name: "right_btn_hide";
+ signal: "elm,state,title_right_btn,hide";
+ source: "elm";
+ script {
+ set_state(PART:"title_right_btn_bg", "default", 0.0);
+ }
+ }
+ program { name: "sip_show";
+ signal: "elm,state,sip,shown";
+ source: "";
+ script {
+ set_int(sip_visible, 1);
+ set_state(PART:"title_bg", "hide", 0.0);
+ set_state(PART:"elm.swallow.content", "sip_visible", 0.0);
+ set_state(PART:"title_toolbar_bg", "show", 0.0);
+ }
+ }
+ program { name: "sip_hide";
+ signal: "elm,state,sip,hidden";
+ source: "";
+ script {
+ set_int(sip_visible, 0);
+ set_state(PART:"title_bg", "default", 0.0);
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"title_toolbar_bg", "default", 0.0);
+ }
+ }
+ program { name: "title_toolbar_button1_show";
+ signal: "elm,state,title_toolbar_button1,show";
+ source: "elm";
+ script {
+ set_int(title_toolbar_buttons_visible, get_int(title_toolbar_buttons_visible) + 1);
+ if (get_int(title_toolbar_buttons_visible) >= 2)
+ {
+ set_state(PART:"title_toolbar_button1", "buttons_set", 0.0);
+ set_state(PART:"title_toolbar_button2", "buttons_set", 0.0);
+ }
+ }
+ }
+ program { name: "title_toolbar_button1_hide";
+ signal: "elm,state,title_toolbar_button1,hide";
+ source: "elm";
+ script {
+ set_int(title_toolbar_buttons_visible, get_int(title_toolbar_buttons_visible) - 1);
+ set_state(PART:"title_toolbar_button1", "default", 0.0);
+ set_state(PART:"title_toolbar_button2", "default", 0.0);
+ }
+ }
+ program { name: "title_toolbar_button2_show";
+ signal: "elm,state,title_toolbar_button2,show";
+ source: "elm";
+ script {
+ set_int(title_toolbar_buttons_visible, get_int(title_toolbar_buttons_visible) + 1);
+ if (get_int(title_toolbar_buttons_visible) >= 2)
+ {
+ set_state(PART:"title_toolbar_button1", "buttons_set", 0.0);
+ set_state(PART:"title_toolbar_button2", "buttons_set", 0.0);
+ }
+ }
+ }
+ program { name: "title_toolbar_button2_hide";
+ signal: "elm,state,title_toolbar_button2,hide";
+ source: "elm";
+ script {
+ set_int(title_toolbar_buttons_visible, get_int(title_toolbar_buttons_visible) - 1);
+ set_state(PART:"title_toolbar_button1", "default", 0.0);
+ set_state(PART:"title_toolbar_button2", "default", 0.0);
+ }
+ }
+ program { name: "prev_btn_show";
+ signal: "elm,state,prev_btn,show";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,show", "elm");
+ }
+ }
+ program { name: "prev_btn_hide";
+ signal: "elm,state,prev_btn,hide";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,hide", "elm");
+ }
+ }
+ program { name: "more_btn_show";
+ signal: "elm,state,toolbar_more_btn,show";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,show", "elm");
+ }
+ }
+ program { name: "more_btn_hide";
+ signal: "elm,state,toolbar_more_btn,hide";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,hide", "elm");
+ }
+ }
+ program { name: "toolbar_button1_show";
+ signal: "elm,state,toolbar_button1,show";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,show", "elm");
+ set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) + 1);
+ if (get_int(toolbar_buttons_visible) >= 2)
+ {
+ set_state(PART:"toolbar_button1", "buttons_set", 0.0);
+ set_state(PART:"toolbar_button2", "buttons_set", 0.0);
+ }
+ }
+ }
+ program { name: "toolbar_button1_hide";
+ signal: "elm,state,toolbar_button1,hide";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,hide", "elm");
+ set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) - 1);
+ set_state(PART:"toolbar_button1", "default", 0.0);
+ set_state(PART:"toolbar_button2", "default", 0.0);
+ }
+ }
+ program { name: "toolbar_button2_show";
+ signal: "elm,state,toolbar_button2,show";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,show", "elm");
+ set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) + 1);
+ if (get_int(toolbar_buttons_visible) >= 2)
+ {
+ set_state(PART:"toolbar_button1", "buttons_set", 0.0);
+ set_state(PART:"toolbar_button2", "buttons_set", 0.0);
+ }
+ }
+ }
+ program { name: "toolbar_button2_hide";
+ signal: "elm,state,toolbar_button2,hide";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,hide", "elm");
+ set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) - 1);
+ set_state(PART:"toolbar_button1", "default", 0.0);
+ set_state(PART:"toolbar_button2", "default", 0.0);
+ }
+ }
+ program { name: "toolbar_bg_show";
+ signal: "elm,state,toolbar_bg,show";
+ source: "elm";
+ script {
+ set_state(PART:"toolbar_bg", "visible", 0.0);
+ set_int(tbar_bg, get_int(tbar_bg) + 1);
+ }
+ }
+ program { name: "toolbar_bg_hide";
+ signal: "elm,state,toolbar_bg,hide";
+ source: "elm";
+ script {
+ set_int(tbar_bg, get_int(tbar_bg) - 1);
+ if (get_int(tbar_bg) <= 0)
+ set_state(PART:"toolbar_bg", "default", 0.0);
+ }
+ }
+ program { name: "toolbar_open_internal";
+ signal: "elm,state,toolbar,open,internal";
+ source: "elm";
+ script {
+ set_int(tbar_close, 0);
+ set_state(PART:"toolbar_bg", "visible", 0.0);
+ }
+ }
+ program { name: "toolbar_close_internal";
+ signal: "elm,state,toolbar,close,internal";
+ source: "elm";
+ script {
+ set_int(tbar_close, 1);
+ set_state(PART:"toolbar_bg", "default", 0.0);
+ }
+ }
+ program { name: "toolbar_open";
+ signal: "elm,state,toolbar,open";
+ source: "";
+ action: STATE_SET "visible" 0.0;
+ target: "toolbar_bg";
+ transition: LINEAR 0.2;
+ after: "toolbar_open_internal";
+ }
+ program { name: "toolbar_close";
+ signal: "elm,state,toolbar,close";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "toolbar_bg";
+ transition: LINEAR 0.2;
+ after: "toolbar_close_internal";
+ }
+ program { name: "toolbar_instant_open";
+ signal: "elm,state,toolbar,instant_open";
+ source: "";
+ script {
+ emit("elm,state,toolbar,open,internal", "elm");
+ }
+ }
+ program { name: "toolbar_instant_close";
+ signal: "elm,state,toolbar,instant_close";
+ source: "";
+ script {
+ emit("elm,state,toolbar,close,internal", "elm");
+ }
+ }
+ program { name: "show_finished";
+ action: SIGNAL_EMIT "elm,action,show,finished" "";
+ }
+ program { name: "pushed_finished";
+ action: SIGNAL_EMIT "elm,action,pushed,finished" "";
+ }
+ program { name: "popped_finished";
+ action: SIGNAL_EMIT "elm,action,popped,finished" "";
+ }
+ program {
+ name: "title_clicked";
+ signal: "mouse,clicked,1";
+ source: "click_event_area";
+ action: SIGNAL_EMIT "elm,action,title,clicked" "";
+ }
+ program {
+ name: "display_mode_compress";
+ signal: "display,mode,compress";
+ source: "";
+ script {
+ set_state(PART:"toolbar_bg", "default", 0.0);
+ }
+ }
+ program {
+ name: "display_mode_default";
+ signal: "display,mode,default";
+ source: "";
+ script {
+ if ((get_int(tbar_bg) > 0) && (get_int(tbar_close) == 0))
+ set_state(PART:"toolbar_bg", "visible", 0.0);
+ }
+ }
+ program {
+ name: "title_badge_show";
+ signal: "elm,state,title_badge,show";
+ source: "elm";
+ script {
+ if (get_int(title_slide_visible) == 0)
+ set_state(PART:"badge_left_padding", "visible", 0.0);
+ else
+ set_state(PART:"badge_left_padding", "title_slide_is_set", 0.0);
+ set_state(PART:"badge_padding", "visible", 0.0);
+ set_state(PART:"left.padding.text", "visible", 0.0);
+ set_state(PART:"right.padding.text", "visible", 0.0);
+ set_state(PART:"badge_bg", "visible", 0.0);
+ set_state(PART:"title_badge", "visible", 0.0);
+ set_int(title_badge_visible, 1);
+ }
+ }
+ program {
+ name: "title_badge_hide";
+ signal: "elm,state,title_badge,hide";
+ source: "elm";
+ script {
+ set_state(PART:"badge_left_padding", "default", 0.0);
+ set_state(PART:"badge_padding", "default", 0.0);
+ set_state(PART:"left.padding.text", "default", 0.0);
+ set_state(PART:"right.padding.text", "default", 0.0);
+ set_state(PART:"badge_bg", "default", 0.0);
+ set_state(PART:"title_badge", "default", 0.0);
+ set_int(title_badge_visible, 0);
+ }
+ }
+ program {
+ name: "title_slide_show";
+ signal: "elm,state,elm.swallow.title,show";
+ source: "elm";
+ script {
+ if (get_int(title_badge_visible) == 1)
+ set_state(PART:"badge_left_padding", "title_slide_is_set", 0.0);
+ set_int(title_slide_visible, 1);
+ }
+ }
+ program {
+ name: "title_slide_hide";
+ signal: "elm,state,elm.swallow.title,hide";
+ source: "elm";
+ script {
+ if (get_int(title_badge_visible) == 1)
+ set_state(PART:"badge_left_padding", "visible", 0.0);
+ set_int(title_slide_visible, 0);
+ }
+ }
+ }
+ }
+
+ group { name: "elm/naviframe/item/tabbar/default";
+ script {
+ public tbar_bg = 0; //Controlbar BG Show call count
+ public toolbar_buttons_visible = 0; //when both toolbar buttons are visible
+ public title_toolbar_buttons_visible = 0; //when both title toolbar buttons are visible
+ public tbar_close = 0; //Toolbar lastest Open/Close status
+ public sip_visible = 0; //SIP latest visible/hidden status
+ }
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "left" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: -1.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ description { state: "right" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 2.0 1.0;
+ }
+ }
+ part { name: "title_toolbar_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "base"; }
+ rel2 { relative: 1.0 0.0; to: "base"; }
+ color: NAVIFRAME_TITLE_BG_COLOR_INC;
+ visible: 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 NAVIFRAME_TITLE_H_INC;
+ visible: 1;
+ }
+ }
+ part { name: "title_toolbar_top_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: NAVIFRAME_TITLE_TOOLBAR_TOP_PADDING_INC;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "title_toolbar_bg"; }
+ rel2 { relative: 1.0 0.0; to: "title_toolbar_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_toolbar_bottom_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TITLE_TOOLBAR_BOTTOM_PADDING_INC;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1 { relative: 0.0 1.0; to: "title_toolbar_bg"; }
+ rel2 { relative: 1.0 1.0; to: "title_toolbar_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_more_btn_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 1.0; to_x: "title_toolbar_bg"; to_y: "title_toolbar_top_padding"; }
+ rel2 { relative: 0.0 0.0; to_x: "title_toolbar_bg"; to_y: "title_toolbar_bottom_padding"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_prev_btn_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC;
+ fixed: 1 1;
+ align: 1.0 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "title_toolbar_bg"; to_y: "title_toolbar_top_padding"; }
+ rel2 { relative: 1.0 0.0; to_x: "title_toolbar_bg"; to_y: "title_toolbar_bottom_padding"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_toolbar_btns_area";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { relative: 1.0 0.0; to: "title_more_btn_bg"; }
+ rel2 { relative: 0.0 1.0; to: "title_prev_btn_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_toolbar_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "title_toolbar_bg"; }
+ rel2 { to: "title_toolbar_bg"; }
+ }
+ }
+ part { name: "title_toolbar_button_padding";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 0;
+ max: NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 9999;
+ fixed : 1 0;
+ visible: 0;
+ align: 0.5 0.5;
+ rel1.to: "title_toolbar_btns_area";
+ rel2.to: "title_toolbar_btns_area";
+ }
+ }
+ part { name: "title_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 1 NAVIFRAME_TAB_TITLE_H_INC;
+ align: 0.0 0.0;
+ fixed: 0 1;
+ rel1 { relative: 0.0 0.0; to: "base"; }
+ rel2 { relative: 1.0 0.0; to: "base"; }
+ color: NAVIFRAME_TITLE_BG_COLOR_INC;
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "title_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "title_bg"; }
+ rel2 { to: "title_bg"; }
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ repeat_events: 0;
+ clip_to: "content_clip";
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.to_x: "base";
+ rel1.to_y: "title_bg";
+ rel2.relative: 1.0 0.0;
+ rel2.to_x: "base";
+ rel2.to_y: "toolbar_bg";
+ }
+ description { state: "sip_visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to_y: "title_toolbar_bg";
+ }
+ }
+ part { name: "content_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+ part { name: "text_left_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1 { relative: 0.0 0.0; to: "title_bg"; }
+ rel2 { relative: 0.0 1.0; to: "title_bg"; }
+ fixed: 1 0;
+ min: NAVIFRAME_PADDING_INC;
+ visible: 0;
+ }
+ }
+ part { name: "right_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ rel1 { relative: 1.0 0.0; to: "title_bg"; }
+ rel2 { relative: 1.0 1.0; to: "title_bg"; }
+ fixed: 1 0;
+ min: NAVIFRAME_PADDING3_INC;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.title";
+ type: TEXT;
+ scale: 1;
+ effect: FAR_SHADOW BOTTOM;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ visible: 1;
+ text { font: "Tizen:style=Medium";
+ size: NAVIFRAME_TITLE_TAB_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ min: 0 NAVIFRAME_TITLE_TAB_TEXT_H_INC;
+ max: 999999 NAVIFRAME_TITLE_TAB_TEXT_H_INC;
+ fixed: 1 1;
+ color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
+ color3: 255 255 255 255;
+ align: 0 0;
+ rel1.to: "text_left_padding";
+ rel1.relative: 1.0 0.0;
+ rel2.to: "right_padding";
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ part { name: "click_event_area";
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ rel1 { to: "title_bg"; }
+ rel2 { to: "title_bg"; }
+ }
+ }
+ part { name: "access.title";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "title_bg";
+ rel2.to: "title_bg";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "title_more_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_toolbar_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "title_more_btn_bg";
+ rel2.to: "title_more_btn_bg";
+ }
+ }
+ part { name: "title_prev_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_toolbar_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "title_prev_btn_bg";
+ rel2.to: "title_prev_btn_bg";
+ }
+ }
+ part { name: "title_toolbar_button1";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_toolbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "title_toolbar_btns_area";
+ rel2.to: "title_toolbar_btns_area";
+ }
+ description { state: "buttons_set" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ rel2 {
+ relative: 0.0 1.0;
+ to: "title_toolbar_button_padding";
+ }
+ }
+ }
+ part { name: "title_toolbar_button2";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_toolbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "title_toolbar_btns_area";
+ rel2.to: "title_toolbar_btns_area";
+ }
+ description { state: "buttons_set" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "title_toolbar_button_padding";
+ }
+ }
+ }
+ part { name: "tabbar";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ min: 0 NAVIFRAME_TITLE_TAB_H_INC;
+ max: 999999 NAVIFRAME_TITLE_TAB_H_INC;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ rel1.to_x: "title_bg";
+ rel1.to_y: "elm.text.title";
+ rel1.relative: 0.0 1.0;
+ rel2.to_x: "title_bg";
+ rel2.to_y: "bottom_padding";
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "bottom_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_BOTTOM_PADDING_INC;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1 { relative: 0.0 1.0; to: "title_bg"; }
+ rel2 { relative: 1.0 1.0; to: "title_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "toolbar_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 999999 0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ visible: 0;
+ rel1 { to: "base"; }
+ rel2 { to: "base"; }
+ color: NAVIFRAME_TOOLBAR_BG_COLOR_INC;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC;
+ max: 999999 NAVIFRAME_TOOLBAR_HEIGHT_INC;
+ visible: 1;
+ }
+ }
+ part { name: "more_btn_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "toolbar_bg"; }
+ rel2 { relative: 0.0 1.0; to: "toolbar_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "toolbar_more_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "toolbar_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ rel1.to: "more_btn_bg";
+ rel2.to: "more_btn_bg";
+ }
+ }
+ part { name: "prev_btn_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "toolbar_bg"; }
+ rel2.to: "toolbar_bg";
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.prev_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "toolbar_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "prev_btn_bg";
+ rel2.to: "prev_btn_bg";
+ }
+ }
+ part { name: "toolbar_btns_area";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { relative: 1.0 0.0; to: "more_btn_bg"; }
+ rel2 { relative: 0.0 1.0; to: "prev_btn_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "toolbar_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "toolbar_bg"; }
+ rel2 { to: "toolbar_bg"; }
+ }
+ }
+ part { name: "toolbar_button1";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "toolbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "toolbar_btns_area";
+ rel2.to: "toolbar_btns_area";
+ }
+ description { state: "buttons_set" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ rel2 {
+ relative: 0.0 1.0;
+ to: "toolbar_button_padding";
+ }
+ }
+ }
+ part { name: "toolbar_button_padding";
+ type: RECT;
+ scale : 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 0;
+ max: NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 9999;
+ fixed : 1 0;
+ visible: 0;
+ align: 0.5 0.5;
+ rel1.to: "toolbar_btns_area";
+ rel2.to: "toolbar_btns_area";
+ }
+ }
+ part { name: "toolbar_button2";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "toolbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "toolbar_btns_area";
+ rel2.to: "toolbar_btns_area";
+ }
+ description { state: "buttons_set" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "toolbar_button_padding";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "content_new_pushed";
+ signal: "elm,state,new,pushed,deferred";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "show_finished";
+ }
+ program { name: "content_cur_pushed";
+ signal: "elm,state,cur,pushed,deferred";
+ source: "elm";
+ action: STATE_SET "left" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "pushed_finished";
+ }
+ program { name: "content_prev_popped";
+ signal: "elm,state,prev,popped,deferred";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "show_finished";
+ }
+ program { name: "content_cur_popped";
+ signal: "elm,state,cur,popped,deferred";
+ source: "elm";
+ action: STATE_SET "right" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "popped_finished";
+ }
+ program { name: "cur_pushed";
+ signal: "elm,state,cur,pushed";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "new_pushed";
+ signal: "elm,state,new,pushed";
+ source: "elm";
+ action: STATE_SET "right" 0.0;
+ target: "base";
+ }
+ program { name: "prev_popped";
+ signal: "elm,state,prev,popped";
+ source: "elm";
+ action: STATE_SET "left" 0.0;
+ target: "base";
+ }
+ program { name: "cur_popped";
+ signal: "elm,state,cur,popped";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "visible";
+ signal: "elm,state,visible";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "title_show";
+ signal: "elm,state,title,show";
+ source: "elm";
+ script {
+ if (get_int(sip_visible) == 0)
+ set_state(PART:"title_bg", "default", 0.0);
+ else
+ set_state(PART:"title_toolbar_bg", "show", 0.0);
+ }
+ }
+ program { name: "title_hide";
+ signal: "elm,state,title,hide";
+ source: "elm";
+ script {
+ if (get_int(sip_visible) == 0)
+ set_state(PART:"title_bg", "hide", 0.0);
+ else
+ set_state(PART:"title_toolbar_bg", "default", 0.0);
+ }
+ }
+ program { name: "sip_show";
+ signal: "elm,state,sip,shown";
+ source: "";
+ script {
+ set_int(sip_visible, 1);
+ set_state(PART:"title_bg", "hide", 0.0);
+ set_state(PART:"elm.swallow.content", "sip_visible", 0.0);
+ set_state(PART:"title_toolbar_bg", "show", 0.0);
+ }
+ }
+ program { name: "sip_hide";
+ signal: "elm,state,sip,hidden";
+ source: "";
+ script {
+ set_int(sip_visible, 0);
+ set_state(PART:"title_bg", "default", 0.0);
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"title_toolbar_bg", "default", 0.0);
+ }
+ }
+ program { name: "title_toolbar_button1_show";
+ signal: "elm,state,title_toolbar_button1,show";
+ source: "elm";
+ script {
+ set_int(title_toolbar_buttons_visible, get_int(title_toolbar_buttons_visible) + 1);
+ if (get_int(title_toolbar_buttons_visible) >= 2)
+ {
+ set_state(PART:"title_toolbar_button1", "buttons_set", 0.0);
+ set_state(PART:"title_toolbar_button2", "buttons_set", 0.0);
+ }
+ }
+ }
+ program { name: "title_toolbar_button1_hide";
+ signal: "elm,state,title_toolbar_button1,hide";
+ source: "elm";
+ script {
+ set_int(title_toolbar_buttons_visible, get_int(title_toolbar_buttons_visible) - 1);
+ set_state(PART:"title_toolbar_button1", "default", 0.0);
+ set_state(PART:"title_toolbar_button2", "default", 0.0);
+ }
+ }
+ program { name: "title_toolbar_button2_show";
+ signal: "elm,state,title_toolbar_button2,show";
+ source: "elm";
+ script {
+ set_int(title_toolbar_buttons_visible, get_int(title_toolbar_buttons_visible) + 1);
+ if (get_int(title_toolbar_buttons_visible) >= 2)
+ {
+ set_state(PART:"title_toolbar_button1", "buttons_set", 0.0);
+ set_state(PART:"title_toolbar_button2", "buttons_set", 0.0);
+ }
+ }
+ }
+ program { name: "title_toolbar_button2_hide";
+ signal: "elm,state,title_toolbar_button2,hide";
+ source: "elm";
+ script {
+ set_int(title_toolbar_buttons_visible, get_int(title_toolbar_buttons_visible) - 1);
+ set_state(PART:"title_toolbar_button1", "default", 0.0);
+ set_state(PART:"title_toolbar_button2", "default", 0.0);
+ }
+ }
+ program { name: "prev_btn_show";
+ signal: "elm,state,prev_btn,show";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,show", "elm");
+ }
+ }
+ program { name: "prev_btn_hide";
+ signal: "elm,state,prev_btn,hide";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,hide", "elm");
+ }
+ }
+ program { name: "more_btn_show";
+ signal: "elm,state,toolbar_more_btn,show";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,show", "elm");
+ }
+ }
+ program { name: "more_btn_hide";
+ signal: "elm,state,toolbar_more_btn,hide";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,hide", "elm");
+ }
+ }
+ program { name: "toolbar_button1_show";
+ signal: "elm,state,toolbar_button1,show";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,show", "elm");
+ set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) + 1);
+ if (get_int(toolbar_buttons_visible) >= 2)
+ {
+ set_state(PART:"toolbar_button1", "buttons_set", 0.0);
+ set_state(PART:"toolbar_button2", "buttons_set", 0.0);
+ }
+ }
+ }
+ program { name: "toolbar_button1_hide";
+ signal: "elm,state,toolbar_button1,hide";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,hide", "elm");
+ set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) - 1);
+ set_state(PART:"toolbar_button1", "default", 0.0);
+ set_state(PART:"toolbar_button2", "default", 0.0);
+ }
+ }
+ program { name: "toolbar_button2_show";
+ signal: "elm,state,toolbar_button2,show";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,show", "elm");
+ set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) + 1);
+ if (get_int(toolbar_buttons_visible) >= 2)
+ {
+ set_state(PART:"toolbar_button1", "buttons_set", 0.0);
+ set_state(PART:"toolbar_button2", "buttons_set", 0.0);
+ }
+ }
+ }
+ program { name: "toolbar_button2_hide";
+ signal: "elm,state,toolbar_button2,hide";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,hide", "elm");
+ set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) - 1);
+ set_state(PART:"toolbar_button1", "default", 0.0);
+ set_state(PART:"toolbar_button2", "default", 0.0);
+ }
+ }
+ program { name: "toolbar_bg_show";
+ signal: "elm,state,toolbar_bg,show";
+ source: "elm";
+ script {
+ set_state(PART:"toolbar_bg", "visible", 0.0);
+ set_int(tbar_bg, get_int(tbar_bg) + 1);
+ }
+ }
+ program { name: "toolbar_bg_hide";
+ signal: "elm,state,toolbar_bg,hide";
+ source: "elm";
+ script {
+ set_int(tbar_bg, get_int(tbar_bg) - 1);
+ if (get_int(tbar_bg) <= 0)
+ set_state(PART:"toolbar_bg", "default", 0.0);
+ }
+ }
+ program { name: "toolbar_open_internal";
+ signal: "elm,state,toolbar,open,internal";
+ source: "elm";
+ script {
+ set_int(tbar_close, 0);
+ set_state(PART:"toolbar_bg", "visible", 0.0);
+ }
+ }
+ program { name: "toolbar_close_internal";
+ signal: "elm,state,toolbar,close,internal";
+ source: "elm";
+ script {
+ set_int(tbar_close, 1);
+ set_state(PART:"toolbar_bg", "default", 0.0);
+ }
+ }
+ program { name: "toolbar_open";
+ signal: "elm,state,toolbar,open";
+ source: "";
+ action: STATE_SET "visible" 0.0;
+ target: "toolbar_bg";
+ transition: LINEAR 0.2;
+ after: "toolbar_open_internal";
+ }
+ program { name: "toolbar_close";
+ signal: "elm,state,toolbar,close";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "toolbar_bg";
+ transition: LINEAR 0.2;
+ after: "toolbar_close_internal";
+ }
+ program { name: "toolbar_instant_open";
+ signal: "elm,state,toolbar,instant_open";
+ source: "";
+ script {
+ emit("elm,state,toolbar,open,internal", "elm");
+ }
+ }
+ program { name: "toolbar_instant_close";
+ signal: "elm,state,toolbar,instant_close";
+ source: "";
+ script {
+ emit("elm,state,toolbar,close,internal", "elm");
+ }
+ }
+ program { name: "show_finished";
+ action: SIGNAL_EMIT "elm,action,show,finished" "";
+ }
+ program { name: "pushed_finished";
+ action: SIGNAL_EMIT "elm,action,pushed,finished" "";
+ }
+ program { name: "popped_finished";
+ action: SIGNAL_EMIT "elm,action,popped,finished" "";
+ }
+ program {
+ name: "title_clicked";
+ signal: "mouse,clicked,1";
+ source: "click_event_area";
+ action: SIGNAL_EMIT "elm,action,title,clicked" "";
+ }
+ program {
+ name: "display_mode_compress";
+ signal: "display,mode,compress";
+ source: "";
+ script {
+ set_state(PART:"toolbar_bg", "default", 0.0);
+ }
+ }
+ program {
+ name: "display_mode_default";
+ signal: "display,mode,default";
+ source: "";
+ script {
+ if ((get_int(tbar_bg) > 0) && (get_int(tbar_close) == 0))
+ set_state(PART:"toolbar_bg", "visible", 0.0);
+ }
+ }
+ }
+ }
+
+ group { name:"elm/naviframe/item/empty/default";
+ script {
+ public tbar_bg = 0; //Toolbar BG Show call count
+ public toolbar_buttons_visible = 0; //when both toolbar buttons are visible
+ public title_toolbar_buttons_visible = 0; //when both title toolbar buttons are visible
+ public tbar_close = 0; //Toolbar lastest Open/Close status
+ public sip_visible = 0; //SIP latest visible/hidden status
+ }
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "left" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: -1.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ description { state: "right" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 2.0 1.0;
+ }
+ }
+ part { name: "title_toolbar_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "base"; }
+ rel2 { relative: 1.0 0.0; to: "base"; }
+ color: NAVIFRAME_TITLE_BG_COLOR_INC;
+ visible: 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 NAVIFRAME_TITLE_H_INC;
+ visible: 1;
+ }
+ }
+ part { name: "title_toolbar_top_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: NAVIFRAME_TITLE_TOOLBAR_TOP_PADDING_INC;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "title_toolbar_bg"; }
+ rel2 { relative: 1.0 0.0; to: "title_toolbar_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_toolbar_bottom_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TITLE_TOOLBAR_BOTTOM_PADDING_INC;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1 { relative: 0.0 1.0; to: "title_toolbar_bg"; }
+ rel2 { relative: 1.0 1.0; to: "title_toolbar_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_more_btn_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 1.0; to_x: "title_toolbar_bg"; to_y: "title_toolbar_top_padding"; }
+ rel2 { relative: 0.0 0.0; to: "title_toolbar_bg"; to_y: "title_toolbar_bottom_padding"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_more_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_toolbar_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "title_more_btn_bg";
+ rel2.to: "title_more_btn_bg";
+ }
+ }
+ part { name: "title_prev_btn_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC;
+ fixed: 1 1;
+ align: 1.0 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "title_toolbar_bg"; to_y: "title_toolbar_top_padding"; }
+ rel2 { relative: 1.0 0.0; to: "title_toolbar_bg"; to_y: "title_toolbar_bottom_padding"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_prev_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_toolbar_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "title_prev_btn_bg";
+ rel2.to: "title_prev_btn_bg";
+ }
+ }
+ part { name: "title_toolbar_btns_area";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { relative: 1.0 0.0; to: "title_more_btn_bg"; }
+ rel2 { relative: 0.0 1.0; to: "title_prev_btn_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_toolbar_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "title_toolbar_bg"; }
+ rel2 { to: "title_toolbar_bg"; }
+ }
+ }
+ part { name: "title_toolbar_button1";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_toolbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "title_toolbar_btns_area";
+ rel2.to: "title_toolbar_btns_area";
+ }
+ description { state: "buttons_set" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ rel2 {
+ relative: 0.0 1.0;
+ to: "title_toolbar_button_padding";
+ }
+ }
+ }
+ part { name: "title_toolbar_button_padding";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 0;
+ max: NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 9999;
+ fixed : 1 0;
+ visible: 0;
+ align: 0.5 0.5;
+ rel1.to: "title_toolbar_btns_area";
+ rel2.to: "title_toolbar_btns_area";
+ }
+ }
+ part { name: "title_toolbar_button2";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_toolbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "title_toolbar_btns_area";
+ rel2.to: "title_toolbar_btns_area";
+ }
+ description { state: "buttons_set" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "title_toolbar_button_padding";
+ }
+ }
+ }
+ part { name: "title_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 { to: "title"; }
+ rel2 { to: "title"; }
+ color: NAVIFRAME_TITLE_BG_COLOR_INC;
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ repeat_events: 0;
+ clip_to: "content_clip";
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.to_x: "base";
+ rel1.to_y: "title_bg";
+ rel2.relative: 1.0 0.0;
+ rel2.to_x: "base";
+ rel2.to_y: "toolbar_bg";
+ }
+ description { state: "sip_visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to_y: "title_toolbar_bg";
+ }
+ }
+ part { name: "content_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+ part { name: "title";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ fixed: 0 1;
+ rel1 { relative: 0.0 0.0; to: "base"; }
+ rel2 { relative: 1.0 0.0; to: "base"; }
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ max: 0 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "toolbar_bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 999999 0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ visible: 0;
+ rel1 { to: "base"; }
+ rel2 { to: "base"; }
+ color: NAVIFRAME_TOOLBAR_BG_COLOR_INC;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC;
+ max: 999999 NAVIFRAME_TOOLBAR_HEIGHT_INC;
+ visible: 1;
+ }
+ }
+ part { name: "more_btn_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "toolbar_bg"; }
+ rel2 { relative: 0.0 1.0; to: "toolbar_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "toolbar_more_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "toolbar_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ rel1.to: "more_btn_bg";
+ rel2.to: "more_btn_bg";
+ }
+ }
+ part { name: "prev_btn_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "toolbar_bg"; }
+ rel2.to: "toolbar_bg";
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.prev_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "toolbar_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "prev_btn_bg";
+ rel2.to: "prev_btn_bg";
+ }
+ }
+ part { name: "toolbar_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "toolbar_bg"; }
+ rel2 { to: "toolbar_bg"; }
+ }
+ }
+ part { name: "toolbar_btns_area";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { relative: 1.0 0.0; to: "more_btn_bg"; }
+ rel2 { relative: 0.0 1.0; to: "prev_btn_bg"; }
+ visible: 0;
+ }
+ }
+ part { name: "toolbar_button1";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "toolbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "toolbar_btns_area";
+ rel2.to: "toolbar_btns_area";
+ }
+ description { state: "buttons_set" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ rel2 {
+ relative: 0.0 1.0;
+ to: "toolbar_button_padding";
+ }
+ }
+ }
+ part { name: "toolbar_button_padding";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 0;
+ max: NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 9999;
+ fixed : 1 0;
+ visible: 0;
+ align: 0.5 0.5;
+ rel1.to: "toolbar_btns_area";
+ rel2.to: "toolbar_btns_area";
+ }
+ }
+ part { name: "toolbar_button2";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "toolbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "toolbar_btns_area";
+ rel2.to: "toolbar_btns_area";
+ }
+ description { state: "buttons_set" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "toolbar_button_padding";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "content_new_pushed";
+ signal: "elm,state,new,pushed,deferred";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "show_finished";
+ }
+ program { name: "content_cur_pushed";
+ signal: "elm,state,cur,pushed,deferred";
+ source: "elm";
+ action: STATE_SET "left" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "pushed_finished";
+ }
+ program { name: "content_prev_popped";
+ signal: "elm,state,prev,popped,deferred";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "show_finished";
+ }
+ program { name: "content_cur_popped";
+ signal: "elm,state,cur,popped,deferred";
+ source: "elm";
+ action: STATE_SET "right" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "popped_finished";
+ }
+ program { name: "cur_pushed";
+ signal: "elm,state,cur,pushed";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "new_pushed";
+ signal: "elm,state,new,pushed";
+ source: "elm";
+ action: STATE_SET "right" 0.0;
+ target: "base";
+ }
+ program { name: "prev_popped";
+ signal: "elm,state,prev,popped";
+ source: "elm";
+ action: STATE_SET "left" 0.0;
+ target: "base";
+ }
+ program { name: "cur_popped";
+ signal: "elm,state,cur,popped";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "visible";
+ signal: "elm,state,visible";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "title_show";
+ signal: "elm,state,title,show";
+ source: "elm";
+ script {
+ if (get_int(sip_visible) == 0) {
+ set_state(PART:"title_bg", "default", 0.0);
+ set_state(PART:"title", "default", 0.0);
+ }
+ else
+ set_state(PART:"title_toolbar_bg", "show", 0.0);
+ }
+ }
+ program { name: "title_hide";
+ signal: "elm,state,title,hide";
+ source: "elm";
+ script {
+ if (get_int(sip_visible) == 0) {
+ set_state(PART:"title_bg", "hide", 0.0);
+ set_state(PART:"title", "hide", 0.0);
+ }
+ else
+ set_state(PART:"title_toolbar_bg", "default", 0.0);
+ }
+ }
+ program { name: "sip_show";
+ signal: "elm,state,sip,shown";
+ source: "";
+ script {
+ set_int(sip_visible, 1);
+ set_state(PART:"title_bg", "hide", 0.0);
+ set_state(PART:"title", "hide", 0.0);
+ set_state(PART:"title_toolbar_bg", "show", 0.0);
+ set_state(PART:"elm.swallow.content", "sip_visible", 0.0);
+ }
+ }
+ program { name: "sip_hide";
+ signal: "elm,state,sip,hidden";
+ source: "";
+ script {
+ set_int(sip_visible, 0);
+ set_state(PART:"title_bg", "default", 0.0);
+ set_state(PART:"title", "default", 0.0);
+ set_state(PART:"title_toolbar_bg", "default", 0.0);
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ }
+ }
+ program { name: "title_toolbar_button1_show";
+ signal: "elm,state,title_toolbar_button1,show";
+ source: "elm";
+ script {
+ set_int(title_toolbar_buttons_visible, get_int(title_toolbar_buttons_visible) + 1);
+ if (get_int(title_toolbar_buttons_visible) >= 2)
+ {
+ set_state(PART:"title_toolbar_button1", "buttons_set", 0.0);
+ set_state(PART:"title_toolbar_button2", "buttons_set", 0.0);
+ }
+ }
+ }
+ program { name: "title_toolbar_button1_hide";
+ signal: "elm,state,title_toolbar_button1,hide";
+ source: "elm";
+ script {
+ set_int(title_toolbar_buttons_visible, get_int(title_toolbar_buttons_visible) - 1);
+ set_state(PART:"title_toolbar_button1", "default", 0.0);
+ set_state(PART:"title_toolbar_button2", "default", 0.0);
+ }
+ }
+ program { name: "title_toolbar_button2_show";
+ signal: "elm,state,title_toolbar_button2,show";
+ source: "elm";
+ script {
+ set_int(title_toolbar_buttons_visible, get_int(title_toolbar_buttons_visible) + 1);
+ if (get_int(title_toolbar_buttons_visible) >= 2)
+ {
+ set_state(PART:"title_toolbar_button1", "buttons_set", 0.0);
+ set_state(PART:"title_toolbar_button2", "buttons_set", 0.0);
+ }
+ }
+ }
+ program { name: "title_toolbar_button2_hide";
+ signal: "elm,state,title_toolbar_button2,hide";
+ source: "elm";
+ script {
+ set_int(title_toolbar_buttons_visible, get_int(title_toolbar_buttons_visible) - 1);
+ set_state(PART:"title_toolbar_button1", "default", 0.0);
+ set_state(PART:"title_toolbar_button2", "default", 0.0);
+ }
+ }
+ program { name: "prev_btn_show";
+ signal: "elm,state,prev_btn,show";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,show", "elm");
+ }
+ }
+ program { name: "prev_btn_hide";
+ signal: "elm,state,prev_btn,hide";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,hide", "elm");
+ }
+ }
+ program { name: "more_btn_show";
+ signal: "elm,state,toolbar_more_btn,show";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,show", "elm");
+ }
+ }
+ program { name: "more_btn_hide";
+ signal: "elm,state,toolbar_more_btn,hide";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,hide", "elm");
+ }
+ }
+ program { name: "toolbar_button1_show";
+ signal: "elm,state,toolbar_button1,show";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,show", "elm");
+ set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) + 1);
+ if (get_int(toolbar_buttons_visible) >= 2)
+ {
+ set_state(PART:"toolbar_button1", "buttons_set", 0.0);
+ set_state(PART:"toolbar_button2", "buttons_set", 0.0);
+ }
+ }
+ }
+ program { name: "toolbar_button1_hide";
+ signal: "elm,state,toolbar_button1,hide";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,hide", "elm");
+ set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) - 1);
+ set_state(PART:"toolbar_button1", "default", 0.0);
+ set_state(PART:"toolbar_button2", "default", 0.0);
+ }
+ }
+ program { name: "toolbar_button2_show";
+ signal: "elm,state,toolbar_button2,show";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,show", "elm");
+ set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) + 1);
+ if (get_int(toolbar_buttons_visible) >= 2)
+ {
+ set_state(PART:"toolbar_button1", "buttons_set", 0.0);
+ set_state(PART:"toolbar_button2", "buttons_set", 0.0);
+ }
+ }
+ }
+ program { name: "toolbar_button2_hide";
+ signal: "elm,state,toolbar_button2,hide";
+ source: "elm";
+ script {
+ emit("elm,state,toolbar_bg,hide", "elm");
+ set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) - 1);
+ set_state(PART:"toolbar_button1", "default", 0.0);
+ set_state(PART:"toolbar_button2", "default", 0.0);
+ }
+ }
+ program { name: "toolbar_bg_show";
+ signal: "elm,state,toolbar_bg,show";
+ source: "elm";
+ script {
+ set_state(PART:"toolbar_bg", "visible", 0.0);
+ set_int(tbar_bg, get_int(tbar_bg) + 1);
+ }
+ }
+ program { name: "toolbar_bg_hide";
+ signal: "elm,state,toolbar_bg,hide";
+ source: "elm";
+ script {
+ set_int(tbar_bg, get_int(tbar_bg) - 1);
+ if (get_int(tbar_bg) <= 0)
+ set_state(PART:"toolbar_bg", "default", 0.0);
+ }
+ }
+ program { name: "toolbar_open_internal";
+ signal: "elm,state,toolbar,open,internal";
+ source: "elm";
+ script {
+ set_int(tbar_close, 0);
+ set_state(PART:"toolbar_bg", "visible", 0.0);
+ }
+ }
+ program { name: "toolbar_close_internal";
+ signal: "elm,state,toolbar,close,internal";
+ source: "elm";
+ script {
+ set_int(tbar_close, 1);
+ set_state(PART:"toolbar_bg", "default", 0.0);
+ }
+ }
+ program { name: "toolbar_open";
+ signal: "elm,state,toolbar,open";
+ source: "";
+ action: STATE_SET "visible" 0.0;
+ target: "toolbar_bg";
+ transition: LINEAR 0.2;
+ after: "toolbar_open_internal";
+ }
+ program { name: "toolbar_close";
+ signal: "elm,state,toolbar,close";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "toolbar_bg";
+ transition: LINEAR 0.2;
+ after: "toolbar_close_internal";
+ }
+ program { name: "toolbar_instant_open";
+ signal: "elm,state,toolbar,instant_open";
+ source: "";
+ script {
+ emit("elm,state,toolbar,open,internal", "elm");
+ }
+ }
+ program { name: "toolbar_instant_close";
+ signal: "elm,state,toolbar,instant_close";
+ source: "";
+ script {
+ emit("elm,state,toolbar,close,internal", "elm");
+ }
+ }
+ program { name: "show_finished";
+ action: SIGNAL_EMIT "elm,action,show,finished" "";
+ }
+ program { name: "pushed_finished";
+ action: SIGNAL_EMIT "elm,action,pushed,finished" "";
+ }
+ program { name: "popped_finished";
+ action: SIGNAL_EMIT "elm,action,popped,finished" "";
+ }
+ program {
+ name: "display_mode_compress";
+ signal: "display,mode,compress";
+ source: "";
+ script {
+ set_state(PART:"toolbar_bg", "default", 0.0);
+ }
+ }
+ program {
+ name: "display_mode_default";
+ signal: "display,mode,default";
+ source: "";
+ script {
+ if ((get_int(tbar_bg) > 0) && (get_int(tbar_close) == 0))
+ set_state(PART:"toolbar_bg", "visible", 0.0);
+ }
+ }
+ }
+ }
+
+ group { name:"elm/naviframe/item/basic/uglib";
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "right" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 2.0 1.0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ repeat_events: 0;
+ clip_to: "base";
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel1.to: "base";
+ rel2.relative: 1.0 1.0;
+ rel2.to: "base";
+ }
+ }
+ }
+ programs {
+ program { name: "content_new_pushed";
+ signal: "elm,state,new,pushed,deferred";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "show_finished";
+ }
+ program { name: "content_cur_pushed";
+ signal: "elm,state,cur,pushed,deferred";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "pushed_finished";
+ }
+ program { name: "content_prev_popped";
+ signal: "elm,state,prev,popped,deferred";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "show_finished";
+ }
+ program { name: "content_cur_popped";
+ signal: "elm,state,cur,popped,deferred";
+ source: "elm";
+ action: STATE_SET "right" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "popped_finished";
+ }
+ program { name: "cur_pushed";
+ signal: "elm,state,cur,pushed";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "new_pushed";
+ signal: "elm,state,new,pushed";
+ source: "elm";
+ action: STATE_SET "right" 0.0;
+ target: "base";
+ }
+ program { name: "prev_popped";
+ signal: "elm,state,prev,popped";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "cur_popped";
+ signal: "elm,state,cur,popped";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "visible";
+ signal: "elm,state,visible";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "show_finished";
+ action: SIGNAL_EMIT "elm,action,show,finished" "";
+ }
+ program { name: "pushed_finished";
+ action: SIGNAL_EMIT "elm,action,pushed,finished" "";
+ }
+ program { name: "popped_finished";
+ action: SIGNAL_EMIT "elm,action,popped,finished" "";
+ }
+ }
+ }
+
+
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+group { name: "elm/notify/block_events/default";
+ parts {
+ part { name: "block_events";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: POPUP_DIM_BG_COLOR_INC;
+ }
+ description { state: "clicked" 0.0;
+ color: POPUP_DIM_BG_CLICKED_COLOR_INC;
+ }
+ }
+ }
+ programs {
+ program { name: "block_clicked";
+ signal: "mouse,clicked,1";
+ source: "block_events";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ after: "deeper_block_color";
+ }
+ program {
+ name: "deeper_block_color";
+ action: STATE_SET "clicked" 0.0;
+ target: "block_events";
+ transition: LINEAR 0.2;
+ after: "default_block_color";
+ }
+ program {
+ name: "default_block_color";
+ action: STATE_SET "default" 0.0;
+ target: "block_events";
+ transition: LINEAR 0.2;
+ }
+ }
+}
+
+group { name: "elm/notify/top/default";
+ //this group is a design similar to the inwin group
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 -1.0;
+ rel2.relative: 1.0 0.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 64;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "pop";
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ }
+ programs {
+ program { name: "show_3";
+ signal: "show";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ transition: LINEAR 0.5;
+ }
+ program { name: "hide";
+ signal: "hide";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ }
+}
+
+group { name: "elm/notify/center/default";
+ //this group is a design similar to the inwin group
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "pop";
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ }
+}
+
+group { name: "elm/notify/bottom/default";
+ //this group is a design similar to the inwin group
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 2.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 64;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "pop";
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ }
+ programs {
+ program { name: "show_3";
+ signal: "show";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ transition: LINEAR 0.5;
+ }
+ program { name: "hide";
+ signal: "hide";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ }
+}
+
+group { name: "elm/notify/left/default";
+ //this group is a design similar to the inwin group
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: -1.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 64;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "pop";
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ }
+ programs {
+ program { name: "show_3";
+ signal: "show";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ transition: LINEAR 0.5;
+ }
+ program { name: "hide";
+ signal: "hide";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ }
+}
+
+group { name: "elm/notify/right/default";
+ //this group is a design similar to the inwin group
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 2.0 1.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 64;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "pop";
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ }
+ programs {
+ program { name: "show_3";
+ signal: "show";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ transition: LINEAR 0.5;
+ }
+ program { name: "hide";
+ signal: "hide";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ }
+}
+
+group { name: "elm/notify/top_left/default";
+ //this group is a design similar to the inwin group
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 -1.0;
+ rel2.relative: 1.0 0.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 64;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "pop";
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ }
+ programs {
+ program { name: "show_3";
+ signal: "show";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ transition: LINEAR 0.5;
+ }
+ program { name: "hide";
+ signal: "hide";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ }
+}
+
+group { name: "elm/notify/top_right/default";
+ //this group is a design similar to the inwin group
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 -1.0;
+ rel2.relative: 1.0 0.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 64;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "pop";
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ }
+ programs {
+ program { name: "show_3";
+ signal: "show";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ transition: LINEAR 0.5;
+ }
+ program { name: "hide";
+ signal: "hide";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ }
+}
+
+group { name: "elm/notify/bottom_left/default";
+ //this group is a design similar to the inwin group
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 2.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 64;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "pop";
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ }
+ programs {
+ program { name: "show_3";
+ signal: "show";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ transition: LINEAR 0.5;
+ }
+ program { name: "hide";
+ signal: "hide";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ }
+}
+
+group { name: "elm/notify/bottom_right/default";
+ //this group is a design similar to the inwin group
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 2.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 64;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "pop";
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ }
+ programs {
+ program { name: "show_3";
+ signal: "show";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ transition: LINEAR 0.5;
+ }
+ program { name: "hide";
+ signal: "hide";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ }
+}
+
+///////////////////////////////////////////////////////////////////////////////
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+ group {
+ name: "elm/panes/vertical/default";
+ images {
+ image: "00_splite_handler_bg_v.png" COMP;
+ image: "00_splite_handler_bg_press.png" COMP;
+ image: "00_splite_handler_v.png" COMP;
+ }
+ parts
+ {
+ part
+ {
+ name: "whole";
+ type: RECT;
+ description
+ {
+ state: "default" 0.0;
+ visible: 0;
+ rel1.to_x: "pad_left";
+ rel2.to_x: "pad_right";
+ }
+ }
+ part {
+ name: "pad_left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel2.relative:0.0 1.0;
+ min: PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ visible: 0;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part {
+ name: "pad_right";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ min: PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ visible: 0;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ //2 contents
+ part
+ {
+ name: "whole_left";
+ type: RECT;
+ mouse_events: 0;
+ description
+ {
+ state: "default" 0.0;
+ rel1 {
+ to_x: "pad_left";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to_x: "bar_bg";
+ relative: 0.0 1.0;
+ }
+ }
+ description
+ {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ }
+ part
+ {
+ name: "elm.swallow.left";
+ type: SWALLOW;
+ clip_to: "whole_left";
+ description
+ {
+ state: "default" 0.0;
+ rel1.to: "whole_left";
+ rel2.to: "whole_left";
+ }
+ description
+ {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: -1.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ part
+ {
+ name: "whole_right";
+ type: RECT;
+ mouse_events: 0;
+ description
+ {
+ state: "default" 0.0;
+ rel1 {
+ to_x: "bar_bg";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to_x: "pad_right";
+ relative: 0.0 1.0;
+ }
+ }
+ }
+ part
+ {
+ name: "elm.swallow.right";
+ type: SWALLOW;
+ clip_to: "whole_right";
+ description
+ {
+ state: "default" 0.0;
+ rel1.to: "whole_right";
+ rel2.to: "whole_right";
+ }
+ }
+ //BAR
+ part { name: "elm.bar";
+ type: RECT;
+ dragable {
+ confine: "whole";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ scale: 1;
+ description { state: "default" 0.0;
+ min: PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 999999;
+ fixed: 0 1;
+ align: 1.0 0.5;
+ rel1.relative: 0.0 0.5;
+ rel2.relative: 1.0 0.5;
+ color: 0 0 0 0;
+ }
+ description { state: "default" 0.1;
+ inherit: "default" 0.0;
+ min: 0 999999;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ min: PANES_STYLE_DEFAULT_FIXED_SIZE_INC 999999;
+ }
+ description { state: "disabled" 0.1;
+ inherit: "default" 0.1;
+ }
+ }
+ part { name: "pad_bar_left";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 0;
+ align: 0.0 0.5;
+ rel1.to_x: "elm.bar";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.bar";
+ }
+ fixed: 1 0;
+ visible: 0;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part { name: "pad_bar_right";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.bar";
+ }
+ rel2.to_x: "elm.bar";
+ fixed: 1 0;
+ visible: 0;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part { name: "bar_bg";
+ type: IMAGE;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "pad_bar_left";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "pad_bar_right";
+ }
+ fixed: 1 0;
+ image.normal: "00_splite_handler_bg_v.png";
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_splite_handler_bg_press.png";
+ }
+ }
+ part { name:"bar_handler";
+ mouse_events: 0;
+ description { state:"default" 0.0;
+ rel1 {
+ to_x: "bar_bg";
+ relative: 0.0 0.5;
+ }
+ rel2 {
+ to_x: "bar_bg";
+ relative: 1.0 0.5;
+ }
+ fixed: 0 1;
+ min: 0 PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC;
+ image.normal: "00_splite_handler_v.png";
+ }
+ description { state:"clicked" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "over2";
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ rel1.to: "elm.bar";
+ rel2.to: "elm.bar";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "over3";
+ mouse_events: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.bar";
+ rel2.to: "elm.bar";
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name:"bar_disabled";
+ type: RECT;
+ description { state:"default" 0.0;
+ rel1.to_x: "elm.bar";
+ rel2.to_x: "elm.bar";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ script {
+ public state_pair = 1; //0:both contents are not set, 1:both contents are set
+ public frame_num, whole_drag;
+
+ public drag_effect(val) {
+ new Float:time, Float:cur_drag, Float:drag;
+ new num;
+
+ num = get_int(frame_num);
+ drag = get_float(whole_drag);
+
+ num += 1;
+ time = 0.06 * num; // decide speed
+ cur_drag = drag - drag * sin(time * 90, DEGREES);
+
+ set_int(frame_num, num);
+
+ if (time < 1.0 && cur_drag > 0.0) {
+ set_drag(PART:"elm.bar", cur_drag, 0.0);
+ timer(0.02, "drag_effect", val);
+ }
+ else {
+ set_drag(PART:"elm.bar", 0.0, 0.0);
+ run_program(PROGRAM:"left_content_reset");
+ }
+ }
+ }
+ programs {
+ program {
+ name: "drag_effect_start";
+ signal: "elm,panes,left,hide";
+ source: "";
+ script {
+ new Float:x, Float:y;
+
+ get_drag(PART:"elm.bar", x, y);
+ set_float(whole_drag, x);
+ set_int(frame_num, 0);
+
+ timer(0.02, "drag_effect", 0);
+ }
+ after: "left_content_hide";
+ }
+ program {
+ name: "left_content_hide";
+ action: STATE_SET "hide" 0.0;
+ transition: DECELERATE 0.4;
+ target: "elm.swallow.left";
+ target: "whole_left";
+ }
+ program {
+ name: "left_content_reset";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.left";
+ target: "whole_left";
+ }
+ program {
+ name: "panes_pair";
+ signal: "elm,panes,pair";
+ source: "";
+ script {
+ new st[31];
+ new Float:vl;
+ set_int(state_pair, 1);
+ get_state(PART:"elm.bar", st, 30, vl);
+ set_state(PART:"elm.bar", st, 0.0);
+ set_state(PART:"pad_left", "default", 0.0);
+ set_state(PART:"pad_right", "default", 0.0);
+ set_state(PART:"pad_bar_left", "default", 0.0);
+ set_state(PART:"pad_bar_right", "default", 0.0);
+ }
+ }
+ program {
+ name: "panes_unpair";
+ signal: "elm,panes,unpair";
+ source: "";
+ script {
+ new st[31];
+ new Float:vl;
+ set_int(state_pair, 0);
+ get_state(PART:"elm.bar", st, 30, vl);
+ set_state(PART:"elm.bar", st, 0.1);
+ set_state(PART:"pad_left", "hidden", 0.0);
+ set_state(PART:"pad_right", "hidden", 0.0);
+ set_state(PART:"pad_bar_left", "hidden", 0.0);
+ set_state(PART:"pad_bar_right", "hidden", 0.0);
+ }
+ }
+ program {
+ name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program {
+ name: "button_click_anim";
+ script {
+ set_state(PART:"bar_bg", "clicked", 0.0);
+ }
+ }
+ program {
+ name: "button_unclick";
+ signal: "mouse,up,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ after: "button_unclick_anim";
+ }
+ program {
+ name: "button_unclick_anim";
+ script {
+ set_state(PART:"bar_bg", "default", 0.0);
+ }
+ }
+ program {
+ name: "button_click2";
+ signal: "mouse,down,1";
+ source: "over3";
+ action: STATE_SET "clicked" 0.0;
+ target: "over3";
+ }
+ program {
+ name: "button_unclick2";
+ signal: "mouse,up,1";
+ source: "over3";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "over3";
+ }
+ program {
+ name: "button_unclick3";
+ signal: "mouse,up,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "button_down_double";
+ signal: "mouse,down,1,double";
+ source: "over3";
+ action: SIGNAL_EMIT "elm,action,click,double" "";
+ }
+ //fix the pane
+ program {
+ name: "panes_fixed";
+ signal: "elm.panes.fixed";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "bar_disabled";
+ after: "after_fixed";
+ }
+ program {
+ name: "after_fixed";
+ script {
+ if (get_int(state_pair))
+ set_state(PART:"elm.bar", "disabled", 0.0);
+ else
+ set_state(PART:"elm.bar", "disabled", 0.1);
+ }
+ }
+ //allow the movement by interaction
+ program {
+ name: "panes_unfixed";
+ signal: "elm.panes.unfixed";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bar_disabled";
+ after: "after_unfixed";
+ }
+ program {
+ name: "after_unfixed";
+ script {
+ if (get_int(state_pair))
+ set_state(PART:"elm.bar", "default", 0.0);
+ else
+ set_state(PART:"elm.bar", "default", 0.1);
+ }
+ }
+ }
+ }
+
+ group {
+ name: "elm/panes/horizontal/default";
+ images {
+ image: "00_splite_handler_bg_h.png" COMP;
+ image: "00_splite_handler_bg_press.png" COMP;
+ image: "00_splite_handler_h.png" COMP;
+ }
+ script {
+ public state_pair = 1; //0:both contents are not set, 1:both contents are set
+ }
+ parts
+ {
+ part
+ {
+ name: "whole";
+ type: RECT;
+ description
+ {
+ state: "default" 0.0;
+ visible: 0;
+ rel1.to_y: "pad_left";
+ rel2.to_y: "pad_right";
+ }
+ }
+ part {
+ name: "pad_left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel2.relative:1.0 0.0;
+ min: 0 PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ visible: 0;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part {
+ name: "pad_right";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ min: 0 PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ visible: 0;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ //2 contents
+ part
+ {
+ name: "whole_left";
+ type: RECT;
+ mouse_events: 0;
+ description
+ {
+ state: "default" 0.0;
+ rel1 {
+ to_y: "pad_left";
+ relative: 0.0 1.0;
+ }
+ rel2 {
+ to_y: "bar_bg";
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ part
+ {
+ name: "elm.swallow.left";
+ type: SWALLOW;
+ clip_to: "whole_left";
+ description
+ {
+ state: "default" 0.0;
+ rel1.to: "whole_left";
+ rel2.to: "whole_left";
+ }
+ }
+ part
+ {
+ name: "whole_right";
+ type: RECT;
+ mouse_events: 0;
+ description
+ {
+ state: "default" 0.0;
+ rel1 {
+ to_y: "bar_bg";
+ relative: 0.0 1.0;
+ }
+ rel2 {
+ to_y: "pad_right";
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ part
+ {
+ name: "elm.swallow.right";
+ type: SWALLOW;
+ clip_to: "whole_right";
+ description
+ {
+ state: "default" 0.0;
+ rel1.to: "whole_right";
+ rel2.to: "whole_right";
+ }
+ }
+ //BAR
+ part { name: "elm.bar";
+ type: RECT;
+ dragable {
+ confine: "whole";
+ x: 0 0 0;
+ y: 1 1 1;
+ }
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 999999 PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC;
+ fixed: 1 0;
+ align: 0.5 0.0;
+ rel1.relative: 0.5 0.0;
+ rel2.relative: 0.5 1.0;
+ color: 0 0 0 0;
+ }
+ description { state: "default" 0.1;
+ inherit: "default" 0.0;
+ min: 999999 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ min: 999999 PANES_STYLE_DEFAULT_FIXED_SIZE_INC;
+ visible: 0;
+ }
+ description { state: "disabled" 0.1;
+ inherit: "default" 0.1;
+ }
+ }
+ part { name: "pad_bar_left";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC;
+ align: 0.5 0.0;
+ rel1.to_y: "elm.bar";
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.bar";
+ }
+ fixed: 0 1;
+ visible: 0;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part { name: "pad_bar_right";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC;
+ align: 0.5 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "elm.bar";
+ }
+ rel2.to_y: "elm.bar";
+ fixed: 0 1;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part { name: "bar_bg";
+ type: IMAGE;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "pad_bar_left";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "pad_bar_right";
+ }
+ fixed: 0 1;
+ image.normal: "00_splite_handler_bg_h.png";
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_splite_handler_bg_press.png";
+ }
+ }
+ part { name:"bar_handler";
+ mouse_events: 0;
+ description { state:"default" 0.0;
+ rel1 {
+ to_y: "bar_bg";
+ relative: 0.5 0.0;
+ }
+ rel2 {
+ to_y: "bar_bg";
+ relative: 0.5 1.0;
+ }
+ fixed: 1 0;
+ min: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 0;
+ image.normal: "00_splite_handler_h.png";
+ }
+ description { state:"clicked" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "over2";
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ rel1.to: "elm.bar";
+ rel2.to: "elm.bar";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "over3";
+ mouse_events: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.bar";
+ rel2.to: "elm.bar";
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name:"bar_disabled";
+ type: RECT;
+ description { state:"default" 0.0;
+ rel1.to_y: "elm.bar";
+ rel2.to_y: "elm.bar";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "panes_pair";
+ signal: "elm,panes,pair";
+ source: "";
+ script {
+ new st[31];
+ new Float:vl;
+ set_int(state_pair, 1);
+ get_state(PART:"elm.bar", st, 30, vl);
+ set_state(PART:"elm.bar", st, 0.0);
+ set_state(PART:"pad_left", "default", 0.0);
+ set_state(PART:"pad_right", "default", 0.0);
+ set_state(PART:"pad_bar_left", "default", 0.0);
+ set_state(PART:"pad_bar_right", "default", 0.0);
+ }
+ }
+ program {
+ name: "panes_unpair";
+ signal: "elm,panes,unpair";
+ source: "";
+ script {
+ new st[31];
+ new Float:vl;
+ set_int(state_pair, 0);
+ get_state(PART:"elm.bar", st, 30, vl);
+ set_state(PART:"elm.bar", st, 0.1);
+ set_state(PART:"pad_left", "hidden", 0.0);
+ set_state(PART:"pad_right", "hidden", 0.0);
+ set_state(PART:"pad_bar_left", "hidden", 0.0);
+ set_state(PART:"pad_bar_right", "hidden", 0.0);
+ }
+ }
+ program {
+ name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program {
+ name: "button_click_anim";
+ script {
+ set_state(PART:"bar_bg", "clicked", 0.0);
+ }
+ }
+ program {
+ name: "button_unclick";
+ signal: "mouse,up,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ after: "button_unclick_anim";
+ }
+ program {
+ name: "button_unclick_anim";
+ script {
+ set_state(PART:"bar_bg", "default", 0.0);
+ }
+ }
+ program {
+ name: "button_click2";
+ signal: "mouse,down,1";
+ source: "over3";
+ action: STATE_SET "clicked" 0.0;
+ target: "over3";
+ }
+ program {
+ name: "button_unclick2";
+ signal: "mouse,up,1";
+ source: "over3";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "over3";
+ }
+ program {
+ name: "button_unclick3";
+ signal: "mouse,up,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "button_down_double";
+ signal: "mouse,down,1,double";
+ source: "over3";
+ action: SIGNAL_EMIT "elm,action,click,double" "";
+ }
+ //fix the pane
+ program {
+ name: "panes_fixed";
+ signal: "elm.panes.fixed";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "bar_disabled";
+ after: "after_fixed";
+ }
+ program {
+ name: "after_fixed";
+ script {
+ if (get_int(state_pair))
+ set_state(PART:"elm.bar", "disabled", 0.0);
+ else
+ set_state(PART:"elm.bar", "disabled", 0.1);
+ }
+ }
+ //allow the movement by interaction
+ program {
+ name: "panes_unfixed";
+ signal: "elm.panes.unfixed";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bar_disabled";
+ after: "after_unfixed";
+ }
+ program {
+ name: "after_unfixed";
+ script {
+ if (get_int(state_pair))
+ set_state(PART:"elm.bar", "default", 0.0);
+ else
+ set_state(PART:"elm.bar", "default", 0.1);
+ }
+ }
+ }
+ }
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+group { name: "elm/photocam/base/default";
+ script {
+ public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
+ public timer0(val) {
+ new v;
+ v = get_int(sbvis_v);
+ if (v) {
+ v = get_int(sbalways_v);
+ if (!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ v = get_int(sbvis_h);
+ if (v) {
+ v = get_int(sbalways_h);
+ if (!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ set_int(sbvis_timer, 0);
+ return 0;
+ }
+ }
+ images {
+ image: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE COMP;
+ image: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE COMP;
+ image: "bt_sm_shine.png" COMP;
+ image: "bt_sm_hilight.png" COMP;
+ image: "sb_runnerh.png" COMP;
+ image: "sb_runnerv.png" COMP;
+ image: "00_winset_list_process_01.png" COMP;
+ image: "00_winset_list_process_02.png" COMP;
+ image: "00_winset_list_process_03.png" COMP;
+ image: "00_winset_list_process_04.png" COMP;
+ image: "00_winset_list_process_05.png" COMP;
+ image: "00_winset_list_process_06.png" COMP;
+ image: "00_winset_list_process_07.png" COMP;
+ image: "00_winset_list_process_08.png" COMP;
+ image: "00_winset_list_process_09.png" COMP;
+ image: "00_winset_list_process_10.png" COMP;
+ image: "00_winset_list_process_11.png" COMP;
+ image: "00_winset_list_process_12.png" COMP;
+ image: "00_winset_list_process_13.png" COMP;
+ image: "00_winset_list_process_14.png" COMP;
+ image: "00_winset_list_process_15.png" COMP;
+ image: "00_winset_list_process_16.png" COMP;
+ image: "00_winset_list_process_17.png" COMP;
+ image: "00_winset_list_process_18.png" COMP;
+ image: "00_winset_list_process_19.png" COMP;
+ image: "00_winset_list_process_20.png" COMP;
+ image: "00_winset_list_process_21.png" COMP;
+ image: "00_winset_list_process_22.png" COMP;
+ image: "00_winset_list_process_23.png" COMP;
+ image: "00_winset_list_process_24.png" COMP;
+ image: "00_winset_list_process_25.png" COMP;
+ image: "00_winset_list_process_26.png" COMP;
+ image: "00_winset_list_process_27.png" COMP;
+ image: "00_winset_list_process_28.png" COMP;
+ image: "00_winset_list_process_29.png" COMP;
+ image: "00_winset_list_process_30.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ }
+ part { name: "elm.swallow.content";
+ clip_to: "clipper";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "conf_over";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ visible: 0;
+ }
+ }
+ part { name: "busy_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "active" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "busy";
+ clip_to: "busy_clip";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 32 32;
+ aspect: 1.0 1.0;
+ align: 1.0 1.0;
+ aspect_preference: BOTH;
+ rel1 {
+ relative: 0.9 0.9;
+ offset: -9 -9;
+ }
+ rel2 {
+ relative: 0.9 0.9;
+ offset: -9 -9;
+ }
+ image {
+ normal: "00_winset_list_process_30.png";
+ tween: "00_winset_list_process_01.png";
+ tween: "00_winset_list_process_02.png";
+ tween: "00_winset_list_process_03.png";
+ tween: "00_winset_list_process_04.png";
+ tween: "00_winset_list_process_05.png";
+ tween: "00_winset_list_process_06.png";
+ tween: "00_winset_list_process_07.png";
+ tween: "00_winset_list_process_08.png";
+ tween: "00_winset_list_process_09.png";
+ tween: "00_winset_list_process_10.png";
+ tween: "00_winset_list_process_11.png";
+ tween: "00_winset_list_process_12.png";
+ tween: "00_winset_list_process_13.png";
+ tween: "00_winset_list_process_14.png";
+ tween: "00_winset_list_process_15.png";
+ tween: "00_winset_list_process_16.png";
+ tween: "00_winset_list_process_17.png";
+ tween: "00_winset_list_process_18.png";
+ tween: "00_winset_list_process_19.png";
+ tween: "00_winset_list_process_20.png";
+ tween: "00_winset_list_process_21.png";
+ tween: "00_winset_list_process_22.png";
+ tween: "00_winset_list_process_23.png";
+ tween: "00_winset_list_process_24.png";
+ tween: "00_winset_list_process_25.png";
+ tween: "00_winset_list_process_26.png";
+ tween: "00_winset_list_process_27.png";
+ tween: "00_winset_list_process_28.png";
+ tween: "00_winset_list_process_29.png";
+ }
+ }
+ }
+ part { name: "sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_vbar_clip";
+ clip_to: "sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part {name: "vbar.padding";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 0;
+ max: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 0;
+ align: 1 0.5;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "elm.swallow.content";
+ }
+ }
+ }
+ part { name: "sb_vbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC;
+ align: 1.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: -1 0;
+ to_y: "elm.swallow.content";
+ to_x: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: -1 -1;
+ to_y: "elm.swallow.content";
+ to_x: "vbar.padding";
+ }
+ }
+ }
+ part { name: "sb_vbar_runner";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC;
+ max: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC;
+ rel1.to: "sb_vbar";
+ rel2.to: "sb_vbar";
+ visible: 0;
+ image {
+ normal: "sb_runnerv.png";
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_RUNNER_BORDER;
+ border_scale: 1;
+ }
+ fill.smooth: 0;
+ }
+ }
+ part { name: "elm.dragable.vbar";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "sb_vbar";
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC;
+ max: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC;
+ rel1 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_vbar";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_vbar";
+ }
+ image {
+ normal: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE;
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE_BORDER;
+ border_scale: 1;
+ middle: DEFAULT;
+ }
+ }
+ }
+ part { name: "sb_vbar_over1";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.vbar";
+ rel2.relative: 1.0 0.5;
+ rel2.to: "elm.dragable.vbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_hilight.png";
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER1;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "sb_vbar_over2";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.vbar";
+ rel2.to: "elm.dragable.vbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_shine.png";
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER2;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_hbar_clip";
+ clip_to: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part {name: "hbar.padding";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE;
+ max: 0 SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE;
+ align: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "elm.swallow.content";
+ }
+ }
+ }
+ part { name: "sb_hbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ min: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC;
+ align: 0.0 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: 0 -1;
+ to_y: "elm.swallow.content";
+ to_x: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: -1 -1;
+ to_x: "sb_vbar";
+ to_y: "hbar.padding";
+ }
+ }
+ }
+ part { name: "sb_hbar_runner";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC;
+ max: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MAX_SIZE_INC;
+ rel1.to: "sb_hbar";
+ rel2.to: "sb_hbar";
+ visible: 0;
+ image {
+ normal: "sb_runnerh.png";
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_RUNNER_BORDER;
+ border_scale: 1;
+ }
+ fill.smooth: 0;
+ }
+ }
+ part { name: "elm.dragable.hbar";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "sb_hbar";
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC;
+ max: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC;
+ rel1 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_hbar";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_hbar";
+ }
+ color: 255 255 255 0;
+ image {
+ normal: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE;
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE_BORDER;
+ border_scale: 1;
+ middle: SOLID;
+ }
+ }
+ }
+ part { name: "sb_hbar_over1";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.hbar";
+ rel2.relative: 1.0 0.5;
+ rel2.to: "elm.dragable.hbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_hilight.png";
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER1;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "sb_hbar_over2";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.hbar";
+ rel2.to: "elm.dragable.hbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_shine.png";
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER2;
+ border_scale: 1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "load";
+ signal: "load";
+ source: "";
+ script {
+ set_state(PART:"sb_hbar_clip", "hidden", 0.0);
+ set_state(PART:"sb_vbar_clip", "hidden", 0.0);
+ set_int(sbvis_h, 0);
+ set_int(sbvis_v, 0);
+ set_int(sbalways_v, 0);
+ set_int(sbalways_h, 0);
+ set_int(sbvis_timer, 0);
+ }
+ }
+
+ program { name: "vbar_show";
+ signal: "elm,action,show,vbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program { name: "vbar_hide";
+ signal: "elm,action,hide,vbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program { name: "vbar_show_always";
+ signal: "elm,action,show_always,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ set_int(sbalways_v, 1);
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ }
+ }
+ program { name: "vbar_show_notalways";
+ signal: "elm,action,show_notalways,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_v);
+ if (v) {
+ set_int(sbalways_v, 0);
+ v = get_int(sbvis_v);
+ if (!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ }
+ }
+ program { name: "sb_vbar_show";
+ signal: "do-show-vbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_vbar_clip";
+ }
+ program { name: "sb_vbar_hide";
+ signal: "do-hide-vbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_vbar_clip";
+ }
+
+ program { name: "hbar_show";
+ signal: "elm,action,show,hbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program { name: "hbar_hide";
+ signal: "elm,action,hide,hbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program { name: "hbar_show_always";
+ signal: "elm,action,show_always,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ set_int(sbalways_h, 1);
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ }
+ }
+ program { name: "hbar_show_notalways";
+ signal: "elm,action,show_notalways,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_h);
+ if (v) {
+ set_int(sbalways_h, 0);
+ v = get_int(sbvis_h);
+ if (!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ }
+ }
+ program { name: "sb_hbar_show";
+ signal: "do-show-hbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_hbar_clip";
+ }
+ program { name: "sb_hbar_hide";
+ signal: "do-hide-hbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_hbar_clip";
+ }
+
+ program { name: "scroll";
+ signal: "elm,action,scroll";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ v = get_int(sbvis_timer);
+ if (v > 0) cancel_timer(v);
+ v = timer(2.0, "timer0", 0);
+ set_int(sbvis_timer, v);
+ }
+ }
+ program { name: "go1";
+ signal: "elm,state,busy,start";
+ source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: SINUSOIDAL 1.0;
+ target: "busy_clip";
+ }
+ program { name: "go2";
+ signal: "elm,state,busy,start";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.5;
+ target: "busy";
+ after: "go2";
+ }
+ program { name: "stop1";
+ signal: "elm,state,busy,stop";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 1.0;
+ target: "busy_clip";
+ after: "stop2";
+ }
+ program { name: "stop2";
+ action: ACTION_STOP;
+ target: "go2";
+ }
+ }
+ }
+
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+#define POPUP_ITEM_STATE_ENABLED 0
+#define POPUP_ITEM_STATE_DISABLED 1
+
+/*popup widget specific notify style style*/
+group { name: "elm/notify/center/popup";
+ alias: "elm/notify/center/verticalbuttonstyle";
+ alias: "elm/notify/center/menustyle";
+ alias: "elm/notify/center/min_menustyle";
+ alias: "elm/notify/center/liststyle";
+ alias: "elm/notify/center/min_liststyle";
+ alias: "elm/notify/center/customstyle";
+ alias: "elm/notify/center/volumebarstyle";
+ alias: "elm/notify/center/volumebarstyle_text";
+ alias: "elm/notify/center/content_expand";
+ parts {
+ part { name: "base";
+ type: RECT;
+ scale : 1;
+ mouse_events: 0;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "persp";
+ type: RECT;
+ description { state: "default" 0.0;
+ min: 32 32;
+ max: 32 32;
+ align: 0.5 0.5;
+ color: 0 0 0 0;
+ visible: 1;
+ perspective {
+ zplane: -200;
+ focal: 1000;
+ }
+ }
+ }
+ part { name: "persp1";
+ type: RECT;
+ description { state: "default" 0.0;
+ min: 32 32;
+ max: 32 32;
+ align: 0.5 0.5;
+ visible: 1;
+ color: 0 0 0 0;
+ perspective {
+ zplane: 0;
+ focal: 1000;
+ }
+ }
+ }
+ part { name: "pop";
+ scale : 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ image {
+ middle: DEFAULT;
+ border_scale: 0;
+ }
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ map {
+ on: 0;
+ backface_cull: 1;
+ perspective: "persp";
+ }
+ }
+ description { state: "visible" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ map {
+ on: 0;
+ backface_cull: 1;
+ perspective: "persp1";
+ }
+ }
+ description { state: "end" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ map {
+ on: 0;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "show";
+ signal: "elm,action,show";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "show_2";
+ signal: "show";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ transition: ACCEL_FAC 0.5 0.8;
+ after: "end";
+ }
+ program { name: "end";
+ action: STATE_SET "end" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "hide";
+ signal: "elm,action,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ }
+}
+
+group { name: "elm/notify/center/transparent";
+ inherit: "elm/notify/center/popup";
+ alias: "elm/notify/center/verticalbuttonstyle_transparent";
+ alias: "elm/notify/center/menustyle_transparent";
+ alias: "elm/notify/center/min_menustyle_transparent";
+ alias: "elm/notify/center/liststyle_transparent";
+ alias: "elm/notify/center/min_liststyle_transparent";
+ alias: "elm/notify/center/customstyle_transparent";
+ alias: "elm/notify/center/volumebarstyle_transparent";
+ alias: "elm/notify/center/volumebarstyle_text_transparent";
+ alias: "elm/notify/center/content_expand_transparent";
+ parts {
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ map.on: 0;
+ }
+ description { state: "visible" 0.0;
+ map.on: 0;
+ }
+ description { state: "end" 0.0;
+ map.on: 0;
+ }
+ }
+ }
+}
+
+group { name: "elm/notify/block_events/popup";
+ alias: "elm/notify/block_events/verticalbuttonstyle";
+ alias: "elm/notify/block_events/menustyle";
+ alias: "elm/notify/block_events/min_menustyle";
+ alias: "elm/notify/block_events/liststyle";
+ alias: "elm/notify/block_events/min_liststyle";
+ alias: "elm/notify/block_events/customstyle";
+ alias: "elm/notify/block_events/volumebarstyle";
+ alias: "elm/notify/block_events/volumebarstyle_text";
+ alias: "elm/notify/block_events/content_expand";
+ parts {
+ part { name: "block_events";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ color: POPUP_DIM_BG_COLOR_INC;
+ }
+ description { state: "clicked" 0.0;
+ color: POPUP_DIM_BG_CLICKED_COLOR_INC;
+ }
+ }
+ }
+ programs {
+ program { name: "load";
+ signal: "load";
+ source: "";
+ action: STATE_SET "show" 0.0;
+ transition: ACCEL_FAC 0.5 0.8;
+ target: "block_events";
+ }
+ program { name: "block_clicked";
+ signal: "mouse,clicked,1";
+ source: "block_events";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ after: "deeper_block_color";
+ }
+ program {
+ name: "deeper_block_color";
+ action: STATE_SET "clicked" 0.0;
+ target: "block_events";
+ transition: LINEAR 0.2;
+ after: "default_block_color";
+ }
+ program {
+ name: "default_block_color";
+ action: STATE_SET "show" 0.0;
+ target: "block_events";
+ transition: LINEAR 0.2;
+ }
+ }
+}
+
+group { name: "elm/notify/block_events/transparent";
+ alias: "elm/notify/block_events/verticalbuttonstyle_transparent";
+ alias: "elm/notify/block_events/menustyle_transparent";
+ alias: "elm/notify/block_events/min_menustyle_transparent";
+ alias: "elm/notify/block_events/liststyle_transparent";
+ alias: "elm/notify/block_events/min_liststyle_transparent";
+ alias: "elm/notify/block_events/customstyle_transparent";
+ alias: "elm/notify/block_events/volumebarstyle_transparent";
+ alias: "elm/notify/block_events/volumebarstyle_text_transparent";
+ alias: "elm/notify/block_events/content_expand_transparent";
+ parts {
+ part { name: "block_events";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: POPUP_DIM_BG_TRANS_COLOR_INC;
+ }
+ description { state: "clicked" 0.0;
+ color: POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC;
+ }
+ }
+ }
+ programs {
+ program { name: "block_clicked";
+ signal: "mouse,clicked,1";
+ source: "block_events";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ after: "deeper_block_color";
+ }
+ program {
+ name: "deeper_block_color";
+ action: STATE_SET "clicked" 0.0;
+ target: "block_events";
+ transition: LINEAR 0.2;
+ after: "default_block_color";
+ }
+ program {
+ name: "default_block_color";
+ action: STATE_SET "default" 0.0;
+ target: "block_events";
+ transition: LINEAR 0.2;
+ }
+ }
+}
+
+group { name: "elm/label/base/popup/default";
+ alias: "elm/label/base/popup/content_expand";
+ alias: "elm/label/base/popup/transparent";
+ styles {
+ style { name: "popup_desc_style";
+ base: "font=Tizen:style=Medium font_size="POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC" align=left color="POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC" linesize=54 text_class=slp wrap=mixed ellipsis=1";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "whitecolor" "+ color=#ffffff";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC;
+ max: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC;
+ text {
+ style: "popup_desc_style";
+ min: 0 0;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/base/default";
+ alias: "elm/popup/base/transparent";
+ alias: "elm/popup/base/verticalbuttonstyle";
+ alias: "elm/popup/base/verticalbuttonstyle_transparent";
+ alias: "elm/popup/base/customstyle";
+ alias: "elm/popup/base/customstyle_transparent";
+ images {
+ image: "00_popup_bg.png" COMP;
+ }
+ styles {
+ style { name: "popup_title_style";
+ base: "font=Tizen:style=Medium font_size="POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC" align=left color="POPUP_DEFAULT_TITLE_TEXT_COLOR_INC" style="POPUP_DEFAULT_TITLE_TEXT_SHADOW_STYLE" shadow_color="POPUP_DEFAULT_TITLE_TEXT_SHADOW_COLOR" wrap=mixed ellipsis=0.0 text_class=tizen";
+ tag: "br" "\n";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part {
+ name:"shadow_left_top_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
+ max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name:"shadow_right_bottom_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
+ max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
+ align: 1 1;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "base";
+ type: IMAGE;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC;
+ max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC;
+ image {
+ normal: "00_popup_bg.png";
+ border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
+ border_scale: 1;
+ }
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.bg.title";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
+ max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
+ fixed : 1 1;
+ align: 0.5 0.0;
+ visible: 0;
+ rel1 {
+ relative: 0.5 1.0;
+ to_y: "shadow_left_top_padding";
+ }
+ rel2 {
+ relative: 0.5 1.0;
+ to_y: "shadow_left_top_padding";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label_top_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 (POPUP_LABEL_DESC_TOP_PADDING-POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC);
+ max: 0 (POPUP_LABEL_DESC_TOP_PADDING-POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC);
+ fixed: 1 1;
+ align: 0.5 0.0;
+ visible: 0;
+ rel1 {
+ relative: 0.5 1.0;
+ to_y: "shadow_left_top_padding";
+ }
+ rel2 {
+ relative: 0.5 1.0;
+ to_y: "shadow_left_top_padding";
+ }
+ }
+ }
+ part { name: "label_bottom_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 (POPUP_LABEL_DESC_BOTTOM_PADDING-POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC);
+ max: 0 (POPUP_LABEL_DESC_BOTTOM_PADDING-POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC);
+ fixed: 1 1;
+ align: 0.5 1.0;
+ visible: 0;
+ rel1 {
+ relative: 0.5 0.0;
+ to_y: "shadow_right_bottom_padding";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to_y: "shadow_right_bottom_padding";
+ }
+ }
+ }
+ part { name: "title_left_top_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.to: "elm.bg.title";
+ fixed: 1 1;
+ min: POPUP_DESC_LEFT_PADDING POPUP_TITLE_TOP_PADDING;
+ max: POPUP_DESC_LEFT_PADDING POPUP_TITLE_TOP_PADDING;
+ visible: 0;
+ }
+ }
+ part { name: "title_right_bottom_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel2.to: "elm.bg.title";
+ fixed: 1 1;
+ min: POPUP_DESC_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING;
+ max: POPUP_DESC_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING;
+ visible: 0;
+ }
+ }
+ part { name: "icon_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "title_left_top_padding";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "title_left_top_padding";
+ to_y: "elm.bg.title";
+ }
+ align: 0.0 0.5;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
+ max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
+ }
+ }
+ part { name: "padding_after_icon";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "icon_rect";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to: "icon_rect";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: POPUP_TITLE_ICON_TEXT_PADDING_INC;
+ }
+ }
+ part { name: "elm.swallow.title.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "icon_rect";
+ rel2.to: "icon_rect";
+ }
+ }
+ part { name: "elm.text.title";
+ type: TEXTBLOCK;
+ scale:1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ text {
+ style: "popup_title_style";
+ align: 0.0 0.0;
+ }
+ rel1 {
+ relative: 1.0 0.0;
+ to: "padding_after_icon";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "title_right_bottom_padding";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
+ max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.5 1.0;
+ to: "label_top_padding";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to: "label_bottom_padding";
+ }
+ }
+ description { state: "show_title_area" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0.5 1.0;
+ to: "elm.bg.title";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to_y: "shadow_right_bottom_padding";
+ }
+ }
+ description { state: "show_action_area" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0.5 1.0;
+ to_y: "shadow_left_top_padding";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to: "elm.swallow.action_area";
+ }
+ }
+ description { state: "show_action_title_area" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0.5 1.0;
+ to: "elm.bg.title";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to: "elm.swallow.action_area";
+ }
+ }
+ }
+ part { name: "elm.swallow.action_area";
+ type: SWALLOW;;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC;
+ fixed : 1 1;
+ align: 0.5 1.0;
+ visible: 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x: "base";
+ to_y: "shadow_right_bottom_padding";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "base";
+ to_y: "shadow_right_bottom_padding";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: show_title_icon;
+ signal: "elm,state,title,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "icon_rect";
+ target: "padding_after_icon";
+ }
+ program { name: hide_title_icon;
+ signal: "elm,state,title,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "padding_after_icon";
+ target: "icon_rect";
+ }
+ program { name: show_title_area;
+ signal: "elm,state,title_area,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.action_area", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
+ set_state(PART:"elm.bg.title", "visible", 0.0);
+ }
+ }
+ program { name: hide_title_area;
+ signal: "elm,state,title_area,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.action_area", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"elm.bg.title", "default", 0.0);
+ }
+ }
+ program { name: show_action_area;
+ signal: "elm,state,action_area,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.bg.title", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
+ set_state(PART:"elm.swallow.action_area", "visible", 0.0);
+ }
+ }
+ program { name: hide_action_area;
+ signal: "elm,state,action_area,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.bg.title", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"elm.swallow.action_area", "default", 0.0);
+ }
+ }
+ } /* end of programs */
+}
+
+group { name: "elm/popup/content/default";
+ alias: "elm/popup/content/transparent";
+ alias: "elm/popup/content/customstyle";
+ alias: "elm/popup/content/customstyle_transparent";
+ parts{
+ part { name: "pad_t";
+ type: RECT;
+ scale : 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ min: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
+ fixed: 0 1;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "pad_l";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "pad_r";
+ }
+ }
+ }
+ part { name: "pad_l";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min : POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
+ fixed: 1 0;
+ rel2.relative: 0.0 1.0;
+ visible: 0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "pad_r";
+ type: RECT;
+ 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;
+ visible: 0;
+ align: 1.0 0.0;
+ }
+ }
+ part{ name:"elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_CONTENT_DEFAULT_CONTENT_DEFAULT_MIN_INC;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.5 1.0;
+ to: "pad_t";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to: "pad_b";
+ }
+ }
+ }
+ part { name: "pad_b";
+ type: RECT;
+ scale : 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.5 1.0;
+ min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
+ fixed: 0 1;
+ visible: 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "pad_l";
+ }
+ rel2.to_x: "pad_r";
+ }
+ }
+ }
+}
+
+///////////////////////////////////////////////////////////////////////////////
+
+group { name: "elm/popup/item/default";
+ alias: "elm/popup/item/min_menustyle";
+ script {
+ public item_state = POPUP_ITEM_STATE_ENABLED;
+ }
+ parts {
+ part { name: "event_blocker";
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "bg";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: GENLIST_LIST_BG_COLOR;
+ min: POPUP_ITEM_BG_DEFAULT_MIN_INC;
+ align: 0.5 0.0;
+ }
+ description { state: "clicked" 0.0;
+ color: GENLIST_LIST_PRESS_COLOR;
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: POPUP_ITEM_LEFT_MIN_PADDING_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: POPUP_ITEM_RIGHT_MIN_PADDING_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "separator";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description { state: "dafault" 0.0;
+ color: GENLIST_LIST_LINE1_COLOR;
+ align: 0.5 1.0;
+ min: 0 1;
+ max: 999999 1;
+ }
+ }
+ part { name: "padding_icon_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 0.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "elm.swallow.content";
+ }
+ rel2.to: "elm.swallow.content";
+ fixed: 1 0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0; //when icon is visible
+ inherit: "default" 0.0;
+ min: POPUP_ITEM_ICON_TEXT_PADDING_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ fixed: 1 0;
+ }
+ description { state: "visible" 0.0;
+ fixed: 1 0;
+ min: 40 40;
+ max: 40 40;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ description { state: "icononly" 0.0;
+ min: 40 40;
+ max: 40 40;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_icon_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to:"padding_right_bottom";
+ }
+ align: 0.0 0.5;
+ color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
+ text {
+ align: 0 0.5;
+ min: 0 1;
+ font: "Tizen:style=Regular";
+ size: GENLIST_LIST_MAIN_TEXT_SIZE;
+ text_class: "list_item";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: GENLIST_LIST_TEXT_FOCUS_COLOR;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: POPUP_ITEM_TEXT_DISABLED_COLOR_INC;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC;
+ visible: 1;
+ }
+ }
+ part { name: "over1";
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "over2";
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "disclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program { name: "item_unclick";
+ signal: "mouse,up,1";
+ source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "disable";
+ signal: "elm,state,item,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ after: "disable_text";
+ }
+ program { name: "enable";
+ signal: "elm,state,item,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ after: "enable_text";
+ }
+ program { name: "item_click2";
+ signal: "mouse,down,1";
+ source: "over2";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "clicked", 0.0);
+ set_state(PART:"bg", "clicked", 0.0);
+ }
+ }
+ program { name: "item_unclick2";
+ signal: "mouse,up,1";
+ source: "over2";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "clicked"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(item_state, POPUP_ITEM_STATE_DISABLED);
+ }
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(item_state, POPUP_ITEM_STATE_ENABLED);
+ }
+ }
+ program { name: "text_show";
+ signal: "elm,state,item,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "icononly")) {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED)
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,item,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible")) {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,item,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible")) {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ else {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,item,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ }
+}
+
+////////////////////////////////////////////////////////////////////////////////////////
+group { name: "elm/label/base/popup/verticalbuttonstyle";
+ styles
+ {
+ style { name: "popup_desc_style_center";
+ base: "font=Tizen:style=Medium font_size="POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC" align=center color="POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC" linesize=54 text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "whitecolor" "+ color=#ffffff";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ text {
+ style: "popup_desc_style_center";
+ min: 0 1;
+ max: 0 1;
+ }
+ }
+ }
+ }
+}
+
+
+group { name: "elm/popup/buttons3/verticalbuttonstyle";
+ alias: "elm/popup/buttons3/verticalbuttonstyle_transparent";
+ data.item: "action_area_height" POPUP_BUTTON_VERTICAL_ACTION_AREA_HEIGHT;
+ parts {
+ part { name: "bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC;
+ fixed: 1 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.rect.pad_btn_top";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC;
+ fixed : 0 1;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ part{ name:"actionbtn1";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
+ max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
+ fixed : 1 1;
+ align: 0.5 0.0;
+ rel1 {
+ relative: 0.0 1.0; to_y: "elm.rect.pad_btn_top";
+ }
+ }
+ }
+ part { name: "elm.rect.pad_btn";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
+ max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
+ fixed : 1 1;
+ align: 0.5 0.0;
+ color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 1.0; to: "actionbtn1";
+ }
+ rel2 {
+ relative: 1.0 1.0; to: "actionbtn1";
+ }
+ }
+ }
+ part{ name:"actionbtn2";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
+ max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
+ fixed : 1 1;
+ align: 0.5 0.0;
+ rel1 { relative: 0 1.0; to_y: "elm.rect.pad_btn"; }
+ }
+ }
+ part { name: "elm.rect.pad_btn2";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
+ max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
+ fixed : 1 1;
+ align: 0.5 0.0;
+ color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 1.0; to: "actionbtn2";
+ }
+ rel2 {
+ relative: 1.0 1.0; to: "actionbtn2";
+ }
+ }
+ }
+ part{ name:"actionbtn3";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
+ max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
+ fixed : 1 1;
+ align: 0.5 0.0;
+ rel1 {
+ relative: 0.0 1.0; to_y: "elm.rect.pad_btn2";
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/content/menustyle";
+ alias: "elm/popup/content/menustyle_transparent";
+ parts{
+ part { name: "left_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ align: 0.0 0.5;
+ min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ }
+ }
+ }
+ part{ name:"elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
+ max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
+ align: 0.5 0.5;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to:"left_padding";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to:"right_padding";
+ }
+ }
+ }
+ part { name: "right_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ align: 1.0 0.5;
+ min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
+ rel1 {
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/content/min_menustyle";
+ alias: "elm/popup/content/min_menustyle_transparent";
+ parts{
+ part { name: "left_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ align: 0.0 0.5;
+ min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ }
+ }
+ }
+ part{ name:"elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
+ align: 0.5 0.5;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to:"left_padding";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to:"right_padding";
+ }
+ }
+ }
+ part { name: "right_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ align: 1.0 0.5;
+ min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
+ rel1 {
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/content/liststyle";
+ alias: "elm/popup/content/liststyle_transparent";
+ parts{
+ part { name: "left_top_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ align: 0.0 0.0;
+ min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
+ max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
+ }
+ }
+ part{ name:"elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
+ max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
+ align: 0.5 0.5;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to:"left_top_padding";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to:"right_padding";
+ }
+ }
+ }
+ part { name: "right_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ align: 1.0 0.5;
+ min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
+ rel1 {
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/content/min_liststyle";
+ alias: "elm/popup/content/min_liststyle_transparent";
+ parts{
+ part { name: "left_top_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ align: 0.0 0.0;
+ min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
+ max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
+ }
+ }
+ part{ name:"elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
+ align: 0.5 0.5;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to:"left_top_padding";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to:"right_padding";
+ }
+ }
+ }
+ part { name: "right_padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ align: 1.0 0.5;
+ min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
+ rel1 {
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ }
+}
+
+
+group { name: "elm/popup/buttons1/default";
+ alias: "elm/popup/buttons1/transparent";
+ data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
+ parts{
+ part{ name:"actionbtn1";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC;
+ max: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC;
+ fixed : 1 1;
+ rel1.relative: 0.5 0.0;
+ rel2.relative: 0.5 1.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/buttons2/default";
+ alias: "elm/popup/buttons2/transparent";
+ data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
+ parts{
+ part { name: "left_pad_btn";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
+ max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
+ fixed : 1 1;
+ visible: 0;
+ align: 0 0.5;
+ rel1.relative: 0.0 0.0;
+ }
+ }
+ part { name: "right_pad_btn";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
+ max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
+ fixed : 1 1;
+ visible: 0;
+ align: 1 0.5;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part{ name:"actionbtn1";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ fixed : 1 1;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "left_pad_btn";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "elm.rect.pad_btn";
+ }
+ }
+ }
+ part { name: "elm.rect.pad_btn";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
+ max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
+ fixed : 1 1;
+ visible: 0;
+ rel1.relative: 0.5 0.0;
+ rel2.relative: 0.5 1.0;
+ }
+ }
+ part{ name:"actionbtn2";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ fixed : 1 1;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "elm.rect.pad_btn";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "right_pad_btn";
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/buttons3/default";
+ alias: "elm/popup/buttons3/menustyle";
+ alias: "elm/popup/buttons3/transparent";
+ data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
+ parts{
+ part { name: "left_pad_btn";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
+ max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
+ fixed : 1 1;
+ visible: 0;
+ align: 0 0.5;
+ rel1.relative: 0.0 0.0;
+ }
+ }
+ part { name: "right_pad_btn";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
+ max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
+ fixed : 1 1;
+ visible: 0;
+ align: 1 0.5;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part{ name:"actionbtn1";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC;
+ max: POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC;
+ fixed : 1 1;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "left_pad_btn";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "elm.rect.pad_btn";
+ }
+ }
+ }
+ part { name: "elm.rect.pad_btn";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
+ max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
+ fixed : 1 1;
+ visible: 0;
+ rel1.to: "actionbtn2";
+ rel2 {
+ relative: 0.0 1.0;
+ to: "actionbtn2";
+ }
+ align: 1.0 0.5;
+ }
+ }
+ part{ name:"actionbtn2";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC;
+ max: POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC;
+ fixed : 1 1;
+ rel1.relative: 0.5 0.0;
+ rel2.relative: 0.5 1.0;
+ }
+ }
+ part { name: "elm.rect.pad_btn2";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
+ max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
+ fixed : 1 1;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "actionbtn2";
+ }
+ rel2.to: "actionbtn2";
+ align: 0.0 0.5;
+ }
+ }
+ part{ name:"actionbtn3";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC;
+ max: POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC;
+ fixed : 1 1;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "elm.rect.pad_btn2";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "right_pad_btn";
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/content/volumebarstyle";
+ alias: "elm/popup/content/volumebarstyle_transparent";
+ parts {
+ part { name:"elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
+ max: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ rel1.relative: 0.5 0.5;
+ rel2.relative: 0.5 0.5;
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/content/volumebarstyle_text";
+ alias: "elm/popup/content/volumebarstyle_text_transparent";
+ parts {
+ part { name:"elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ rel1.relative: 0.5 0.5;
+ rel2.relative: 0.5 0.5;
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/base/volumebarstyle";
+ alias: "elm/popup/base/volumebarstyle_transparent";
+ images {
+ image: "00_popup_bg.png" COMP;
+ }
+ parts {
+ part {
+ name:"shadow_left_top_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
+ max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name:"shadow_right_bottom_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
+ max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
+ align: 1 1;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "base";
+ type: IMAGE;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC;
+ max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC;
+ image {
+ normal: "00_popup_bg.png";
+ border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
+ border_scale: 1;
+ }
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.bg.title";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BASE_DEFAULT_TITLE_VOLUMEBAR_MIN_INC;
+ max: POPUP_BASE_DEFAULT_TITLE_VOLUMEBAR_MIN_INC;
+ fixed : 1 1;
+ align: 0.5 0.0;
+ visible: 0;
+ rel1 {
+ relative: 0.5 1.0;
+ to_y: "shadow_left_top_padding";
+ }
+ rel2 {
+ relative: 0.5 1.0;
+ to_y: "shadow_left_top_padding";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "title_left_top_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.to: "elm.bg.title";
+ fixed: 1 1;
+ min: POPUP_DESC_LEFT_PADDING POPUP_TITLE_TOP_PADDING;
+ max: POPUP_DESC_LEFT_PADDING POPUP_TITLE_TOP_PADDING;
+ visible: 0;
+ }
+ }
+ part { name: "title_right_bottom_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel2.to: "elm.bg.title";
+ fixed: 1 1;
+ min: POPUP_DESC_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING;
+ max: POPUP_DESC_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING;
+ visible: 0;
+ }
+ }
+ part { name: "icon_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "title_left_top_padding";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "title_left_top_padding";
+ to_y: "elm.bg.title";
+ }
+ align: 0.0 0.5;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
+ max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
+ }
+ }
+ part { name: "padding_after_icon";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "icon_rect";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to: "icon_rect";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: POPUP_TITLE_ICON_TEXT_PADDING_INC;
+ }
+ }
+ part { name: "elm.swallow.title.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "icon_rect";
+ rel2.to: "icon_rect";
+ }
+ }
+ part { name: "elm.text.title";
+ type: TEXTBLOCK;
+ scale:1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ text {
+ style: "popup_title_style";
+ align: 0.0 0.0;
+ }
+ rel1 {
+ relative: 1.0 0.0;
+ to: "padding_after_icon";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "title_right_bottom_padding";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.5 1.0;
+ to_y: "shadow_left_top_padding";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to_y: "shadow_right_bottom_padding";
+ }
+ }
+ description { state: "show_title_area" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0.5 1.0;
+ to: "elm.bg.title";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to_y: "shadow_right_bottom_padding";
+ }
+ }
+ description { state: "show_action_area" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0.5 1.0;
+ to_y: "shadow_left_top_padding";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to: "elm.bg.action_area";
+ }
+ }
+ description { state: "show_action_title_area" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0.5 1.0;
+ to: "elm.bg.title";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to: "elm.bg.action_area";
+ }
+ }
+ }
+ part { name: "elm.bg.action_area";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BASE_VOLUMEBAR_STYLE_BUTTONAREA_BG_DEFAULT_MIN_INC;
+ fixed : 1 1;
+ align: 0.5 1.0;
+ visible: 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x: "base";
+ to_y: "shadow_right_bottom_padding";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "base";
+ to_y: "shadow_right_bottom_padding";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.action_area";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.to: "elm.bg.action_area";
+ rel2.to: "elm.bg.action_area";
+ }
+ }
+ }
+ programs {
+ program { name: show_title_icon;
+ signal: "elm,state,title,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "icon_rect";
+ target: "padding_after_icon";
+ }
+ program { name: hide_title_icon;
+ signal: "elm,state,title,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "padding_after_icon";
+ target: "icon_rect";
+ }
+ program { name: show_title_area;
+ signal: "elm,state,title_area,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.action_area", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
+ set_state(PART:"elm.bg.title", "visible", 0.0);
+ }
+ }
+ program { name: hide_title_area;
+ signal: "elm,state,title_area,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.action_area", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"elm.bg.title", "default", 0.0);
+ }
+ }
+ program { name: show_action_area;
+ signal: "elm,state,action_area,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.bg.title", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
+ set_state(PART:"elm.bg.action_area", "visible", 0.0);
+ }
+ }
+ program { name: hide_action_area;
+ signal: "elm,state,action_area,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.bg.title", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"elm.bg.action_area", "default", 0.0);
+ }
+ }
+ } /* end of programs */
+}
+
+group { name: "elm/popup/base/volumebarstyle_text";
+ alias: "elm/popup/base/volumebarstyle_text_transparent";
+ inherit: "elm/popup/base/volumebarstyle";
+ parts {
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.5 1.0;
+ to_y: "shadow_left_top_padding";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to_y: "shadow_right_bottom_padding";
+ }
+ }
+ description { state: "show_title_area" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0.5 1.0;
+ to: "elm.bg.title";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to_y: "shadow_right_bottom_padding";
+ }
+ }
+ description { state: "show_action_area" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0.5 1.0;
+ to_y: "shadow_left_top_padding";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to: "elm.bg.action_area";
+ }
+ }
+ description { state: "show_action_title_area" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0.5 1.0;
+ to: "elm.bg.title";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to: "elm.bg.action_area";
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/base/content_expand";
+ alias: "elm/popup/base/content_expand_transparent";
+ images {
+ image: "00_popup_bg.png" COMP;
+ }
+ parts {
+ part {
+ name:"shadow_right_bottom_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
+ max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
+ align: 1.0 1.0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "base";
+ type: IMAGE;
+ scale : 1;
+ description { state: "default" 0.0;
+ rel1.to_x: "elm.swallow.content";
+ rel2.to_x: "elm.bg.action_area";
+ image {
+ normal: "00_popup_bg.png";
+ border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
+ border_scale: 1;
+ }
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.bg.title";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC;
+ fixed : 0 1;
+ align: 0.5 0.0;
+ visible: 0;
+ color: 0 0 0 0;
+ rel1.to_x: "base";
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "base";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "left_pad";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
+ max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ visible: 0;
+ rel1.to: "elm.bg.title";
+ }
+ }
+ part { name: "right_pad";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
+ max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ visible: 0;
+ rel2.to: "elm.bg.title";
+ }
+ }
+ part { name: "elm.swallow.title.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
+ max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1 {
+ to: "left_pad";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "right_pad";
+ relative: 0.0 1.0;
+ }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.text.title";
+ type: TEXTBLOCK;
+ scale:1;
+ description { state: "default" 0.0;
+ text {
+ style: "popup_title_style";
+ min: 0 0;
+ max: 0 1;
+ align: 0.5 0.0;
+ }
+ visible:0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "left_pad";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "right_pad";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
+ max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
+ rel1.relative: 0.5 0.0;
+ rel2.relative: 0.5 1.0;
+ }
+ description { state: "show_title_area" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0.5 1.0;
+ to_y: "elm.bg.title";
+ }
+ }
+ description { state: "show_action_area" 0.0;
+ inherit: "default" 0.0;
+ rel2 {
+ relative: 0.5 0.0;
+ to_y: "elm.bg.action_area";
+ }
+ }
+ description { state: "show_action_title_area" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ relative: 0.5 1.0;
+ to_y: "elm.bg.title";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to_y: "elm.bg.action_area";
+ }
+ }
+ }
+ part { name: "elm.bg.action_area";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC;
+ fixed : 0 1;
+ align: 0.5 1.0;
+ visible: 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to_y: "shadow_right_bottom_padding";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "shadow_right_bottom_padding";
+ }
+ color: 0 0 0 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.action_area";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.bg.action_area";
+ rel2.to: "elm.bg.action_area";
+ }
+ }
+ }
+ programs {
+ program { name: show_title_icon;
+ signal: "elm,state,title,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.title.icon";
+ }
+ program { name: hide_title_icon;
+ signal: "elm,state,title,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.title.icon";
+ }
+ program { name: show_title_text;
+ signal: "elm,state,title,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text.title";
+ }
+ program { name: hide_title_text;
+ signal: "elm,state,title,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.title";
+ }
+ program { name: show_title_area;
+ signal: "elm,state,title_area,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.action_area", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
+ set_state(PART:"elm.bg.title", "visible", 0.0);
+ }
+ }
+ program { name: hide_title_area;
+ signal: "elm,state,title_area,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.action_area", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"elm.bg.title", "default", 0.0);
+ }
+ }
+ program { name: show_action_area;
+ signal: "elm,state,action_area,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.bg.title", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
+ set_state(PART:"elm.bg.action_area", "visible", 0.0);
+ }
+ }
+ program { name: hide_action_area;
+ signal: "elm,state,action_area,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.bg.title", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"elm.bg.action_area", "default", 0.0);
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/buttons1/content_expand";
+ alias: "elm/popup/buttons1/content_expand_transparent";
+ data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
+ parts{
+ part{ name:"actionbtn1";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.2 0.1;
+ rel2.relative: 0.8 0.9;
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/buttons2/content_expand";
+ alias: "elm/popup/buttons2/content_expand_transparent";
+ data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
+ parts{
+ part{ name:"actionbtn1";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1.relative: 0.1 0.1;
+ rel2.relative: 0.45 0.9;
+ }
+ }
+ part{ name:"actionbtn2";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1.relative: 0.55 0.1;
+ rel2.relative: 0.9 0.9;
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/buttons3/content_expand";
+ alias: "elm/popup/buttons3/content_expand_transparent";
+ data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
+ parts{
+ part{ name:"actionbtn1";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1.relative: 0.05 0.1;
+ rel2.relative: 0.3 0.9;
+ }
+ }
+ part{ name:"actionbtn2";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1.relative: 0.375 0.1;
+ rel2.relative: 0.625 0.9;
+ }
+ }
+ part{ name:"actionbtn3";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1.relative: 0.7 0.1;
+ rel2.relative: 0.95 0.9;
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/item/content_expand";
+ alias: "elm/popup/item/content_expand_transparent";
+ inherit: "elm/popup/item/default";
+ parts {
+ part { name: "bg";
+ mouse_events: 0;
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 240 240 240 255;
+ min: 620 112;
+ align: 0.5 0.0;
+ }
+ description { state: "clicked" 0.0;
+ color: 190 170 150 255;
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/content/content_expand";
+ alias: "elm/popup/content/content_expand_transparent";
+ parts{
+ part{ name:"elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ }
+ }
+ }
+}
+
+#undef POPUP_ITEM_STATE_ENABLED
+#undef POPUP_ITEM_STATE_DISABLED
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/progressbar/horizontal/default";
+ images {
+ image: "progress_slider_bg.9.png" COMP;
+ image: "progress_slider_bar.9.png" COMP;
+ }
+ parts {
+ part { name: "elm.background.progressbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description {
+ min: 0 18;
+ max: 99999 18;
+ state: "default" 0.0;
+ rel1 {
+ to_y: "elm.background.progressbar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.background.progressbar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ offset: 0 0;
+ to_y: "elm.background.progressbar";
+ }
+ rel2 {
+ offset: 0 -1;
+ relative: 0.0 1.0;
+ to_y: "elm.background.progressbar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ rel2.offset: 0 -1;//4 -1;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ }
+ image {
+ normal: "progress_slider_bg.9.png";
+ border: 3 3 2 2;
+ }
+ }
+ }
+ part { name: "elm.text.status";
+ type: TEXT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to: "background";
+ relative: 0.5 0.5;
+ }
+ rel2 {
+ to: "background";
+ relative: 0.5 0.5;
+ }
+ text {
+ font: "Tizen:style=Roman";
+ size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
+ min: 0 0;
+ align: 0.5 0.0;
+ text_class: "tizen";
+ }
+ color: PROGRESSBAR_DEFAULT_STYLE_STATUS_TEXT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.progress.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to_y: "elm.swallow.bar";
+ to_x: "elm.cur.progressbar";
+ offset: -1 -1;
+ }
+ image {
+ normal: "progress_slider_bar.9.png";
+ border: 3 3 2 2;
+ }
+ }
+ description {
+ state: "invert" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to_y: "elm.swallow.bar";
+ to_x: "elm.cur.progressbar";
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ }
+ description {
+ state: "state_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 0.1 1.0;
+ }
+ }
+ description {
+ state: "state_end" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.9 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "text-bar";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "progress-rect";
+ //effect: SOFT_SHADOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1.to: "elm.text.status";
+ rel1.offset: -1 -1;
+ rel2.to: "elm.text.status";
+ text {
+ text_source: "elm.text.status";
+ font: "Tizen:style=Roman";
+ size: 10;
+ min: 0 0;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ color: PROGRESSBAR_DEFAULT_STYLE_TEXT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.cur.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ confine: "background";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description { state: "default" 0.0;
+ min: 0 28;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to: "background";
+ relative: 0 0;
+ }
+ rel2.to: "background";
+ }
+ }
+ part { name: "progress-rect";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "elm.progress.progressbar";
+ rel2.to: "elm.progress.progressbar";
+ }
+ }
+ part { name: "elm.padding.left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 20 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1 {
+ to_x: "elm.padding.left";
+ relative: 1.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ }
+ color: PROGRESSBAR_DEFAULT_STYLE_STATUS_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: 34;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ }
+ programs {
+ program { name: "label_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "label_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "text-bar";
+ target: "elm.text.status";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "text-bar";
+ target: "elm.text.status";
+ }
+ program { name: "slide_to_end";
+ action: STATE_SET "state_end" 0.0;
+ transition: LINEAR 0.5;
+ target: "elm.progress.progressbar";
+ after: "slide_to_begin";
+ }
+ program { name: "slide_to_begin";
+ signal: "elm,state,slide,begin";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ transition: LINEAR 0.5;
+ after: "slide_to_end";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ after: "slide_to_end";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ after: "state_pulse";
+ }
+ program { name: "state_pulse";
+ signal: "elm,state,pulse";
+ source: "elm";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ after: "units_hide";
+ }
+ program { name: "state_fraction";
+ signal: "elm,state,fraction";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ program { name: "set_invert_on";
+ signal: "elm,state,inverted,on";
+ source: "elm";
+ action: STATE_SET "invert" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ program { name: "set_invert_off";
+ signal: "elm,state,inverted,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ }
+ }
+
+ group { name: "elm/progressbar/horizontal/list_progress";
+ images {
+ image: "00_progress_bg.png" COMP;
+ image: "00_progress_bar.png" COMP;
+ }
+ parts {
+ part { name: "elm.padding.left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ visible: 0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.padding.right";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ }
+ visible: 0;
+ align: 1.0 0.0;
+ }
+ }
+ part { name: "elm.background.progressbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to_x: "elm.padding.left";
+ relative: 1.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ to_x: "elm.padding.right";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description {
+ min: 1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
+ max: 99999 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
+ state: "default" 0.0;
+ rel1 {
+ to: "elm.background.progressbar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.background.progressbar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ offset: 0 0;
+ to_y: "elm.background.progressbar";
+ }
+ rel2 {
+ offset: 0 -1;
+ relative: 0.0 1.0;
+ to_y: "elm.background.progressbar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ rel2.offset: 4 -1;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1.to_x: "elm.swallow.content";
+ rel1.relative: 1.0 0.0;
+ rel2.to_x: "elm.swallow.content";
+ rel2.relative: 1.0 1.0;
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ image {
+ normal: "00_progress_bg.png";
+ border: 17 17 0 0;
+ }
+ }
+ }
+ part { name: "elm.text.status";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to: "background";
+ relative: 0.5 0.5;
+ }
+ rel2 {
+ to: "background";
+ relative: 0.5 0.5;
+ }
+ text {
+ font: "Tizen:style=Medium";
+ size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
+ min: 0 0;
+ align: 0.5 0.0;
+ text_class: "tizen";
+ }
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.progress.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to_y: "elm.swallow.bar";
+ to_x: "elm.cur.progressbar";
+ offset: -1 -1;
+ }
+ image {
+ normal: "00_progress_bar.png";
+ border: 17 17 0 0;
+ }
+ }
+ description {
+ state: "invert" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to_y: "elm.swallow.bar";
+ to_x: "elm.cur.progressbar";
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ }
+ description {
+ state: "state_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 0.1 1.0;
+ }
+ }
+ description {
+ state: "state_end" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.9 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "text-bar";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "progress-rect";
+ //effect: SOFT_SHADOW;
+ scale: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1.to: "elm.text.status";
+ rel1.offset: -1 -1;
+ rel2.to: "elm.text.status";
+ text {
+ text_source: "elm.text.status";
+ font: "Tizen:style=Medium";
+ size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.cur.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ confine: "background";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description { state: "default" 0.0;
+ min: 0 28;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to: "background";
+ relative: 0 0;
+ }
+ rel2.to: "background";
+ }
+ }
+ part { name: "progress-rect";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "elm.progress.progressbar";
+ rel2.to: "elm.progress.progressbar";
+ }
+ }
+ }
+ programs {
+ program { name: "label_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "label_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "text-bar";
+ target: "elm.text.status";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "text-bar";
+ target: "elm.text.status";
+ }
+ program { name: "slide_to_end";
+ action: STATE_SET "state_end" 0.0;
+ transition: LINEAR 0.5;
+ target: "elm.progress.progressbar";
+ after: "slide_to_begin";
+ }
+ program { name: "slide_to_begin";
+ signal: "elm,state,slide,begin";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ transition: LINEAR 0.5;
+ after: "slide_to_end";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ // after: "slide_to_end";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ //after: "state_pulse";
+ }
+ program { name: "state_pulse";
+ signal: "elm,state,pulse";
+ source: "elm";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ after: "units_hide";
+ }
+ program { name: "state_fraction";
+ signal: "elm,state,fraction";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ program { name: "set_invert_on";
+ signal: "elm,state,inverted,on";
+ source: "elm";
+ action: STATE_SET "invert" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ program { name: "set_invert_off";
+ signal: "elm,state,inverted,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ }
+ }
+
+ group { name: "elm/progressbar/horizontal/list_title_progress";
+ images {
+ image: "00_progress_bg.png" COMP;
+ image: "00_progress_bar.png" COMP;
+ }
+ parts {
+ part { name: "base";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.padding.left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 82;
+ visible: 0;
+ fixed: 1 0;
+ rel1 { relative: 0.0 0.0; to: "base"; }
+ rel2 { relative: 0.0 1.0; to: "base"; }
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.padding.right";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 82;
+ visible: 0;
+ fixed: 1 0;
+ rel1 { relative: 1.0 0.0; to: "base"; }
+ rel2 { relative: 1.0 1.0; to: "base"; }
+ color: 0 0 0 0;
+ align: 1.0 0.0;
+ }
+ }
+ part {
+ name: "elm.padding.top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 100 1;
+ visible: 0;
+ fixed: 0 1;
+ rel1 { relative: 0.0 0.0; to: "base"; }
+ rel2 { relative: 1.0 0.0; to: "base"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.padding.bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ min: 100 1;
+ visible: 0;
+ fixed: 0 1;
+ rel1 { relative: 0.0 1.0; to: "base"; }
+ rel2 { relative: 1.0 1.0; to: "base"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "label_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 1;
+ min: 460 56;
+ fixed: 0 1;
+ rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
+ rel2 { relative: 0.0 0.0; to_x: "elm.padding.right"; }
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.background.progressbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to_x: "elm.padding.left";
+ to_y: "label_rect";
+ relative: 1.0 1.0;
+ offset: 0 0;
+ }
+ rel2 {
+ to_x: "elm.padding.right";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description {
+ min: 1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
+ max: 99999 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
+ state: "default" 0.0;
+ rel1 {
+ to: "elm.background.progressbar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.background.progressbar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ offset: 0 0;
+ to_y: "elm.background.progressbar";
+ }
+ rel2 {
+ offset: 0 -1;
+ relative: 0.0 1.0;
+ to_y: "elm.background.progressbar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ rel2.offset: 4 -1;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 1;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1.to: "label_rect";
+ rel2.to: "label_rect";
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ image {
+ normal: "00_progress_bg.png";
+ border: 17 17 0 0;
+ }
+ }
+ }
+ part { name: "elm.text.status";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to: "background";
+ relative: 0.5 0.5;
+ }
+ rel2 {
+ to: "background";
+ relative: 0.5 0.5;
+ }
+ text {
+ font: "Tizen:style=Medium";
+ size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
+ min: 0 0;
+ align: 0.5 0.0;
+ text_class: "tizen";
+ }
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.progress.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to_y: "elm.swallow.bar";
+ to_x: "elm.cur.progressbar";
+ offset: -1 -1;
+ }
+ image {
+ normal: "00_progress_bar.png";
+ border: 17 17 0 0;
+ }
+ }
+ description {
+ state: "invert" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to_y: "elm.swallow.bar";
+ to_x: "elm.cur.progressbar";
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ }
+ description {
+ state: "state_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 0.1 1.0;
+ }
+ }
+ description {
+ state: "state_end" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.9 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "text-bar";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "progress-rect";
+ //effect: SOFT_SHADOW;
+ scale: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1.to: "elm.text.status";
+ rel1.offset: -1 -1;
+ rel2.to: "elm.text.status";
+ text {
+ text_source: "elm.text.status";
+ font: "Tizen:style=Medium";
+ size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.cur.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ confine: "background";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description { state: "default" 0.0;
+ min: 0 28;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to: "background";
+ relative: 0 0;
+ }
+ rel2.to: "background";
+ }
+ }
+ part { name: "progress-rect";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "elm.progress.progressbar";
+ rel2.to: "elm.progress.progressbar";
+ }
+ }
+ }
+ programs {
+ program { name: "label_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "label_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "text-bar";
+ target: "elm.text.status";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "text-bar";
+ target: "elm.text.status";
+ }
+ program { name: "slide_to_end";
+ action: STATE_SET "state_end" 0.0;
+ transition: LINEAR 0.5;
+ target: "elm.progress.progressbar";
+ after: "slide_to_begin";
+ }
+ program { name: "slide_to_begin";
+ signal: "elm,state,slide,begin";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ transition: LINEAR 0.5;
+ after: "slide_to_end";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ // after: "slide_to_end";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ //after: "state_pulse";
+ }
+ program { name: "state_pulse";
+ signal: "elm,state,pulse";
+ source: "elm";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ after: "units_hide";
+ }
+ program { name: "state_fraction";
+ signal: "elm,state,fraction";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ program { name: "set_invert_on";
+ signal: "elm,state,inverted,on";
+ source: "elm";
+ action: STATE_SET "invert" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ program { name: "set_invert_off";
+ signal: "elm,state,inverted,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ }
+ }
+
+ group { name: "elm/progressbar/horizontal/list_title_progress_text";
+ images {
+ image: "00_winset_list_progress_bg.png" COMP;
+ image: "00_winset_list_progress_bar.png" COMP;
+ }
+ parts {
+ part { name: "base";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.padding.left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 82;
+ visible: 0;
+ fixed: 1 0;
+ rel1 { relative: 0.0 0.0; to: "base"; }
+ rel2 { relative: 0.0 1.0; to: "base"; }
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.padding.right";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 82;
+ visible: 0;
+ fixed: 1 0;
+ rel1 { relative: 1.0 0.0; to: "base"; }
+ rel2 { relative: 1.0 1.0; to: "base"; }
+ color: 0 0 0 0;
+ align: 1.0 0.0;
+ }
+ }
+ part {
+ name: "elm.padding.top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 100 1;
+ visible: 0;
+ fixed: 0 1;
+ rel1 { relative: 0.0 0.0; to: "base"; }
+ rel2 { relative: 1.0 0.0; to: "base"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.padding.bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ min: 100 1;
+ visible: 0;
+ fixed: 0 1;
+ rel1 { relative: 0.0 1.0; to: "base"; }
+ rel2 { relative: 1.0 1.0; to: "base"; }
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "label_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 1;
+ min: 10 40;
+ fixed: 0 1;
+ rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
+ rel2 { relative: 0.0 0.0; to_x: "elm.padding.right"; to_y: "base"; }
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.background.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 10 10;
+ fixed: 0 1;
+ rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "label_rect"; }
+ rel2 { relative: 0.0 1.0; to_x: "elm.padding.right"; to_y: "label_rect"; }
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description {
+ min: 48 10;
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to: "elm.background.progressbar"; }
+ rel2 { relative: 1.0 1.0; to: "elm.background.progressbar"; }
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 30 30;
+ max: 30 30;
+ fixed: 0 1;
+ align: 0.0 0.5;
+ rel1 { relative: 430/460 6/40; to: "label_rect"; }
+ rel2 { relative: 1.0 36/40; to: "label_rect"; offset: 1 0;}
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 1;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1 { relative: 0.0 0.0; to: "label_rect"; }
+ rel2 { relative: 1.0 1.0; to: "label_rect"; }
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to: "elm.swallow.bar"; }
+ rel2 { relative: 1.0 1.0; to: "elm.swallow.bar"; }
+ image {
+ normal: "00_winset_list_progress_bg.png";
+ border: 0 0 1 1;
+ }
+ }
+ }
+ part { name: "elm.progress.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0; to: "elm.swallow.bar"; }
+ rel2 { relative: 1.0 1.0; to_x: "elm.cur.progressbar"; to_y: "elm.swallow.bar"; offset: -1 -1; }
+ image {
+ normal: "00_winset_list_progress_bar.png";
+ border: 0 0 1 1;
+ }
+ }
+ description {
+ state: "invert" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to_y: "elm.swallow.bar";
+ to_x: "elm.cur.progressbar";
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ }
+ description {
+ state: "state_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 0.1 1.0;
+ }
+ }
+ description {
+ state: "state_end" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.9 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "text-bar";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "progress-rect";
+ //effect: SOFT_SHADOW;
+ scale: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1.to: "elm.text.status";
+ rel1.offset: -1 -1;
+ rel2.to: "elm.text.status";
+ text {
+ text_source: "elm.text.status";
+ font: "Tizen:style=Medium";
+ size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.cur.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ confine: "background";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description { state: "default" 0.0;
+ min: 0 28;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to: "background";
+ relative: 0 0;
+ }
+ rel2.to: "background";
+ }
+ }
+ part { name: "progress-rect";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1.to: "elm.progress.progressbar";
+ rel2.to: "elm.progress.progressbar";
+ }
+ }
+ part { name: "elm.text.status";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ min: 80 30;
+ align: 0.0 1.0;
+ rel1 {
+ to_y: "elm.padding.bottom";
+ relative: 1.0 1.0;
+ to_x:"elm.padding.left";
+ }
+ rel2 {
+ to_y: "elm.padding.bottom";
+ relative: 1.0 1.0;
+ to_x:"elm.padding.left";
+ }
+ text {
+ font: "Tizen:style=Medium";
+ size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
+ min: 1 1;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ color:PROGRESSBAR_LIST_TITLE_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ }
+ programs {
+ program { name: "label_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "label_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "text-bar";
+ target: "elm.text.status";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "text-bar";
+ target: "elm.text.status";
+ }
+ program { name: "slide_to_end";
+ action: STATE_SET "state_end" 0.0;
+ transition: LINEAR 0.5;
+ target: "elm.progress.progressbar";
+ after: "slide_to_begin";
+ }
+ program { name: "slide_to_begin";
+ signal: "elm,state,slide,begin";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ transition: LINEAR 0.5;
+ after: "slide_to_end";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ // after: "slide_to_end";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ //after: "state_pulse";
+ }
+ program { name: "state_pulse";
+ signal: "elm,state,pulse";
+ source: "elm";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ after: "units_hide";
+ }
+ program { name: "state_fraction";
+ signal: "elm,state,fraction";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ program { name: "set_invert_on";
+ signal: "elm,state,inverted,on";
+ source: "elm";
+ action: STATE_SET "invert" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ program { name: "set_invert_off";
+ signal: "elm,state,inverted,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ }
+ }
+ group { name: "elm/progressbar/horizontal/toolbar_progress";
+ images {
+ image: "00_toolbar_progress_bg.png" COMP;
+ image: "00_toolbar_progress_bar.png" COMP;
+ }
+ parts {
+ part { name: "elm.padding.left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.padding.right";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ }
+ color: 0 0 0 0;
+ align: 1.0 0.0;
+ }
+ }
+ part { name: "elm.background.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to_x: "elm.padding.left";
+ relative: 1.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ to_x: "elm.padding.right";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description {
+ min: 48 14;
+ max: 99999 14;
+ state: "default" 0.0;
+ rel1 {
+ to: "elm.background.progressbar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.background.progressbar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ offset: 0 0;
+ to_y: "elm.background.progressbar";
+ }
+ rel2 {
+ offset: 0 -1;
+ relative: 0.0 1.0;
+ to_y: "elm.background.progressbar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ rel2.offset: 4 -1;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1.to_x: "elm.swallow.content";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 4;
+ rel2.to_x: "elm.swallow.content";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -5;
+ color: PROGRESSBAR_LIST_TITLE_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: 10;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ rel1.offset: 0 4;
+ rel2.offset: 0 -5;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ }
+ image {
+ normal: "00_toolbar_progress_bg.png";
+ border: 6 6 0 0;
+ }
+ }
+ }
+ part { name: "elm.text.status";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to: "background";
+ relative: 0.5 0.5;
+ }
+ rel2 {
+ to: "background";
+ relative: 0.5 0.5;
+ }
+ text {
+ font: "Tizen:style=Roman";
+ size: 10;
+ min: 0 0;
+ align: 0.5 0.0;
+ text_class: "tizen";
+ }
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.progress.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to_y: "elm.swallow.bar";
+ to_x: "elm.cur.progressbar";
+ offset: -1 -1;
+ }
+ image {
+ normal: "00_toolbar_progress_bar.png";
+ border: 6 6 0 0;
+ }
+ }
+ description {
+ state: "invert" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to_y: "elm.swallow.bar";
+ to_x: "elm.cur.progressbar";
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ }
+ description {
+ state: "state_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 0.1 1.0;
+ }
+ }
+ description {
+ state: "state_end" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.9 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "text-bar";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "progress-rect";
+ //effect: SOFT_SHADOW;
+ scale: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1.to: "elm.text.status";
+ rel1.offset: -1 -1;
+ rel2.to: "elm.text.status";
+ text {
+ text_source: "elm.text.status";
+ font: "Tizen:style=Roman";
+ size: 10;
+ min: 0 0;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.cur.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ confine: "background";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description { state: "default" 0.0;
+ min: 0 28;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to: "background";
+ relative: 0 0;
+ }
+ rel2.to: "background";
+ }
+ }
+ part { name: "progress-rect";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1.to: "elm.progress.progressbar";
+ rel2.to: "elm.progress.progressbar";
+ }
+ }
+ }
+ programs {
+ program { name: "label_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "label_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "text-bar";
+ target: "elm.text.status";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "text-bar";
+ target: "elm.text.status";
+ }
+ program { name: "slide_to_end";
+ action: STATE_SET "state_end" 0.0;
+ transition: LINEAR 0.5;
+ target: "elm.progress.progressbar";
+ after: "slide_to_begin";
+ }
+ program { name: "slide_to_begin";
+ signal: "elm,state,slide,begin";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ transition: LINEAR 0.5;
+ after: "slide_to_end";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ after: "slide_to_end";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ after: "state_pulse";
+ }
+ program { name: "state_pulse";
+ signal: "elm,state,pulse";
+ source: "elm";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ after: "units_hide";
+ }
+ program { name: "state_fraction";
+ signal: "elm,state,fraction";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ program { name: "set_invert_on";
+ signal: "elm,state,inverted,on";
+ source: "elm";
+ action: STATE_SET "invert" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ program { name: "set_invert_off";
+ signal: "elm,state,inverted,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ }
+ }
+
+ group { name: "elm/progressbar/horizontal/pending_list";
+ images {
+ image: "00_progress_pending_01.png" COMP;
+ image: "00_progress_pending_02.png" COMP;
+ }
+ parts {
+ part { name: "elm.background.progressbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description {
+ min: 1 PROGRESSBAR_LIST_PENDING_HEIGHT_INC;
+ max: 99999 PROGRESSBAR_LIST_PENDING_HEIGHT_INC;
+ state: "default" 0.0;
+ rel1 {
+ to: "elm.background.progressbar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.background.progressbar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "elm.progress.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ }
+ image {
+ normal: "00_progress_pending_01.png";
+ border: 0 0 0 0;
+ }
+ }
+ description {
+ state: "state_begin" 0.0;
+ inherit: "default" 0.0;
+ }
+ description {
+ state: "state_end" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_progress_pending_02.png";
+ border: 0 0 0 0;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "slide_to_end";
+ action: STATE_SET "state_end" 0.0;
+ in: 0.3 0.0;
+ target: "elm.progress.progressbar";
+ after: "slide_to_begin";
+ }
+ program { name: "slide_to_begin";
+ signal: "elm,state,slide,begin";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ in: 0.3 0.0;
+ after: "slide_to_end";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ after: "slide_to_end";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ after: "init_pulse";
+ }
+ program { name: "init_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ }
+ }
+
+ group { name: "elm/progressbar/horizontal/UIProgressViewStyleDefault";
+ images {
+ image: "progress_slider_bg01.9.png" COMP;
+ image: "progress_slider_bar01.9.png" COMP;
+ }
+ parts {
+ part { name: "elm.padding.left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ //min: 25 0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.padding.right";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ //min: 25 0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ }
+ color: 0 0 0 0;
+ align: 1.0 0.0;
+ }
+ }
+ part { name: "elm.background.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to_x: "elm.padding.left";
+ relative: 1.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ to_x: "elm.padding.right";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description {
+ min: 48 14;
+ max: 99999 14;
+ state: "default" 0.0;
+ rel1 {
+ to: "elm.background.progressbar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.background.progressbar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ offset: 0 0;
+ to_y: "elm.background.progressbar";
+ }
+ rel2 {
+ offset: 0 -1;
+ relative: 0.0 1.0;
+ to_y: "elm.background.progressbar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ rel2.offset: 4 -1;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1.to_x: "elm.swallow.content";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 4;
+ rel2.to_x: "elm.swallow.content";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -5;
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: 10;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ rel1.offset: 0 4;
+ rel2.offset: 0 -5;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ }
+ image {
+ normal: "progress_slider_bg01.9.png";
+ border: 6 6 0 0;
+ }
+ }
+ }
+ part { name: "elm.text.status";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to: "background";
+ relative: 0.5 0.5;
+ }
+ rel2 {
+ to: "background";
+ relative: 0.5 0.5;
+ }
+ text {
+ font: "Tizen:style=Roman";
+ size: 10;
+ min: 0 0;
+ align: 0.5 0.0;
+ text_class: "tizen";
+ }
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.progress.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to_y: "elm.swallow.bar";
+ to_x: "elm.cur.progressbar";
+ offset: -1 -1;
+ }
+ image {
+ normal: "progress_slider_bar01.9.png";
+ border: 6 6 0 0;
+ }
+ }
+ description {
+ state: "invert" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to_y: "elm.swallow.bar";
+ to_x: "elm.cur.progressbar";
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ }
+ description {
+ state: "state_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 0.1 1.0;
+ }
+ }
+ description {
+ state: "state_end" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.9 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "text-bar";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "progress-rect";
+ //effect: SOFT_SHADOW;
+ scale: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1.to: "elm.text.status";
+ rel1.offset: -1 -1;
+ rel2.to: "elm.text.status";
+ text {
+ text_source: "elm.text.status";
+ font: "Tizen:style=Roman";
+ size: 10;
+ min: 0 0;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.cur.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ confine: "background";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description { state: "default" 0.0;
+ min: 0 28;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to: "background";
+ relative: 0 0;
+ }
+ rel2.to: "background";
+ }
+ }
+ part { name: "progress-rect";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1.to: "elm.progress.progressbar";
+ rel2.to: "elm.progress.progressbar";
+ }
+ }
+ }
+ programs {
+ program { name: "label_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "label_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "text-bar";
+ target: "elm.text.status";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "text-bar";
+ target: "elm.text.status";
+ }
+ program { name: "slide_to_end";
+ action: STATE_SET "state_end" 0.0;
+ transition: LINEAR 0.5;
+ target: "elm.progress.progressbar";
+ after: "slide_to_begin";
+ }
+ program { name: "slide_to_begin";
+ signal: "elm,state,slide,begin";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ transition: LINEAR 0.5;
+ after: "slide_to_end";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ after: "slide_to_end";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ after: "state_pulse";
+ }
+ program { name: "state_pulse";
+ signal: "elm,state,pulse";
+ source: "elm";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ after: "units_hide";
+ }
+ program { name: "state_fraction";
+ signal: "elm,state,fraction";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ program { name: "set_invert_on";
+ signal: "elm,state,inverted,on";
+ source: "elm";
+ action: STATE_SET "invert" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ program { name: "set_invert_off";
+ signal: "elm,state,inverted,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ }
+ }
+
+ group { name: "elm/progressbar/horizontal/UIProgressViewStyleBar";
+ images {
+ image: "progress_slider_bg02.9.png" COMP;
+ image: "progress_slider_bar02.9.png" COMP;
+ }
+ parts {
+ part { name: "elm.padding.left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ //min: 25 0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "elm.padding.right";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ //min: 25 0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ }
+ color: 0 0 0 0;
+ align: 1.0 0.0;
+ }
+ }
+ part { name: "elm.background.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to_x: "elm.padding.left";
+ relative: 1.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ to_x: "elm.padding.right";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description {
+ min: 48 14;
+ max: 99999 14;
+ state: "default" 0.0;
+ rel1 {
+ to: "elm.background.progressbar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.background.progressbar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ offset: 0 0;
+ to_y: "elm.background.progressbar";
+ }
+ rel2 {
+ offset: 0 -1;
+ relative: 0.0 1.0;
+ to_y: "elm.background.progressbar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ rel2.offset: 4 -1;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1.to_x: "elm.swallow.content";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 4;
+ rel2.to_x: "elm.swallow.content";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -5;
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: 10;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ rel1.offset: 0 4;
+ rel2.offset: 0 -5;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ }
+ image {
+ normal: "progress_slider_bg02.9.png";
+ border: 6 6 0 0;
+ }
+ }
+ }
+ part { name: "elm.text.status";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to: "background";
+ relative: 0.5 0.5;
+ }
+ rel2 {
+ to: "background";
+ relative: 0.5 0.5;
+ }
+ text {
+ font: "Tizen:style=Roman";
+ size: 10;
+ min: 0 0;
+ align: 0.5 0.0;
+ text_class: "tizen";
+ }
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.progress.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to_y: "elm.swallow.bar";
+ to_x: "elm.cur.progressbar";
+ offset: -1 -1;
+ }
+ image {
+ normal: "progress_slider_bar02.9.png";
+ border: 6 6 0 0;
+ }
+ }
+ description {
+ state: "invert" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to_y: "elm.swallow.bar";
+ to_x: "elm.cur.progressbar";
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ }
+ description {
+ state: "state_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 0.1 1.0;
+ }
+ }
+ description {
+ state: "state_end" 0.0;
+ inherit: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.bar";
+ relative: 0.9 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.bar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "text-bar";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "progress-rect";
+ //effect: SOFT_SHADOW;
+ scale: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1.to: "elm.text.status";
+ rel1.offset: -1 -1;
+ rel2.to: "elm.text.status";
+ text {
+ text_source: "elm.text.status";
+ font: "Tizen:style=Roman";
+ size: 10;
+ min: 0 0;
+ align: 0.0 0.0;
+ text_class: "tizen";
+ }
+ color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.cur.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ confine: "background";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description { state: "default" 0.0;
+ min: 0 28;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to: "background";
+ relative: 0 0;
+ }
+ rel2.to: "background";
+ }
+ }
+ part { name: "progress-rect";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1.to: "elm.progress.progressbar";
+ rel2.to: "elm.progress.progressbar";
+ }
+ }
+ }
+ programs {
+ program { name: "label_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "label_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "text-bar";
+ target: "elm.text.status";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "text-bar";
+ target: "elm.text.status";
+ }
+ program { name: "slide_to_end";
+ action: STATE_SET "state_end" 0.0;
+ transition: LINEAR 0.5;
+ target: "elm.progress.progressbar";
+ after: "slide_to_begin";
+ }
+ program { name: "slide_to_begin";
+ signal: "elm,state,slide,begin";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ transition: LINEAR 0.5;
+ after: "slide_to_end";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ after: "slide_to_end";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ after: "state_pulse";
+ }
+ program { name: "state_pulse";
+ signal: "elm,state,pulse";
+ source: "elm";
+ action: STATE_SET "state_begin" 0.0;
+ target: "elm.progress.progressbar";
+ after: "units_hide";
+ }
+ program { name: "state_fraction";
+ signal: "elm,state,fraction";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "slide_to_begin";
+ target: "slide_to_end";
+ target: "start_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ program { name: "set_invert_on";
+ signal: "elm,state,inverted,on";
+ source: "elm";
+ action: STATE_SET "invert" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ program { name: "set_invert_off";
+ signal: "elm,state,inverted,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.progress.progressbar";
+ }
+ }
+ }
+
+#define PROGRESS_LOAD_IMAGEG( param_num ) \
+ image: "00_winset_list_progress_"#param_num".png" COMP;
+
+#define PROGRESS_BG_DESC( param_name, param_num ) \
+ description { state: "pulse" 0.#param_num; \
+ inherit: "default" 0.0; \
+ image { \
+ normal: "00_winset_"#param_name"_process_"#param_num".png"; \
+ } \
+ }
+
+#define PROGRESSING_DELAY 0.07
+
+ group { name: "elm/progressbar/horizontal/list_process";
+ images {
+ image: "00_winset_list_process_01.png" COMP;
+ image: "00_winset_list_process_02.png" COMP;
+ image: "00_winset_list_process_03.png" COMP;
+ image: "00_winset_list_process_04.png" COMP;
+ image: "00_winset_list_process_05.png" COMP;
+ image: "00_winset_list_process_06.png" COMP;
+ image: "00_winset_list_process_07.png" COMP;
+ image: "00_winset_list_process_08.png" COMP;
+ image: "00_winset_list_process_09.png" COMP;
+ image: "00_winset_list_process_10.png" COMP;
+ image: "00_winset_list_process_11.png" COMP;
+ image: "00_winset_list_process_12.png" COMP;
+ image: "00_winset_list_process_13.png" COMP;
+ image: "00_winset_list_process_14.png" COMP;
+ image: "00_winset_list_process_15.png" COMP;
+ image: "00_winset_list_process_16.png" COMP;
+ image: "00_winset_list_process_17.png" COMP;
+ image: "00_winset_list_process_18.png" COMP;
+ image: "00_winset_list_process_19.png" COMP;
+ image: "00_winset_list_process_20.png" COMP;
+ image: "00_winset_list_process_21.png" COMP;
+ image: "00_winset_list_process_22.png" COMP;
+ image: "00_winset_list_process_23.png" COMP;
+ image: "00_winset_list_process_24.png" COMP;
+ image: "00_winset_list_process_25.png" COMP;
+ image: "00_winset_list_process_26.png" COMP;
+ image: "00_winset_list_process_27.png" COMP;
+ image: "00_winset_list_process_28.png" COMP;
+ image: "00_winset_list_process_29.png" COMP;
+ image: "00_winset_list_process_30.png" COMP;
+ }
+ parts {
+ part { name: "elm.background.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: PROGRESSBAR_LIST_PROCESS_WIDTH_INC PROGRESSBAR_LIST_PROCESS_HEIGHT_INC;
+ max: PROGRESSBAR_LIST_PROCESS_WIDTH_INC PROGRESSBAR_LIST_PROCESS_HEIGHT_INC;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: BOTH;
+ image {
+ normal: "00_winset_list_process_01.png";
+ }
+ }
+ description { state: "pulse" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_winset_list_process_01.png";
+ }
+ }
+ PROGRESS_BG_DESC( list, 01 )
+ PROGRESS_BG_DESC( list, 02 )
+ PROGRESS_BG_DESC( list, 03 )
+ PROGRESS_BG_DESC( list, 04 )
+ PROGRESS_BG_DESC( list, 05 )
+ PROGRESS_BG_DESC( list, 06 )
+ PROGRESS_BG_DESC( list, 07 )
+ PROGRESS_BG_DESC( list, 08 )
+ PROGRESS_BG_DESC( list, 09 )
+ PROGRESS_BG_DESC( list, 10 )
+ PROGRESS_BG_DESC( list, 11 )
+ PROGRESS_BG_DESC( list, 12 )
+ PROGRESS_BG_DESC( list, 13 )
+ PROGRESS_BG_DESC( list, 14 )
+ PROGRESS_BG_DESC( list, 15 )
+ PROGRESS_BG_DESC( list, 16 )
+ PROGRESS_BG_DESC( list, 17 )
+ PROGRESS_BG_DESC( list, 18 )
+ PROGRESS_BG_DESC( list, 19 )
+ PROGRESS_BG_DESC( list, 20 )
+ PROGRESS_BG_DESC( list, 21 )
+ PROGRESS_BG_DESC( list, 22 )
+ PROGRESS_BG_DESC( list, 23 )
+ PROGRESS_BG_DESC( list, 24 )
+ PROGRESS_BG_DESC( list, 25 )
+ PROGRESS_BG_DESC( list, 26 )
+ PROGRESS_BG_DESC( list, 27 )
+ PROGRESS_BG_DESC( list, 28 )
+ PROGRESS_BG_DESC( list, 29 )
+ PROGRESS_BG_DESC( list, 30 )
+ }
+ }
+ script {
+ public pulse_state;
+ }
+ programs {
+ program { name: "continue_pulse";
+ script {
+ new Float:state;
+ state = get_float(pulse_state);
+ set_state(PART:"background", "pulse", state);
+ state += 0.01;
+ if( state > 0.30 )
+ state = 0.01;
+ set_float(pulse_state, state);
+ }
+ after: "delay";
+ }
+ program { name: "delay";
+ action: STATE_SET "pulse" 0.10;
+ target: "background";
+ in: PROGRESSING_DELAY 0.0;
+ after: "continue_pulse";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ script {
+ set_float(pulse_state, 0.0);
+ }
+ after: "continue_pulse";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "continue_pulse";
+ target: "delay";
+ target: "start_pulse";
+ after: "init_pulse";
+ }
+ program { name: "init_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "background";
+ }
+ }
+ }
+
+ group { name: "elm/progressbar/horizontal/list_process_small";
+ images {
+ image: "00_winset_list_process_01_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_02_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_03_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_04_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_05_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_06_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_07_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_08_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_09_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_10_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_11_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_12_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_13_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_14_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_15_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_16_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_17_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_18_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_19_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_20_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_21_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_22_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_23_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_24_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_25_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_26_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_27_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_28_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_29_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ image: "00_winset_list_process_30_"PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE".png" COMP;
+ }
+ parts {
+ part { name: "elm.background.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: PROGRESSBAR_LIST_PROCESS_SMALL_INC PROGRESSBAR_LIST_PROCESS_SMALL_INC;
+ max: PROGRESSBAR_LIST_PROCESS_SMALL_INC PROGRESSBAR_LIST_PROCESS_SMALL_INC;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: BOTH;
+ image {
+ normal: "00_winset_list_process_01.png";
+ }
+ }
+ description { state: "pulse" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_winset_list_process_01.png";
+ }
+ }
+ PROGRESS_BG_DESC( list, 01 )
+ PROGRESS_BG_DESC( list, 02 )
+ PROGRESS_BG_DESC( list, 03 )
+ PROGRESS_BG_DESC( list, 04 )
+ PROGRESS_BG_DESC( list, 05 )
+ PROGRESS_BG_DESC( list, 06 )
+ PROGRESS_BG_DESC( list, 07 )
+ PROGRESS_BG_DESC( list, 08 )
+ PROGRESS_BG_DESC( list, 09 )
+ PROGRESS_BG_DESC( list, 10 )
+ PROGRESS_BG_DESC( list, 11 )
+ PROGRESS_BG_DESC( list, 12 )
+ PROGRESS_BG_DESC( list, 13 )
+ PROGRESS_BG_DESC( list, 14 )
+ PROGRESS_BG_DESC( list, 15 )
+ PROGRESS_BG_DESC( list, 16 )
+ PROGRESS_BG_DESC( list, 17 )
+ PROGRESS_BG_DESC( list, 18 )
+ PROGRESS_BG_DESC( list, 19 )
+ PROGRESS_BG_DESC( list, 20 )
+ PROGRESS_BG_DESC( list, 21 )
+ PROGRESS_BG_DESC( list, 22 )
+ PROGRESS_BG_DESC( list, 23 )
+ PROGRESS_BG_DESC( list, 24 )
+ PROGRESS_BG_DESC( list, 25 )
+ PROGRESS_BG_DESC( list, 26 )
+ PROGRESS_BG_DESC( list, 27 )
+ PROGRESS_BG_DESC( list, 28 )
+ PROGRESS_BG_DESC( list, 29 )
+ PROGRESS_BG_DESC( list, 30 )
+ }
+ }
+ script {
+ public pulse_state;
+ }
+ programs {
+ program { name: "continue_pulse";
+ script {
+ new Float:state;
+ state = get_float(pulse_state);
+ set_state(PART:"background", "pulse", state);
+ state += 0.01;
+ if( state > 0.30 )
+ state = 0.01;
+ set_float(pulse_state, state);
+ }
+ after: "delay";
+ }
+ program { name: "delay";
+ action: STATE_SET "pulse" 0.10;
+ target: "background";
+ in: PROGRESSING_DELAY 0.0;
+ after: "continue_pulse";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ script {
+ set_float(pulse_state, 0.0);
+ }
+ after: "continue_pulse";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "continue_pulse";
+ target: "delay";
+ target: "start_pulse";
+ after: "init_pulse";
+ }
+ program { name: "init_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "background";
+ }
+ }
+ }
+
+ group { name: "elm/progressbar/horizontal/toolbar_process";
+ images {
+ image: "00_winset_toolbar_process_01.png" COMP;
+ image: "00_winset_toolbar_process_02.png" COMP;
+ image: "00_winset_toolbar_process_03.png" COMP;
+ image: "00_winset_toolbar_process_04.png" COMP;
+ image: "00_winset_toolbar_process_05.png" COMP;
+ image: "00_winset_toolbar_process_06.png" COMP;
+ image: "00_winset_toolbar_process_07.png" COMP;
+ image: "00_winset_toolbar_process_08.png" COMP;
+ image: "00_winset_toolbar_process_09.png" COMP;
+ image: "00_winset_toolbar_process_10.png" COMP;
+ image: "00_winset_toolbar_process_11.png" COMP;
+ image: "00_winset_toolbar_process_12.png" COMP;
+ image: "00_winset_toolbar_process_13.png" COMP;
+ image: "00_winset_toolbar_process_14.png" COMP;
+ image: "00_winset_toolbar_process_15.png" COMP;
+ image: "00_winset_toolbar_process_16.png" COMP;
+ image: "00_winset_toolbar_process_17.png" COMP;
+ image: "00_winset_toolbar_process_18.png" COMP;
+ image: "00_winset_toolbar_process_19.png" COMP;
+ image: "00_winset_toolbar_process_20.png" COMP;
+ image: "00_winset_toolbar_process_21.png" COMP;
+ image: "00_winset_toolbar_process_22.png" COMP;
+ image: "00_winset_toolbar_process_23.png" COMP;
+ image: "00_winset_toolbar_process_24.png" COMP;
+ image: "00_winset_toolbar_process_25.png" COMP;
+ image: "00_winset_toolbar_process_26.png" COMP;
+ image: "00_winset_toolbar_process_27.png" COMP;
+ image: "00_winset_toolbar_process_28.png" COMP;
+ image: "00_winset_toolbar_process_29.png" COMP;
+ image: "00_winset_toolbar_process_30.png" COMP;
+ }
+ parts {
+ part { name: "elm.background.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: 32 32;
+ max: 32 32;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: BOTH;
+ image {
+ normal: "00_winset_toolbar_process_01.png";
+ }
+ }
+ description { state: "pulse" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_winset_toolbar_process_01.png";
+ }
+ }
+ PROGRESS_BG_DESC( toolbar, 01 )
+ PROGRESS_BG_DESC( toolbar, 02 )
+ PROGRESS_BG_DESC( toolbar, 03 )
+ PROGRESS_BG_DESC( toolbar, 04 )
+ PROGRESS_BG_DESC( toolbar, 05 )
+ PROGRESS_BG_DESC( toolbar, 06 )
+ PROGRESS_BG_DESC( toolbar, 07 )
+ PROGRESS_BG_DESC( toolbar, 08 )
+ PROGRESS_BG_DESC( toolbar, 09 )
+ PROGRESS_BG_DESC( toolbar, 10 )
+ PROGRESS_BG_DESC( toolbar, 11 )
+ PROGRESS_BG_DESC( toolbar, 12 )
+ PROGRESS_BG_DESC( toolbar, 13 )
+ PROGRESS_BG_DESC( toolbar, 14 )
+ PROGRESS_BG_DESC( toolbar, 15 )
+ PROGRESS_BG_DESC( toolbar, 16 )
+ PROGRESS_BG_DESC( toolbar, 17 )
+ PROGRESS_BG_DESC( toolbar, 18 )
+ PROGRESS_BG_DESC( toolbar, 19 )
+ PROGRESS_BG_DESC( toolbar, 20 )
+ PROGRESS_BG_DESC( toolbar, 21 )
+ PROGRESS_BG_DESC( toolbar, 22 )
+ PROGRESS_BG_DESC( toolbar, 23 )
+ PROGRESS_BG_DESC( toolbar, 24 )
+ PROGRESS_BG_DESC( toolbar, 25 )
+ PROGRESS_BG_DESC( toolbar, 26 )
+ PROGRESS_BG_DESC( toolbar, 27 )
+ PROGRESS_BG_DESC( toolbar, 28 )
+ PROGRESS_BG_DESC( toolbar, 29 )
+ PROGRESS_BG_DESC( toolbar, 30 )
+ }
+ }
+ script {
+ public pulse_state;
+ }
+ programs {
+ program { name: "continue_pulse";
+ script {
+ new Float:state;
+ state = get_float(pulse_state);
+ set_state(PART:"background", "pulse", state);
+ state += 0.01;
+ if( state > 0.30 )
+ state = 0.01;
+ set_float(pulse_state, state);
+ }
+ after: "delay";
+ }
+ program { name: "delay";
+ action: STATE_SET "pulse" 0.10;
+ target: "background";
+ in: PROGRESSING_DELAY 0.0;
+ after: "continue_pulse";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ script {
+ set_float(pulse_state, 0.0);
+ }
+ after: "continue_pulse";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "continue_pulse";
+ target: "delay";
+ target: "start_pulse";
+ after: "init_pulse";
+ }
+ program { name: "init_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "background";
+ }
+ }
+ }
+
+ group { name: "elm/progressbar/horizontal/UIActivityIndicatorStyleWhiteLarge";
+ images {
+ image: "progress_01.png" COMP;
+ image: "progress_02.png" COMP;
+ image: "progress_03.png" COMP;
+ image: "progress_04.png" COMP;
+ image: "progress_05.png" COMP;
+ image: "progress_06.png" COMP;
+ image: "progress_07.png" COMP;
+ image: "progress_08.png" COMP;
+ image: "progress_09.png" COMP;
+ image: "progress_10.png" COMP;
+ image: "progress_11.png" COMP;
+ image: "progress_12.png" COMP;
+ }
+ parts {
+ part { name: "elm.background.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: 60 60;
+ max: 60 60;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: BOTH;
+ image {
+ normal: "progress_01.png";
+ }
+ }
+ description {
+ state: "pulse" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_01.png";
+ }
+ }
+ description {
+ state: "pulse" 0.01;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_01.png";
+ }
+ }
+ description {
+ state: "pulse" 0.02;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_02.png";
+ }
+ }
+ description {
+ state: "pulse" 0.03;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_03.png";
+ }
+ }
+ description {
+ state: "pulse" 0.04;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_04.png";
+ }
+ }
+ description {
+ state: "pulse" 0.05;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_05.png";
+ }
+ }
+ description {
+ state: "pulse" 0.06;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_06.png";
+ }
+ }
+ description {
+ state: "pulse" 0.07;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_07.png";
+ }
+ }
+ description {
+ state: "pulse" 0.08;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_08.png";
+ }
+ }
+ description {
+ state: "pulse" 0.09;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_09.png";
+ }
+ }
+ description {
+ state: "pulse" 0.10;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_10.png";
+ }
+ }
+ description {
+ state: "pulse" 0.11;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_11.png";
+ }
+ }
+ description {
+ state: "pulse" 0.12;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_12.png";
+ }
+ }
+ }
+ }
+ script {
+ public pulse_state;
+ }
+ programs {
+ program { name: "continue_pulse";
+ script {
+ new Float:state;
+ state = get_float(pulse_state);
+ set_state(PART:"background", "pulse", state);
+ state += 0.01;
+ if( state > 0.12 )
+ state = 0.01;
+ set_float(pulse_state, state);
+ }
+ after: "delay";
+ }
+ program { name: "delay";
+ action: STATE_SET "pulse" 0.10;
+ target: "background";
+ in: PROGRESSING_DELAY 0.0;
+ after: "continue_pulse";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ script {
+ set_float(pulse_state, 0.0);
+ }
+ after: "continue_pulse";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "continue_pulse";
+ target: "delay";
+ target: "start_pulse";
+ after: "init_pulse";
+ }
+ program { name: "init_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "background";
+ }
+ }
+ }
+
+ group { name: "elm/progressbar/horizontal/UIActivityIndicatorStyleWhite";
+ images {
+ image: "progress_01_s.png" COMP;
+ image: "progress_02_s.png" COMP;
+ image: "progress_03_s.png" COMP;
+ image: "progress_04_s.png" COMP;
+ image: "progress_05_s.png" COMP;
+ image: "progress_06_s.png" COMP;
+ image: "progress_07_s.png" COMP;
+ image: "progress_08_s.png" COMP;
+ image: "progress_09_s.png" COMP;
+ image: "progress_10_s.png" COMP;
+ image: "progress_11_s.png" COMP;
+ image: "progress_12_s.png" COMP;
+ }
+ parts {
+ part { name: "elm.background.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: 30 30;
+ max: 30 30;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: BOTH;
+ image {
+ normal: "progress_01_s.png";
+ }
+ }
+ description {
+ state: "pulse" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_01_s.png";
+ }
+ }
+ description {
+ state: "pulse" 0.01;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_01_s.png";
+ }
+ }
+ description {
+ state: "pulse" 0.02;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_02_s.png";
+ }
+ }
+ description {
+ state: "pulse" 0.03;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_03_s.png";
+ }
+ }
+ description {
+ state: "pulse" 0.04;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_04_s.png";
+ }
+ }
+ description {
+ state: "pulse" 0.05;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_05_s.png";
+ }
+ }
+ description {
+ state: "pulse" 0.06;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_06_s.png";
+ }
+ }
+ description {
+ state: "pulse" 0.07;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_07_s.png";
+ }
+ }
+ description {
+ state: "pulse" 0.08;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_08_s.png";
+ }
+ }
+ description {
+ state: "pulse" 0.09;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_09_s.png";
+ }
+ }
+ description {
+ state: "pulse" 0.10;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_10_s.png";
+ }
+ }
+ description {
+ state: "pulse" 0.11;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_11_s.png";
+ }
+ }
+ description {
+ state: "pulse" 0.12;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_12_s.png";
+ }
+ }
+ }
+ }
+ script {
+ public pulse_state;
+ }
+ programs {
+ program { name: "continue_pulse";
+ script {
+ new Float:state;
+ state = get_float(pulse_state);
+ set_state(PART:"background", "pulse", state);
+ state += 0.01;
+ if( state > 0.12 )
+ state = 0.01;
+ set_float(pulse_state, state);
+ }
+ after: "delay";
+ }
+ program { name: "delay";
+ action: STATE_SET "pulse" 0.10;
+ target: "background";
+ in: PROGRESSING_DELAY 0.0;
+ after: "continue_pulse";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ script {
+ set_float(pulse_state, 0.0);
+ }
+ after: "continue_pulse";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "continue_pulse";
+ target: "delay";
+ target: "start_pulse";
+ after: "init_pulse";
+ }
+ program { name: "init_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "background";
+ }
+ }
+ }
+
+ group { name: "elm/progressbar/horizontal/UIActivityIndicatorStyleGray";
+ images {
+ image: "progress_01_g.png" COMP;
+ image: "progress_02_g.png" COMP;
+ image: "progress_03_g.png" COMP;
+ image: "progress_04_g.png" COMP;
+ image: "progress_05_g.png" COMP;
+ image: "progress_06_g.png" COMP;
+ image: "progress_07_g.png" COMP;
+ image: "progress_08_g.png" COMP;
+ image: "progress_09_g.png" COMP;
+ image: "progress_10_g.png" COMP;
+ image: "progress_11_g.png" COMP;
+ image: "progress_12_g.png" COMP;
+ }
+ parts {
+ part { name: "elm.background.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: 30 30;
+ max: 30 30;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: BOTH;
+ image {
+ normal: "progress_01_g.png";
+ }
+ }
+ description {
+ state: "pulse" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_01_g.png";
+ }
+ }
+ description {
+ state: "pulse" 0.01;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_01_g.png";
+ }
+ }
+ description {
+ state: "pulse" 0.02;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_02_g.png";
+ }
+ }
+ description {
+ state: "pulse" 0.03;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_03_g.png";
+ }
+ }
+ description {
+ state: "pulse" 0.04;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_04_g.png";
+ }
+ }
+ description {
+ state: "pulse" 0.05;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_05_g.png";
+ }
+ }
+ description {
+ state: "pulse" 0.06;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_06_g.png";
+ }
+ }
+ description {
+ state: "pulse" 0.07;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_07_g.png";
+ }
+ }
+ description {
+ state: "pulse" 0.08;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_08_g.png";
+ }
+ }
+ description {
+ state: "pulse" 0.09;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_09_g.png";
+ }
+ }
+ description {
+ state: "pulse" 0.10;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_10_g.png";
+ }
+ }
+ description {
+ state: "pulse" 0.11;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_11_g.png";
+ }
+ }
+ description {
+ state: "pulse" 0.12;
+ inherit: "default" 0.0;
+ image {
+ normal: "progress_12_g.png";
+ }
+ }
+ }
+ }
+ script {
+ public pulse_state;
+ }
+ programs {
+ program { name: "continue_pulse";
+ script {
+ new Float:state;
+ state = get_float(pulse_state);
+ set_state(PART:"background", "pulse", state);
+ state += 0.01;
+ if( state > 0.12 )
+ state = 0.01;
+ set_float(pulse_state, state);
+ }
+ after: "delay";
+ }
+ program { name: "delay";
+ action: STATE_SET "pulse" 0.10;
+ target: "background";
+ in: PROGRESSING_DELAY 0.0;
+ after: "continue_pulse";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ script {
+ set_float(pulse_state, 0.0);
+ }
+ after: "continue_pulse";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "continue_pulse";
+ target: "delay";
+ target: "start_pulse";
+ after: "init_pulse";
+ }
+ program { name: "init_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "background";
+ }
+ }
+ }
+
+#define CIRCLE_PROGRESSING_DELAY 0.03
+#define PROGRESS_CIRCLE_TOTAL_STATES 50
+
+#define PROGRESS_CIRCLE_BG_DESC( param_num ) \
+ description { state: "progress" 0.#param_num; \
+ inherit: "default" 0.0; \
+ image { \
+ normal: "00_progress_circle_bg_"#param_num".png"; \
+ } \
+ }
+
+ group { name: "elm/progressbar/horizontal/progress_circle";
+ images {
+ image: "00_progress_circle_bg.png" COMP;
+ image: "00_progress_circle_bg_01.png" COMP;
+ image: "00_progress_circle_bg_02.png" COMP;
+ image: "00_progress_circle_bg_03.png" COMP;
+ image: "00_progress_circle_bg_04.png" COMP;
+ image: "00_progress_circle_bg_05.png" COMP;
+ image: "00_progress_circle_bg_06.png" COMP;
+ image: "00_progress_circle_bg_07.png" COMP;
+ image: "00_progress_circle_bg_08.png" COMP;
+ image: "00_progress_circle_bg_09.png" COMP;
+ image: "00_progress_circle_bg_10.png" COMP;
+ image: "00_progress_circle_bg_11.png" COMP;
+ image: "00_progress_circle_bg_12.png" COMP;
+ image: "00_progress_circle_bg_13.png" COMP;
+ image: "00_progress_circle_bg_14.png" COMP;
+ image: "00_progress_circle_bg_15.png" COMP;
+ image: "00_progress_circle_bg_16.png" COMP;
+ image: "00_progress_circle_bg_17.png" COMP;
+ image: "00_progress_circle_bg_18.png" COMP;
+ image: "00_progress_circle_bg_19.png" COMP;
+ image: "00_progress_circle_bg_20.png" COMP;
+ image: "00_progress_circle_bg_21.png" COMP;
+ image: "00_progress_circle_bg_22.png" COMP;
+ image: "00_progress_circle_bg_23.png" COMP;
+ image: "00_progress_circle_bg_24.png" COMP;
+ image: "00_progress_circle_bg_25.png" COMP;
+ image: "00_progress_circle_bg_26.png" COMP;
+ image: "00_progress_circle_bg_27.png" COMP;
+ image: "00_progress_circle_bg_28.png" COMP;
+ image: "00_progress_circle_bg_29.png" COMP;
+ image: "00_progress_circle_bg_30.png" COMP;
+ image: "00_progress_circle_bg_31.png" COMP;
+ image: "00_progress_circle_bg_32.png" COMP;
+ image: "00_progress_circle_bg_33.png" COMP;
+ image: "00_progress_circle_bg_34.png" COMP;
+ image: "00_progress_circle_bg_35.png" COMP;
+ image: "00_progress_circle_bg_36.png" COMP;
+ image: "00_progress_circle_bg_37.png" COMP;
+ image: "00_progress_circle_bg_38.png" COMP;
+ image: "00_progress_circle_bg_39.png" COMP;
+ image: "00_progress_circle_bg_40.png" COMP;
+ image: "00_progress_circle_bg_41.png" COMP;
+ image: "00_progress_circle_bg_42.png" COMP;
+ image: "00_progress_circle_bg_43.png" COMP;
+ image: "00_progress_circle_bg_44.png" COMP;
+ image: "00_progress_circle_bg_45.png" COMP;
+ image: "00_progress_circle_bg_46.png" COMP;
+ image: "00_progress_circle_bg_47.png" COMP;
+ image: "00_progress_circle_bg_48.png" COMP;
+ image: "00_progress_circle_bg_49.png" COMP;
+ image: "00_progress_circle_bg_50.png" COMP;
+ }
+ parts {
+ part { name: "elm.background.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.cur.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ confine: "background";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description { state: "default" 0.0;
+ min: 1 1;
+ fixed: 1 1;
+ visible: 0;
+ rel1.to: "background";
+ rel2.to: "background";
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ min: PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC;
+ max: PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC;
+ aspect: 1.0 1.0;
+ aspect_preference: BOTH;
+ image {
+ normal: "00_progress_circle_bg.png";
+ }
+ }
+ }
+ part { name: "progress_circle_img";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "background";
+ }
+ rel2 {
+ to: "background";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: BOTH;
+ image {
+ normal: "00_progress_circle_bg.png";
+ }
+ }
+ description { state: "progress" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_progress_circle_bg.png";
+ }
+ }
+ PROGRESS_CIRCLE_BG_DESC( 01 )
+ PROGRESS_CIRCLE_BG_DESC( 02 )
+ PROGRESS_CIRCLE_BG_DESC( 03 )
+ PROGRESS_CIRCLE_BG_DESC( 04 )
+ PROGRESS_CIRCLE_BG_DESC( 05 )
+ PROGRESS_CIRCLE_BG_DESC( 06 )
+ PROGRESS_CIRCLE_BG_DESC( 07 )
+ PROGRESS_CIRCLE_BG_DESC( 08 )
+ PROGRESS_CIRCLE_BG_DESC( 09 )
+ PROGRESS_CIRCLE_BG_DESC( 10 )
+ PROGRESS_CIRCLE_BG_DESC( 11 )
+ PROGRESS_CIRCLE_BG_DESC( 12 )
+ PROGRESS_CIRCLE_BG_DESC( 13 )
+ PROGRESS_CIRCLE_BG_DESC( 14 )
+ PROGRESS_CIRCLE_BG_DESC( 15 )
+ PROGRESS_CIRCLE_BG_DESC( 16 )
+ PROGRESS_CIRCLE_BG_DESC( 17 )
+ PROGRESS_CIRCLE_BG_DESC( 18 )
+ PROGRESS_CIRCLE_BG_DESC( 19 )
+ PROGRESS_CIRCLE_BG_DESC( 20 )
+ PROGRESS_CIRCLE_BG_DESC( 21 )
+ PROGRESS_CIRCLE_BG_DESC( 22 )
+ PROGRESS_CIRCLE_BG_DESC( 23 )
+ PROGRESS_CIRCLE_BG_DESC( 24 )
+ PROGRESS_CIRCLE_BG_DESC( 25 )
+ PROGRESS_CIRCLE_BG_DESC( 26 )
+ PROGRESS_CIRCLE_BG_DESC( 27 )
+ PROGRESS_CIRCLE_BG_DESC( 28 )
+ PROGRESS_CIRCLE_BG_DESC( 29 )
+ PROGRESS_CIRCLE_BG_DESC( 30 )
+ PROGRESS_CIRCLE_BG_DESC( 31 )
+ PROGRESS_CIRCLE_BG_DESC( 32 )
+ PROGRESS_CIRCLE_BG_DESC( 33 )
+ PROGRESS_CIRCLE_BG_DESC( 34 )
+ PROGRESS_CIRCLE_BG_DESC( 35 )
+ PROGRESS_CIRCLE_BG_DESC( 36 )
+ PROGRESS_CIRCLE_BG_DESC( 37 )
+ PROGRESS_CIRCLE_BG_DESC( 38 )
+ PROGRESS_CIRCLE_BG_DESC( 39 )
+ PROGRESS_CIRCLE_BG_DESC( 40 )
+ PROGRESS_CIRCLE_BG_DESC( 41 )
+ PROGRESS_CIRCLE_BG_DESC( 42 )
+ PROGRESS_CIRCLE_BG_DESC( 43 )
+ PROGRESS_CIRCLE_BG_DESC( 44 )
+ PROGRESS_CIRCLE_BG_DESC( 45 )
+ PROGRESS_CIRCLE_BG_DESC( 46 )
+ PROGRESS_CIRCLE_BG_DESC( 47 )
+ PROGRESS_CIRCLE_BG_DESC( 48 )
+ PROGRESS_CIRCLE_BG_DESC( 49 )
+ PROGRESS_CIRCLE_BG_DESC( 50 )
+ }
+ }
+ programs {
+ script {
+ public curr_state = 0;
+ public final_state = 0;
+ public prev_state = 0;
+ public max_state = 0; // maximum possible state, a normalized value
+ public circle_zero_cross = 0; // whether circle crosses its Zero state or not.
+
+ public progress_circle_state_change(){
+ new Float:x, Float:y, Float:final, Float:max;
+ max = PROGRESS_CIRCLE_TOTAL_STATES / 100.0;
+ set_float(max_state, max);
+ get_drag(PART:"elm.cur.progressbar", x, y);
+ final = x * max; // calculate final state as per the set drag value
+ set_float(final_state, final);
+ if( final < get_float(prev_state) )
+ set_int(circle_zero_cross, 1); // high value to low value, crosses zero state.
+ else
+ set_int(circle_zero_cross, 0); // low value to high value, no need for zero state crossing.
+ }
+ }
+ program { name: "circle_progress";
+ script {
+ new Float:curr, Float:final, Float:max;
+ new zero_cross;
+ zero_cross = get_int(circle_zero_cross);
+ max = get_float(max_state);
+ curr = get_float(curr_state);
+ set_state(PART:"progress_circle_img", "progress", curr);
+ curr += 0.01; // for next immediate state.
+ if( (curr > max) && (zero_cross == 1) )
+ {
+ curr = 0.00; // once it crosses Zero state, reset its state.
+ set_int(circle_zero_cross, 0);
+ }
+ else if( curr > max ) return;
+
+ final = get_float(final_state);
+ zero_cross = get_int(circle_zero_cross);
+ if( (curr > final) && (zero_cross == 0) )
+ {
+ set_float(prev_state, get_float(curr_state));
+ return;
+ }
+ set_float(curr_state, curr);
+ }
+ after: "delay";
+ }
+ program { name: "delay";
+ action: STATE_SET "progress" 0.10;
+ target: "progress_circle_img";
+ in: CIRCLE_PROGRESSING_DELAY 0.0;
+ after: "circle_progress";
+ }
+ program { name: "circle_start";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ script {
+ set_float(curr_state, 0.0);
+ }
+ after: "circle_progress";
+ }
+ program { name: "circle_stop";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "circle_progress";
+ target: "delay";
+ target: "circle_start";
+ }
+ program { name: "circle_state_change";
+ signal: "elm,state,change";
+ source: "elm";
+ script {
+ progress_circle_state_change()
+ }
+ after: "circle_progress";
+ }
+ }
+ }
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+#define RADIO_STATE_DEFAULT 0
+#define RADIO_STATE_VISIBLE 1
+#define RADIO_STATE_DISABLED_VISIBLE 2
+#define RADIO_STATE_DISABLED 3
+
+ styles {
+ style { name: "radio_label_textblock_style";
+ base: "font=Tizen:style=Medium font_size="RADIO_STYLE_DEFAULT_FONT_SIZE_INC" color=#ffffff wrap=char text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "whitecolor" "+ color=#ffffff";
+ tag: "tab" "\t";
+ }
+ }
+////////////////////////////////////////////////////////////////////////////////////////
+
+#define RADIO_STYLE_DEFAULT(style_name, min_width, min_height) \
+ group { name: "elm/radio/base/"style_name; \
+ images { \
+ image: "00_button_radio_select.png" COMP; \
+ image: "00_button_radio_dim.png" COMP; \
+ image: "00_button_radio.png" COMP; \
+ image: "00_button_radio_press.png" COMP; \
+ image: "00_button_radio_select_dim.png" COMP; \
+ } \
+ parts { \
+ part { name: "back_bg"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel2.relative: 0.0 1.0; \
+ align: 0 0.5; \
+ min: min_width min_height; \
+ fixed: 1 0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "bg"; \
+ mouse_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \
+ max: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \
+ fixed: 1 1; \
+ rel1.to: "back_bg"; \
+ rel2.to: "back_bg"; \
+ image.normal: "00_button_radio.png"; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_button_radio_dim.png"; \
+ } \
+ description { state: "pressed" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_button_radio_press.png"; \
+ } \
+ } \
+ part { name: "radio"; \
+ clip_to: "opacity_clip"; \
+ mouse_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel1.to: "bg"; \
+ rel2.to: "bg"; \
+ max: 0 0; \
+ image.normal: "00_button_radio_select.png"; \
+ visible: 0; \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ max: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ description { state: "disabled_visible" 0.0; \
+ inherit: "visible" 0.0; \
+ image.normal: "00_button_radio_select_dim.png"; \
+ } \
+ } \
+ part { name: "opacity_clip"; \
+ type: RECT; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: 255 255 255 0; \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ color: 255 255 255 255; \
+ } \
+ } \
+ part { name: "elm.swallow.content"; \
+ type: SWALLOW; \
+ clip_to: "disclip"; \
+ description { state: "default" 0.0; \
+ fixed: 1 0; \
+ visible: 0; \
+ align: 0.0 0.5; \
+ rel1 { \
+ to_x: "bg"; \
+ relative: 1.0 0.0; \
+ offset: 1 1; \
+ } \
+ rel2 { \
+ to_x: "bg"; \
+ offset: 2 -2; \
+ } \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ fixed: 1 1; \
+ visible: 1; \
+ aspect: 1.0 1.0; \
+ aspect_preference: VERTICAL; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ description { state: "disabled_visible" 0.0; \
+ inherit: "default" 0.0; \
+ fixed: 1 1; \
+ visible: 1; \
+ aspect: 1.0 1.0; \
+ } \
+ } \
+ part { name: "elm.text"; \
+ type: TEXTBLOCK; \
+ mouse_events: 0; \
+ clip_to: "disclip"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ fixed: 0 1; \
+ rel1 { \
+ relative: 1.0 0.5; \
+ offset: 1 1; \
+ to_x: "elm.swallow.content"; \
+ } \
+ rel2 { \
+ relative: 1.0 0.5; \
+ offset: -2 -2; \
+ } \
+ align: 0.0 0.5; \
+ text { \
+ style: "radio_label_textblock_style"; \
+ min: 0 0; \
+ } \
+ color: RADIO_DEFAULT_TEXT_NORMAL_COLOR_INC; \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ text.min: 1 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ description { state: "disabled_visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ text.min: 1 1; \
+ color: RADIO_DEFAULT_TEXT_DISABLED_COLOR_INC; \
+ } \
+ } \
+ part { name: "over1"; \
+ type: RECT; \
+ ignore_flags: ON_HOLD; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "over2"; \
+ type: RECT; \
+ repeat_events:1; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "disclip"; \
+ type: RECT; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: RADIO_DISCLIP_NORMAL_COLOR_INC; \
+ } \
+ description { state: "disabled" 0.0; \
+ color: RADIO_DISCLIP_DISABLED_COLOR_INC; \
+ } \
+ } \
+ part { name: "disabler"; \
+ type: RECT; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ } \
+ programs { \
+ program { name: "click"; \
+ signal: "mouse,clicked,1"; \
+ source: "over1"; \
+ action: SIGNAL_EMIT "elm,action,radio,toggle" ""; \
+ } \
+ program { name: "bg_normal"; \
+ signal: "mouse,up,1"; \
+ source: "over2"; \
+ action: STATE_SET "default" 0.0; \
+ target: "bg"; \
+ } \
+ program { name: "pressed"; \
+ signal: "mouse,down,1"; \
+ source: "over2"; \
+ action: STATE_SET "pressed" 0.0; \
+ target: "bg"; \
+ } \
+ program { name: "radio_on"; \
+ signal: "elm,state,radio,on"; \
+ source: "elm"; \
+ script { \
+ run_program(PROGRAM:"radio_show_effect"); \
+ run_program(PROGRAM:"radio_draw_effect"); \
+ } \
+ } \
+ program { name: "radio_off"; \
+ signal: "elm,state,radio,off"; \
+ source: "elm"; \
+ script { \
+ set_state(PART:"opacity_clip", "default", 0.0); \
+ set_state(PART:"radio", "default", 0.0); \
+ } \
+ } \
+ program { name: "radio_show_effect"; \
+ action: STATE_SET "visible" 0.0; \
+ transition: LINEAR 0.233; \
+ target: "opacity_clip"; \
+ } \
+ program { name: "radio_draw_effect"; \
+ action: STATE_SET "visible" 0.0; \
+ transition: LINEAR 0.267; \
+ target: "radio"; \
+ } \
+ program { name: "text_show"; \
+ signal: "elm,state,text,visible"; \
+ source: "elm"; \
+ action: STATE_SET "visible" 0.0; \
+ target: "elm.text"; \
+ } \
+ program { name: "text_hide"; \
+ signal: "elm,state,text,hidden"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text"; \
+ } \
+ program { name: "icon_show"; \
+ signal: "elm,state,icon,visible"; \
+ source: "elm"; \
+ action: STATE_SET "visible" 0.0; \
+ target: "elm.swallow.content"; \
+ } \
+ program { name: "icon_hide"; \
+ signal: "elm,state,icon,hidden"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.swallow.content"; \
+ } \
+ program { name: "disable"; \
+ signal: "elm,state,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "disclip"; \
+ target: "bg"; \
+ target: "disabler"; \
+ after: "disable_text"; \
+ } \
+ program { name: "disable_text"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"elm.text", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ set_state(PART:"elm.text", "disabled_visible", 0.0); \
+ else \
+ set_state(PART:"elm.text", "disabled", 0.0); \
+ get_state(PART:"elm.swallow.content", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); \
+ else \
+ set_state(PART:"elm.swallow.content", "disabled", 0.0); \
+ get_state(PART:"radio", st, 30, vl); \
+ if (!strcmp(st, "visible")) \
+ set_state(PART:"radio", "disabled_visible", 0.0); \
+ else \
+ set_state(PART:"radio", "disabled", 0.0); \
+ } \
+ } \
+ program { name: "enable"; \
+ signal: "elm,state,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "disabler"; \
+ target: "disclip"; \
+ target: "bg"; \
+ after: "enable_text"; \
+ } \
+ program { name: "enable_text"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"elm.text", st, 30, vl); \
+ if (!strcmp(st, "disabled_visible")) \
+ set_state(PART:"elm.text", "visible", 0.0); \
+ else \
+ set_state(PART:"elm.text", "default", 0.0); \
+ get_state(PART:"elm.swallow.content", st, 30, vl); \
+ if (!strcmp(st, "disabled_visible")) \
+ set_state(PART:"elm.swallow.content", "visible", 0.0); \
+ else \
+ set_state(PART:"elm.swallow.content", "default", 0.0); \
+ get_state(PART:"radio", st, 30, vl); \
+ if (!strcmp(st, "disabled_visible")) \
+ { \
+ set_state(PART:"opacity_clip", "visible", 0.0); \
+ set_state(PART:"radio", "visible", 0.0); \
+ } \
+ else \
+ { \
+ set_state(PART:"opacity_clip", "default", 0.0); \
+ set_state(PART:"radio", "default", 0.0); \
+ } \
+ } \
+ } \
+ } \
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+RADIO_STYLE_DEFAULT("default", RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+RADIO_STYLE_DEFAULT("default/extended", RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC, RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC)
+
+///////////////////////////////////////////////////////////////////////////////////////
+
+#undef RADIO_STATE_DEFAULT
+#undef RADIO_STATE_VISIBLE
+#undef RADIO_STATE_DISABLED_VISIBLE
+#undef RADIO_STATE_DISABLED
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+/*
+ * vim:ts=3
+*/
+group { name: "elm/scroller/base/default";
+ alias: "elm/carousel/base/default";
+ alias: "elm/scroller/base/map_bubble";
+ alias: "elm/gengrid/base/default";
+ alias: "elm/genlist/base/no_effect";
+
+ data {
+ item: "focus_highlight" "on";
+ }
+
+ script {
+ public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
+ public sh_v, sh_h, sh_timer, edge_timer;
+ public timer0(val) {
+ new v;
+ v = get_int(sbvis_v);
+ if (v) {
+ v = get_int(sbalways_v);
+ if (!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ v = get_int(sbvis_h);
+ if (v) {
+ v = get_int(sbalways_h);
+ if (!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ set_int(sbvis_timer, 0);
+ return 0;
+ }
+ public timer1(val) {
+ emit("do-hide-vshadow", "");
+ emit("do-hide-hshadow", "");
+ set_int(sh_timer, 0);
+ return 0;
+ }
+ public timer2(val) {
+ emit("do-hide-vshadow", "");
+ emit("do-hide-hshadow", "");
+ set_int(edge_timer, 0);
+ return 0;
+ }
+ }
+ images {
+ image: SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE COMP;
+ image: SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "elm.swallow.content";
+ clip_to: "clipper";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_vbar_clip";
+ clip_to: "sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_vbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC;
+ align: 1.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 0 0;
+ to_y: "elm.swallow.content";
+ to_x: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -1 1;
+ to_y: "elm.swallow.content";
+ to_x: "elm.swallow.content";
+ }
+ }
+ }
+ part { name: "elm.dragable.vbar";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "sb_vbar";
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC;
+ max: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC;
+ rel1 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_vbar";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_vbar";
+ }
+ image {
+ normal: SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE;
+ border: SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE_BORDER;
+ border_scale: 1;
+ middle: DEFAULT;
+ }
+ }
+ }
+ part { name: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_hbar_clip";
+ clip_to: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_hbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC;
+ align: 0.0 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: 0 0;
+ to_x: "elm.swallow.content";
+ to_y: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ to_x: "elm.swallow.content";
+ to_y: "elm.swallow.content";
+ }
+ }
+ }
+ part { name: "elm.dragable.hbar";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "sb_hbar";
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC;
+ max: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC;
+ rel1 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_hbar";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_hbar";
+ }
+ image {
+ normal: SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE;
+ border: SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE_BORDER;
+ border_scale: 1;
+ middle: DEFAULT;
+ }
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "clipper";
+ rel2.to: "clipper";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 128 128 128 128;
+ }
+ }
+ }
+ programs {
+ program { name: "load";
+ signal: "load";
+ source: "";
+ script {
+ set_state(PART:"sb_hbar_clip", "hidden", 0.0);
+ set_state(PART:"sb_vbar_clip", "hidden", 0.0);
+ set_int(sbvis_h, 0);
+ set_int(sbvis_v, 0);
+ set_int(sbalways_v, 0);
+ set_int(sbalways_h, 0);
+ set_int(sbvis_timer, 0);
+ }
+ }
+
+ program { name: "vbar_show";
+ signal: "elm,action,show,vbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program { name: "vbar_hide";
+ signal: "elm,action,hide,vbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program { name: "vbar_show_always";
+ signal: "elm,action,show_always,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ set_int(sbalways_v, 1);
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ }
+ }
+ program { name: "vbar_show_notalways";
+ signal: "elm,action,show_notalways,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_v);
+ if (v) {
+ set_int(sbalways_v, 0);
+ v = get_int(sbvis_v);
+ if (!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ }
+ }
+ program { name: "sb_vbar_show";
+ signal: "do-show-vbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.5;
+ target: "sb_vbar_clip";
+ }
+ program { name: "sb_vbar_hide";
+ signal: "do-hide-vbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 0.5;
+ target: "sb_vbar_clip";
+ }
+
+ program { name: "hbar_show";
+ signal: "elm,action,show,hbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program { name: "hbar_hide";
+ signal: "elm,action,hide,hbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program { name: "hbar_show_always";
+ signal: "elm,action,show_always,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ set_int(sbalways_h, 1);
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ }
+ }
+ program { name: "hbar_show_notalways";
+ signal: "elm,action,show_notalways,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_h);
+ if (v) {
+ set_int(sbalways_h, 0);
+ v = get_int(sbvis_h);
+ if (!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ }
+ }
+ program { name: "sb_hbar_show";
+ signal: "do-show-hbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.5;
+ target: "sb_hbar_clip";
+ }
+ program { name: "sb_hbar_hide";
+ signal: "do-hide-hbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 0.5;
+ target: "sb_hbar_clip";
+ }
+
+ program { name: "scroll";
+ signal: "elm,action,scroll";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ v = get_int(sbvis_timer);
+ if (v > 0) cancel_timer(v);
+ v = timer(1.0, "timer0", 0);
+ set_int(sbvis_timer, v);
+ }
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ }
+ }
+}
+
+group { name: "elm/scroller/base/handler";
+
+ alias: "elm/list/base/handler";
+ alias: "elm/genlist/base/handler";
+ alias: "elm/carousel/base/handler";
+
+ data {
+ item: "focus_highlight" "on";
+ }
+ script {
+ public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
+ public timer0(val) {
+ new v;
+ v = get_int(sbvis_v);
+ if (v) {
+ v = get_int(sbalways_v);
+ if (!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ v = get_int(sbvis_h);
+ if (v) {
+ v = get_int(sbalways_h);
+ if (!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ set_int(sbvis_timer, 0);
+ return 0;
+ }
+ }
+ images {
+ image: "bt_sm_shine.png" COMP;
+ image: "bt_sm_hilight.png" COMP;
+ image: "sb_runnerh.png" COMP;
+ image: "00_scroll_bar_handler_top.png" COMP;
+ image: "00_scroll_bar_handler_middle.png" COMP;
+ image: "00_scroll_bar_handler_bottom.png" COMP;
+ image: "00_scroll_bar_handler_left.png" COMP;
+ image: "00_scroll_bar_handler_hor.png" COMP;
+ image: "00_scroll_bar_handler_right.png" COMP;
+ image: "sl_bt2_2.png" COMP;
+ image: "shelf_inset.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "elm.swallow.content";
+ clip_to: "clipper";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "conf_over";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ visible: 0;
+ image {
+ normal: "shelf_inset.png";
+ border: 7 7 7 7;
+ middle: 0;
+ }
+ fill.smooth : 0;
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ color: 200 155 0 255;
+ }
+ }
+ part { name: "focus_highlight";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -1 -1;
+ rel2.offset: 0 0;
+ image {
+ normal: "sl_bt2_2.png";
+ border: 7 7 7 7;
+ middle: 0;
+ }
+ fill.smooth : 0;
+ color: 200 155 0 0;
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ color: 200 155 0 255;
+ }
+ }
+ part { name: "sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_vbar_clip";
+ clip_to: "sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_vbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC;
+ align: 1.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: SCROLLER_HANDLER_SCROLLBAR_PADDING_INC SCROLLER_HANDLER_SCROLLBAR_PADDING_INC;
+ to_y: "elm.swallow.content";
+ to_x: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: (-SCROLLER_HANDLER_SCROLLBAR_PADDING_INC-1) (-SCROLLER_HANDLER_SCROLLBAR_PADDING_INC-1);
+ to_y: "sb_hbar";
+ to_x: "elm.swallow.content";
+ }
+ }
+ }
+ part { name: "elm.dragable.vbar";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 1;
+ scale: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "sb_vbar";
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC;
+ max: 30 99999;
+ rel1 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_vbar";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_vbar";
+ }
+ }
+ }
+ part { name: "scrollbar_handler_image_top";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.0;
+ rel1.to: "elm.dragable.vbar";
+ rel2.relative: 1.0 0.0;
+ rel2.to: "scrollbar_handler_image_middle";
+ visible: 1;
+ image {
+ normal: "00_scroll_bar_handler_top.png";
+ border: 5 5 5 0;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "scrollbar_handler_image_middle";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.5 0.5;
+ rel1.to: "elm.dragable.vbar";
+ rel2.relative: 0.5 0.5;
+ rel2.to: "elm.dragable.vbar";
+ visible: 1;
+ min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC;
+ image {
+ normal: "00_scroll_bar_handler_middle.png";
+ border: 5 5 0 0;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "scrollbar_handler_image_bottom";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "scrollbar_handler_image_middle";
+ rel2.relative: 1.0 1.0;
+ rel2.to: "elm.dragable.vbar";
+ visible: 1;
+ image {
+ normal: "00_scroll_bar_handler_bottom.png";
+ border: SCROLLER_HANDLER_SCROLLBAR_VBAR_BOTTOM_BORDER;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "sb_vbar_over1";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.vbar";
+ rel2.relative: 1.0 0.5;
+ rel2.to: "elm.dragable.vbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_hilight.png";
+ border: 6 6 6 0;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "sb_vbar_over2";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.vbar";
+ rel2.to: "elm.dragable.vbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_shine.png";
+ border: 6 6 6 0;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_hbar_clip";
+ clip_to: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_hbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC;
+ align: 0.0 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: SCROLLER_HANDLER_SCROLLBAR_PADDING_INC SCROLLER_HANDLER_SCROLLBAR_PADDING_INC;
+ to_x: "elm.swallow.content";
+ to_y: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: -1 -1;
+ offset: (-SCROLLER_HANDLER_SCROLLBAR_PADDING_INC-1) (-SCROLLER_HANDLER_SCROLLBAR_PADDING_INC-1);
+ to_x: "sb_vbar";
+ to_y: "elm.swallow.content";
+ }
+ }
+ }
+ part { name: "elm.dragable.hbar";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 1;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "sb_hbar";
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC;
+ max: 99999 30;
+ rel1 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_hbar";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_hbar";
+ }
+ }
+ }
+ part { name: "h_scrollbar_handler_image_left";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.0;
+ rel1.to: "elm.dragable.hbar";
+ rel2.relative: 0.0 1.0;
+ rel2.to: "scrollbar_handler_image_hor";
+ visible: 1;
+ image {
+ normal: "00_scroll_bar_handler_left.png";
+ border: 5 0 5 5;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "scrollbar_handler_image_hor";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.5 0.5;
+ rel1.to: "elm.dragable.hbar";
+ rel2.relative: 0.5 0.5;
+ rel2.to: "elm.dragable.hbar";
+ visible: 1;
+ min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC;
+ image {
+ normal: "00_scroll_bar_handler_hor.png";
+ border: 0 0 5 5;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "h_scrollbar_handler_image_right";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 1.0 0.0;
+ rel1.to: "scrollbar_handler_image_hor";
+ rel2.relative: 1.0 1.0;
+ rel2.to: "elm.dragable.hbar";
+ visible: 1;
+ image {
+ normal: "00_scroll_bar_handler_right.png";
+ border: SCROLLER_HANDLER_SCROLLBAR_VBAR_RIGHT_BORDER;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "sb_hbar_over1";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.hbar";
+ rel2.relative: 1.0 0.5;
+ rel2.to: "elm.dragable.hbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_hilight.png";
+ border: 4 4 4 0;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "sb_hbar_over2";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.hbar";
+ rel2.to: "elm.dragable.hbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_shine.png";
+ border: 4 4 4 0;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "clipper";
+ rel2.to: "clipper";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 128 128 128 128;
+ }
+ }
+ }
+ programs {
+ program { name: "load";
+ signal: "load";
+ source: "";
+ script {
+ set_state(PART:"sb_hbar_clip", "hidden", 0.0);
+ set_state(PART:"sb_vbar_clip", "hidden", 0.0);
+ set_int(sbvis_h, 0);
+ set_int(sbvis_v, 0);
+ set_int(sbalways_v, 0);
+ set_int(sbalways_h, 0);
+ set_int(sbvis_timer, 0);
+ }
+ }
+ program { name: "vbar_show";
+ signal: "elm,action,show,vbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program { name: "vbar_hide";
+ signal: "elm,action,hide,vbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program { name: "vbar_show_always";
+ signal: "elm,action,show_always,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ set_int(sbalways_v, 1);
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ }
+ }
+ program { name: "vbar_show_notalways";
+ signal: "elm,action,show_notalways,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_v);
+ if (v) {
+ set_int(sbalways_v, 0);
+ v = get_int(sbvis_v);
+ if (!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ }
+ }
+ program { name: "sb_vbar_show";
+ signal: "do-show-vbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.5;
+ target: "sb_vbar_clip";
+ }
+ program { name: "sb_vbar_hide";
+ signal: "do-hide-vbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 0.5;
+ target: "sb_vbar_clip";
+ }
+ program { name: "hbar_show";
+ signal: "elm,action,show,hbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program { name: "hbar_hide";
+ signal: "elm,action,hide,hbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program { name: "hbar_show_always";
+ signal: "elm,action,show_always,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ set_int(sbalways_h, 1);
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ }
+ }
+ program { name: "hbar_show_notalways";
+ signal: "elm,action,show_notalways,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_h);
+ if (v) {
+ set_int(sbalways_h, 0);
+ v = get_int(sbvis_h);
+ if (!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ }
+ }
+ program { name: "sb_hbar_show";
+ signal: "do-show-hbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.5;
+ target: "sb_hbar_clip";
+ }
+ program { name: "sb_hbar_hide";
+ signal: "do-hide-hbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 0.5;
+ target: "sb_hbar_clip";
+ }
+
+ program { name: "scroll";
+ signal: "elm,action,scroll";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ v = get_int(sbvis_timer);
+ if (v > 0) cancel_timer(v);
+ v = timer(1.0, "timer0", 0);
+ set_int(sbvis_timer, v);
+ }
+ }
+
+ program { name: "highlight_show";
+ signal: "elm,action,focus_highlight,show";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ transition: ACCELERATE 0.3;
+ target: "focus_highlight";
+ target: "conf_over";
+ }
+ program { name: "highlight_hide";
+ signal: "elm,action,focus_highlight,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.3;
+ target: "focus_highlight";
+ target: "conf_over";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ }
+ }
+}
+
+group { name: "elm/genlist/base/default";
+ alias: "elm/genscroller/base/default";
+ alias: "elm/gengrid/base/default";
+ alias: "elm/list/base/default";
+ inherit: "elm/scroller/base/default";
+
+ images {
+ image: "00_overscrolling_top.png" COMP;
+ image: "00_overscrolling_bottom.png" COMP;
+ image: "00_overscrolling_left.png" COMP;
+ image: "00_overscrolling_right.png" COMP;
+ }
+
+ parts {
+ part { name: "shadow_clip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "shadow_top";
+ clip_to: "shadow_clip";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 30;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ color: 255 255 255 100;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ image.normal: "00_overscrolling_top.png";
+ }
+ description { state: "edge" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "shadow_bottom";
+ clip_to: "shadow_clip";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 30;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ color: 255 255 255 100;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 1.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ image.normal: "00_overscrolling_bottom.png";
+ }
+ description { state: "edge" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "shadow_left";
+ clip_to: "shadow_clip";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 30 0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ color: 255 255 255 100;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ image.normal: "00_overscrolling_left.png";
+ }
+ description { state: "edge" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "shadow_right";
+ clip_to: "shadow_clip";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 30 0;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ color: 255 255 255 100;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ image.normal: "00_overscrolling_right.png";
+ }
+ description { state: "edge" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ }
+ programs {
+ program { name: "load";
+ script {
+ set_state(PART:"sb_hbar_clip", "hidden", 0.0);
+ set_state(PART:"sb_vbar_clip", "hidden", 0.0);
+ set_state(PART:"shadow_clip", "hidden", 0.0);
+ set_int(sbvis_h, 0);
+ set_int(sbvis_v, 0);
+ set_int(sbalways_v, 0);
+ set_int(sbalways_h, 0);
+ set_int(sbvis_timer, 0);
+ set_int(sh_v, 0);
+ set_int(sh_timer, 0);
+ set_int(edge_timer, 0);
+ }
+ }
+ program { name: "vshadow_show";
+ signal: "do-show-vshadow";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.5;
+ target: "shadow_clip";
+ }
+ program { name: "vshadow_hide";
+ signal: "do-hide-vshadow";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 0.5;
+ target: "shadow_clip";
+ }
+ program { name: "scroll";
+ signal: "elm,action,scroll";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ v = get_int(sbvis_timer);
+ if (v > 0) cancel_timer(v);
+ v = timer(1, "timer0", 0);
+ set_int(sbvis_timer, v);
+
+ v = get_int(edge_timer);
+ if (!v) {
+ set_state(PART:"shadow_top", "default", 0.0);
+ set_state(PART:"shadow_bottom", "default", 0.0);
+ set_state(PART:"shadow_left", "default", 0.0);
+ set_state(PART:"shadow_right", "default", 0.0);
+ emit("do-show-vshadow", "");
+ v = get_int(sh_timer);
+ if (v > 0) cancel_timer(v);
+ v = timer(0.2, "timer1", 0);
+ set_int(sh_timer, v);
+ }
+ }
+ }
+ program { name: "edge_top";
+ signal: "elm,edge,top";
+ source: "elm";
+ after: "edge";
+ }
+ program { name: "edge_bottom";
+ signal: "elm,edge,bottom";
+ source: "elm";
+ after: "edge";
+ }
+ program { name: "edge_left";
+ signal: "elm,edge,left";
+ source: "elm";
+ after: "edge";
+ }
+ program { name: "edge_right";
+ signal: "elm,edge,right";
+ source: "elm";
+ after: "edge";
+ }
+ program { name: "edge";
+ script {
+ new v;
+ v = get_int(sh_timer);
+ if (v > 0) cancel_timer(v);
+ set_state(PART:"shadow_top", "edge", 0.0);
+ set_state(PART:"shadow_bottom", "edge", 0.0);
+ set_state(PART:"shadow_left", "edge", 0.0);
+ set_state(PART:"shadow_right", "edge", 0.0);
+ v = get_int(edge_timer);
+ if (!v) {
+ emit("do-show-vshadow", "");
+ }
+ if (v > 0) cancel_timer(v);
+ v = timer(0.2, "timer2", 0);
+ set_int(edge_timer, v);
+ }
+ }
+ program { name: "show";
+ signal: "show";
+ source: "";
+ script {
+ new v;
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ v = get_int(sbalways_v);
+ if (!v) {
+ v = get_int(sbvis_timer);
+ if (v > 0) cancel_timer(v);
+ v = timer(1.0, "timer0", 0);
+ set_int(sbvis_timer, v);
+ }
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ v = get_int(sbalways_h);
+ if (!v) {
+ v = get_int(sbvis_timer);
+ if (v > 0) cancel_timer(v);
+ v = timer(1.0, "timer0", 0);
+ set_int(sbvis_timer, v);
+ }
+ }
+ }
+ }
+}
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+//################################################################
+//Segment Control
+//################################################################
+
+group { name: "elm/segment_control/base/default";
+#define SEGMENT_TYPE_SINGLE 1
+#define SEGMENT_TYPE_LEFT 2
+#define SEGMENT_TYPE_MIDDLE 3
+#define SEGMENT_TYPE_RIGHT 4
+#define SEGMENT_STATE_NORMAL 1
+#define SEGMENT_STATE_PRESSED 2
+#define SEGMENT_STATE_SELECTED 3
+#define SEGMENT_STATUS_ENABLED 0
+#define SEGMENT_STATUS_DISABLED 1
+ parts {
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 100 40;
+ visible: 0;
+ }
+ }
+ }
+}
+group { name: "elm/segment_control/item/default";
+ styles{
+ style { name: "segment_control_multiline_style";
+ base: "font=Tizen:style=Bold font_size="SEGMENT_CONTROL_MULTILINE_TEXT_SIZE_INC" align=center color=#ffffff wrap=char ellipsis=1.0 text_class=tizen";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "tab" "\t";
+ }
+ }
+ images {
+ image: "00_divider_line.png" COMP;
+ image: "00_badge_bg.png" COMP;
+ }
+ parts {
+ part { name: "base";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "segment";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 1 1;
+ visible: 0;
+ rel1 {
+ to: "base";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "base";
+ relative: 1.0 1.0;
+ }
+ color: 0 0 0 0;
+ }
+ description { state: "default_single" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "default_left" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "default_right" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "default_middle" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "pressed_single" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "pressed_left" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "pressed_right" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "pressed_middle" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "selected_single" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "selected_left" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "selected_right" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "selected_middle" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "seg_padding";
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1 {
+ to: "segment";
+ relative: 1.0 0.5;
+ }
+ rel2 {
+ to: "segment";
+ relative: 1.0 0.5;
+ }
+ image {
+ normal: "00_divider_line.png";
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: SEGMENT_CONTROL_DIVIDER_LINE_MIN_SIZE_INC;
+ visible: 1;
+ }
+ }
+ part { name: "left_text_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ min: SEGMENT_CONTROL_TEXT_PADDING_MIN_SIZE_INC;
+ fixed: 1 0;
+ rel1 {
+ to: "segment";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "segment";
+ relative: 0.0 1.0;
+ }
+ }
+ }
+ part { name: "right_text_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: SEGMENT_CONTROL_TEXT_PADDING_MIN_SIZE_INC;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1 {
+ to: "segment";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "segment";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "icon.bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 0;
+ rel1.to: "elm.swallow.icon";
+ rel2.to: "elm.swallow.icon";
+ }
+ }
+ part { name: "padding_icon_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ visible: 0;
+ align: 0.0 0.0;
+ rel1 {
+ to: "icon.bg";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "icon.bg";
+ relative: 1.0 1.0;
+ }
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "visible" 0.0; //when icon is visible
+ inherit: "default" 0.0;
+ rel2.offset: 2 0;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 0;
+ rel1.to: "left_text_padding";
+ rel1.relative: 1.0 0.0;
+ rel2.to: "left_text_padding";
+ rel2.relative: 1.0 1.0;
+ aspect: 1.0 1.0;
+ aspect_preference: BOTH;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ max: 9999 84;
+ rel1 {
+ to_x: "padding_icon_text";
+ to_y: "base";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "right_text_padding";
+ relative: 0.0 1.0;
+ }
+ color: SEGMENT_CONTROL_DEFAULT_ITEM_TEXT_COLOR_NORMAL_INC;
+ text {
+ style: "segment_control_multiline_style";
+ min: 0 1;
+ max: 0 1;
+ }
+ }
+ description { state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_DISABLED_INC;
+ }
+ }
+ part { name: "elm.text.badge.bg";
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to: "left.padding.text.badge";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "right.padding.text.badge";
+ relative: 1.0 1.0;
+ }
+ align: 1.0 0.5;
+ image {
+ normal: "00_badge_bg.png";
+ border: 29 24 0 0;
+ border_scale: 1;
+ }
+ }
+ description { state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "left.padding.text.badge";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: SEGMENT_CONTROL_BADGE_TEXT_LEFT_PADDING_MIN_INC;
+ rel1 {
+ to: "elm.text.badge";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "elm.text.badge";
+ relative: 0.0 0.0;
+ }
+ align: 1.0 0.0;
+ }
+ }
+ part { name: "right.padding.text.badge";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: SEGMENT_CONTROL_BADGE_TEXT_RIGHT_PADDING_MIN_INC;
+ rel1 {
+ to: "segment";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "segment";
+ relative: 1.0 0.0;
+ }
+ align: 1.0 0.0;
+ }
+ }
+ part { name: "elm.text.badge";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 1 1;
+ rel1 {
+ to: "segment";
+ relative: 0.2 0.0; // rel_x is given 0.2, so bg image will not cross the segment image in left dir.
+ }
+ rel2 {
+ to: "right.padding.text.badge";
+ relative: 0.0 1.0;
+ }
+ align: 1.0 0.5;
+ color: SEGMENT_CONTROL_BADGE_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Bold";
+ size: SEGMENT_CONTROL_BADGE_TEXT_FONT_SIZE_INC;
+ min: 1 1;
+ max: 1 0;
+ }
+ }
+ description { state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ repeat_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: 1 1;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "segment";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "segment";
+ }
+ color: 255 255 255 150;
+ }
+ description { state: "disabled_single" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled_left" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled_right" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled_middle" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ script {
+ public seg_type; // Single, Left, Middle, Right.
+ public seg_state; // Normal/Default, Pressed, Selected.
+ public seg_status;// Enabled/Default, Disabled
+
+ public update_state() {
+ new type, state, disabled;
+ type = get_int(seg_type);
+ state = get_int(seg_state);
+ disabled = get_int(seg_status);
+
+ if(state == SEGMENT_STATE_NORMAL)
+ {
+ if(type == SEGMENT_TYPE_SINGLE)
+ {
+ set_state(PART:"segment", "default_single", 0.0);
+ set_state(PART:"seg_padding", "default", 0.0);
+ }
+ else if(type == SEGMENT_TYPE_LEFT)
+ {
+ set_state(PART:"segment", "default_left", 0.0);
+ set_state(PART:"seg_padding", "visible", 0.0);
+ }
+ else if(type == SEGMENT_TYPE_MIDDLE)
+ {
+ set_state(PART:"segment", "default_middle", 0.0);
+ set_state(PART:"seg_padding", "visible", 0.0);
+ }
+ else if(type == SEGMENT_TYPE_RIGHT)
+ {
+ set_state(PART:"segment", "default_right", 0.0);
+ set_state(PART:"seg_padding", "default", 0.0);
+ }
+ set_state(PART:"elm.text", "normal", 0.0);
+ }
+ else if(state == SEGMENT_STATE_PRESSED)
+ {
+ if(type == SEGMENT_TYPE_SINGLE)
+ {
+ set_state(PART:"segment", "pressed_single", 0.0);
+ }
+ else if(type == SEGMENT_TYPE_LEFT)
+ {
+ set_state(PART:"segment", "pressed_left", 0.0);
+ set_state(PART:"seg_padding", "visible", 0.0);
+ }
+ else if(type == SEGMENT_TYPE_MIDDLE)
+ {
+ set_state(PART:"segment", "pressed_middle", 0.0);
+ set_state(PART:"seg_padding", "visible", 0.0);
+ }
+ else if(type == SEGMENT_TYPE_RIGHT)
+ {
+ set_state(PART:"segment", "pressed_right", 0.0);
+ set_state(PART:"seg_padding", "default", 0.0);
+ }
+ set_state(PART:"elm.text", "pressed", 0.0);
+ }
+ else if(state == SEGMENT_STATE_SELECTED)
+ {
+ if(type == SEGMENT_TYPE_SINGLE)
+ {
+ set_state(PART:"segment", "selected_single", 0.0);
+ set_state(PART:"seg_padding", "default", 0.0);
+ }
+ else if(type == SEGMENT_TYPE_LEFT)
+ {
+ set_state(PART:"segment", "selected_left", 0.0);
+ set_state(PART:"seg_padding", "visible", 0.0);
+ }
+ else if(type == SEGMENT_TYPE_MIDDLE)
+ {
+ set_state(PART:"segment", "selected_middle", 0.0);
+ set_state(PART:"seg_padding", "visible", 0.0);
+ }
+ else if(type == SEGMENT_TYPE_RIGHT)
+ {
+ set_state(PART:"segment", "selected_right", 0.0);
+ set_state(PART:"seg_padding", "default", 0.0);
+ }
+ set_state(PART:"elm.text", "selected", 0.0);
+ }
+ if(disabled == SEGMENT_STATUS_DISABLED)
+ {
+ if(type == SEGMENT_TYPE_SINGLE)
+ {
+ set_state(PART:"disabler", "disabled_single", 0.0);
+ set_state(PART:"seg_padding", "default", 0.0);
+ }
+ else if(type == SEGMENT_TYPE_LEFT)
+ {
+ set_state(PART:"disabler", "disabled_left", 0.0);
+ set_state(PART:"seg_padding", "visible", 0.0);
+ }
+ else if(type == SEGMENT_TYPE_MIDDLE)
+ {
+ set_state(PART:"disabler", "disabled_middle", 0.0);
+ set_state(PART:"seg_padding", "visible", 0.0);
+ }
+ else if(type == SEGMENT_TYPE_RIGHT)
+ {
+ set_state(PART:"disabler", "disabled_right", 0.0);
+ set_state(PART:"seg_padding", "default", 0.0);
+ }
+ set_state(PART:"elm.text", "disabled", 0.0);
+ }
+ else
+ {
+ set_state(PART:"disabler", "default", 0.0);
+ }
+ }
+ }
+ program {
+ name: "segment_type_s";
+ signal: "elm,type,segment,single";
+ source: "elm";
+ script {
+ set_int(seg_type, SEGMENT_TYPE_SINGLE);
+ update_state();
+ }
+ }
+ program {
+ name: "segment_type_l";
+ signal: "elm,type,segment,left";
+ source: "elm";
+ script {
+ set_int(seg_type, SEGMENT_TYPE_LEFT);
+ update_state();
+ }
+ }
+ program {
+ name: "segment_type_m";
+ signal: "elm,type,segment,middle";
+ source: "elm";
+ script {
+ set_int(seg_type, SEGMENT_TYPE_MIDDLE);
+ update_state();
+ }
+ }
+ program {
+ name: "segment_type_r";
+ signal: "elm,type,segment,right";
+ source: "elm";
+ script {
+ set_int(seg_type, SEGMENT_TYPE_RIGHT);
+ update_state();
+ }
+ }
+ program {
+ name: "normal_segment";
+ signal: "elm,state,segment,normal";
+ source: "elm";
+ script {
+ set_int(seg_state, SEGMENT_STATE_NORMAL);
+ update_state();
+ }
+ }
+ program {
+ name: "pressed_segment";
+ signal: "elm,state,segment,pressed";
+ source: "elm";
+ script {
+ set_int(seg_state, SEGMENT_STATE_PRESSED);
+ update_state();
+ }
+ }
+ program {
+ name: "selected_segment";
+ signal: "elm,state,segment,selected";
+ source: "elm";
+ script {
+ set_int(seg_state, SEGMENT_STATE_SELECTED);
+ update_state();
+ }
+ }
+ program { name: "disable_segment";
+ signal: "elm,state,disabled";
+ source: "elm";
+ script {
+ set_int(seg_status, SEGMENT_STATUS_DISABLED);
+ update_state();
+ }
+ }
+ program { name: "enable_segment";
+ signal: "elm,state,enabled";
+ source: "elm";
+ script {
+ set_int(seg_status, SEGMENT_STATUS_ENABLED);
+ update_state();
+ }
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.icon", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "selected"))
+ set_state(PART:"elm.text", "selected", 0.0);
+ else
+ set_state(PART:"elm.text", "normal", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.icon", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "badge_text_show";
+ signal: "elm,state,elm.text.badge,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text.badge", st, 30, vl);
+ if (!strcmp(st, "selected"))
+ {
+ set_state(PART:"elm.text.badge", "selected", 0.0);
+ set_state(PART:"elm.text.badge.bg", "selected", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.text.badge", "normal", 0.0);
+ set_state(PART:"elm.text.badge.bg", "normal", 0.0);
+ }
+ }
+ }
+ program { name: "badge_text_hide";
+ signal: "elm,state,elm.text.badge,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.badge";
+ target: "elm.text.badge.bg";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
+ {
+ set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ }
+#undef SEGMENT_TYPE_SINGLE
+#undef SEGMENT_TYPE_LEFT
+#undef SEGMENT_TYPE_MIDDLE
+#undef SEGMENT_TYPE_RIGHT
+#undef SEGMENT_STATE_NORMAL
+#undef SEGMENT_STATE_PRESSED
+#undef SEGMENT_STATE_SELECTED
+#undef SEGMENT_STATUS_ENABLED
+#undef SEGMENT_STATUS_DISABLED
+}
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+group { name: "elm/standard/selectioninfo/default";
+ images {
+ image: "00_bottom_popup_shadow.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: 0 SELECTION_INFO_VER_PADDING_INC;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ rel1.relative: 0.0 1.0;
+ color: SELECTION_INFO_BACKGROUND_COLOR_INC;
+ }
+ }
+ part { name: "bottom.popup.shadow";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SELECTION_INFO_SHADOW_VER_W_INC SELECTION_INFO_SHADOW_VER_H_INC;
+ align: 0.5 1.0;
+ fixed: 1 1;
+ image.normal: "00_bottom_popup_shadow.png";
+ rel2 {
+ to: "bg";
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ part { name: "padding_left";
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: SELECTION_INFO_LEFT_PADDING_INC 0;
+ align: 0.0 0.5;
+ rel1.to: "bg";
+ rel2 {
+ to: "bg";
+ relative: 0.0 1.0;
+ }
+ fixed: 1 0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "padding_left";
+ relative: 1.0 0.0;
+ }
+ rel2.to: "bg";
+ color: SELECTION_INFO_TEXT_COLOR_INC;
+ text {
+ font: "Tizen";
+ size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
+ text: "";
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "clicked";
+ signal: "mouse,clicked,1";
+ source: "bg";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ }
+}
+
+group { name: "elm/standard/selectioninfo/center_text";
+ inherit: "elm/standard/selectioninfo/default";
+ parts {
+ part {
+ name: "elm.text";
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "bg";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "bg";
+ relative: 1.0 1.0;
+ }
+ text.align: 0.5 0.5;
+ }
+ }
+ }
+}
+
+group { name: "elm/standard/selectioninfo/vertical/bottom_12";
+ images {
+ image: "00_bottom_popup_shadow.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_VER_PADDING_INC;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ rel1.relative: 0.5 1.0;
+ rel2.relative: 0.5 1.0;
+ color: SELECTION_INFO_BACKGROUND_COLOR_INC;
+ }
+ }
+ part { name: "bottom.popup.shadow";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SELECTION_INFO_SHADOW_VER_W_INC SELECTION_INFO_SHADOW_VER_H_INC;
+ align: 0.5 1.0;
+ fixed: 1 1;
+ image.normal: "00_bottom_popup_shadow.png";
+ rel2 {
+ to: "bg";
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.0;
+ rel1 { to: "bg"; }
+ rel2 { to: "bg"; }
+ color: SELECTION_INFO_TEXT_COLOR_INC;
+ text {
+ font: "Tizen";
+ size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
+ text: "";
+ text_class: "tizen";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "clicked";
+ signal: "mouse,clicked,1";
+ source: "base";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ }
+}
+
+group { name: "elm/standard/selectioninfo/vertical/bottom_64";
+ images {
+ image: "00_bottom_popup_shadow.png" COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ rel1.relative: 0.5 1.0;
+ rel2.relative: 0.5 1.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bottom.popup.shadow";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SELECTION_INFO_SHADOW_VER_W_INC SELECTION_INFO_SHADOW_VER_H_INC;
+ align: 0.5 1.0;
+ fixed: 1 1;
+ image.normal: "00_bottom_popup_shadow.png";
+ rel2 {
+ to: "bg";
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ part { name: "base";
+ type: RECT;
+ mouse_events: 1;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: 0 SELECTION_INFO_VER_PADDING_INC;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 0.32; to: "bg"; }
+ color: SELECTION_INFO_BACKGROUND_COLOR_INC;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.0;
+ rel1 { to: "base"; }
+ rel2 { to: "base"; }
+ color: SELECTION_INFO_TEXT_COLOR_INC;
+ text {
+ font: "Tizen";
+ size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
+ text: "";
+ text_class: "tizen";
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "clicked";
+ signal: "mouse,clicked,1";
+ source: "base";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ }
+}
+
+group { name: "elm/standard/selectioninfo/vertical/bottom_86";
+ images {
+ image: "00_bottom_popup_shadow.png" COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ rel1.relative: 0.5 1.0;
+ rel2.relative: 0.5 1.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bottom.popup.shadow";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SELECTION_INFO_SHADOW_VER_W_INC SELECTION_INFO_SHADOW_VER_H_INC;
+ align: 0.5 1.0;
+ fixed: 1 1;
+ image.normal: "00_bottom_popup_shadow.png";
+ rel2 {
+ to: "bg";
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ part {
+ name: "base";
+ type: RECT;
+ mouse_events: 1;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: 0 SELECTION_INFO_VER_PADDING_INC;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 0.258; to: "bg"; }
+ color: SELECTION_INFO_BACKGROUND_COLOR_INC;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.0;
+ rel1 { to: "base"; }
+ rel2 { to: "base"; }
+ color: SELECTION_INFO_TEXT_COLOR_INC;
+ text {
+ font: "Tizen";
+ size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
+ text: "";
+ text_class: "tizen";
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "clicked";
+ signal: "mouse,clicked,1";
+ source: "base";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ }
+}
+
+group { name: "elm/standard/selectioninfo/horizontal/bottom_12";
+ images {
+ image: "00_bottom_popup_shadow.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_VER_PADDING_INC;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ rel1.relative: 0.5 1.0;
+ rel2.relative: 0.5 1.0;
+ color: SELECTION_INFO_BACKGROUND_COLOR_INC;
+ }
+ }
+ part { name: "bottom.popup.shadow";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SELECTION_INFO_SHADOW_HORZ_W_INC SELECTION_INFO_SHADOW_HORZ_H_INC;
+ align: 0.5 1.0;
+ fixed: 1 1;
+ image.normal: "00_bottom_popup_shadow.png";
+ rel2 {
+ to: "bg";
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.0;
+ rel1 { to: "bg"; }
+ rel2 { to: "bg"; }
+ color: SELECTION_INFO_TEXT_COLOR_INC;
+ text {
+ font: "Tizen";
+ size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
+ text: "";
+ text_class: "tizen";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "clicked";
+ signal: "mouse,clicked,1";
+ source: "base";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ }
+}
+
+group { name: "elm/standard/selectioninfo/horizontal/bottom_64";
+ images {
+ image: "00_bottom_popup_shadow.png" COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ rel1.relative: 0.5 1.0;
+ rel2.relative: 0.5 1.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bottom.popup.shadow";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SELECTION_INFO_SHADOW_HORZ_W_INC SELECTION_INFO_SHADOW_HORZ_H_INC;
+ align: 0.5 1.0;
+ fixed: 1 1;
+ image.normal: "00_bottom_popup_shadow.png";
+ rel2 {
+ to: "bg";
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ part { name: "base";
+ type: RECT;
+ mouse_events: 1;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: 0 SELECTION_INFO_VER_PADDING_INC;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 0.32; to: "bg"; }
+ color: SELECTION_INFO_BACKGROUND_COLOR_INC;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.0;
+ rel1 { to: "base"; }
+ rel2 { to: "base"; }
+ color: SELECTION_INFO_TEXT_COLOR_INC;
+ text {
+ font: "Tizen";
+ size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
+ text: "";
+ text_class: "tizen";
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "clicked";
+ signal: "mouse,clicked,1";
+ source: "base";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ }
+}
+
+group { name: "elm/standard/selectioninfo/horizontal/bottom_86";
+ images {
+ image: "00_bottom_popup_shadow.png" COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ rel1.relative: 0.5 1.0;
+ rel2.relative: 0.5 1.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bottom.popup.shadow";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SELECTION_INFO_SHADOW_HORZ_W_INC SELECTION_INFO_SHADOW_HORZ_H_INC;
+ align: 0.5 1.0;
+ fixed: 1 1;
+ image.normal: "00_bottom_popup_shadow.png";
+ rel2 {
+ to: "bg";
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ part {
+ name: "base";
+ type: RECT;
+ mouse_events: 1;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ min: 0 SELECTION_INFO_VER_PADDING_INC;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 0.258; to: "bg"; }
+ color: SELECTION_INFO_BACKGROUND_COLOR_INC;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.0;
+ rel1 { to: "base"; }
+ rel2 { to: "base"; }
+ color: SELECTION_INFO_TEXT_COLOR_INC;
+ text {
+ font: "Tizen";
+ size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
+ text: "";
+ text_class: "tizen";
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "clicked";
+ signal: "mouse,clicked,1";
+ source: "base";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ }
+}
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+ group { name: "elm/slider/horizontal/tap_to_drag";
+ images {
+ image: "00_winset_list_progress_bg.png" COMP;
+ image: "00_winset_list_progress_bar.png" COMP;
+ }
+ script {
+ public invert_on = 0;
+ public set_invert_on() {
+ set_state(PART:"level", "inverted", 0.0);
+ set_state(PART:"level2", "inverted", 0.0);
+ set_int(invert_on, 1);
+ }
+ public set_invert_off() {
+ set_state(PART:"level", "default", 0.0);
+ set_state(PART:"level2", "default", 0.0);
+ set_int(invert_on, 0);
+ }
+ public thumb_down() {
+ if(get_int(invert_on) == 0)
+ set_state(PART:"level", "pressed", 0.0);
+ else if(get_int(invert_on) == 1)
+ set_state(PART:"level2", "pressed", 0.0);
+ }
+ public thumb_up() {
+ if(get_int(invert_on) == 0)
+ set_state(PART:"level", "default", 0.0);
+ else if(get_int(invert_on) == 1)
+ set_state(PART:"level2", "inverted", 0.0);
+ }
+ }
+ parts {
+ part { name: "base";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
+ max: 99999 SLIDER_BASE_HEIGHT_INC;
+ rel1 { to: "bg";
+ offset: 1 0;
+ }
+ rel2 { to: "bg";
+ offset: -5 -1;
+ }
+ image.normal: "00_winset_list_progress_bg.png";
+ image.border: 0 0 4 4;
+ image.border_scale: 1;
+ }
+ }
+ part { name: "level";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "base";
+ rel2 {
+ to_y: "base";
+ to_x: "elm.dragable.slider";
+ offset: -5 -1;
+ relative: 0.5 1.0;
+ }
+ image.normal: "00_winset_list_progress_bar.png";
+ image.border: 0 0 4 4;
+ image.border_scale: 1;
+ }
+ description { state: "inverted" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_winset_list_progress_bar.png";
+ }
+ }
+ part { name: "level2";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to_y: "base";
+ to_x: "elm.dragable.slider";
+ relative: 0.5 0.0;
+ }
+ rel2.to: "base";
+ rel2.offset: -2 -1;
+ image.normal: "00_winset_list_progress_bg.png";
+ image.border: 0 0 4 4;
+ image.border_scale: 1;
+ }
+ description { state: "inverted" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image.normal: "00_winset_list_progress_bg.png";
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.bar";
+ rel2.to: "elm.swallow.bar";
+ rel2.offset: 3 0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
+ max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
+ align: 1.0 0.5;
+ rel1 {
+ to_x: "bar_left_padding";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to_x: "bar_right_padding";
+ relative: 0.0 1.0;
+ }
+ }
+ }
+ part {
+ name: "bar_left_padding";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 10 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.text";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "elm.text";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part {
+ name: "bar_right_padding";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 10 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x: "elm.units";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x: "elm.units";
+ }
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ to_y: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_y: "elm.swallow.bar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1.to_x: "elm.swallow.icon";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 4;
+ rel2.to_x: "elm.swallow.icon";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -5;
+ color: SLIDER_UNITS_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: SLIDER_UNITS_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ rel1.offset: 0 4;
+ rel2.offset: 0 -5;
+ }
+ }
+ part { name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_y: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_y: "elm.swallow.bar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "units";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to_x: "elm.units";
+ offset: 0 5;
+ }
+ image {
+ // normal: "sl_units.png";
+ border: 0 5 3 8;
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.units";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 0 8;
+ rel1.to_x: "elm.swallow.end";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 0 -9;
+ rel2.to_x: "elm.swallow.end";
+ color: SLIDER_UNITS_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Bold";
+ size: SLIDER_UNITS_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ text.min: 1 1;
+ rel1.offset: -5 0;
+ rel2.offset: -5 -1;
+ }
+ }
+ part { name: "elm.dragable.slider";
+ type: GROUP;
+ source: "elm/slider/horizontal/indicator/tap_to_drag";
+ mouse_events: 1;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "bg";
+ }
+ description { state: "default" 0.0;
+ min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.5 0.0;
+ to_x: "bg";
+ }
+ rel2 {
+ relative: 0.5 1.0;
+ to_x: "bg";
+ }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 1 1;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 102;
+ }
+ }
+ }
+ programs {
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "end_show";
+ signal: "elm,state,end,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "end_hide";
+ signal: "elm,state,end,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.units";
+ target: "units";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.units";
+ target: "units";
+ }
+ program { name: "invert_on";
+ signal: "elm,state,inverted,on";
+ source: "elm";
+ script {
+ set_invert_on();
+ }
+ }
+ program { name: "invert_off";
+ signal: "elm,state,inverted,off";
+ source: "elm";
+ script {
+ set_invert_off();
+ }
+ }
+ program { name: "val_show";
+ signal: "mouse,down,*";
+ source: "elm.dragable.slider";
+ script {
+ thumb_down();
+ }
+ }
+ program { name: "val_hide";
+ signal: "mouse,up,*";
+ source: "elm.dragable.slider";
+ script {
+ thumb_up();
+ }
+ }
+ program { name: "slider_disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ target: "clipper";
+ }
+ program { name: "slider_enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "clipper";
+ }
+ }
+ }
+
+ group { name: "elm/slider/horizontal/indicator/default";
+ alias: "elm/slider/horizontal/indicator/disabled";
+ alias: "elm/slider/vertical/indicator/default";
+ alias: "elm/slider/vertical/indicator/disabled";
+ alias: "elm/slider/horizontal/indicator/tap_to_drag";
+ images {
+ image: "00_slider_handle.png" COMP;
+ image: "00_slider_handle_dim.png" COMP;
+ image: "00_slider_handle_press.png" COMP;
+ }
+ parts {
+ part { name: "button_events";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "button0";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
+ max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
+ rel1 {
+ to: "elm.indicator";
+ offset: -2 -2;
+ }
+ rel2 {
+ to: "elm.indicator";
+ offset: 2 2;
+ }
+ image {
+ normal: "00_slider_handle.png";
+ border: 3 3 3 3;
+ border_scale: 1;
+ }
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_slider_handle_press.png";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_slider_handle_dim.png";
+ }
+ }
+ }
+ part { name: "elm.indicator";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 1;
+ color: SLIDER_INDICATOR_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: SLIDER_INDICATOR_TEXT_SIZE_INC;
+ min: 1 1;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
+ }
+ }
+ }
+ programs {
+ program { name: "set_val_show";
+ signal: "elm,state,val,show";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.indicator";
+ }
+ program { name: "set_val_hide";
+ signal: "elm,state,val,hide";
+ source: "elm";
+ action: STATE_SET "hide" 0.0;
+ target: "elm.indicator";
+ }
+ program { name: "slider_disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button0";
+ target: "button_events";
+ }
+ program { name: "slider_enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button0";
+ target: "button_events";
+ }
+ program { name: "mouse_down";
+ signal: "mouse,down,*";
+ source: "button_events";
+ action: STATE_SET "pressed" 0.0;
+ target: "button0";
+ after: "text_pressed";
+ }
+ program { name: "mouse_up";
+ signal: "mouse,up,*";
+ source: "button_events";
+ action: STATE_SET "default" 0.0;
+ target: "button0";
+ after: "text_unpressed";
+ }
+ program { name: "text_pressed";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.indicator", st, 30, vl);
+ if (!strcmp(st, "default"))
+ set_state(PART:"elm.indicator", "pressed", 0.0);
+ }
+ }
+ program { name: "text_unpressed";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.indicator", st, 30, vl);
+ if (!strcmp(st, "pressed"))
+ set_state(PART:"elm.indicator", "default", 0.0);
+ }
+ }
+ }
+ }
+
+
+ group { name: "elm/slider/horizontal/volume";
+ images {
+ image: "00_volume_bg.png" COMP;
+ image: "00_volume_01.png" COMP;
+ image: "00_volume_02.png" COMP;
+ image: "00_volume_03.png" COMP;
+ image: "00_volume_04.png" COMP;
+ image: "00_volume_05.png" COMP;
+ image: "00_volume_06.png" COMP;
+ image: "00_volume_07.png" COMP;
+ image: "00_volume_08.png" COMP;
+ image: "00_volume_09.png" COMP;
+ image: "00_volume_10.png" COMP;
+ image: "00_volume_11.png" COMP;
+ image: "00_volume_12.png" COMP;
+ image: "00_volume_13.png" COMP;
+ image: "00_volume_14.png" COMP;
+ }
+ script {
+ public volume_state_change(){
+ new Float:x, Float:y;
+ get_drag(PART:"elm.dragable.slider", x, y);
+ if(x < 0.0333333)
+ set_state(PART:"base", "default", 0.0);
+ else if(x < 0.1)
+ set_state(PART:"base", "volume_01", 0.0);
+ else if(x < 0.1666666)
+ set_state(PART:"base", "volume_02", 0.0);
+ else if(x < 0.2333333)
+ set_state(PART:"base", "volume_03", 0.0);
+ else if(x < 0.3)
+ set_state(PART:"base", "volume_04", 0.0);
+ else if(x < 0.3666666)
+ set_state(PART:"base", "volume_05", 0.0);
+ else if(x < 0.4333333)
+ set_state(PART:"base", "volume_06", 0.0);
+ else if(x < 0.5)
+ set_state(PART:"base", "volume_07", 0.0);
+ else if(x < 0.5666666)
+ set_state(PART:"base", "volume_08", 0.0);
+ else if(x < 0.6333333)
+ set_state(PART:"base", "volume_09", 0.0);
+ else if(x < 0.7)
+ set_state(PART:"base", "volume_10", 0.0);
+ else if(x < 0.7666666)
+ set_state(PART:"base", "volume_11", 0.0);
+ else if(x < 0.8333333)
+ set_state(PART:"base", "volume_12", 0.0);
+ else if(x < 0.9)
+ set_state(PART:"base", "volume_13", 0.0);
+ else
+ set_state(PART:"base", "volume_14", 0.0);
+ }
+ }
+ parts {
+ part { name: "base";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ max: 99999 62;
+ min: 0 62;
+ rel1 { to: "bg";
+ offset: 0 0;
+ }
+ rel2 { to: "bg";
+ offset: -1 -1;
+ }
+ image.normal: "00_volume_bg.png";
+ }
+#define SLIDER_BG_PART(part_number)\
+ description {\
+ state: "volume_"part_number 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_volume_"part_number".png"; \
+ }
+ SLIDER_BG_PART(01)
+ SLIDER_BG_PART(02)
+ SLIDER_BG_PART(03)
+ SLIDER_BG_PART(04)
+ SLIDER_BG_PART(05)
+ SLIDER_BG_PART(06)
+ SLIDER_BG_PART(07)
+ SLIDER_BG_PART(08)
+ SLIDER_BG_PART(09)
+ SLIDER_BG_PART(10)
+ SLIDER_BG_PART(11)
+ SLIDER_BG_PART(12)
+ SLIDER_BG_PART(13)
+ SLIDER_BG_PART(14)
+ }
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.bar";
+ rel2.to: "elm.swallow.bar";
+ rel2.offset: 0 0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 48 62;
+ max: 99999 62;
+ align: 1.0 0.5;
+ rel1 {
+ to_x: "bar_left_padding";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to_x: "bar_right_padding";
+ relative: 0.0 1.0;
+ }
+ }
+ }
+ part {
+ name: "bar_left_padding";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 10 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.text";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "elm.text";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part {
+ name: "bar_right_padding";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 10 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x: "elm.units";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x: "elm.units";
+ }
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ to_y: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_y: "elm.swallow.bar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1.to_x: "elm.swallow.icon";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 4;
+ rel2.to_x: "elm.swallow.icon";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -5;
+ color: 164 160 149 255;
+ text {
+ font: "Tizen:style=Bold";
+ size: 18;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ rel1.offset: 0 4;
+ rel2.offset: 0 -5;
+ }
+ }
+ part { name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_y: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_y: "elm.swallow.bar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "units";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to_x: "elm.units";
+ offset: 0 5;
+ }
+ image {
+ // normal: "sl_units.png";
+ border: 0 5 3 8;
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.units";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 0 8;
+ rel1.to_x: "elm.swallow.end";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 0 -9;
+ rel2.to_x: "elm.swallow.end";
+ color: 164 160 149 255;
+ text {
+ font: "Tizen:style=Bold";
+ size: 18;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ text.min: 1 1;
+ rel1.offset: -5 0;
+ rel2.offset: -5 -1;
+ }
+ }
+ part { name: "elm.dragable.slider";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "bg";
+ }
+ description { state: "default" 0.0;
+ min: 4 62;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.5 0.0;
+ to_x: "bg";
+ }
+ rel2 {
+ relative: 0.5 1.0;
+ to_x: "bg";
+ }
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "end_show";
+ signal: "elm,state,end,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "end_hide";
+ signal: "elm,state,end,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.units";
+ target: "units";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.units";
+ target: "units";
+ }
+ program { name: "volume_state_change";
+ signal: "elm,state,drag";
+ source: "elm";
+ script {
+ volume_state_change()
+ }
+ }
+ }
+ }
+
+ group { name: "elm/slider/vertical/volume";
+ images {
+ image: "00_volume_00_ver.png" COMP;
+ image: "00_volume_01_ver.png" COMP;
+ image: "00_volume_02_ver.png" COMP;
+ image: "00_volume_03_ver.png" COMP;
+ image: "00_volume_04_ver.png" COMP;
+ image: "00_volume_05_ver.png" COMP;
+ image: "00_volume_06_ver.png" COMP;
+ image: "00_volume_07_ver.png" COMP;
+ image: "00_volume_08_ver.png" COMP;
+ image: "00_volume_09_ver.png" COMP;
+ image: "00_volume_10_ver.png" COMP;
+ image: "00_volume_11_ver.png" COMP;
+ image: "00_volume_12_ver.png" COMP;
+ image: "00_volume_13_ver.png" COMP;
+ image: "00_volume_14_ver.png" COMP;
+ }
+ script {
+ public volume_state_change(){
+ new Float:x, Float:y;
+ get_drag(PART:"elm.dragable.slider", x, y);
+ if(y <= 0.1)
+ set_state(PART:"base", "volume_14", 0.0);
+ else if(y <= 0.1666666)
+ set_state(PART:"base", "volume_13", 0.0);
+ else if(y <= 0.2333333)
+ set_state(PART:"base", "volume_12", 0.0);
+ else if(y <= 0.3)
+ set_state(PART:"base", "volume_11", 0.0);
+ else if(y <= 0.3666666)
+ set_state(PART:"base", "volume_10", 0.0);
+ else if(y <= 0.4333333)
+ set_state(PART:"base", "volume_09", 0.0);
+ else if(y <= 0.5)
+ set_state(PART:"base", "volume_08", 0.0);
+ else if(y <= 0.5666666)
+ set_state(PART:"base", "volume_07", 0.0);
+ else if(y <= 0.6333333)
+ set_state(PART:"base", "volume_06", 0.0);
+ else if(y <= 0.7)
+ set_state(PART:"base", "volume_05", 0.0);
+ else if(y <= 0.7666666)
+ set_state(PART:"base", "volume_04", 0.0);
+ else if(y <= 0.8333333)
+ set_state(PART:"base", "volume_03", 0.0);
+ else if(y <= 0.9)
+ set_state(PART:"base", "volume_02", 0.0);
+ else if(y <= 0.9666666)
+ set_state(PART:"base", "volume_01", 0.0);
+ else
+ set_state(PART:"base", "default", 0.0);
+ }
+ }
+ parts {
+ part { name: "base";
+ scale: 1;
+ description { state: "default" 0.0;
+ max: 126 999999;
+ min: 126 0;
+ fixed: 1 1;
+ rel1 { to: "bg";
+ offset: 0 0;
+ }
+ rel2 { to: "bg";
+ offset: -1 -1;
+ }
+ image.normal: "00_volume_00_ver.png";
+ }
+#define SLIDER_VER_BG_PART(part_number)\
+ description {\
+ state: "volume_"part_number 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_volume_"part_number"_ver.png"; \
+ }
+ SLIDER_VER_BG_PART(01)
+ SLIDER_VER_BG_PART(02)
+ SLIDER_VER_BG_PART(03)
+ SLIDER_VER_BG_PART(04)
+ SLIDER_VER_BG_PART(05)
+ SLIDER_VER_BG_PART(06)
+ SLIDER_VER_BG_PART(07)
+ SLIDER_VER_BG_PART(08)
+ SLIDER_VER_BG_PART(09)
+ SLIDER_VER_BG_PART(10)
+ SLIDER_VER_BG_PART(11)
+ SLIDER_VER_BG_PART(12)
+ SLIDER_VER_BG_PART(13)
+ SLIDER_VER_BG_PART(14)
+ }
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.bar";
+ rel2.to: "elm.swallow.bar";
+ rel2.offset: 0 0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 126 48;
+ max: 126 99999;
+ align: 0.5 1.0;
+ rel1 {
+ to_y: "bar_top_padding";
+ relative: 0.0 1.0;
+ }
+ rel2 {
+ to_y: "bar_bottom_padding";
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ part {
+ name: "bar_top_padding";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ // min: 0 10;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.5 1.0;
+ to_y: "elm.text";
+ }
+ rel2 {
+ relative: 0.5 1.0;
+ to_y: "elm.text";
+ }
+ align: 0.5 0.0;
+ }
+ }
+ part {
+ name: "bar_bottom_padding";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ // min: 0 10;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.5 0.0;
+ to_y: "elm.units";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to_y: "elm.units";
+ }
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.5 0.0;
+ rel1 {
+ to_x: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.bar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ rel1.to_y: "elm.swallow.icon";
+ rel1.relative: 0.0 1.0;
+ rel2.to_y: "elm.swallow.icon";
+ rel2.relative: 1.0 1.0;
+ color: 164 160 149 255;
+ text {
+ font: "Tizen:style=Bold";
+ size: 18;
+ min: 0 0;
+ align: 0.5 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.5 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.swallow.bar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ }
+ }
+ part { name: "units";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to_y: "elm.units";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.units";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ rel1.relative: 0.0 0.0;
+ rel1.to_y: "elm.swallow.end";
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.swallow.end";
+ color: 164 160 149 255;
+ text {
+ font: "Tizen:style=Bold";
+ size: 18;
+ min: 0 0;
+ align: 0.5 0.0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ text.min: 1 1;
+ rel1.offset: -5 0;
+ rel2.offset: -5 -1;
+ }
+ }
+ part { name: "elm.dragable.slider";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "bg";
+ }
+ description { state: "default" 0.0;
+ min: 126 5;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x: "bg";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "bg";
+ }
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "end_show";
+ signal: "elm,state,end,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "end_hide";
+ signal: "elm,state,end,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.units";
+ target: "units";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.units";
+ target: "units";
+ }
+ program { name: "volume_state_change";
+ signal: "elm,state,drag";
+ source: "elm";
+ script {
+ volume_state_change()
+ }
+ }
+ }
+ }
+
+ group { name: "elm/slider/horizontal/ebook";
+ images {
+ image: "00_winset_list_progress_bg.png" COMP;
+ image: "00_winset_list_progress_bar.png" COMP;
+ image: "00_winset_list_progress_bar_pressed.png" COMP;
+ image: "00_ebook_slider_handle.png" COMP;
+ image: "00_ebook_slider_handle_press.png" COMP;
+ }
+ script {
+ public value_hide = 0;
+ public invert_on = 0;
+ public set_value_show() {
+ set_int(value_hide, 0);
+ set_state(PART:"elm.indicator", "default", 0.0);
+ }
+ public set_value_hide() {
+ set_int(value_hide, 1);
+ set_state(PART:"elm.indicator", "hide", 0.0);
+ }
+ public set_invert_on() {
+ set_state(PART:"level", "inverted", 0.0);
+ set_state(PART:"level2", "inverted", 0.0);
+ set_int(invert_on, 1);
+ }
+ public set_invert_off() {
+ set_state(PART:"level", "default", 0.0);
+ set_state(PART:"level2", "default", 0.0);
+ set_int(invert_on, 0);
+ }
+ public thumb_down() {
+ if(get_int(value_hide) == 1) {
+ set_state(PART:"elm.indicator", "hide", 0.0);
+ set_state(PART:"button0", "visible", 0.0);
+ } else {
+ set_state(PART:"elm.indicator", "visible", 0.0);
+ set_state(PART:"button0", "visible", 0.0);
+ }
+ if(get_int(invert_on) == 0)
+ set_state(PART:"level", "pressed", 0.0);
+ else if(get_int(invert_on) == 1)
+ set_state(PART:"level2", "pressed", 0.0);
+ }
+ public thumb_up() {
+ if(get_int(value_hide) == 1)
+ set_state(PART:"elm.indicator", "hide", 0.0);
+ else
+ set_state(PART:"elm.indicator", "default", 0.0);
+ if(get_int(invert_on) == 0)
+ set_state(PART:"level", "default", 0.0);
+ else if(get_int(invert_on) == 1)
+ set_state(PART:"level2", "inverted", 0.0);
+ set_state(PART:"button0", "default", 0.0);
+ }
+ }
+ parts {
+ part { name: "base";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ max: 99999 SLIDER_EBOOK_HEIGHT_INC;
+ min: 0 SLIDER_EBOOK_HEIGHT_INC;
+ rel1 { to: "bg";
+ offset: 11 0;
+ }
+ rel2 { to: "bg";
+ offset: -15 -1;
+ }
+ image.normal: "00_winset_list_progress_bg.png";
+ image.border: 0 0 4 4;
+ image.border_scale: 1;
+ }
+ }
+ part { name: "level";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "base";
+ rel2 {
+ to_y: "base";
+ to_x: "elm.dragable.slider";
+ offset: -5 -1;
+ relative: 0.5 1.0;
+ }
+ image.normal: "00_winset_list_progress_bar.png";
+ image.border: 0 0 4 4;
+ image.border_scale: 1;
+ }
+ description { state: "inverted" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_winset_list_progress_bar_pressed.png";
+ image.border: 0 0 4 4;
+ image.border_scale: 1;
+ }
+ }
+ part { name: "level2";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to_y: "base";
+ to_x: "elm.dragable.slider";
+ relative: 0.5 0.0;
+ }
+ rel2.to: "base";
+ rel2.offset: -2 -1;
+ image.normal: "00_winset_list_progress_bar.png";
+ image.border: 0 0 4 4;
+ image.border_scale: 1;
+ }
+ description { state: "inverted" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image.normal: "00_winset_list_progress_bar_pressed.png";
+ image.border: 0 0 4 4;
+ image.border_scale: 1;
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.bar";
+ rel2.to: "elm.swallow.bar";
+ rel2.offset: 3 0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 48 48;
+ max: 99999 48;
+ align: 1.0 0.5;
+ rel1 {
+ to_x: "bar_left_padding";
+ relative: 1.0 0.0;
+ // offset: 2 0;
+ }
+ rel2 {
+ to_x: "bar_right_padding";
+ relative: 0.0 1.0;
+ // offset: -3 -1;
+ }
+ }
+ }
+ part {
+ name: "bar_left_padding";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 10 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.text";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "elm.text";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part {
+ name: "bar_right_padding";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 10 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x: "elm.units";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x: "elm.units";
+ }
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ to_y: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_y: "elm.swallow.bar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1.to_x: "elm.swallow.icon";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 4;
+ rel2.to_x: "elm.swallow.icon";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -5;
+ color: SLIDER_EBOOK_UNITS_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Bold";
+ size: SLIDER_EBOOK_UNITS_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ rel1.offset: 0 4;
+ rel2.offset: 0 -5;
+ }
+ }
+ part { name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_y: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_y: "elm.swallow.bar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "units";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to_x: "elm.units";
+ offset: 0 5;
+ }
+ image {
+// normal: "sl_units.png";
+ border: 0 5 3 8;
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.units";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 0 8;
+ rel1.to_x: "elm.swallow.end";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 0 -9;
+ rel2.to_x: "elm.swallow.end";
+ color: SLIDER_EBOOK_UNITS_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Bold";
+ size: SLIDER_EBOOK_UNITS_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ text.min: 1 1;
+ rel1.offset: -5 0;
+ rel2.offset: -5 -1;
+ }
+ }
+ part { name: "elm.dragable.slider";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "bg";
+ }
+ description { state: "default" 0.0;
+ min: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.5 0.0;
+ to_x: "bg";
+ }
+ rel2 {
+ relative: 0.5 1.0;
+ to_x: "bg";
+ }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "button0";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
+ max: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
+ rel1.to: "elm.dragable.slider";
+ rel2.to: "elm.dragable.slider";
+ image {
+ normal: "00_ebook_slider_handle.png";
+ border: 12 12 12 12;
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "00_ebook_slider_handle_press.png";
+ }
+ }
+ }
+ part { name: "popup";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ to: "button0";
+ relative: 0.0 0.0;
+ offset: -20 -92;
+ }
+ rel2 {
+ to: "button0";
+ relative: 1.0 0.0;
+ offset: 22 0;
+ }
+ image {
+ // normal: "00_slider_popup_bg.png";
+ border: 13 21 10 22;
+ border_scale: 1;
+ }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.indicator";
+ type: TEXT;
+ mouse_events: 0;
+// effect: SOFT_SHADOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 1;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1 {
+ to: "button0";
+ relative: 0.0 0;
+ offset: 0 0;
+ }
+ rel2 {
+ to: "button0";
+ relative: 1.0 1.0;
+ offset: -2 -2;
+ }
+ color: SLIDER_EBOOK_INDICATOR_TEXT_COLOR_INC;
+ color3: 0 0 0 64;
+ text {
+ font: "Tizen:style=Bold";
+ size: SLIDER_EBOOK_INDICATOR_DEFAULT_TEXT_SIZE_INC;
+ min: 1 1;
+ align: 0.5 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: SLIDER_EBOOK_INDICATOR_TEXT_COLOR_INC;
+ text.size: SLIDER_EBOOK_INDICATOR_DRAG_TEXT_SIZE_INC;
+ rel1.to: "popup";
+ rel2 {
+ to: "popup";
+ offset: -2 -10;
+ }
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ }
+ programs {
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "end_show";
+ signal: "elm,state,end,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "end_hide";
+ signal: "elm,state,end,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.units";
+ target: "units";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.units";
+ target: "units";
+ }
+ program { name: "invert_on";
+ signal: "elm,state,inverted,on";
+ source: "elm";
+ script {
+ set_invert_on();
+ }
+ }
+ program { name: "invert_off";
+ signal: "elm,state,inverted,off";
+ source: "elm";
+ script {
+ set_invert_off();
+ }
+ }
+ program { name: "set_val_show";
+ signal: "elm,state,val,show";
+ source: "elm";
+ script {
+ set_value_show();
+ }
+ }
+ program { name: "set_val_hide";
+ signal: "elm,state,val,hide";
+ source: "elm";
+ script {
+ set_value_hide();
+ }
+ }
+ program { name: "val_show";
+ signal: "mouse,down,*";
+ source: "elm.dragable.slider";
+ script {
+ thumb_down();
+ }
+ }
+ program { name: "val_hide";
+ signal: "mouse,up,*";
+ source: "elm.dragable.slider";
+ script {
+ thumb_up();
+ }
+ }
+ }
+ }
+
+ group { name: "elm/slider/vertical/volume7";
+ images {
+ image: "00_volume7_00_ver.png" COMP;
+ image: "00_volume7_01_ver.png" COMP;
+ image: "00_volume7_02_ver.png" COMP;
+ image: "00_volume7_03_ver.png" COMP;
+ image: "00_volume7_04_ver.png" COMP;
+ image: "00_volume7_05_ver.png" COMP;
+ image: "00_volume7_06_ver.png" COMP;
+ image: "00_volume7_07_ver.png" COMP;
+ }
+ script {
+ public volume_state_change(){
+ new Float:x, Float:y;
+ get_drag(PART:"elm.dragable.slider", x, y);
+ if(y <= 0.1875)
+ set_state(PART:"base", "volume_07", 0.0);
+ else if(y <= 0.3125)
+ set_state(PART:"base", "volume_06", 0.0);
+ else if(y <= 0.4375)
+ set_state(PART:"base", "volume_05", 0.0);
+ else if(y <= 0.5625)
+ set_state(PART:"base", "volume_04", 0.0);
+ else if(y <= 0.6875)
+ set_state(PART:"base", "volume_03", 0.0);
+ else if(y <= 0.8125)
+ set_state(PART:"base", "volume_02", 0.0);
+ else if(y <= 0.9375)
+ set_state(PART:"base", "volume_01", 0.0);
+ else
+ set_state(PART:"base", "default", 0.0);
+ }
+ }
+ parts {
+ part { name: "base";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 175 0;
+ max: 175 999999;
+ fixed: 1 1;
+ rel1 { to: "bg";
+ offset: 0 0;
+ }
+ rel2 { to: "bg";
+ offset: -1 -1;
+ }
+ image.normal: "00_volume7_00_ver.png";
+ }
+#define SLIDER7_VER_BG_PART(part_number)\
+ description {\
+ state: "volume_"part_number 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_volume7_"part_number"_ver.png"; \
+ }
+ SLIDER7_VER_BG_PART(01)
+ SLIDER7_VER_BG_PART(02)
+ SLIDER7_VER_BG_PART(03)
+ SLIDER7_VER_BG_PART(04)
+ SLIDER7_VER_BG_PART(05)
+ SLIDER7_VER_BG_PART(06)
+ SLIDER7_VER_BG_PART(07)
+ }
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.bar";
+ rel2.to: "elm.swallow.bar";
+ rel2.offset: 0 0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 175 0;
+ max: 175 99999;
+ align: 0.5 1.0;
+ }
+ }
+ part {
+ name: "bar_top_padding";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ // min: 0 10;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.5 1.0;
+ to_y: "elm.text";
+ }
+ rel2 {
+ relative: 0.5 1.0;
+ to_y: "elm.text";
+ }
+ align: 0.5 0.0;
+ }
+ }
+ part {
+ name: "bar_bottom_padding";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ // min: 0 10;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.5 0.0;
+ to_y: "elm.units";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to_y: "elm.units";
+ }
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.5 0.0;
+ rel1 {
+ to_x: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.bar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ rel1.to_y: "elm.swallow.icon";
+ rel1.relative: 0.0 1.0;
+ rel2.to_y: "elm.swallow.icon";
+ rel2.relative: 1.0 1.0;
+ color: 164 160 149 255;
+ text {
+ font: "Tizen:style=Bold";
+ size: 18;
+ min: 0 0;
+ align: 0.5 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.5 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.swallow.bar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ }
+ }
+ part { name: "units";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to_y: "elm.units";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.units";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ rel1.relative: 0.0 0.0;
+ rel1.to_y: "elm.swallow.end";
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.swallow.end";
+ color: 164 160 149 255;
+ text {
+ font: "Tizen:style=Bold";
+ size: 18;
+ min: 0 0;
+ align: 0.5 0.0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ text.min: 1 1;
+ rel1.offset: -5 0;
+ rel2.offset: -5 -1;
+ }
+ }
+ part { name: "elm.dragable.slider";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "bg";
+ }
+ description { state: "default" 0.0;
+ min: 175 5;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x: "bg";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "bg";
+ }
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "end_show";
+ signal: "elm,state,end,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "end_hide";
+ signal: "elm,state,end,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.units";
+ target: "units";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.units";
+ target: "units";
+ }
+ program { name: "volume_state_change";
+ signal: "elm,state,drag";
+ source: "elm";
+ script {
+ volume_state_change()
+ }
+ }
+ }
+ }
+
+ group { name: "elm/slider/vertical/volume15";
+ images {
+ image: "00_volume15_00_ver.png" COMP;
+ image: "00_volume15_01_ver.png" COMP;
+ image: "00_volume15_02_ver.png" COMP;
+ image: "00_volume15_03_ver.png" COMP;
+ image: "00_volume15_04_ver.png" COMP;
+ image: "00_volume15_05_ver.png" COMP;
+ image: "00_volume15_06_ver.png" COMP;
+ image: "00_volume15_07_ver.png" COMP;
+ image: "00_volume15_08_ver.png" COMP;
+ image: "00_volume15_09_ver.png" COMP;
+ image: "00_volume15_10_ver.png" COMP;
+ image: "00_volume15_11_ver.png" COMP;
+ image: "00_volume15_12_ver.png" COMP;
+ image: "00_volume15_13_ver.png" COMP;
+ image: "00_volume15_14_ver.png" COMP;
+ image: "00_volume15_15_ver.png" COMP;
+ }
+ script {
+ public volume_state_change(){
+ new Float:x, Float:y;
+ get_drag(PART:"elm.dragable.slider", x, y);
+ if(y <= 0.09375)
+ set_state(PART:"base", "volume_15", 0.0);
+ else if(y <= 0.15625)
+ set_state(PART:"base", "volume_14", 0.0);
+ else if(y <= 0.21875)
+ set_state(PART:"base", "volume_13", 0.0);
+ else if(y <= 0.28125)
+ set_state(PART:"base", "volume_12", 0.0);
+ else if(y <= 0.34375)
+ set_state(PART:"base", "volume_11", 0.0);
+ else if(y <= 0.40625)
+ set_state(PART:"base", "volume_10", 0.0);
+ else if(y <= 0.46875)
+ set_state(PART:"base", "volume_09", 0.0);
+ else if(y <= 0.53125)
+ set_state(PART:"base", "volume_08", 0.0);
+ else if(y <= 0.59375)
+ set_state(PART:"base", "volume_07", 0.0);
+ else if(y <= 0.65625)
+ set_state(PART:"base", "volume_06", 0.0);
+ else if(y <= 0.71875)
+ set_state(PART:"base", "volume_05", 0.0);
+ else if(y <= 0.78125)
+ set_state(PART:"base", "volume_04", 0.0);
+ else if(y <= 0.84375)
+ set_state(PART:"base", "volume_03", 0.0);
+ else if(y <= 0.90625)
+ set_state(PART:"base", "volume_02", 0.0);
+ else if(y <= 0.96875)
+ set_state(PART:"base", "volume_01", 0.0);
+ else
+ set_state(PART:"base", "default", 0.0);
+ }
+ }
+ parts {
+ part { name: "base";
+ scale: 1;
+ description { state: "default" 0.0;
+ max: 175 999999;
+ min: 175 0;
+ fixed: 1 1;
+ rel1 { to: "bg";
+ offset: 0 0;
+ }
+ rel2 { to: "bg";
+ offset: -1 -1;
+ }
+ image.normal: "00_volume15_00_ver.png";
+ }
+#define SLIDER15_VER_BG_PART(part_number)\
+ description {\
+ state: "volume_"part_number 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_volume15_"part_number"_ver.png"; \
+ }
+ SLIDER15_VER_BG_PART(01)
+ SLIDER15_VER_BG_PART(02)
+ SLIDER15_VER_BG_PART(03)
+ SLIDER15_VER_BG_PART(04)
+ SLIDER15_VER_BG_PART(05)
+ SLIDER15_VER_BG_PART(06)
+ SLIDER15_VER_BG_PART(07)
+ SLIDER15_VER_BG_PART(08)
+ SLIDER15_VER_BG_PART(09)
+ SLIDER15_VER_BG_PART(10)
+ SLIDER15_VER_BG_PART(11)
+ SLIDER15_VER_BG_PART(12)
+ SLIDER15_VER_BG_PART(13)
+ SLIDER15_VER_BG_PART(14)
+ SLIDER15_VER_BG_PART(15)
+ }
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.bar";
+ rel2.to: "elm.swallow.bar";
+ rel2.offset: 0 0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 175 0;
+ max: 175 99999;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "bar_top_padding";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ // min: 0 10;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.5 1.0;
+ to_y: "elm.text";
+ }
+ rel2 {
+ relative: 0.5 1.0;
+ to_y: "elm.text";
+ }
+ align: 0.5 0.0;
+ }
+ }
+ part { name: "bar_bottom_padding";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ // min: 0 10;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.5 0.0;
+ to_y: "elm.units";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to_y: "elm.units";
+ }
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.5 0.0;
+ rel1 {
+ to_x: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.bar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ rel1.to_y: "elm.swallow.icon";
+ rel1.relative: 0.0 1.0;
+ rel2.to_y: "elm.swallow.icon";
+ rel2.relative: 1.0 1.0;
+ color: 164 160 149 255;
+ text {
+ font: "Tizen:style=Bold";
+ size: 18;
+ min: 0 0;
+ align: 0.5 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.5 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.swallow.bar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ }
+ }
+ part { name: "units";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to_y: "elm.units";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.units";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ rel1.relative: 0.0 0.0;
+ rel1.to_y: "elm.swallow.end";
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.swallow.end";
+ color: 164 160 149 255;
+ text {
+ font: "Tizen:style=Bold";
+ size: 18;
+ min: 0 0;
+ align: 0.5 0.0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ text.min: 1 1;
+ rel1.offset: -5 0;
+ rel2.offset: -5 -1;
+ }
+ }
+ part { name: "elm.dragable.slider";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "bg";
+ }
+ description { state: "default" 0.0;
+ min: 175 5;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x: "bg";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "bg";
+ }
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "end_show";
+ signal: "elm,state,end,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "end_hide";
+ signal: "elm,state,end,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.units";
+ target: "units";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.units";
+ target: "units";
+ }
+ program { name: "volume_state_change";
+ signal: "elm,state,drag";
+ source: "elm";
+ script {
+ volume_state_change()
+ }
+ }
+ }
+ }
+
+ group { name: "elm/slider/horizontal/default";
+ alias: "elm/slider/horizontal/disabled";
+ images {
+ image: "00_progress_bg.png" COMP;
+ image: "00_progress_bar.png" COMP;
+ }
+ script {
+ public invert_on = 0;
+ public set_invert_on() {
+ set_state(PART:"level", "inverted", 0.0);
+ set_state(PART:"level2", "inverted", 0.0);
+ set_int(invert_on, 1);
+ }
+ public set_invert_off() {
+ set_state(PART:"level", "default", 0.0);
+ set_state(PART:"level2", "default", 0.0);
+ set_int(invert_on, 0);
+ }
+ public thumb_down() {
+ if(get_int(invert_on) == 0)
+ set_state(PART:"level", "pressed", 0.0);
+ else if(get_int(invert_on) == 1)
+ set_state(PART:"level2", "pressed", 0.0);
+ }
+ public thumb_up() {
+ if(get_int(invert_on) == 0)
+ set_state(PART:"level", "default", 0.0);
+ else if(get_int(invert_on) == 1)
+ set_state(PART:"level2", "inverted", 0.0);
+ }
+ }
+ parts {
+ part { name: "base";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
+ max: 99999 SLIDER_BASE_HEIGHT_INC;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ image.normal: "00_progress_bg.png";
+ image.border: 17 17 0 0;
+ image.border_scale: 1;
+ }
+ }
+ part { name: "level";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "base";
+ rel2 {
+ to_y: "base";
+ to_x: "elm.dragable.slider";
+ relative: 0.5 1.0;
+ }
+ image.normal: "00_progress_bar.png";
+ image.border: 17 17 0 0;
+ image.border_scale: 1;
+ }
+ description { state: "inverted" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_progress_bar.png";
+ }
+ }
+ part { name: "level2";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to_y: "base";
+ to_x: "elm.dragable.slider";
+ relative: 0.5 0.0;
+ }
+ rel2.to: "base";
+ image.normal: "00_progress_bar.png";
+ image.border: 0 0 4 4;
+ image.border_scale: 1;
+ }
+ description { state: "inverted" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image.normal: "00_progress_bar.png";
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.bar";
+ rel2.to: "elm.swallow.bar";
+ }
+ }
+ part { name: "elm.swallow.bar";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
+ max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
+ align: 1.0 0.5;
+ rel1 {
+ to_x: "bar_left_padding";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to_x: "bar_right_padding";
+ relative: 0.0 1.0;
+ }
+ }
+ }
+ part {
+ name: "bar_left_padding";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 16 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.text";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "elm.text";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part {
+ name: "bar_right_padding";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 16 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.5;
+ to_x: "elm.units";
+ }
+ rel2 {
+ relative: 0.0 0.5;
+ to_x: "elm.units";
+ }
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ to_y: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_y: "elm.swallow.bar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1.to_x: "elm.swallow.icon";
+ rel1.relative: 1.0 0.0;
+ rel2.to_x: "elm.swallow.icon";
+ color: SLIDER_UNITS_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: SLIDER_UNITS_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_y: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_y: "elm.swallow.bar";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "units";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to_x: "elm.units";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.units";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1.to_x: "elm.swallow.end";
+ rel2.relative: 0.0 1.0;
+ rel2.to_x: "elm.swallow.end";
+ color: SLIDER_UNITS_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Bold";
+ size: SLIDER_UNITS_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.dragable.slider";
+ type: GROUP;
+ source: "elm/slider/horizontal/indicator/default";
+ mouse_events: 1;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "bg";
+ }
+ description { state: "default" 0.0;
+ min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 102;
+ }
+ }
+ }
+ programs {
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "end_show";
+ signal: "elm,state,end,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "end_hide";
+ signal: "elm,state,end,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.units";
+ target: "units";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.units";
+ target: "units";
+ }
+ program { name: "invert_on";
+ signal: "elm,state,inverted,on";
+ source: "elm";
+ script {
+ set_invert_on();
+ }
+ }
+ program { name: "invert_off";
+ signal: "elm,state,inverted,off";
+ source: "elm";
+ script {
+ set_invert_off();
+ }
+ }
+ program { name: "val_show";
+ signal: "mouse,down,*";
+ source: "elm.dragable.slider";
+ script {
+ thumb_down();
+ }
+ }
+ program { name: "val_hide";
+ signal: "mouse,up,*";
+ source: "elm.dragable.slider";
+ script {
+ thumb_up();
+ }
+ }
+ program { name: "slider_disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ target: "clipper";
+ }
+ program { name: "slider_enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "clipper";
+ }
+ }
+ }
+
+ group { name: "elm/slider/horizontal/expanded_indicator_button";
+ inherit: "elm/slider/horizontal/default";
+ parts {
+ part { name: "elm.dragable.slider";
+ type: GROUP;
+ source: "elm/slider/horizontal/indicator/expanded_indicator_button";
+ mouse_events: 1;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "bg";
+ }
+ description { state: "default" 0.0;
+ min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.5 0.0;
+ to_x: "bg";
+ }
+ rel2 {
+ relative: 0.5 1.0;
+ to_x: "bg";
+ }
+ color: 0 0 0 0;
+ }
+ }
+ }
+ }
+
+ group { name: "elm/slider/horizontal/indicator/expanded_indicator_button";
+ inherit: "elm/slider/horizontal/indicator/default";
+ parts {
+ part { name: "button_events";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
+ align: 0.5 0.0;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ }
+
+group { name: "elm/slider/vertical/default";
+ alias: "elm/slider/vertical/disabled";
+ images {
+ image: "00_winset_list_progress_bg.png" COMP;
+ image: "00_winset_list_progress_bar.png" COMP;
+ }
+ parts {
+ part { name: "base";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SLIDER_BASE_HEIGHT_INC SLIDER_BASE_MIN_WIDTH_INC;
+ max: SLIDER_BASE_HEIGHT_INC 99999;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ image {
+ normal: "00_winset_list_progress_bg.png";
+ border: 0 0 4 4;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "level";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "base";
+ rel2 {
+ to_x: "base";
+ to_y: "elm.dragable.slider";
+ relative: 1.0 0.5;
+ }
+ image {
+ normal: "00_winset_list_progress_bar.png";
+ border: 0 0 4 4;
+ border_scale: 1;
+ }
+ }
+ description { state: "inverted" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "level2";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ rel1 {
+ to_x: "base";
+ to_y: "elm.dragable.slider";
+ relative: 0.0 0.5;
+ }
+ rel2.to: "base";
+ image {
+ normal: "00_winset_list_progress_bar.png";
+ border: 0 0 4 4;
+ border_scale: 1;
+ }
+ }
+ description { state: "inverted" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.bar";
+ rel2.to: "elm.swallow.bar";
+ }
+ }
+ part { name: "elm.swallow.bar";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SLIDER_SWALLOW_BAR_HEIGHT_INC SLIDER_BASE_MIN_WIDTH_INC;
+ max: SLIDER_SWALLOW_BAR_HEIGHT_INC 99999;
+ rel1 {
+ to_y: "bar_top_padding";
+ relative: 0.0 1.0;
+ }
+ rel2 {
+ to_y: "bar_bottom_padding";
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ part {
+ name: "bar_top_padding";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 10;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.5 1.0;
+ to_y: "elm.text";
+ }
+ rel2 {
+ relative: 0.5 1.0;
+ to_y: "elm.text";
+ }
+ align: 0.5 0.0;
+ }
+ }
+ part {
+ name: "bar_bottom_padding";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 10;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.5 0.0;
+ to_y: "elm.units";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to_y: "elm.units";
+ }
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "elm.swallow.icon";
+ }
+ rel2 {
+ to_y: "elm.swallow.icon";
+ }
+ align: 0.5 0.0;
+ color: SLIDER_UNITS_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Medium";
+ size: SLIDER_UNITS_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.5 0.0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ to_x: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "elm.swallow.bar";
+ }
+ align: 0.5 0.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.swallow.bar";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.swallow.bar";
+ }
+ align: 0.5 1.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "elm.units";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1 {
+ to_y: "elm.swallow.end";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.swallow.end";
+ }
+ align: 0.5 1.0;
+ color: SLIDER_UNITS_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Bold";
+ size: SLIDER_UNITS_TEXT_SIZE_INC;
+ min: 0 0;
+ align: 0.5 0.0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ part { name: "elm.dragable.slider";
+ type: GROUP;
+ source: "elm/slider/vertical/indicator/default";
+ scale: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "bg";
+ }
+ description { state: "default" 0.0;
+ min: SLIDER_INDICATOR_HEIGHT_INC SLIDER_INDICATOR_WIDTH_INC;
+ fixed: 1 1;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ repeat_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 102;
+ }
+ }
+ }
+ programs {
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "end_show";
+ signal: "elm,state,end,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "end_hide";
+ signal: "elm,state,end,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "units_show";
+ signal: "elm,state,units,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.units";
+ }
+ program { name: "units_hide";
+ signal: "elm,state,units,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.units";
+ }
+ program { name: "invert_on";
+ signal: "elm,state,inverted,on";
+ source: "elm";
+ action: STATE_SET "inverted" 0.0;
+ target: "level";
+ target: "level2";
+ }
+ program { name: "invert_off";
+ signal: "elm,state,inverted,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "level";
+ target: "level2";
+ }
+ program { name: "slider_disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ target: "clipper";
+ }
+ program { name: "slider_enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "clipper";
+ }
+ }
+}
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+ group {
+ name: "elm/tickernoti/base/1line/default";
+ alias: "elm/tickernoti/base/info";
+ data {
+ item: "height" TICKERNOTI_INFO_BG_MIN_HEIGHT_INC;
+ }
+ images {
+ image: "00_winset_notification_bg1.png" COMP;
+ }
+ parts {
+ part { name: "base";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ min: 0 TICKERNOTI_INFO_BG_MIN_HEIGHT_INC;
+ }
+ }
+ part {
+ name: "bg";
+ mouse_events: 0;
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "base";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "base";
+ }
+ image {
+ normal: "00_winset_notification_bg1.png";
+ }
+ }
+ }
+ part {
+ name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: TICKERNOTI_INFO_BG_PADDING_LEFT_TOP_INC;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "bg";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "bg";
+ }
+ }
+ }
+ part {
+ name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: TICKERNOTI_INFO_BG_PADDING_RIGHT_BOTTOM_INC;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "bg";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "bg";
+ }
+ }
+ }
+ part {
+ name: "icon";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part {
+ name: "padding_icon_right";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: TICKERNOTI_BG_PADDING_AFTER_ICON_INC;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "icon";
+ to_y: "padding_right_bottom";
+ }
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "padding_icon_right";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "bg";
+ }
+ color: SELECTION_INFO_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Roman";
+ size: TICKERNOTI_INFO_TEXT_FONT_SIZE_INC;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ }
+ part {
+ name: "event";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1 {
+ to: "bg";
+ }
+ rel2 {
+ to: "bg";
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "effect_show";
+ signal: "effect,show";
+ source: "elm";
+ action: STATE_SET "show" "0.0";
+ in: 0.1 0.0;
+ transition: ACCEL 0.4;
+ target: "bg";
+ }
+ program {
+ name: "other_click";
+ signal: "mouse,clicked,1";
+ source: "bg";
+ action: SIGNAL_EMIT "clicked" "";
+ after: "effect_hide";
+ }
+ program {
+ name: "effect_hide";
+ action: STATE_SET "default" "0.0";
+ transition: DECEL 0.4;
+ target: "bg";
+ after: "hide";
+ }
+ program {
+ name: "hide";
+ action: SIGNAL_EMIT "request,hide" "";
+ }
+ }
+ }
+ group {
+ name: "elm/tickernoti/base/default";
+ data {
+ item: "height" TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC;
+ }
+ images {
+ image: "00_notification_bg.png" COMP;
+ }
+ styles {
+ style {
+ name: "style_text";
+ base: "font=Tizen:style=Bold font_size="TICKERNOTI_DEFAULT_TEXT_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT_COLOR_INC" wrap=mixed ellipsis=1.0 text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "notitext1" "+font_size="TICKERNOTI_DEFAULT_TEXT_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT_COLOR_INC"";
+ tag: "notitext2" "+font_size="TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT2_COLOR_INC"";
+ }
+ }
+ parts {
+ part {
+ name: "bg";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 TICKERNOTI_DEFAULT_BG_TOTAL_MIN_HEIGHT_INC;
+ image {
+ normal: "00_notification_bg.png";
+ border: TICKERNOTI_DEFAULT_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ }
+ part {
+ name: "base";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ min: 0 TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ }
+ visible: 0;
+ }
+ }
+ part {
+ name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: TICKERNOTI_DEFAULT_BG_PADDING_LEFT_TOP_INC;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "base";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "base";
+ }
+ }
+ }
+ part {
+ name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: TICKERNOTI_DEFAULT_BG_PADDING_RIGHT_BOTTOM_INC;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "base";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "base";
+ }
+ }
+ }
+ // Icon
+ part {
+ name: "icon";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: TICKERNOTI_DEFAULT_ICON_MIN_INC;
+ max: TICKERNOTI_DEFAULT_ICON_MIN_INC;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "base";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "padding_left_top";
+ to_y: "base";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part {
+ name: "padding_icon_right";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: TICKERNOTI_DEFAULT_PADDING_AFTER_ICON_INC;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "icon";
+ to_y: "base";
+ }
+ rel2 {
+ to_x: "icon";
+ to_y: "base";
+ }
+ }
+ }
+ /* Text */
+ part {
+ name: "text_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: TICKERNOTI_DEFAULT_TEXT_MIN_INC;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "padding_icon_right";
+ to_y: "base";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "padding_button_left";
+ to_y: "base";
+ }
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXTBLOCK;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ fixed: 0 1;
+ rel1.to: "text_rect";
+ rel2.to: "text_rect";
+ text {
+ style: "style_text";
+ max: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ }
+ part {
+ name: "event";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1 {
+ to: "bg";
+ }
+ rel2 {
+ to: "bg";
+ }
+ }
+ }
+ // Button
+ part {
+ name: "button";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ min: TICKERNOTI_DEFAULT_BUTTON_MIN_INC;
+ max: TICKERNOTI_DEFAULT_BUTTON_MAX_INC;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 0.0;
+ to_x: "padding_right_bottom";
+ to_y: "base";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "padding_right_bottom";
+ to_y: "base";
+ }
+ }
+ }
+ part {
+ name: "padding_button_left";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: TICKERNOTI_DEFAULT_PADDING_BEFORE_BUTTON_INC;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "button";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "button";
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "effect_show";
+ signal: "effect,show";
+ source: "elm";
+ in: 0.1 0.0;
+ action: STATE_SET "show" "0.0";
+ transition: ACCEL 0.4;
+ target: "bg";
+ }
+ program {
+ name: "clicked";
+ signal: "mouse,clicked,1";
+ source: "event";
+ action: SIGNAL_EMIT "clicked" "";
+ after: "effect_hide";
+ }
+ program {
+ name: "effect_hide";
+ signal: "effect,hide";
+ source: "elm";
+ action: STATE_SET "default" "0.0";
+ transition: DECEL 0.4;
+ target: "bg";
+ after: "hide";
+ }
+ program {
+ name: "hide";
+ action: SIGNAL_EMIT "request,hide" "";
+ }
+ }
+ }
+
+ group { name: "elm/tickernoti/base/textonly";
+ data {
+ item: "height" TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC;
+ }
+ images {
+ image: "00_notification_bg.png" COMP;
+ }
+ styles {
+ style {
+ name: "style_textonly";
+ base: "font=Tizen:style=Bold font_size="TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT_COLOR_INC" wrap=mixed ellipsis=1.0 linesize=32 text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "notitext" "+font_size="TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT_COLOR_INC"";
+ }
+ }
+ parts {
+ part {
+ name: "bg";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 TICKERNOTI_DEFAULT_BG_TOTAL_MIN_HEIGHT_INC;
+ image {
+ normal: "00_notification_bg.png";
+ border: TICKERNOTI_DEFAULT_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ }
+ part {
+ name: "base";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ min: 0 TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC;
+ fixed: 0 1;
+ rel2.relative: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: TICKERNOTI_DEFAULT_BG_PADDING_LEFT_TOP_INC;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1.to: "base";
+ rel2 {
+ relative: 0.0 0.0;
+ to: "base";
+ }
+ }
+ }
+ part {
+ name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: TICKERNOTI_DEFAULT_BG_PADDING_RIGHT_BOTTOM_INC;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "base";
+ }
+ rel2.to: "base";
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXTBLOCK;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: TICKERNOTI_TEXT_ONLY_TEXT_MIN_INC;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ text {
+ style: "style_textonly";
+ }
+ }
+ }
+ }
+ }
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+ group {
+ name: "elm/toggle/base/style1";
+
+ images {
+ image: "switch_btn.png" COMP;
+ image: "switch_bg.png" COMP;
+ image: "switch_left_padding.png" COMP;
+ image: "switch_right_padding.png" COMP;
+ }
+
+ script {
+ public timer_on(val) {
+ new Float:x, Float:y;
+ get_drag(PART:"button", x, y);
+ if (x >= 1.0) {
+ set_state(PART:"bg", "on", 0.0);
+ x = 1.0;
+ set_drag(PART:"button", x, y);
+ emit("elm,action,toggle,on", "");
+ } else if (x <= 0.5) {
+ x = x + 0.2;
+ set_drag(PART:"button", x, y);
+ timer(0.01, "timer_on", 0);
+ } else {
+ x = x + 0.1;
+ set_drag(PART:"button", x, y);
+ timer(0.01, "timer_on", 0);
+ }
+ return 0;
+ }
+ public timer_off(val) {
+ new Float:x, Float:y;
+ get_drag(PART:"button", x, y);
+ if (x <= 0.0) {
+ set_state(PART:"bg", "off", 0.0);
+ x = 0.0;
+ set_drag(PART:"button", x, y);
+ emit("elm,action,toggle,off", "");
+ } else if (x >= 0.5) {
+ x = x - 0.2;
+ set_drag(PART:"button", x, y);
+ timer(0.01, "timer_off", 0);
+ } else {
+ x = x - 0.1;
+ set_drag(PART:"button", x, y);
+ timer(0.01, "timer_off", 0);
+ }
+ return 0;
+ }
+ }
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 142 41;
+ max: 142 41;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ color: 255 255 255 255;
+ }
+ description {
+ state: "on" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part {
+ name: "left_padding";
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 5 0;
+ fixed: 1 0;
+ rel1.to: "bg";
+ rel2 { relative: 0 1; to: "bg"; }
+ align: 0 0.5;
+ image.normal: "switch_left_padding.png";
+ }
+ }
+ part {
+ name: "right_padding";
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 5 0;
+ fixed: 1 0;
+ rel1 { relative: 1 0; to: "bg"; }
+ rel2.to: "bg";
+ align: 1 0.5;
+ image.normal: "switch_right_padding.png";
+ }
+ }
+ part {
+ name: "button_clipper";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1.to: "left_padding";
+ rel2.to: "right_padding";
+ }
+ }
+ part {
+ name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1 0; to_x: "left_padding"; to_y: "bg"; }
+ rel2 { relative: 0 1; to_x: "right_padding"; to_y: "bg"; }
+ }
+ }
+ part { name: "button";
+ type: RECT;
+ scale: 1;
+ clip_to: "clipper";
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "bg";
+ }
+ description {
+ state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ min: 58 41;
+ max: 58 41;
+ fixed: 1 1;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "button_events";
+ type: RECT;
+ dragable {
+ events: "button";
+ }
+ description {
+ state: "default" 0.0;
+ rel1.to_x: "bg";
+ rel2.to_x: "bg";
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "onrect";
+ type: RECT;
+ scale: 1;
+ clip_to: "clipper";
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1.to: "button";
+ rel1.relative: -2.0 0.0;
+ rel2.to: "button";
+ rel2.relative: 0.0 1.0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "offrect";
+ type: RECT;
+ scale: 1;
+ clip_to: "clipper";
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1.to: "button";
+ rel1.relative: 1.0 0.0;
+ rel2.to: "button";
+ rel2.relative: 3.0 1.0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "togbase";
+ mouse_events: 0;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.to: "onrect";
+ rel2.to: "offrect";
+ image.normal: "switch_bg.png";
+ }
+ }
+ part {
+ name: "button2";
+ mouse_events: 0;
+ clip_to: "button_clipper";
+ description {
+ state: "default" 0.0;
+ rel1.to: "button";
+ rel2.to: "button";
+ image {
+ normal: "switch_btn.png";
+ border: 4 4 7 7;
+ border_scale: 1;
+ }
+ image.middle: SOLID;
+ }
+ }
+ part {
+ name: "disabler";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "drag_end";
+ signal: "mouse,up,1";
+ source: "button";
+ script {
+ new st[30];
+ new Float:vl;
+ get_state(PART:"bg", st, 30, vl)
+ if (!strncmp(st, "default", 7)) {
+ set_state(PART:"bg", "on", 0.0);
+ timer_on(0);
+ } else {
+ set_state(PART:"bg", "off", 0.0);
+ timer_off(0);
+ }
+ }
+ }
+ program {
+ name: "toggle_on";
+ signal: "elm,state,toggle,on";
+ source: "elm";
+ script {
+ set_state(PART:"bg", "on", 0.0);
+ timer_on(0);
+ }
+ }
+ program {
+ name: "toggle_off";
+ signal: "elm,state,toggle,off";
+ source: "elm";
+ script {
+ set_state(PART:"bg", "off", 0.0);
+ timer_off(0);
+ }
+ }
+ program {
+ name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "togbase";
+ target: "disabler";
+ }
+ program {
+ name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/toggle/base/default";
+ images {
+ image: "00_button_on.png" COMP;
+ image: "00_button_on_press.png" COMP;
+ image: "00_button_off.png" COMP;
+ image: "00_button_off_press.png" COMP;
+ image: "00_button_onoff_handle.png" COMP;
+ image: "00_button_onoff_handle_press.png" COMP;
+ }
+ script {
+ public toggle_move_state = 0; //0:no movement, 1: moved
+ public toggle_is_down = 0; //0:not down, 1: down
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 122 40;
+ max: 122 40;
+ rel1.relative: 1.0 0.0;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ align: 1.0 0.5;
+ }
+ }
+ part {
+ name: "padding_left";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1{ relative: 0.0 0.0; to: "bg"; }
+ rel2{ relative: 0.0 1.0; to: "bg"; }
+ min: 4 4;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding_right";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ rel1{ relative: 1.0 0.0; to: "bg"; }
+ rel2{ relative: 1.0 1.0; to: "bg"; }
+ min: 4 4;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1{ relative: 0.0 0.0; to: "bg"; }
+ rel2{ relative: 1.0 0.0; to: "bg"; }
+ min: 4 4;
+ fixed: 0 1;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "padding_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1{ relative: 0.0 1.0; to: "bg"; }
+ rel2{ relative: 1.0 1.0; to: "bg"; }
+ min: 4 4;
+ fixed: 0 1;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bg_image";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1{ relative: 0.0 1.0; to_x: "bg"; to_y: "padding_top"; }
+ rel2{ relative: 1.0 0.0; to_x: "bg"; to_y: "padding_bottom"; }
+ image.normal: "00_button_off.png";
+ }
+ description { state: "off_pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_off_press.png";
+ }
+ description { state: "on_pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_on_press.png";
+ }
+ description { state: "on" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_on.png";
+ }
+ }
+ part { name: "drag_container";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1{ relative: 1.0 0.0; to_x: "padding_left"; to_y: "bg_image"; }
+ rel2{ relative: 0.0 1.0; to_x: "padding_right"; to_y: "bg_image"; }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "bg_image";
+ rel2.to: "bg_image";
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "clipper_inner";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "bg_image";
+ rel2.to: "bg_image";
+ rel1.offset: 2 0;
+ rel2.offset: -2 0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "button";
+ type: IMAGE;
+ scale: 1;
+ clip_to: "clipper";
+ mouse_events: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "drag_container";
+ }
+ description { state: "default" 0.0;
+ min: 56 32;
+ max: 56 32;
+ image.normal: "00_button_onoff_handle.png";
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_onoff_handle_press.png";
+ }
+ }
+ part { name: "button_events";
+ type: RECT;
+ dragable {
+ events: "button";
+ }
+ description { state: "default" 0.0;
+ rel1.to_x: "bg";
+ rel2.to_x: "bg";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "onrect";
+ type: RECT;
+ scale: 1;
+ clip_to: "clipper";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1{ relative: -1.0 0.0; to: "button"; }
+ rel2{ relative: 0.0 1.0; to: "button"; }
+ align: 1.0 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "offrect";
+ type: RECT;
+ scale: 1;
+ clip_to: "clipper";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1{ relative: 1.0 0.0; to: "button"; }
+ rel2{ relative: 2.0 1.0; to: "button"; }
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.offtext";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper_inner";
+ description { state: "default" 0.0;
+ rel1.to: "offrect";
+ rel2.to: "offrect";
+ color: 255 255 255 255;
+ text {
+ font: "Tizen:style=Medium";
+ size: 20;
+ min: 0 1;
+ align: 0.5 0.5;
+ text: "OFF";
+ text_class: "tizen";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ }
+ }
+ part { name: "elm.ontext";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper_inner";
+ description { state: "default" 0.0;
+ rel1.to: "onrect";
+ rel2.to: "onrect";
+ color: 255 255 255 255;
+ text {
+ font: "Tizen:style=Medium";
+ size: 20;
+ min: 0 1;
+ align: 0.5 0.5;
+ text: "ON";
+ text_class: "tizen";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ color3: 0 0 0 24;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1.offset: 4 4;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 3 -5;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ rel2.offset: 4 -5;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ fixed: 1 1;
+ visible: 1;
+ aspect: 1.0 1.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to_x: "elm.swallow.content";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 4;
+ rel2.to_x: "bg";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -5 -5;
+ color: 0 0 0 255;
+ text {
+ font: "Tizen:style=Medium";
+ size: 10;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "tizen";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ visible: 1;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "drag_end";
+ signal: "mouse,up,1";
+ source: "button";
+ script {
+ new Float:dx, Float:dy;
+ new st[30];
+ new Float:vl;
+ get_drag(PART:"button", dx, dy);
+ set_int(toggle_is_down, 0);
+ get_state(PART:"bg_image", st, 30, vl)
+ if(get_int(toggle_move_state) == 0) //no movement
+ {
+ if(dx > 0.5)
+ {
+ set_drag(PART:"button", 0.0, 0.0);
+ emit("elm,action,toggle,off", "");
+ set_state(PART:"bg_image", "default", 0.0);
+ }
+ else
+ {
+ set_drag(PART:"button", 1.0, 0.0);
+ emit("elm,action,toggle,on", "");
+ set_state(PART:"bg_image", "on", 0.0);
+ }
+ }
+ else
+ {
+ if (dx > 0.5)
+ {
+ set_drag(PART:"button", 1.0, 0.0);
+ if (!strcmp(st, "off_pressed")) {
+ emit("elm,action,toggle,on", "");
+ }
+ set_state(PART:"bg_image", "on", 0.0);
+ }
+ else
+ {
+ set_drag(PART:"button", 0.0, 0.0);
+ if (!strcmp(st, "on_pressed")) {
+ emit("elm,action,toggle,off", "");
+ }
+ set_state(PART:"bg_image", "default", 0.0);
+ }
+ }
+ set_state(PART:"button", "default", 0.0);
+ set_int(toggle_move_state,0);
+ }
+ }
+ program { name: "toggle_on";
+ signal: "elm,state,toggle,on";
+ source: "elm";
+ script {
+ set_drag(PART:"button", 100.0, 0.0);
+ set_state(PART:"bg_image", "on", 0.0);
+ }
+ }
+ program { name: "toggle_off";
+ signal: "elm,state,toggle,off";
+ source: "elm";
+ script {
+ set_drag(PART:"button", 0.0, 0.0);
+ set_state(PART:"bg_image", "default", 0.0);
+ }
+ }
+ program { name: "mouse_press,";
+ signal: "mouse,down,1";
+ source: "button";
+ script {
+ new st[30];
+ new Float:vl;
+ set_int(toggle_is_down, 1);
+ get_state(PART:"bg_image", st, 30, vl)
+ if (!strcmp(st, "default")) {
+ set_state(PART:"bg_image", "off_pressed", 0.0);
+ }
+ else {
+ set_state(PART:"bg_image", "on_pressed", 0.0);
+ }
+ set_state(PART:"button", "pressed", 0.0);
+ }
+ }
+ program { name: "mouse_move,";
+ signal: "mouse,move";
+ source: "button";
+ script {
+ if(get_int(toggle_is_down) == 0)
+ {
+ set_int(toggle_move_state,0);
+ }
+ else
+ {
+ set_int(toggle_move_state,1);
+ }
+ }
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.ontext";
+ target: "elm.offtext";
+ target: "disabler";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "disabled", 0.0);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.ontext";
+ target: "elm.offtext";
+ target: "disabler";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ }
+ }
+ }
+ }
--- /dev/null
+/*
+ * efl-theme-tizen
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ */
+
+
+
+#define ITEM_STATE_ENABLED 0
+#define ITEM_STATE_DISABLED 1
+
+#define TOOLBAR_TEXT_STYLE(_font_size) \
+ style { name: "toolbar_text_style_"_font_size; \
+ base: "font=Tizen:style=Medium style=far_shadow,bottom shadow_color=#ffffffff font_size="_font_size" align=center color="TABBAR_ITEM_TEXTBLOCK_COLOR_INC" wrap=word ellipsis=1 text_class=tizen linegap=-10"; \
+ tag: "br" "\n"; \
+ tag: "ps" "ps"; \
+ tag: "hilight" "+ font=Tizen:style=Bold"; \
+ tag: "b" "+ font=Tizen:style=Bold"; \
+ tag: "tab" "\t"; \
+ }
+
+#define TOOLBAR_SELECTED_TEXT_STYLE(_font_size) \
+ style { name: "toolbar_selected_text_style_"_font_size; \
+ base: "font=Tizen:style=Medium style=far_shadow,bottom shadow_color=#ffffffff font_size="_font_size" align=center color="TABBAR_ITEM_SELECTED_TEXTBLOCK_COLOR_INC" wrap=word ellipsis=1 text_class=tizen linegap=-10"; \
+ tag: "br" "\n"; \
+ tag: "ps" "ps"; \
+ tag: "hilight" "+ font=Tizen:style=Bold"; \
+ tag: "b" "+ font=Tizen:style=Bold"; \
+ tag: "tab" "\t"; \
+ }
+
+styles{
+ TOOLBAR_TEXT_STYLE(24)
+ TOOLBAR_TEXT_STYLE(28)
+ TOOLBAR_TEXT_STYLE(30)
+ TOOLBAR_SELECTED_TEXT_STYLE(24)
+ TOOLBAR_SELECTED_TEXT_STYLE(28)
+ TOOLBAR_SELECTED_TEXT_STYLE(30)
+}
+
+group { name: "elm/toolbar/base/default";
+ images {
+ image: "00_winset_control_toolbar_bg.png" COMP;
+ }
+ parts {
+ part { name: "base";
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ image.normal: "00_winset_control_toolbar_bg.png";
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "base";
+ offset: 2 2;
+ }
+ rel2 {
+ to: "base";
+ offset: -3 -3;
+ }
+ }
+ }
+ part { name: "elm.swallow.content";
+ clip_to: "clipper";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1.to: "clipper";
+ rel2.to: "clipper";
+ }
+ }
+ part { name: "event";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+}
+
+group { name: "elm/toolbar/item/default";
+ images {
+ image: "00_winset_toolbar_press.png" COMP;
+ }
+
+ data.item: "transition_animation_on" "1";
+ script {
+ public item_state = ITEM_STATE_ENABLED;
+ public items_number = 0;
+ }
+ parts {
+ part { name: "bg";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: TOOLBAR_ITEM_BG_REL1_OFFSET_INC;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: TOOLBAR_ITEM_BG_REL2_OFFSET_INC;
+ }
+ image {
+ normal: "00_winset_toolbar_press.png";
+ border: TOOLBAR_ITEM_BG_SELECTED_BORDER_INC;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: 10 8;
+ fixed: 1 1;
+ visible: 1;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: 10 5;
+ fixed: 1 1;
+ visible: 1;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "icon_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "padding_right_bottom";
+ to_y: "padding_left_top";
+ }
+ align: 0.5 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "visible" 0.0;
+ min: TABBAR_ITEM_ICON_SIZE_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "padding_right_bottom";
+ to_y: "padding_left_top";
+ }
+ align: 0.5 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_after_icon";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 0.0 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "icon_rect";
+ }
+ rel2.to: "icon_rect";
+ fixed: 0 1;
+ min: 0 0;
+ color: 0 0 0 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_before_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 0.5 1.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "elm.text";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "padding_right_bottom";
+ to_y: "elm.text";
+ }
+ fixed: 0 1;
+ min: 0 0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "elm.icon.clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.5 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "padding_right_bottom";
+ to_y: "padding_left_top";
+ }
+ fixed: 0 1;
+ }
+ description { state: "visible" 0.0;
+ fixed: 0 1;
+ min: TABBAR_ITEM_ICON_SIZE_INC;
+ max: TABBAR_ITEM_ICON_SIZE_INC;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "padding_right_bottom";
+ to_y: "padding_before_text";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ }
+ description { state: "icononly" 0.0;
+ min: TABBAR_ITEM_ICON_SIZE_INC;
+ max: TABBAR_ITEM_ICON_SIZE_INC;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ }
+ }
+ part { name: "elm.swallow.icon_new";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "elm.icon_new.clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.5 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "padding_right_bottom";
+ to_y: "padding_left_top";
+ }
+ fixed: 0 1;
+ }
+ description { state: "visible" 0.0;
+ fixed: 0 1;
+ min: TABBAR_ITEM_ICON_SIZE_INC;
+ max: TABBAR_ITEM_ICON_SIZE_INC;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "padding_right_bottom";
+ to_y: "padding_before_text";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ }
+ description { state: "icononly" 0.0;
+ min: TABBAR_ITEM_ICON_SIZE_INC;
+ max: TABBAR_ITEM_ICON_SIZE_INC;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.text.clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_left_top";
+ to_y: "padding_after_icon";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC;
+ fixed: 1 1;
+ text {
+ style: "toolbar_text_style_26";
+ min: 0 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "visible_30" 0.0;
+ inherit: "default" 0.0;
+ text.style: "toolbar_text_style_30";
+ visible: 1;
+ }
+ description { state: "visible_32" 0.0;
+ inherit: "default" 0.0;
+ text.style: "toolbar_text_style_32";
+ visible: 1;
+ }
+ description { state: "visible_36" 0.0;
+ inherit: "default" 0.0;
+ text.style: "toolbar_text_style_36";
+ visible: 1;
+ }
+ }
+ part { name: "elm.text_new";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.text_new.clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_left_top";
+ to_y: "padding_after_icon";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC;
+ fixed: 1 1;
+ text {
+ style: "toolbar_text_style_26";
+ min: 0 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "visible_30" 0.0;
+ inherit: "default" 0.0;
+ text.style: "toolbar_text_style_30";
+ visible: 1;
+ }
+ description { state: "visible_32" 0.0;
+ inherit: "default" 0.0;
+ text.style: "toolbar_text_style_32";
+ visible: 1;
+ }
+ description { state: "visible_36" 0.0;
+ inherit: "default" 0.0;
+ text.style: "toolbar_text_style_36";
+ visible: 1;
+ }
+ }
+ part { name: "elm.text.clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "animation" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 153;
+ }
+ }
+ part { name: "elm.text_new.clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "animation" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 153;
+ }
+ }
+ part { name: "elm.icon.clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "animation" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 153;
+ }
+ }
+ part { name: "elm.icon_new.clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "animation" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 153;
+ }
+ }
+ part { name: "event";
+ type: RECT;
+ mouse_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "event2";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program { name: "pressed";
+ signal: "mouse,down,1";
+ source: "event";
+ script {
+ if (get_int(item_state) != ITEM_STATE_DISABLED)
+ set_state(PART:"bg", "selected", 0.0);
+ }
+ transition: LINEAR 0.2;
+ }
+ program { name: "unpressed";
+ signal: "mouse,up,1";
+ source: "event2";
+ action: STATE_SET "default" 0.0;
+ target: "bg";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go";
+ signal: "mouse,clicked,1";
+ source: "event";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ program { name: "mouse,in";
+ signal: "mouse,in";
+ source: "event";
+ action: SIGNAL_EMIT "elm,mouse,in" "elm";
+ }
+ program { name: "mouse,out";
+ signal: "mouse,out";
+ source: "event";
+ action: SIGNAL_EMIT "elm,mouse,out" "elm";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ script {
+ set_int(item_state, ITEM_STATE_DISABLED);
+ set_state(PART:"bg", "disabled", 0.0);
+ set_state(PART:"elm.text.clipper", "disabled", 0.0);
+ set_state(PART:"elm.icon.clipper", "disabled", 0.0);
+ run_program(PROGRAM:"label_set,animation,done");
+ run_program(PROGRAM:"icon_set,animation,done");
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ script {
+ set_int(item_state, ITEM_STATE_ENABLED);
+ set_state(PART:"bg", "default", 0.0);
+ set_state(PART:"elm.text.clipper", "default", 0.0);
+ set_state(PART:"elm.icon.clipper", "default", 0.0);
+ run_program(PROGRAM:"label_set,animation,done");
+ run_program(PROGRAM:"icon_set,animation,done");
+ }
+ }
+ program { name: "label_set,animation,forward";
+ signal: "elm,state,label_set,forward";
+ source: "elm";
+ after: "label_set,sync";
+ }
+ program { name: "label_set,animation,backward";
+ signal: "elm,state,label_set,backward";
+ source: "elm";
+ after: "label_set,sync";
+ }
+ program { name: "label_set,sync";
+ signal: "elm,state,label_set";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ set_state(PART:"elm.text_new", st, vl);
+ }
+ after: "label_set,animation";
+ }
+ program { name: "label_set,animation";
+ action: STATE_SET "animation" 0.0;
+ target: "elm.text.clipper";
+ target: "elm.text_new.clipper";
+ transition: LINEAR 0.2;
+ after: "label_set,animation,done";
+ }
+ program { name: "label_set,animation,done";
+ action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
+ }
+ program { name: "label,reset";
+ signal: "elm,state,label,reset";
+ source: "elm";
+ script {
+ set_state(PART:"elm.text_new.clipper", "default", 0.0);
+ if (get_int(item_state) != ITEM_STATE_DISABLED)
+ set_state(PART:"elm.text.clipper", "default", 0.0);
+ else
+ set_state(PART:"elm.text.clipper", "disabled", 0.0);
+ }
+ }
+ program { name: "icon_set,animation,forward";
+ signal: "elm,state,icon_set,forward";
+ source: "elm";
+ after: "icon_set,animation";
+ }
+ program { name: "icon_set,animation,backward";
+ signal: "elm,state,icon_set,backward";
+ source: "elm";
+ after: "icon_set,animation";
+ }
+ program { name: "icon_set,animation";
+ signal: "elm,state,icon_set";
+ source: "elm";
+ action: STATE_SET "animation" 0.0;
+ target: "elm.icon.clipper";
+ target: "elm.icon_new.clipper";
+ transition: LINEAR 0.2;
+ after: "icon_set,animation,done";
+ }
+ program { name: "icon_set,animation,done";
+ action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
+ }
+ program { name: "icon,reset";
+ signal: "elm,state,icon,reset";
+ source: "elm";
+ script {
+ set_state(PART:"elm.icon_new.clipper", "default", 0.0);
+ if (get_int(item_state) != ITEM_STATE_DISABLED)
+ set_state(PART:"elm.icon.clipper", "default", 0.0);
+ else
+ set_state(PART:"elm.icon.clipper", "disabled", 0.0);
+ }
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.icon", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"icon_rect", "visible", 0.0);
+ set_state(PART:"padding_after_icon", "visible", 0.0);
+ }
+ if (strcmp(st, "default"))
+ {
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ else
+ {
+ if (get_int(items_number) <= 3)
+ set_state(PART:"elm.text", "visible_32", 0.0);
+ else if (get_int(items_number) >= 4)
+ set_state(PART:"elm.text", "visible_30", 0.0);
+ }
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.icon", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"icon_rect", "icononly", 0.0);
+ set_state(PART:"padding_after_icon", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strncmp(st, "visible", 7))
+ {
+ set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"icon_rect", "visible", 0.0);
+ set_state(PART:"padding_after_icon", "visible", 0.0);
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"icon_rect", "icononly", 0.0);
+ set_state(PART:"padding_after_icon", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strncmp(st, "visible", 7))
+ {
+ if (get_int(items_number) <= 3)
+ set_state(PART:"elm.text", "visible_32", 0.0);
+ else if (get_int(items_number) >= 4)
+ set_state(PART:"elm.text", "visible_30", 0.0);
+ }
+ set_state(PART:"elm.swallow.icon", "default", 0.0);
+ set_state(PART:"icon_rect", "default", 0.0);
+ set_state(PART:"padding_after_icon", "default", 0.0);
+ }
+ }
+ program { name: "text_only_item_1";
+ signal: "elm,number,item,1";
+ source: "elm";
+ script {
+ set_int(items_number, 1);
+ }
+ after: "text_only_item_under_3";
+ }
+ program { name: "text_only_item_2";
+ signal: "elm,number,item,2";
+ source: "elm";
+ script {
+ set_int(items_number, 2);
+ }
+ after: "text_only_item_under_3";
+ }
+ program { name: "text_only_item_3";
+ signal: "elm,number,item,3";
+ source: "elm";
+ script {
+ set_int(items_number, 3);
+ }
+ after: "text_only_item_under_3";
+ }
+ program { name: "text_only_item_under_3";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.icon", st, 30, vl);
+ if (strcmp(st, "visible"))
+ {
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strncmp(st, "visible", 7))
+ {
+ set_state(PART:"elm.text", "visible_32", 0.0);
+ }
+ }
+ }
+ }
+ program { name: "text_only_item_4";
+ signal: "elm,number,item,4";
+ source: "elm";
+ script {
+ set_int(items_number, 4);
+ }
+ after: "text_only_item_upper_4";
+ }
+ program { name: "text_only_item_5";
+ signal: "elm,number,item,5";
+ source: "elm";
+ script {
+ set_int(items_number, 5);
+ }
+ after: "text_only_item_upper_4";
+ }
+ program { name: "text_only_item_6";
+ signal: "elm,number,item,6";
+ source: "elm";
+ script {
+ set_int(items_number, 6);
+ }
+ after: "text_only_item_upper_4";
+ }
+ program { name: "text_only_item_7";
+ signal: "elm,number,item,7";
+ source: "elm";
+ script {
+ set_int(items_number, 7);
+ }
+ after: "text_only_item_upper_4";
+ }
+ program { name: "text_only_item_8";
+ signal: "elm,number,item,8";
+ source: "elm";
+ script {
+ set_int(items_number, 8);
+ }
+ after: "text_only_item_upper_4";
+ }
+ program { name: "text_only_item_9";
+ signal: "elm,number,item,9";
+ source: "elm";
+ script {
+ set_int(items_number, 9);
+ }
+ after: "text_only_item_upper_4";
+ }
+ program { name: "text_only_item_10";
+ signal: "elm,number,item,10";
+ source: "elm";
+ script {
+ set_int(items_number, 10);
+ }
+ after: "text_only_item_upper_4";
+ }
+ program { name: "text_only_item_upper_4";
+ signal: "elm,number,item,4";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.icon", st, 30, vl);
+ if (strcmp(st, "visible"))
+ {
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strncmp(st, "visible", 7))
+ {
+ set_state(PART:"elm.text", "visible_30", 0.0);
+ }
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/toolbar/item/item_horizontal";
+ inherit: "elm/toolbar/item/default";
+ parts {
+ part { name: "icon_rect";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ }
+ description { state: "visible" 0.0;
+ fixed: 1 0;
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "padding_after_icon";
+ description { state: "default" 0.0; //when only icon or no icon is there
+ rel1.relative: 1.0 0.0;
+ fixed: 1 1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: 6 0;
+ }
+ }
+ part { name: "padding_before_text";
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ to_x: "elm.text";
+ to_y: "padding_right_bottom";
+ }
+ fixed: 1 0;
+ min: 6 0;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ fixed: 1 0;
+ }
+ description { state: "visible" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "padding_before_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "padding_before_text";
+ to_y: "padding_right_bottom";
+ }
+ aspect_preference: VERTICAL;
+ }
+ description { state: "icononly" 0.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "elm.swallow.icon_new";
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ fixed: 1 0;
+ }
+ description { state: "visible" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "padding_before_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "padding_before_text";
+ to_y: "padding_right_bottom";
+ }
+ aspect_preference: VERTICAL;
+ }
+ description { state: "icononly" 0.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ text {
+ min: 1 0;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "visible_30" 0.0;
+ inherit: "default" 0.0;
+ text.style: "toolbar_text_style_30";
+ visible: 1;
+ }
+ description { state: "visible_32" 0.0;
+ inherit: "default" 0.0;
+ text.style: "toolbar_text_style_32";
+ visible: 1;
+ }
+ description { state: "visible_36" 0.0;
+ inherit: "default" 0.0;
+ text.style: "toolbar_text_style_36";
+ visible: 1;
+ }
+ }
+ part { name: "elm.text_new";
+ type: TEXTBLOCK;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ text {
+ min: 1 0;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "visible_30" 0.0;
+ inherit: "default" 0.0;
+ text.style: "toolbar_text_style_30";
+ visible: 1;
+ }
+ description { state: "visible_32" 0.0;
+ inherit: "default" 0.0;
+ text.style: "toolbar_text_style_32";
+ visible: 1;
+ }
+ description { state: "visible_36" 0.0;
+ inherit: "default" 0.0;
+ text.style: "toolbar_text_style_36";
+ visible: 1;
+ }
+ }
+ }
+}
+
+group { name: "elm/toolbar/separator/default";
+ images {
+ image: "00_winset_divider_line.png" COMP;
+ }
+ parts {
+ part { name: "base";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 4 48;
+ max: 4 9999;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.5;
+ rel2.relative: 0.0 0.5;
+ image {
+ normal: "00_winset_divider_line.png";
+ border: 0 0 2 2;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/toolbar/object/default";
+ parts {
+ part { name: "elm.swallow.object"; // object group
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/toolbar/base/tabbar";
+ parts {
+ part { name: "base";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 248 246 239 255;
+ }
+ }
+ part { name: "left_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 16 0;
+ fixed: 1 1;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1.to: "base";
+ rel2.to: "base";
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ part { name: "right_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 16 0;
+ fixed: 1 1;
+ visible: 0;
+ align: 1.0 0.5;
+ rel1.to: "base";
+ rel2.to: "base";
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "left_padding";
+ rel1.relative: 1.0 0.0;
+ rel2.to: "right_padding";
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ clip_to: "clipper";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "clipper";
+ rel2.to: "clipper";
+ }
+ }
+ part { name: "event";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+}
+
+group { name: "elm/toolbar/more/tabbar";
+ images {
+ image: "00_winset_control_tab_h_line_h.png" COMP;
+ }
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ color: 248 246 239 255;
+ }
+ description { state: "open" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ description { state: "open2" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 2.0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ to: "base";
+ }
+ rel2 {
+ to: "base";
+ }
+ }
+ description { state: "open" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ description { state: "open2" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 0.5;
+ }
+ }
+ part { name: "clipper2";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.5;
+ to: "base";
+ }
+ rel2 {
+ to: "base";
+ }
+ }
+ description { state: "open" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ }
+ description { state: "open2" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.5;
+ }
+ }
+ part { name: "elm.swallow.content";
+ clip_to: "clipper";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "clipper";
+ rel2.to: "clipper";
+ }
+ }
+ part { name: "elm.swallow.content2";
+ clip_to: "clipper2";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "clipper2";
+ rel2.to: "clipper2";
+ }
+ }
+ part { name: "separator";
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ min: 2 3;
+ max: 9999 3;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ to: "clipper";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -1 3;
+ to: "clipper";
+ }
+ image {
+ normal: "00_winset_control_tab_h_line_h.png";
+ border: 1 1 1 1;
+ }
+ fill {
+ smooth: 0;
+ }
+ }
+ }
+ part { name: "separator2";
+ clip_to: "clipper2";
+ description { state: "default" 0.0;
+ min: 2 3;
+ max: 9999 3;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ to: "clipper2";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -1 3;
+ to: "clipper2";
+ }
+ image {
+ normal: "00_winset_control_tab_h_line_h.png";
+ border: 1 1 1 1;
+ }
+ fill {
+ smooth: 0;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "open";
+ signal: "elm,state,open";
+ source: "elm";
+ action: STATE_SET "open" 0.0;
+ target: "base";
+ target: "clipper";
+ target: "clipper2";
+ transition: LINEAR 0.2;
+ }
+ program { name: "open2";
+ signal: "elm,state,open2";
+ source: "elm";
+ action: STATE_SET "open2" 0.0;
+ target: "base";
+ target: "clipper";
+ target: "clipper2";
+ transition: LINEAR 0.2;
+ }
+ program { name: "close";
+ signal: "elm,state,close";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: LINEAR 0.2;
+ }
+ }
+}
+
+group { name: "elm/toolbar/item/tabbar";
+ images {
+ image: "00_tab_press.png" COMP;
+ image: "00_divider_line.png" COMP;
+ image: "00_badge_bg.png" COMP;
+ }
+
+ data.item: "transition_animation_on" "1";
+ script {
+ public item_state = ITEM_STATE_ENABLED;
+ public items_number = 0;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 172 0;
+ color: 248 246 239 255;
+ }
+ description { state: "icon_text" 0.0;
+ inherit: "default" 0.0;
+ min: 229 0;
+ }
+ description { state: "moving" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "bg_cover";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ image.normal: "00_tab_press.png";
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "moving" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: 6 0;
+ fixed: 1 1;
+ visible: 0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: 6 0;
+ fixed: 1 1;
+ visible: 0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "icon_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ align: 0.0 0.5;
+ color: 0 0 0 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_after_icon";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 0.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "icon_rect";
+ }
+ rel2.to: "icon_rect";
+ fixed: 1 0;
+ min: 0 0;
+ color: 0 0 0 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: 1 0;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_before_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.text";
+ to_y: "padding_right_bottom";
+ }
+ fixed: 1 0;
+ min: 8 0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "elm.icon.clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: TABBAR_ITEM_ICON_SIZE_INC;
+ max: TABBAR_ITEM_ICON_SIZE_INC;
+ rel1.to: "padding_left_top";
+ rel2.to: "padding_right_bottom";
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ }
+ description { state: "visible" 0.0;
+ fixed: 1 0;
+ min: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
+ max: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "padding_before_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "padding_before_text";
+ to_y: "padding_right_bottom";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.icon_new";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "elm.icon_new.clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: TABBAR_ITEM_ICON_SIZE_INC;
+ max: TABBAR_ITEM_ICON_SIZE_INC;
+ rel1.to: "padding_left_top";
+ rel2.to: "padding_right_bottom";
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ }
+ description { state: "visible" 0.0;
+ fixed: 0 1;
+ min: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
+ max: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "padding_before_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "padding_before_text";
+ to_y: "padding_right_bottom";
+ }
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.icon_new.proxy";
+ type: PROXY;
+ scale: 1;
+ clip_to: "elm.icon_new.proxy.clipper";
+ description { state: "default" 0.0;
+ source: "elm.swallow.icon_new";
+ rel1.to: "elm.swallow.icon_new";
+ rel1.offset: 0 -3;
+ rel2.to: "elm.swallow.icon_new";
+ rel2.offset: -1 -4;
+ }
+ }
+ part { name: "elm.swallow.icon.proxy";
+ type: PROXY;
+ scale: 1;
+ clip_to: "elm.icon.proxy.clipper";
+ description { state: "default" 0.0;
+ source: "elm.swallow.icon";
+ rel1.to: "elm.swallow.icon";
+ rel1.offset: 0 -3;
+ rel2.to: "elm.swallow.icon";
+ rel2.offset: -1 -4;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.text.clipper";
+ description { state: "default" 0.0;
+ visible: 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ fixed: 1 1;
+ max: 0 78;
+ text {
+ style: "toolbar_text_style_30";
+ min: 0 0;
+ max: 1 0;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "visible" 0.24;
+ inherit: "visible" 0.0;
+ max: 0 62;
+ text.style: "toolbar_text_style_24";
+ }
+ description { state: "visible" 0.28;
+ inherit: "visible" 0.0;
+ max: 0 72;
+ text.style: "toolbar_text_style_28";
+ }
+ description { state: "visible" 0.30;
+ inherit: "visible" 0.0;
+ max: 0 78;
+ text.style: "toolbar_text_style_30";
+ }
+ description { state: "selected" 0.0;
+ inherit: "visible" 0.0;
+ text.style: "toolbar_selected_text_style_30";
+ }
+ description { state: "selected" 0.24;
+ inherit: "visible" 0.24;
+ text.style: "toolbar_selected_text_style_24";
+ }
+ description { state: "selected" 0.28;
+ inherit: "visible" 0.28;
+ text.style: "toolbar_selected_text_style_28";
+ }
+ description { state: "selected" 0.30;
+ inherit: "visible" 0.30;
+ text.style: "toolbar_selected_text_style_30";
+ }
+ }
+ part { name: "elm.text_new";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.text_new.clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ min: 0 36;
+ max: 9999 36;
+ fixed: 1 1;
+ text {
+ style: "toolbar_text_style_30";
+ min: 0 0;
+ max: 0 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "visible" 0.24;
+ inherit: "visible" 0.0;
+ max: 0 62;
+ text.style: "toolbar_text_style_24";
+ }
+ description { state: "visible" 0.28;
+ inherit: "visible" 0.0;
+ max: 0 72;
+ text.style: "toolbar_text_style_28";
+ }
+ description { state: "visible" 0.30;
+ inherit: "visible" 0.0;
+ max: 0 78;
+ text.style: "toolbar_text_style_30";
+ }
+ description { state: "selected" 0.0;
+ inherit: "visible" 0.0;
+ text.style: "toolbar_selected_text_style_30";
+ }
+ description { state: "selected" 0.24;
+ inherit: "visible" 0.24;
+ text.style: "toolbar_selected_text_style_24";
+ }
+ description { state: "selected" 0.28;
+ inherit: "visible" 0.28;
+ text.style: "toolbar_selected_text_style_28";
+ }
+ description { state: "selected" 0.30;
+ inherit: "visible" 0.30;
+ text.style: "toolbar_selected_text_style_30";
+ }
+ }
+ part { name: "padding.selected_line";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 0.5;
+ offset: 16 0;
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ offset: -17 -1;
+ }
+ min: 0 64;
+ fixed: 0 1;
+ visible: 0;
+ }
+ }
+ part { name: "selected_line";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 {
+ to: "padding.selected_line";
+ relative: 0.0 1.0;
+ }
+ rel2 {
+ to: "padding.selected_line";
+ relative: 1.0 1.0;
+ }
+ align: 0.5 0.0;
+ color: 59 115 182 255;
+ min: 0 3;
+ fixed: 0 1;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "padding.badge";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ }
+ min: 10 0;
+ fixed: 1 0;
+ visible: 0;
+ }
+ description { state: "default" 0.10;
+ inherit: "default" 0.0;
+ min: 10 0;
+ }
+ description { state: "default" 0.06;
+ inherit: "default" 0.0;
+ min: 6 0;
+ }
+ description { state: "default" 0.04;
+ inherit: "default" 0.0;
+ min: 4 0;
+ }
+ }
+ part { name: "elm.image.badge";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 54 48;
+ fixed: 1 1;
+ rel1 {
+ to: "left.padding.text";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "right.padding.text";
+ relative: 1.0 1.0;
+ }
+ image {
+ normal: "00_badge_bg.png";
+ border: 29 24 0 0;
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "left.padding.text";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: 13 47;
+ rel1 {
+ to: "elm.text.badge";
+ relative: 0.0 1.0;
+ }
+ rel2 {
+ to: "elm.text.badge";
+ relative: 0.0 1.0;
+ }
+ align: 1.0 1.0;
+ }
+ }
+ part { name: "right.padding.text";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: 8 48;
+ rel1 {
+ to: "padding.badge";
+ relative: 0.0 1.0;
+ }
+ rel2 {
+ to: "padding.badge";
+ relative: 0.0 1.0;
+ }
+ align: 1.0 1.0;
+ }
+ }
+ part { name: "elm.text.badge";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to: "right.padding.text";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "right.padding.text";
+ relative: 0.0 1.0;
+ }
+ min: 25 0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ color: 10 100 208 255;
+ text {
+ font: "Tizen:style=Bold";
+ size: 26;
+ min: 1 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.text.clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "animation" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 153;
+ }
+ }
+ part { name: "elm.text_new.clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "animation" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 153;
+ }
+ }
+ part { name: "elm.icon.clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "animation" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "selected" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 153;
+ }
+ }
+ part { name: "elm.icon_new.clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "animation" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "selected" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 153;
+ }
+ }
+ part { name: "elm.icon.proxy.clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 153 153 153 255;
+ }
+ description { state: "animation" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "selected" 0.0;
+ color: 61 114 180 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 153;
+ }
+ }
+ part { name: "elm.icon_new.proxy.clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "animation" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "selected" 0.0;
+ color: 61 114 180 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 153;
+ }
+ }
+ part { name: "divider";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 4 26;
+ max: 4 9999;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.5;
+ to_y: "elm.swallow.icon";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_y: "elm.swallow.icon";
+ }
+ image {
+ normal: "00_divider_line.png";
+ border: 0 0 2 2;
+ }
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "event";
+ type: RECT;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.icon.clipper";
+ target: "elm.icon.proxy.clipper";
+ target: "selected_line";
+ after: "selected_text";
+ }
+ program { name: "selected_text";
+ script{
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ set_state(PART:"elm.text", "selected", vl);
+ }
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.icon.clipper";
+ target: "elm.icon.proxy.clipper";
+ target: "selected_line";
+ after: "unselected_text";
+ }
+ program { name: "unselected_text";
+ script{
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ set_state(PART:"elm.text", "visible", vl);
+ }
+ }
+ program { name: "moving";
+ signal: "elm,state,moving";
+ source: "elm";
+ action: STATE_SET "moving" 0.0;
+ target: "bg";
+ target: "bg_cover";
+ }
+ program { name: "pressed";
+ signal: "mouse,down,1";
+ source: "event";
+ action: STATE_SET "pressed" 0.0;
+ target: "bg_cover";
+ }
+ program { name: "unpressed";
+ signal: "mouse,up,1";
+ source: "event";
+ action: STATE_SET "default" 0.0;
+ target: "bg_cover";
+ }
+ program { name: "go";
+ signal: "mouse,clicked,1";
+ source: "event";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ program { name: "mouse,in";
+ signal: "mouse,in";
+ source: "event";
+ action: SIGNAL_EMIT "elm,mouse,in" "elm";
+ }
+ program { name: "mouse,out";
+ signal: "mouse,out";
+ source: "event";
+ action: SIGNAL_EMIT "elm,mouse,out" "elm";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ script {
+ set_int(item_state, ITEM_STATE_DISABLED);
+ set_state(PART:"bg", "disabled", 0.0);
+ set_state(PART:"elm.text.clipper", "disabled", 0.0);
+ set_state(PART:"elm.icon.clipper", "disabled", 0.0);
+ set_state(PART:"elm.icon.proxy.clipper", "disabled", 0.0);
+ run_program(PROGRAM:"label_set,animation,done");
+ run_program(PROGRAM:"icon_set,animation,done");
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ script {
+ set_int(item_state, ITEM_STATE_ENABLED);
+ set_state(PART:"bg", "default", 0.0);
+ set_state(PART:"elm.text.clipper", "default", 0.0);
+ set_state(PART:"elm.icon.clipper", "default", 0.0);
+ set_state(PART:"elm.icon.proxy.clipper", "default", 0.0);
+ run_program(PROGRAM:"label_set,animation,done");
+ run_program(PROGRAM:"icon_set,animation,done");
+ }
+ }
+ program { name: "label_set,animation,forward";
+ signal: "elm,state,label_set,forward";
+ source: "elm";
+ after: "label_set,sync";
+ }
+ program { name: "label_set,animation,backward";
+ signal: "elm,state,label_set,backward";
+ source: "elm";
+ after: "label_set,sync";
+ }
+ program { name: "label_set,sync";
+ signal: "elm,state,label_set";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ set_state(PART:"elm.text_new", st, vl);
+ }
+ after: "label_set,animation";
+ }
+ program { name: "label_set,animation";
+ action: STATE_SET "animation" 0.0;
+ target: "elm.text.clipper";
+ target: "elm.text_new.clipper";
+ transition: LINEAR 0.2;
+ after: "label_set,animation,done";
+ }
+ program { name: "label_set,animation,done";
+ action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
+ }
+ program { name: "label,reset";
+ signal: "elm,state,label,reset";
+ source: "elm";
+ script {
+ set_state(PART:"elm.text_new.clipper", "default", 0.0);
+ if (get_int(item_state) != ITEM_STATE_DISABLED)
+ set_state(PART:"elm.text.clipper", "default", 0.0);
+ else
+ set_state(PART:"elm.text.clipper", "disabled", 0.0);
+ }
+ }
+ program { name: "icon_set,animation,forward";
+ signal: "elm,state,icon_set,forward";
+ source: "elm";
+ after: "icon_set,animation";
+ }
+ program { name: "icon_set,animation,backward";
+ signal: "elm,state,icon_set,backward";
+ source: "elm";
+ after: "icon_set,animation";
+ }
+ program { name: "icon_set,animation";
+ signal: "elm,state,icon_set";
+ source: "elm";
+ action: STATE_SET "animation" 0.0;
+ target: "elm.icon.clipper";
+ target: "elm.icon_new.clipper";
+ target: "elm.icon.proxy.clipper";
+ target: "elm.icon_new.proxy.clipper";
+ transition: LINEAR 0.2;
+ after: "icon_set,animation,done";
+ }
+ program { name: "icon_set,animation,done";
+ action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
+ }
+ program { name: "icon,reset";
+ signal: "elm,state,icon,reset";
+ source: "elm";
+ script {
+ set_state(PART:"elm.icon_new.clipper", "default", 0.0);
+ if (get_int(item_state) != ITEM_STATE_DISABLED)
+ {
+ set_state(PART:"elm.icon.clipper", "default", 0.0);
+ set_state(PART:"elm.icon.proxy.clipper", "default", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.icon.clipper", "disabled", 0.0);
+ set_state(PART:"elm.icon.proxy.clipper", "disabled", 0.0);
+ }
+ }
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.icon", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"icon_rect", "visible", 0.0);
+ set_state(PART:"padding_after_icon", "visible", 0.0);
+ set_state(PART:"bg", "icon_text", 0.0);
+ }
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "default"))
+ {
+ if (get_int(items_number) <= 2)
+ set_state(PART:"elm.text", "visible", 0.30);
+ else if (get_int(items_number) == 3)
+ set_state(PART:"elm.text", "visible", 0.28);
+ else if (get_int(items_number) >= 4)
+ {
+ get_state(PART:"bg", st, 30, vl);
+ if (!strcmp(st, "icon_text"))
+ set_state(PART:"elm.text", "visible", 0.28);
+ else
+ set_state(PART:"elm.text", "visible", 0.24);
+ }
+ }
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.icon", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"icon_rect", "icononly", 0.0);
+ set_state(PART:"padding_after_icon", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strncmp(st, "visible", 7))
+ {
+ set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"icon_rect", "visible", 0.0);
+ set_state(PART:"padding_after_icon", "visible", 0.0);
+ set_state(PART:"bg", "icon_text", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"icon_rect", "icononly", 0.0);
+ set_state(PART:"padding_after_icon", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ script {
+ set_state(PART:"elm.swallow.icon", "default", 0.0);
+ set_state(PART:"icon_rect", "default", 0.0);
+ set_state(PART:"padding_after_icon", "default", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ }
+ program { name: "text_only_item_1";
+ signal: "elm,number,item,1";
+ source: "elm";
+ script {
+ set_int(items_number, 1);
+ }
+ after: "text_only_item_under_2";
+ }
+ program { name: "text_only_item_2";
+ signal: "elm,number,item,2";
+ source: "elm";
+ script {
+ set_int(items_number, 2);
+ }
+ after: "text_only_item_under_2";
+ }
+ program { name: "text_only_item_under_2";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strncmp(st, "visible", 7))
+ {
+ set_state(PART:"elm.text", st, 0.30);
+ }
+ set_state(PART:"padding.badge", "default", 0.10);
+ }
+ }
+ program { name: "text_only_item_3";
+ signal: "elm,number,item,3";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ set_int(items_number, 3);
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strncmp(st, "visible", 7))
+ {
+ set_state(PART:"elm.text", st, 0.28);
+ }
+ set_state(PART:"padding.badge", "default", 0.06);
+ }
+ }
+ program { name: "text_only_item_4";
+ signal: "elm,number,item,4";
+ source: "elm";
+ script {
+ set_int(items_number, 4);
+ }
+ after: "text_only_item_upper_4";
+ }
+ program { name: "text_only_item_5";
+ signal: "elm,number,item,5";
+ source: "elm";
+ script {
+ set_int(items_number, 5);
+ }
+ after: "text_only_item_upper_4";
+ }
+ program { name: "text_only_item_6";
+ signal: "elm,number,item,6";
+ source: "elm";
+ script {
+ set_int(items_number, 6);
+ }
+ after: "text_only_item_upper_4";
+ }
+ program { name: "text_only_item_7";
+ signal: "elm,number,item,7";
+ source: "elm";
+ script {
+ set_int(items_number, 7);
+ }
+ after: "text_only_item_upper_4";
+ }
+ program { name: "text_only_item_8";
+ signal: "elm,number,item,8";
+ source: "elm";
+ script {
+ set_int(items_number, 8);
+ }
+ after: "text_only_item_upper_4";
+ }
+ program { name: "text_only_item_9";
+ signal: "elm,number,item,9";
+ source: "elm";
+ script {
+ set_int(items_number, 9);
+ }
+ after: "text_only_item_upper_4";
+ }
+ program { name: "text_only_item_10";
+ signal: "elm,number,item,10";
+ source: "elm";
+ script {
+ set_int(items_number, 10);
+ }
+ after: "text_only_item_upper_4";
+ }
+ program { name: "text_only_item_upper_4";
+ script {
+ new st[31];
+ new stb[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible") || !strcmp(st, "selected"))
+ {
+ get_state(PART:"bg", stb, 30, vl);
+ if (!strcmp(stb, "icon_text"))
+ set_state(PART:"elm.text", st, 0.28);
+ else
+ set_state(PART:"elm.text", st, 0.24);
+ }
+ get_state(PART:"bg", stb, 30, vl);
+ if (!strcmp(stb, "icon_text"))
+ set_state(PART:"padding.badge", "default", 0.06);
+ else
+ set_state(PART:"padding.badge", "default", 0.04);
+ }
+ }
+ program { name: "badge_show";
+ signal: "elm,state,elm.text.badge,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text.badge";
+ target: "elm.image.badge";
+ }
+ program { name: "badge_hide";
+ signal: "elm,state,elm.text.badge,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.badge";
+ target: "elm.image.badge";
+ }
+ program { name: "divider_visible";
+ signal: "elm,order,first,item";
+ signal: "elm,order,default,item";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "divider";
+ }
+ program { name: "divider_hidden";
+ signal: "elm,order,last,item";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "divider";
+ }
+ }
+}
+
+group { name: "elm/toolbar/base/tabbar/item_horizontal";
+ inherit: "elm/toolbar/base/tabbar";
+ parts {
+ part { name: "left_padding";
+ description {
+ state: "default" 0.0;
+ min: 34 0;
+ }
+ }
+ part { name: "right_padding";
+ description {
+ state: "default" 0.0;
+ min: 34 0;
+ }
+ }
+ }
+}
+
+group { name: "elm/toolbar/item/tabbar/item_horizontal";
+ inherit: "elm/toolbar/item/tabbar";
+ parts {
+ part { name: "bg";
+ description { state: "default" 0.0;
+ min: 303 0;
+ }
+ description { state: "icon_text" 0.0;
+ min: 404 0;
+ }
+ }
+ }
+}