Enlightenment CVS committal
Author : moom
Project : e17
Module : libs/etk
Dir : e17/libs/etk/data/themes/default/widgets
Modified Files:
slider.edc
Log Message:
* [Theme] Add an event rect to the slider's theme so we can use
mouse-wheel everywhere above the slider
===================================================================
RCS file: /cvs/e/e17/libs/etk/data/themes/default/widgets/slider.edc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- slider.edc 20 Feb 2007 20:50:19 -0000 1.7
+++ slider.edc 20 Feb 2007 21:30:05 -0000 1.8
@@ -3,7 +3,26 @@
min: 64 32;
parts {
part {
+ name: "event_rect";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: -4 -13;
+ to: "slider_bar";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 3 2;
+ to: "label_clip";
+ }
+ }
+ }
+ part {
name: "slider_bar";
+ mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
@@ -119,6 +138,7 @@
part {
name: "label_under";
clip_to: "label_clip";
+ mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
@@ -165,6 +185,7 @@
part {
name: "label_over";
clip_to: "label_clip";
+ mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
@@ -182,7 +203,7 @@
}
}
}
- FOCUS_GLOW(0.0, 0.0, -4, -13, "slider_bar", 1.0, 1.0, -1, 3,
"label_clip")
+ FOCUS_GLOW(0.0, 0.0, 0, 0, "event_rect", 1.0, 1.0, -1, -1, "event_rect")
part {
name: "slider_glow";
mouse_events: 0;
@@ -281,7 +302,28 @@
min: 32 64;
parts {
part {
+ name: "event_rect";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 0;
+ min: 30 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: -4 -4;
+ to_x: "label_clip";
+ to_y: "slider_bar";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 2 0;
+ to: "label_clip";
+ }
+ }
+ }
+ part {
name: "slider_bar";
+ mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
@@ -397,6 +439,7 @@
part {
name: "label_under";
clip_to: "label_clip";
+ mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
@@ -443,6 +486,7 @@
part {
name: "label_over";
clip_to: "label_clip";
+ mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
@@ -460,27 +504,7 @@
}
}
}
- part {
- name: "focus_rect";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 30 0;
- rel1 {
- relative: 0.0 0.0;
- offset: -4 -4;
- to_x: "label_clip";
- to_y: "slider_bar";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 3 0;
- to: "label_clip";
- }
- }
- }
- FOCUS_GLOW(0.0, 0.0, 0, 0, "focus_rect", 1.0, 1.0, -1, -1, "focus_rect")
+ FOCUS_GLOW(0.0, 0.0, 0, 0, "event_rect", 1.0, 1.0, -1, -1, "event_rect")
part {
name: "slider_glow";
mouse_events: 0;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs