raster pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=5b1cc34ff9dd805bbf2a035d881850b8d436ba68
commit 5b1cc34ff9dd805bbf2a035d881850b8d436ba68 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Tue Oct 15 17:29:34 2013 +0900 alpha shadow image now has more fidelity at scaled up sizes = less banding --- data/themes/default.edc | 16 ++++++++++++---- data/themes/images/bg_shadow.png | Bin 15393 -> 18100 bytes data/themes/images/bg_shadow2.png | Bin 0 -> 69166 bytes data/themes/images/bg_shadow3.png | Bin 0 -> 163566 bytes 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/data/themes/default.edc b/data/themes/default.edc index 5aba3cf..0833228 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -179,7 +179,6 @@ collections { image: "bg_shine.png" COMP; image: "bg_glint.png" COMP; image: "bg_glow_in.png" COMP; - image: "bg_shadow.png" COMP; image: "bg_led_glow.png" COMP; image: "bg_led_base.png" COMP; image: "bg_led.png" COMP; @@ -189,6 +188,11 @@ collections { image: "pm_fill.png" COMP; image: "cr_glow.png" COMP; } + set { name: "bg_shadow"; + image { image: "bg_shadow.png" COMP; size: 0 0 200 150; } + image { image: "bg_shadow2.png" COMP; size: 200 150 400 300; } + image { image: "bg_shadow3.png" COMP; size: 400 300 99999 99999; } + } sounds { sample { name: "bell" LOSSY 64; source: "bell.wav"; @@ -200,7 +204,7 @@ collections { part { name: "shadow"; mouse_events: 0; description { state: "default" 0.0; - image.normal: "bg_shadow.png"; + image.normal: "bg_shadow"; fill.smooth: 0; visible: 0; } @@ -2482,16 +2486,20 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target: images { image: "pm_overlay.png" COMP; image: "pm_fill.png" COMP; - image: "bg_shadow.png" COMP; image: "inset_shadow.png" COMP; } + set { name: "bg_shadow"; + image { image: "bg_shadow.png" COMP; size: 0 0 200 150; } + image { image: "bg_shadow2.png" COMP; size: 200 150 400 300; } + image { image: "bg_shadow3.png" COMP; size: 400 300 99999 99999; } + } parts { //////////////////////////////////////////////////////////////////// // background and shadows part { name: "shadow"; mouse_events: 0; description { state: "default" 0.0; - image.normal: "bg_shadow.png"; + image.normal: "bg_shadow"; fill.smooth: 0; } } diff --git a/data/themes/images/bg_shadow.png b/data/themes/images/bg_shadow.png index 1257d82..f0fc89d 100644 Binary files a/data/themes/images/bg_shadow.png and b/data/themes/images/bg_shadow.png differ diff --git a/data/themes/images/bg_shadow2.png b/data/themes/images/bg_shadow2.png new file mode 100644 index 0000000..5072168 Binary files /dev/null and b/data/themes/images/bg_shadow2.png differ diff --git a/data/themes/images/bg_shadow3.png b/data/themes/images/bg_shadow3.png new file mode 100644 index 0000000..a20e276 Binary files /dev/null and b/data/themes/images/bg_shadow3.png differ --