TH - finally change default background for flat theme

This commit is contained in:
Carsten Haitzler 2018-02-22 02:07:22 +09:00
parent e6b0c3c5e2
commit 442dec2706
11 changed files with 31 additions and 53 deletions

View File

@ -1,19 +1,17 @@
group { name: "e/desktop/background";
images.image: "bg_radgrad.png" COMP;
images.image: "dot_pattern.png" COMP;
alias: "elm/ews/background/default";
BACKGROUND_IMG
parts {
part { name: "bg";
part { name: "clip"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bg_radgrad.png";
image.scale_hint: STATIC;
fill.smooth: 0;
ASPECT_FILL((1024/653))
}
}
part { name: "pat";
part { name: "bg";
clip_to: "clip";
description { state: "default" 0.0;
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
image.normal: "background";
image.scale_hint: STATIC;
ASPECT_FILL((7680/4320))
}
}
}

View File

@ -1,24 +1,3 @@
group { name: "elm/ews/background/default";
images.image: "bg_radgrad.png" COMP;
images.image: "dot_pattern.png" COMP;
parts {
part { name: "bg";
description { state: "default" 0.0;
image.normal: "bg_radgrad.png";
image.scale_hint: STATIC;
fill.smooth: 0;
ASPECT_FILL((1024/653))
}
}
part { name: "pat";
description { state: "default" 0.0;
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
}
}
}
}
group { name: "elm/ews/decoration/default";
images.image: "win_shadow.png" COMP;
images.image: "win_glow.png" COMP;

View File

@ -1,7 +1,6 @@
group { name: "e/wizard/main";
BACKGROUND_IMG
images.image: "screen_circular_shadow.png" COMP;
images.image: "bg_radgrad.png" COMP;
images.image: "dot_pattern.png" COMP;
images.image: "button_normal.png" COMP;
images.image: "button_clicked.png" COMP;
images.image: "knob_round_busy.png" COMP;
@ -12,17 +11,11 @@ group { name: "e/wizard/main";
}
}
part { name: "bg";
clip_to: "clip";
description { state: "default" 0.0;
image.normal: "bg_radgrad.png";
image.normal: "background";
image.scale_hint: STATIC;
fill.smooth: 0;
ASPECT_FILL((1024/653))
}
}
part { name: "pat";
description { state: "default" 0.0;
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
ASPECT_FILL((7680/4320))
}
}
part { name: "busy_clip"; type: RECT;
@ -312,26 +305,19 @@ group { name: "e/wizard/firstpage";
}
group { name: "e/wizard/extra";
BACKGROUND_IMG
images.image: "screen_circular_shadow.png" COMP;
images.image: "bg_radgrad.png" COMP;
images.image: "dot_pattern.png" COMP;
parts {
part { name: "clip"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
}
}
part { name: "bg";
clip_to: "clip";
description { state: "default" 0.0;
image.normal: "bg_radgrad.png";
image.normal: "background";
image.scale_hint: STATIC;
fill.smooth: 0;
ASPECT_FILL((1024/653))
}
}
part { name: "pat";
description { state: "default" 0.0;
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
ASPECT_FILL((7680/4320))
}
}
part { name: "shadow"; mouse_events: 0;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 MiB

View File

@ -7,6 +7,21 @@
#define FIXED_SIZE(_WIDTH, _HEIGHT) \
min: _WIDTH _HEIGHT; max: _WIDTH _HEIGHT; fixed: 1 1;
#define BACKGROUND_COMP LOSSY 99
//#define BACKGROUND_COMP LOSSY_ETC1
//#define BACKGROUND_COMP LOSSY_ETC2
#define BACKGROUND_IMG \
set { name: "background"; \
image { image: "p-5120.png" BACKGROUND_COMP; size: 3841 2161 51200 28800; } \
image { image: "p-3840.png" BACKGROUND_COMP; size: 3201 1801 3840 2160; } \
image { image: "p-3200.png" BACKGROUND_COMP; size: 2561 1441 3200 1800; } \
image { image: "p-2560.png" BACKGROUND_COMP; size: 1921 1081 2560 1440; } \
image { image: "p-1920.png" BACKGROUND_COMP; size: 1601 900 1920 1080; } \
image { image: "p-1600.png" BACKGROUND_COMP; size: 1281 721 1600 900; } \
image { image: "p-1280.png" BACKGROUND_COMP; size: 0 0 1280 720; } \
}
#define DARK_GREY_BG_COLOR 48 48 48 255
#define DARK_GREY_BG_DISABLED_COLOR 64 64 64 255