aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2013-07-06 03:03:21 +0200
committerLaurent Ghigonis <laurent@p1sec.com>2013-07-06 03:03:21 +0200
commitfa942045164f88589028fa1fa2adefa2390f7fab (patch)
tree48b43028a31cc1a321cce51d6719d66eeb663dd6
parentadd "make rebuild" (diff)
downloadegraph-fa942045164f88589028fa1fa2adefa2390f7fab.tar.gz
use group inheritence in theme, saves 59 lines
-rw-r--r--egraph.edc61
1 files changed, 2 insertions, 59 deletions
diff --git a/egraph.edc b/egraph.edc
index 399442a..24c5ce4 100644
--- a/egraph.edc
+++ b/egraph.edc
@@ -76,22 +76,13 @@ collections {
}
group {
name: "vertice_group";
- max: 700 700;
- min: 700 700;
- images {
- image: "data/vertice.png" COMP;
- }
+ inherit: "vertice_normal";
parts {
part {
name: "image";
type: IMAGE;
description {
state: "default" 0.0;
- max: 15 15;
- min: 15 15;
- image{
- normal: "data/vertice.png";
- }
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
color: 160 120 40 70;
@@ -107,19 +98,7 @@ collections {
type: TEXT;
description {
state: "default" 0.0;
- max: 50 8;
- fixed: 1 1;
color: 160 120 40 70; /* yellow low */
- text {
- font: "vera";
- size: 10;
- min: 1 1;
- }
- rel1.to: "image";
- rel1.relative: 0.5 1.0;
- rel2.to: "image";
- rel2.relative: 0.5 1.0;
- rel2.offset: 0 8;
}
description {
state: "active" 1.0;
@@ -128,22 +107,6 @@ collections {
}
}
}
- programs {
- program {
- name: "state_active";
- signal: "become_active";
- action: STATE_SET "active" 0.0;
- target: "image";
- transition: DECELERATE 0.5;
- }
- program {
- name: "state_inactive";
- signal: "become_inactive";
- action: STATE_SET "default" 0.0;
- target: "image";
- transition: DECELERATE 0.5;
- }
- }
}
group {
name: "edge_normal";
@@ -186,24 +149,13 @@ collections {
}
group {
name: "edge_group";
- max: 700 700;
- min: 700 700;
- images {
- image: "data/edge.png" COMP;
- }
+ inherit: "edge_normal";
parts {
part {
name: "image";
type: IMAGE;
description {
state: "default" 0.0;
- max: 50 10;
- min: 50 10;
- image{
- normal: "data/edge.png";
- }
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
color: 255 120 40 70;
}
description {
@@ -213,15 +165,6 @@ collections {
}
}
}
- programs {
- program {
- name: "state_active";
- signal: "become_active";
- action: STATE_SET "active" 0.0;
- target: "image";
- transition: DECELERATE 0.5;
- }
- }
}
group {
name: "blob";