This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch main
in repository entrance.
View the commit online.
commit cc82a6e5d62f9ca3f56704ac5f5ee871b97b59dd
Author: Alastair Poole <[email protected]>
AuthorDate: Wed Dec 2 00:41:33 2026 +0000
entrance: gadget borders once more
---
data/themes/blingbling/chrome.edc | 9 +--------
data/themes/blingbling/panel-shadow.edc | 17 +++++++++--------
data/themes/greeter-parts.edc | 20 ++++++++++++--------
3 files changed, 22 insertions(+), 24 deletions(-)
diff --git a/data/themes/blingbling/chrome.edc b/data/themes/blingbling/chrome.edc
index 4983f69..3b2a919 100644
--- a/data/themes/blingbling/chrome.edc
+++ b/data/themes/blingbling/chrome.edc
@@ -1,11 +1,4 @@
-part { name: "bevel"; type: IMAGE; mouse_events: 0; scale: 1;
- description { state: "default" 0.0; offset_scale: 1;
- rel.to: "panel-motion";
- rel1.offset: -11 -11; rel2.offset: 10 10;
- image { normal: "bling-frame.svg"; border: 24 24 24 24; middle: NONE; }
- image.border_scale: 1;
- }
-}
+BLING_FRAME("bevel", "panel-motion")
part { name: "sunburst"; type: IMAGE; mouse_events: 0; scale: 1;
description { state: "default" 0.0; offset_scale: 1;
rel1 { to: "panel-motion"; relative: 0.0 0.0; offset: 12 8; }
diff --git a/data/themes/blingbling/panel-shadow.edc b/data/themes/blingbling/panel-shadow.edc
index 06bd7ba..bbf3c2c 100644
--- a/data/themes/blingbling/panel-shadow.edc
+++ b/data/themes/blingbling/panel-shadow.edc
@@ -1,9 +1,10 @@
-part { name: "panel-shadow"; type: IMAGE; mouse_events: 0; scale: 1;
- description { state: "default" 0.0; offset_scale: 1;
- rel.to: "panel-motion";
- rel1.offset: -23 -23; rel2.offset: 22 22;
- image { normal: "bling-shadow.png"; border: 64 64 64 64; middle: NONE; }
- image.border_scale: 1;
- image.border_scale_by: 0.5;
+#define BLING_SHADOW(NAME, ANCHOR) \
+ part { name: NAME; type: IMAGE; mouse_events: 0; scale: 1; \
+ description { state: "default" 0.0; offset_scale: 1; \
+ rel.to: ANCHOR; \
+ rel1.offset: -23 -23; rel2.offset: 22 22; \
+ image { normal: "bling-shadow.png"; border: 64 64 64 64; middle: NONE; } \
+ image.border_scale: 1; \
+ image.border_scale_by: 0.5; \
+ } \
}
-}
diff --git a/data/themes/greeter-parts.edc b/data/themes/greeter-parts.edc
index 8525db2..37b52dd 100644
--- a/data/themes/greeter-parts.edc
+++ b/data/themes/greeter-parts.edc
@@ -141,14 +141,18 @@ images.image: "gadget-shadow.png" COMP;
description { state: "hidden" 0.0; inherit: "default" 0.0; visible: 0; } \
}
#include "blingbling/scrollbar.edc"
-#define GADGET_SHADOW_IMAGE "bling-shadow.png"
-#define GADGET_SHADOW_SLICE 64 64 64 64
-#define GADGET_FRAME \
- part { name: "gadget-frame"; type: IMAGE; mouse_events: 0; scale: 1; \
- description { state: "default" 0.0; rel.to: "rim"; \
- BLING_INSET_IMAGE \
+#include "blingbling/panel-shadow.edc"
+#define GADGET_SHADOW BLING_SHADOW("shadow", "rim")
+#define BLING_FRAME(NAME, ANCHOR) \
+ part { name: NAME; type: IMAGE; mouse_events: 0; scale: 1; \
+ description { state: "default" 0.0; offset_scale: 1; \
+ rel.to: ANCHOR; \
+ rel1.offset: -11 -11; rel2.offset: 10 10; \
+ image { normal: "bling-frame.svg"; border: 24 24 24 24; middle: NONE; } \
+ image.border_scale: 1; \
} \
}
+#define GADGET_FRAME BLING_FRAME("gadget-frame", "rim")
#else
#define GADGET_SURFACE(FALLBACK_IMAGE, FALLBACK_BORDER, FALLBACK_COLOR) \
color: FALLBACK_COLOR; image { normal: FALLBACK_IMAGE; border: FALLBACK_BORDER; }
@@ -158,7 +162,6 @@ images.image: "gadget-shadow.png" COMP;
#define GADGET_SHADOW_IMAGE "gadget-shadow.png"
#define GADGET_SHADOW_SLICE 60 60 60 60
#define GADGET_FRAME
-#endif
#define GADGET_SHADOW \
part { name: "shadow"; type: IMAGE; mouse_events: 0; scale: 1; \
description { state: "default" 0.0; rel.to: "rim"; offset_scale: 1; \
@@ -169,6 +172,7 @@ images.image: "gadget-shadow.png" COMP;
image.middle: NONE; \
} \
}
+#endif
#if defined(NATIVE_FORM) || !defined(THEMED_CONTROLS)
images.image: "ring-6.png" COMP;
@@ -433,7 +437,7 @@ collections {
}
#endif
#ifdef BLINGBLING_ART
- #include "blingbling/panel-shadow.edc"
+ BLING_SHADOW("panel-shadow", "panel-motion")
#endif
#ifndef NATIVE_FORM
part { name: "panel-face"; type: IMAGE; mouse_events: 0;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.