From 302a0987402a11f2d75f95e158d8f20e9aef8b37 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Thu, 23 Aug 2012 15:23:09 +0000 Subject: [PATCH] add black theme, variation of mild. popular request among old timers. SVN revision: 75630 --- data/themes/Makefile.am | 10 ++++++++-- data/themes/black.edc | 4 ++++ data/themes/mild.edc | 12 ++++++++++-- 3 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 data/themes/black.edc diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am index e460b4cb..577bcece 100644 --- a/data/themes/Makefile.am +++ b/data/themes/Makefile.am @@ -11,9 +11,10 @@ EDJE_FLAGS = $(EDJE_FLAGS_$(V)) -id $(top_srcdir)/data/themes/images -fd $(top_s filesdir = $(pkgdatadir)/themes files_DATA = \ default.edj \ -mild.edj +mild.edj \ +black.edj -EXTRA_DIST = default.edc mild.edc +EXTRA_DIST = default.edc mild.edc black.edc default.edj: Makefile default.edc $(EDJE_CC) $(EDJE_FLAGS) \ @@ -25,5 +26,10 @@ mild.edj: Makefile mild.edc $(top_srcdir)/data/themes/mild.edc \ $(top_builddir)/data/themes/mild.edj +black.edj: Makefile black.edc mild.edc + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/themes/black.edc \ + $(top_builddir)/data/themes/black.edj + clean-local: rm -f *.edj diff --git a/data/themes/black.edc b/data/themes/black.edc new file mode 100644 index 00000000..14798391 --- /dev/null +++ b/data/themes/black.edc @@ -0,0 +1,4 @@ +#define BG_COLOR 0 0 0 255 +#define BG_COLOR_TRANSLUCENT 0 0 0 200 + +#include "mild.edc" diff --git a/data/themes/mild.edc b/data/themes/mild.edc index ff0f7a22..e86abd60 100644 --- a/data/themes/mild.edc +++ b/data/themes/mild.edc @@ -1,4 +1,12 @@ /* overlay to default to make theme easier on the eyes, less effects */ + +#ifndef BG_COLOR +#define BG_COLOR 48 48 48 255 +#endif +#ifndef BG_COLOR_TRANSLUCENT +#define BG_COLOR_TRANSLUCENT 48 48 48 200 +#endif + collections { group { name: "terminology/background"; images { @@ -68,11 +76,11 @@ collections { mouse_events: 1; clip_to: "baseclip"; description { state: "default" 0.0; - color: 48 48 48 255; + color: BG_COLOR; } description { state: "translucent" 0.0; inherit: "default" 0.0; - color: 48 48 48 200; + color: BG_COLOR_TRANSLUCENT; } } part { name: "fade"; type: RECT;