Add in a capacity widget and set up the callbacks to update it.
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user