summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDaniel Juyung Seo <juyung.seo@samsung.com>2011-12-05 09:47:52 +0900
committerDaniel Juyung Seo <juyung.seo@samsung.com>2011-12-05 09:47:52 +0900
commit2c779f1caba1ae6ca91abadfcaf5c3515fcbee4a (patch)
treea0c359b0eb375bfa7004cf5e1bf1fdd12bdd4351 /themes
parent4f319e2ea40712df984cec176661ac7666896159 (diff)
downloadefl-theme-tizen-2c779f1caba1ae6ca91abadfcaf5c3515fcbee4a.tar.gz
efl-theme-tizen-2c779f1caba1ae6ca91abadfcaf5c3515fcbee4a.tar.bz2
efl-theme-tizen-2c779f1caba1ae6ca91abadfcaf5c3515fcbee4a.zip
Added convenience macro for coloring part.
Diffstat (limited to 'themes')
-rw-r--r--themes/nbeat.edc9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/nbeat.edc b/themes/nbeat.edc
index edaff879..59637fb3 100644
--- a/themes/nbeat.edc
+++ b/themes/nbeat.edc
@@ -32,6 +32,15 @@
#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";