diff --git a/data/elementary/themes/edc/elm/bg.edc b/data/elementary/themes/edc/elm/bg.edc index 092502d599..e7ac3aa4ea 100644 --- a/data/elementary/themes/edc/elm/bg.edc +++ b/data/elementary/themes/edc/elm/bg.edc @@ -34,3 +34,82 @@ group { name: "elm/bg/base/default"; } } } + +#define PAT_FILL_SCALE(_w, _h) \ + part { name: "_pat_sizer"; type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel2.relative: 0.0 0.0; \ + fixed: 1 1; \ + min: 100 100; max: 100 100; \ + } \ + } \ + program { signal: "resize"; source: ""; \ + script { \ + new x, y, w, h; \ + get_geometry(PART:"_pat_sizer", x, y, w, h); \ + custom_state(PART:"pat", "default", 0.0); \ + set_state_val(PART:"pat", STATE_FILL_SIZE, 0, 0, (w*_w)/100, (h*_h)/100); \ + set_state(PART:"pat", "custom", 0.0); \ + } \ + } + +#define BG_PAT(_name, _img, _w, _h, _colbg, _colfg) \ +group { name: _name; \ + data.item: "version" "119"; \ + images.image: _img COMP; \ + parts { \ + PAT_FILL_SCALE(_w, _h) \ + part { name: "clipper"; type: RECT; \ + description { state: "default" 0.0; \ + } \ + } \ + part { name: "base"; type: RECT; \ + description { state: "default" 0.0; \ + color: _colbg; \ + } \ + } \ + part { name: "pat"; \ + scale: 1; \ + description { state: "default" 0.0; \ + image.normal: _img; \ + color: _colfg; \ + } \ + } \ + part { name: "elm.swallow.rectangle"; type: SWALLOW; \ + description { state: "default" 0.0; \ + } \ + } \ + part { name: "elm.swallow.background"; type: SWALLOW; \ + clip_to: "clipper"; \ + description { state: "default" 0.0; \ + fixed: 1 1; \ + } \ + } \ + part { name: "elm.swallow.content"; type: SWALLOW; \ + description { state: "default" 0.0; \ + } \ + } \ + } \ +} + +BG_PAT("elm/bg/base/stripes", "stripes-diag.png", 160, 160, 64 64 64 255, 80 80 80 255) +BG_PAT("elm/bg/base/stripes_big", "stripes-diag-big.png", 160, 160, 64 64 64 255, 80 80 80 255) + +BG_PAT("elm/bg/base/stripes_dark", "stripes-diag.png", 160, 160, 32 32 32 255, 48 48 48 255) +BG_PAT("elm/bg/base/stripes_big_dark", "stripes-diag-big.png", 160, 160, 32 32 32 255, 48 48 48 255) + +BG_PAT("elm/bg/base/stripes_light", "stripes-diag.png", 160, 160, 192 192 192 255, 208 208 208 255) +BG_PAT("elm/bg/base/stripes_big_light", "stripes-diag-big.png", 160, 160, 192 192 192 255, 208 208 208 255) + +BG_PAT("elm/bg/base/checks", "checks.png", 160, 160, 64 64 64 255, 80 80 80 255) +BG_PAT("elm/bg/base/checks_big", "checks.png", 320, 320, 64 64 64 255, 80 80 80 255) +BG_PAT("elm/bg/base/checks_small", "checks.png", 80, 80, 64 64 64 255, 80 80 80 255) + +BG_PAT("elm/bg/base/checks_dark", "checks.png", 160, 160, 32 32 32 255, 48 48 48 255) +BG_PAT("elm/bg/base/checks_big_dark", "checks.png", 320, 320, 32 32 32 255, 48 48 48 255) +BG_PAT("elm/bg/base/checks_small_dark", "checks.png", 80, 80, 32 32 32 255, 48 48 48 255) + +BG_PAT("elm/bg/base/checks_light", "checks.png", 160, 160, 192 192 192 255, 208 208 208 255) +BG_PAT("elm/bg/base/checks_big_light", "checks.png", 320, 320, 192 192 192 255, 208 208 208 255) +BG_PAT("elm/bg/base/checks_small_light", "checks.png", 80, 80, 192 192 192 255, 208 208 208 255) diff --git a/data/elementary/themes/img/checks.png b/data/elementary/themes/img/checks.png new file mode 100644 index 0000000000..e9840ff61e Binary files /dev/null and b/data/elementary/themes/img/checks.png differ diff --git a/data/elementary/themes/img/stripes-diag-big.png b/data/elementary/themes/img/stripes-diag-big.png new file mode 100644 index 0000000000..ebbc7d55f0 Binary files /dev/null and b/data/elementary/themes/img/stripes-diag-big.png differ diff --git a/data/elementary/themes/img/stripes-diag.png b/data/elementary/themes/img/stripes-diag.png new file mode 100644 index 0000000000..65f3fdae2f Binary files /dev/null and b/data/elementary/themes/img/stripes-diag.png differ diff --git a/data/elementary/themes/img/svg/checks.svg b/data/elementary/themes/img/svg/checks.svg new file mode 100644 index 0000000000..3177a02e3f --- /dev/null +++ b/data/elementary/themes/img/svg/checks.svg @@ -0,0 +1,977 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/elementary/themes/img/svg/stripes-diag-big.svg b/data/elementary/themes/img/svg/stripes-diag-big.svg new file mode 100644 index 0000000000..da3e61a134 --- /dev/null +++ b/data/elementary/themes/img/svg/stripes-diag-big.svg @@ -0,0 +1,85 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/data/elementary/themes/img/svg/stripes-diag.svg b/data/elementary/themes/img/svg/stripes-diag.svg new file mode 100644 index 0000000000..b27a09a838 --- /dev/null +++ b/data/elementary/themes/img/svg/stripes-diag.svg @@ -0,0 +1,86 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + +