billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=8e1b6404536c4a03bb04cf48ee88c537ec97553a

commit 8e1b6404536c4a03bb04cf48ee88c537ec97553a
Author: Boris Faure <[email protected]>
Date:   Fri Apr 17 23:16:56 2020 +0200

    mild: make tag drag target more visible
---
 data/themes/mild.edc | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/data/themes/mild.edc b/data/themes/mild.edc
index 3212be6..0471e55 100644
--- a/data/themes/mild.edc
+++ b/data/themes/mild.edc
@@ -1019,12 +1019,16 @@ collections {
             target: "tabdrag";
             target: "drag_left_pulse";
             target: "drag_left_outline";
+            target: "drag_left_rect";
             target: "drag_right_pulse";
             target: "drag_right_outline";
+            target: "drag_right_rect";
             target: "drag_top_pulse";
             target: "drag_top_outline";
+            target: "drag_top_rect";
             target: "drag_bottom_pulse";
             target: "drag_bottom_outline";
+            target: "drag_bottom_rect";
          }
          program {
             signal: "hdrag,off"; source: "terminology";
@@ -1032,12 +1036,16 @@ collections {
             target: "tabdrag";
             target: "drag_left_pulse";
             target: "drag_left_outline";
+            target: "drag_left_rect";
             target: "drag_right_pulse";
             target: "drag_right_outline";
+            target: "drag_right_rect";
             target: "drag_top_pulse";
             target: "drag_top_outline";
+            target: "drag_top_rect";
             target: "drag_bottom_pulse";
             target: "drag_bottom_outline";
+            target: "drag_bottom_rect";
          }
          // left boundary of the active tab (dragable 0.0 -> 1.0)
          part { name: "terminology.tabl"; type: SPACER;
@@ -1505,6 +1513,19 @@ collections {
          ////////////////////////////////////////////////////////////////////
          // Drag target areas {{{
          #define DRAG_TARGET(DIR, REL_ONE, REL_TWO)                     \
+         part { name: "drag_"##DIR##"_rect";                            \
+            type: RECT;                                                 \
+            description { state: "default" 0.0;                         \
+               rel1.to: "drag_"##DIR##"_outline";                       \
+               rel2.to: "drag_"##DIR##"_outline";                       \
+               color: FG_COLOR_NO_ALPHA 40;                             \
+               visible: 0;                                              \
+            }                                                           \
+            description { state: "hdrag,off" 0.0;                       \
+               inherit: "default" 0.0;                                  \
+               visible: 1;                                              \
+            }                                                           \
+         }                                                              \
          part { name: "drag_"##DIR##"_pulse";                           \
             mouse_events: 0;                                            \
             description { state: "default" 0.0;                         \

-- 


Reply via email to