export HAVE_TIZEN define to edje and use it to determine the size of
the notification bar.
also defines the bar to be 25px on sd theme.
EDJE_FLAGS_VERBOSE_1 = -v
EDJE_FLAGS = $(EDJE_FLAGS_VERBOSE_$(V)) -id $(top_srcdir)/data/themes/images -fd $(top_srcdir)/data/fonts
+if HAVE_TIZEN
+EDJE_FLAGS += -DHAVE_TIZEN=1
+endif
+
filesdir = $(pkgdatadir)/themes
files_DATA = \
data/themes/default.edj \
#define LOADING_SIZE 128
+#ifdef HAVE_TIZEN
+#define NOTIFICATION_BAR_HEIGHT 50
+#else
+#define NOTIFICATION_BAR_HEIGHT 0
+#endif
+
#include "default.edc"
#define LOADING_SIZE 64
+#ifdef HAVE_TIZEN
+#define NOTIFICATION_BAR_HEIGHT 25
+#else
+#define NOTIFICATION_BAR_HEIGHT 0
+#endif
+
#include "default.edc"
}
part {
- name: "notification,bar";
+ name: "notification.bar";
type: RECT;
mouse_events: 0;
description {
rel1.relative: 0.0 0.0;
rel2 {
relative: 1.0 0.0;
- offset: 0 50;
+ offset: -1 NOTIFICATION_BAR_HEIGHT;
}
}
}
fixed: 1 1;
visible: 1;
rel1 {
- to: "notification,bar";
+ to: "notification.bar";
relative: 0.0 1.0;
offset: 0 0;
}
rel2 {
- to: "notification,bar";
+ to: "notification.bar";
relative: 1.0 1.0;
offset: 0 0;
}