From 6a4ae67f63cb03e17bea8d4bbda7e262a1f67c6a Mon Sep 17 00:00:00 2001 From: Stephen okra Houston Date: Tue, 22 Nov 2016 21:20:07 -0600 Subject: Luncher Theme: Add parts needed for the new Luncher grid. --- data/elementary/themes/edc/elm/scroller.edc | 1 + data/elementary/themes/edc/luncher.edc | 48 +++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) (limited to 'data/elementary') diff --git a/data/elementary/themes/edc/elm/scroller.edc b/data/elementary/themes/edc/elm/scroller.edc index 0227992376..d468945046 100644 --- a/data/elementary/themes/edc/elm/scroller.edc +++ b/data/elementary/themes/edc/elm/scroller.edc @@ -1343,6 +1343,7 @@ group { name: "elm/scroller/contents/default"; group { name: "elm/scroller/base/popup/no_inset_shadow"; inherit: "elm/scroller/base/default"; + alias: "elm/gengrid/base/no_inset_shadow"; parts { part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; diff --git a/data/elementary/themes/edc/luncher.edc b/data/elementary/themes/edc/luncher.edc index 03278f1d16..2fc31e5744 100644 --- a/data/elementary/themes/edc/luncher.edc +++ b/data/elementary/themes/edc/luncher.edc @@ -20,6 +20,25 @@ group { name: "e/gadget/luncher/bar"; } } +group { name: "e/gadget/luncher/grid"; + parts { + part { name: "e.swallow.drop"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "e.swallow.grid"; + rel2.to: "e.swallow.grid"; + } + } + part { name: "e.swallow.grid"; type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.offset: 0 0; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -1; + } + } + } +} + group { name: "e/gadget/luncher/icon"; script { public urgent; @@ -1053,3 +1072,32 @@ group { name: "elm/tooltip/base/luncher"; } } +group { name: "elm/gengrid/item/luncher/default"; + data.item: "contents" "elm.swallow.icon"; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + rel1.to: "icon_area"; + rel1.offset: 0 0; + rel2.to: "icon_area"; + rel2.offset: 0 0; + color: 0 0 0 0; + } + } + part { name: "icon_area"; type: RECT; + description { state: "default" 0.0; + fixed: 1 0; + aspect: 1.0 1.0; aspect_preference: BOTH; + rel1.offset: 0 0; + rel2.offset: 0 0; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + clip_to: "icon_area"; + description { state: "default" 0.0; + rel1.to: "icon_area"; + rel2.to: "icon_area"; + } + } + } +} -- cgit v1.2.1