summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-02-15 14:34:08 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-02-15 14:34:08 +0000
commit9fda848c97ceb4c94abad3f99548560f6d30d921 (patch)
tree31df5b252ec09663af32de75e1613b5348c2dc11
parent0128153e7c2bf4e9aeaf86b985bba5b740267395 (diff)
TH - go back to nearest smoothing fill for shadows
there's a rounding problem... and a single part with image with hole in it just are going to always fail in lots of cases. i need to rethink the shadows - probably break up into 4 or 8 parts with clipping to solve this... so for now this will do until i get to that.
-rw-r--r--data/elementary/themes/macros.edc4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/elementary/themes/macros.edc b/data/elementary/themes/macros.edc
index 1d2444aeb6..878b69dd2c 100644
--- a/data/elementary/themes/macros.edc
+++ b/data/elementary/themes/macros.edc
@@ -34,6 +34,7 @@
34 image.middle: 0; \ 34 image.middle: 0; \
35 rel1.offset: -21 -14; \ 35 rel1.offset: -21 -14; \
36 rel2.offset: 20 27; \ 36 rel2.offset: 20 27; \
37 fill.smooth: 0; \
37 offscale 38 offscale
38#define WIN_SHADOW_SMALL \ 39#define WIN_SHADOW_SMALL \
39 image.normal: "win_shadow.png"; \ 40 image.normal: "win_shadow.png"; \
@@ -43,6 +44,7 @@
43 image.middle: 0; \ 44 image.middle: 0; \
44 rel1.offset: -10 -7; \ 45 rel1.offset: -10 -7; \
45 rel2.offset: 9 10; \ 46 rel2.offset: 9 10; \
47 fill.smooth: 0; \
46 offscale 48 offscale
47#define WIN_SHADOW_SPACER \ 49#define WIN_SHADOW_SPACER \
48 rel1.offset: 21 14; \ 50 rel1.offset: 21 14; \
@@ -56,6 +58,7 @@
56 image.middle: 0; \ 58 image.middle: 0; \
57 rel1.offset: -21 -14; \ 59 rel1.offset: -21 -14; \
58 rel2.offset: 20 27; \ 60 rel2.offset: 20 27; \
61 fill.smooth: 0; \
59 offscale 62 offscale
60#define WIN_SHADOW_ANGLE_SMALL(_img) \ 63#define WIN_SHADOW_ANGLE_SMALL(_img) \
61 image.normal: _img; \ 64 image.normal: _img; \
@@ -65,6 +68,7 @@
65 image.middle: 0; \ 68 image.middle: 0; \
66 rel1.offset: -10 -7; \ 69 rel1.offset: -10 -7; \
67 rel2.offset: 9 13; \ 70 rel2.offset: 9 13; \
71 fill.smooth: 0; \
68 offscale 72 offscale
69 73
70#define IMAGE_RING(x, sz) \ 74#define IMAGE_RING(x, sz) \