From 2c779f1caba1ae6ca91abadfcaf5c3515fcbee4a Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Mon, 5 Dec 2011 09:47:52 +0900 Subject: Added convenience macro for coloring part. --- themes/nbeat.edc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'themes') 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"; -- cgit v1.2.3