state: "default" 0.0;
min: BATTERY_DIGIT_WIDTH BATTERY_DIGIT_HEIGHT;
max: BATTERY_DIGIT_WIDTH BATTERY_DIGIT_HEIGHT;
- rel1 { relative: 0.0 0.0; to_x: "elm.swallow.fixed8"; }
- rel2 { relative: 1.0 1.0; to_x: "elm.swallow.fixed8"; offset: -8 -14; }
+ rel1 { relative: 0.0 0.0; to_x: "elm.swallow.fixed8"; to_y: "elm.rect.bg"; }
+ rel2 { relative: 1.0 1.0; to_x: "elm.swallow.fixed8"; to_y: "elm.rect.bg";
+ offset: -8 -14; }
align: 1.0 0.5;
visible: 1;
}
inherit: "default" 0.0;
min: BATTERY_TWO_DIGITS_WIDTH BATTERY_DIGIT_HEIGHT;
max: BATTERY_TWO_DIGITS_WIDTH BATTERY_DIGIT_HEIGHT;
- rel1 { relative: 0.0 0.0; to_x: "elm.swallow.fixed8"; }
- rel2 { relative: 1.0 1.0; to_x: "elm.swallow.fixed8"; offset: -4 -14; }
+ rel2.offset: -4 -14;
}
description {
state: "three_digits" 0.0;
inherit: "default" 0.0;
min: BATTERY_FULL_WIDTH BATTERY_DIGIT_HEIGHT;
max: BATTERY_FULL_WIDTH BATTERY_DIGIT_HEIGHT;
- rel1 { relative: 0.0 0.0; to_x: "elm.swallow.fixed8"; }
- rel2 { relative: 1.0 1.0; to_x: "elm.swallow.fixed8"; offset: -3 -14; }
+ rel2.offset: -3 -14;
}
}
//////////////////////////////////////////
} else {
util_signal_emit(win->data, "indicator.minictrl.hide", "indicator.prog");
}
- if
- (box_get_list_size(CONNECTION_SYSTEM_LIST)) {
+
+ if (box_get_list_size(CONNECTION_SYSTEM_LIST)) {
util_signal_emit(win->data, "indicator.connection/system.show", "indicator.prog");
} else {
util_signal_emit(win->data, "indicator.connection/system.hide", "indicator.prog");
}
-static void _resize_battery_digits_icons_box()
+static void _resize_battery_digits_icons_box(void)
{
if (battery_percentage < 10) {
util_signal_emit(digit.ad, "indicator.battery.percentage.one.digit.show", "indicator.prog");