e/connman: Use better images set

Images drawn by Marina Proni.



SVN revision: 76071
This commit is contained in:
Bruno Dilly 2012-09-03 22:06:27 +00:00
parent c781c7a1d7
commit e7c49be60c
19 changed files with 39 additions and 25 deletions

View File

@ -7901,23 +7901,27 @@ CONNMAN_ICON(ethernet)
#define MSG_ID_STRENGTH 1 #define MSG_ID_STRENGTH 1
#define CONNMAN_BAR_OFF(_num) \ #define CONNMAN_BAR_IMAGES_SET(_name) \
part { \ images { \
name: "bar_"##_num##"_off"; \ set { \
type: IMAGE; \ name: "wifi_bar_"##_name; \
mouse_events: 0; \ image { \
description { \ image: "connman_wifi_"##_name##"_128.png" COMP; \
state: "default" 0.0; \ /* FIXME: check why it doesn't work */ \
aspect: 1 1; \ /* size: 33 33 128 128; \ */ \
aspect_preference: BOTH; \ size: 33 33 1000 1000; \
image.image: "connman_wifi_"##_num##"_off.png" COMP; \ } \
image.normal: "connman_wifi_"##_num##"_off.png"; \ image { \
image: "connman_wifi_"##_name##"_32.png" COMP; \
size: 1 1 32 32; \
} \
} \
} \ } \
}
#define CONNMAN_BAR_ON(_num) \ #define CONNMAN_BAR_ON(_name) \
CONNMAN_BAR_IMAGES_SET(_name) \
part { \ part { \
name: "bar_"##_num##"_on"; \ name: "bar_"##_name; \
type: IMAGE; \ type: IMAGE; \
mouse_events: 0; \ mouse_events: 0; \
description { \ description { \
@ -7925,8 +7929,7 @@ CONNMAN_ICON(ethernet)
aspect: 1 1; \ aspect: 1 1; \
aspect_preference: BOTH; \ aspect_preference: BOTH; \
color: 255 255 255 0; \ color: 255 255 255 0; \
image.image: "connman_wifi_"##_num##"_on.png" COMP; \ image.normal: "wifi_bar_"##_name; \
image.normal: "connman_wifi_"##_num##"_on.png"; \
} \ } \
description { \ description { \
state: "visible" 0.0; \ state: "visible" 0.0; \
@ -7984,14 +7987,25 @@ CONNMAN_ICON(ethernet)
} }
parts { parts {
CONNMAN_BAR_OFF(0)
CONNMAN_BAR_OFF(1) CONNMAN_BAR_IMAGES_SET(off)
CONNMAN_BAR_OFF(2) part {
CONNMAN_BAR_OFF(3) name: "bar_off";
CONNMAN_BAR_ON(0) type: IMAGE;
CONNMAN_BAR_ON(1) mouse_events: 0;
CONNMAN_BAR_ON(2) description {
CONNMAN_BAR_ON(3) state: "default" 0.0;
aspect: 1 1;
aspect_preference: BOTH;
image.normal: "wifi_bar_off";
}
}
CONNMAN_BAR_ON(0_on)
CONNMAN_BAR_ON(1_on)
CONNMAN_BAR_ON(2_on)
CONNMAN_BAR_ON(3_on)
part { part {
name: "e.text.strength"; name: "e.text.strength";
type: TEXT; type: TEXT;
@ -8086,7 +8100,7 @@ CONNMAN_ICON(ethernet)
CONNMAN_CONNECTING_OFF(3) CONNMAN_CONNECTING_OFF(3)
} }
#undef CONNMAN_BAR_OFF #undef CONNMAN_BAR_IMAGES_SET
#undef CONNMAN_BAR_ON #undef CONNMAN_BAR_ON
#undef CONNMAN_CONNECTING_ON #undef CONNMAN_CONNECTING_ON
#undef CONNMAN_CONNECTING_OFF #undef CONNMAN_CONNECTING_OFF

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB