Enlightenment CVS committal Author : atmosphere Project : e17 Module : apps/entice
Dir : e17/apps/entice/data/themes/default
Modified Files:
default.edc
Log Message:
Tooltips for the entice buttons plus some minor syntactic cleanups
There's ways to confuse the logic still, but they're kinda neat.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entice/data/themes/default/default.edc,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- default.edc 22 Oct 2003 07:14:46 -0000 1.11
+++ default.edc 24 Oct 2003 08:55:34 -0000 1.12
@@ -1514,7 +1514,462 @@
font, "Vera";
size, 16;
fit, 0 0;
- align, 1.0, 0.0;
+ align, 1.0 0.0;
+ }
+ }
+ }
+ part
+ {
+ name, "EnticeToolTipClip";
+ type, RECT;
+ mouse_events, 0;
+ description
+ {
+ state, "default" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 1.0 1.0;
+ offset, -400 15;
+ to_y, "Buttons";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -10 50;
+ to_y, "Buttons";
+ }
+ color, 255 255 255 0;
+ }
+ description
+ {
+ state, "visible" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 1.0 1.0;
+ offset, -400 15;
+ to_y, "Buttons";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -10 50;
+ to_y, "Buttons";
+ }
+ color, 255 255 255 255;
+ }
+ }
+ part
+ {
+ name, "EnticeToolTip";
+ type, TEXT;
+ effect, SOFT_SHADOW;
+ mouse_events, 0;
+ clip_to, "EnticeToolTipClip";
+ description
+ {
+ state, "default" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
+ }
+ }
+ description
+ {
+ state, "delete_image" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "Delete the current Image";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
+ }
+ }
+ description
+ {
+ state, "prev_image" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "Load the Previous Image";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
+ }
+ }
+ description
+ {
+ state, "next_image" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "Load the Next Image";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
+ }
+ }
+ description
+ {
+ state, "rotate_right" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "Rotate the Image Right 90 Degrees";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
+ }
+ }
+ description
+ {
+ state, "rotate_left" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "Rotate the Image Left 90 Degrees";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
+ }
+ }
+ description
+ {
+ state, "slideshow_start" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "Start a slideshow of my Images";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
+ }
+ }
+ description
+ {
+ state, "slideshow_stop" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "Stop the slideshow";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
+ }
+ }
+ description
+ {
+ state, "zoom_normal" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "Show the Image with 1:1 aspect";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
+ }
+ }
+ description
+ {
+ state, "zoom_in" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "Zoom in slightly";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
+ }
+ }
+ description
+ {
+ state, "zoom_out" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "Zoom out slightly";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
+ }
+ }
+ description
+ {
+ state, "expand_image" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "Scale image to fit window";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
+ }
+ }
+ description
+ {
+ state, "full_screen" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "Toggle fullscreen mode";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
+ }
+ }
+ description
+ {
+ state, "exit_entice" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "Leave entice";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
+ }
+ }
+ description
+ {
+ state, "save_image" 0.0;
+ visible, 1;
+ rel1
+ {
+ relative, 0.0 0.0;
+ offset, 5 5;
+ to, "EnticeToolTipClip";
+ }
+ rel2
+ {
+ relative, 1.0 1.0;
+ offset, -5 -5;
+ to, "EnticeToolTipClip";
+ }
+ color, 100 100 100 255;
+ color3, 229 229 229 255;
+ text
+ {
+ text, "Save the modified Image to disk.";
+ font, "Vera";
+ size, 16;
+ fit, 0 0;
+ align, 1.0 0.5;
}
}
}
@@ -1548,7 +2003,7 @@
font, "Vera";
size, 12;
fit, 0 0;
- align, 1.0, 0.5;
+ align, 1.0 0.5;
}
}
}
@@ -2116,6 +2571,176 @@
action, ACTION_STOP;
target, "SlideShowAnimate";
}
+
+ /* ToolTips */
+ program
+ {
+ name, "ToolTipKillCBS";
+ signal, "mouse,in";
+ source, "Button*";
+ action, ACTION_STOP "ToolTipCB*";
+ }
+ program
+ {
+ name, "ToolTipHide";
+ signal, "mouse,in";
+ source, "EnticeImage";
+ action, STATE_SET "default" 0.0;
+ target, "EnticeToolTipClip";
+ transition, LINEAR 1.5;
+ in, 1.5 0.0;
+ }
+ program
+ {
+ name, "ToolTipShow";
+ signal, "";
+ source, "";
+ action, STATE_SET "visible" 0.0;
+ target, "EnticeToolTipClip";
+ transition, SINUSOIDAL 0.5;
+ after, "ToolTipHide";
+ }
+ program
+ {
+ name, "ToolTipCBDelete";
+ signal, "mouse,in";
+ source, "ButtonDeleteImage";
+ action, STATE_SET "delete_image" 0.0;
+ target, "EnticeToolTip";
+ in, 0.5 0.0;
+ after, "ToolTipShow";
+ }
+ program
+ {
+ name, "ToolTipCBNext";
+ signal, "mouse,in";
+ source, "ButtonNextImage";
+ action, STATE_SET "next_image" 0.0;
+ target, "EnticeToolTip";
+ in, 0.5 0.0;
+ after, "ToolTipShow";
+ }
+ program
+ {
+ name, "ToolTipCBPrev";
+ signal, "mouse,in";
+ source, "ButtonPrevImage";
+ action, STATE_SET "prev_image" 0.0;
+ target, "EnticeToolTip";
+ in, 0.5 0.0;
+ after, "ToolTipShow";
+ }
+ program
+ {
+ name, "ToolTipCBRotateR";
+ signal, "mouse,in";
+ source, "ButtonRotateRight";
+ action, STATE_SET "rotate_right" 0.0;
+ target, "EnticeToolTip";
+ in, 0.5 0.0;
+ after, "ToolTipShow";
+ }
+ program
+ {
+ name, "ToolTipCBRotateL";
+ signal, "mouse,in";
+ source, "ButtonRotateLeft";
+ action, STATE_SET "rotate_left" 0.0;
+ target, "EnticeToolTip";
+ in, 0.5 0.0;
+ after, "ToolTipShow";
+ }
+ program
+ {
+ name, "ToolTipCBSlideShowGo";
+ signal, "mouse,in";
+ source, "ButtonSlideShowStart";
+ action, STATE_SET "slideshow_start" 0.0;
+ target, "EnticeToolTip";
+ in, 0.5 0.0;
+ after, "ToolTipShow";
+ }
+ program
+ {
+ name, "ToolTipCBSlideShowStop";
+ signal, "mouse,in";
+ source, "ButtonSlideShowStop";
+ action, STATE_SET "slideshow_stop" 0.0;
+ target, "EnticeToolTip";
+ in, 0.5 0.0;
+ after, "ToolTipShow";
+ }
+ program
+ {
+ name, "ToolTipCBZoomNormal";
+ signal, "mouse,in";
+ source, "ButtonZoomNormal";
+ action, STATE_SET "zoom_normal" 0.0;
+ target, "EnticeToolTip";
+ in, 0.5 0.0;
+ after, "ToolTipShow";
+ }
+ program
+ {
+ name, "ToolTipCBZoomIn";
+ signal, "mouse,in";
+ source, "ButtonZoomIn";
+ action, STATE_SET "zoom_in" 0.0;
+ target, "EnticeToolTip";
+ in, 0.5 0.0;
+ after, "ToolTipShow";
+ }
+ program
+ {
+ name, "ToolTipCBZoomOut";
+ signal, "mouse,in";
+ source, "ButtonZoomOut";
+ action, STATE_SET "zoom_out" 0.0;
+ target, "EnticeToolTip";
+ in, 0.5 0.0;
+ after, "ToolTipShow";
+ }
+ program
+ {
+ name, "ToolTipCBExpand";
+ signal, "mouse,in";
+ source, "ButtonExpandImage";
+ action, STATE_SET "expand_image" 0.0;
+ target, "EnticeToolTip";
+ in, 0.5 0.0;
+ after, "ToolTipShow";
+ }
+ program
+ {
+ name, "ToolTipCBFullScreen";
+ signal, "mouse,in";
+ source, "ButtonFullScreen";
+ action, STATE_SET "full_screen" 0.0;
+ target, "EnticeToolTip";
+ in, 0.5 0.0;
+ after, "ToolTipShow";
+ }
+ program
+ {
+ name, "ToolTipCBExit";
+ signal, "mouse,in";
+ source, "ButtonExit";
+ action, STATE_SET "exit_entice" 0.0;
+ target, "EnticeToolTip";
+ in, 0.5 0.0;
+ after, "ToolTipShow";
+ }
+ program
+ {
+ name, "ToolTipCBSaveImage";
+ signal, "mouse,in";
+ source, "ButtonSaveImage";
+ action, STATE_SET "save_image" 0.0;
+ target, "EnticeToolTip";
+ in, 0.5 0.0;
+ after, "ToolTipShow";
+ }
+ /* End Tooltips, yay ! */
/* just for looks */
program
{
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
