}
}
+ part {
+ name: "notification,bar";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 255;
+ rel1.relative: 0.0 0.0;
+ rel2 {
+ relative: 1.0 0.0;
+ offset: 0 50;
+ }
+ }
+ }
+
#define SEPARATOR(id, clip, rely, offy, relto) \
part { \
name: "separator.dark."##id; \
description { \
state: "default" 0.0; \
rel1 { \
- relative: 0.0 0.0; \
+ to: "notification,bar"; \
+ relative: 0.0 1.0; \
offset: 0 (-SEPARATOR_HEIGHT + offy); \
} \
rel2 { \
- relative: 1.0 0.0; \
+ to: "notification,bar"; \
+ relative: 1.0 1.0; \
offset: -1 (CALL_HEIGHT + offy); \
} \
} \
}
part {
+ name: "notification,bar";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 255;
+ rel1.relative: 0.0 0.0;
+ rel2 {
+ relative: 1.0 0.0;
+ offset: 0 50;
+ }
+ }
+ }
+
+ part {
name: "elm.swallow.activecall";
type: SWALLOW;
api: "activecall" "where to place the active call, if any";
align: 0.5 0.0;
fixed: 1 1;
visible: 1;
+ rel1 {
+ to: "notification,bar";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
rel2 {
- relative: 1.0 0.0;
- offset: -1 -1;
+ to: "notification,bar";
+ relative: 1.0 1.0;
+ offset: 0 0;
}
}
description {
}
}
+ part {
+ name: "notification,bar";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 255;
+ rel1.relative: 0.0 0.0;
+ rel2 {
+ relative: 1.0 0.0;
+ offset: 0 50;
+ }
+ }
+ }
+
#define SEPARATOR(id, clip, rely, offy, relto) \
part { \
name: "separator.dark."##id; \
color_class: "action";
visible: 1;
rel1 {
- relative: 0.0 0.0;
+ to: "notification,bar";
+ relative: 0.0 1.0;
offset: 0 (-ACTION_HEIGHT / 2 - SEPARATOR_HEIGHT);
}
rel2 {
+ to: "notification,bar";
relative: 1.0 0.0;
offset: -1 (-SEPARATOR_HEIGHT - 1);
}
inherit: "default" 0.0;
visible: 1;
rel1 {
- relative: 0.0 0.0;
+ to: "notification,bar";
+ relative: 0.0 1.0;
offset: 0 0;
}
rel2 {
+ to: "notification,bar";
relative: 1.0 0.0;
offset: -1 (ACTION_HEIGHT / 2 - 1);
}