Add in a capacity widget and set up the callbacks to update it.

This commit is contained in:
Jaime Thomas
2008-12-24 22:59:59 +00:00
parent 883498c9b1
commit 45ad964b15
17 changed files with 288 additions and 4 deletions

View File

@ -142,6 +142,28 @@ group {
}
}
part {
name: "ecdb/burn_data/vol_name";
type: SWALLOW;
repeat_events: 1;
description {
state: "default" 0.0;
rel1 {
to: "ecdb/burn_data/speed";
relative: 0.0 1.0;
offset: 0 5;
}
rel2 {
to: "ecdb/burn_data/speed";
relative: 1.0 1.0;
offset: 0 30;
}
}
}
/* Missing a description later */
part {
name: "ecdb/burn_data/filelist";
@ -160,7 +182,30 @@ group {
rel2 {
to: "bg";
relative: 0.5 1.0;
offset: -1 -10;
offset: -1 -26;
}
}
}
part {
name: "ecdb/burn_data/capacity";
type: SWALLOW;
repeat_events: 0;
description {
state: "default" 0.0;
max: 99999 20;
rel1 {
to: "bg";
relative: 0.0 1.0;
offset: 10 -23;
}
rel2 {
to: "bg";
relative: 1.0 1.0;
offset: -11 -1;
}
}
}