From: <enl...@li...> - 2004-04-27 04:50:37
|
Enlightenment CVS committal Author : atmosphere Project : e17 Module : apps/entice Dir : e17/apps/entice/data/themes/default/parts Modified Files: enticeimagepreview.edc Log Message: this might be annoying but it won't stay long =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/entice/data/themes/default/parts/enticeimagepreview.edc,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- enticeimagepreview.edc 3 Apr 2004 02:24:12 -0000 1.2 +++ enticeimagepreview.edc 27 Apr 2004 04:50:30 -0000 1.3 @@ -1,40 +1,118 @@ part { - name, "entice.preview"; - type, IMAGE; + name, "entice.preview.confine"; + type, RECT; + mouse_events, 0; + description + { + state, "default" 0.0; + visible, 1; + rel1 + { + relative, 0.0 0.0; + offset, 80 20; + } + rel2 + { + relative, 1.0 1.0; + offset, -20 -20; + } + color, 255 255 255 0; + } + } + part + { + name, "entice.preview.clip"; + type, RECT; mouse_events, 0; description { state, "default" 0.0; visible, 1; + color, 255 255 255 0; rel1 { - relative, 0.0 0.9; - offset, -200 0; - to, "Panel"; + relative, 0.0 0.0; + offset, 0 0; + to, "entice.preview"; } rel2 { - relative, 0.0 0.9; - offset, -100 0; - to, "Panel"; + relative, 1.0 1.0; + offset, 0 0; + to, "entice.preview"; } } description { state, "visible" 0.0; visible, 1; + color, 255 255 255 255; + rel1 + { + relative, 0.0 0.0; + offset, 0 0; + to, "entice.preview"; + } + rel2 + { + relative, 1.0 1.0; + offset, 0 0; + to, "entice.preview"; + } + } + } + part + { + name, "entice.preview"; + type, RECT; + mouse_events, 1; + dragable { + x, 1 1 0; + y, 1 1 0; + confine, "entice.preview.confine"; + } + clip_to, "entice.preview.clip"; + description + { + state, "default" 0.0; + visible, 1; + min, 164 164; + max, 164 164; + rel1 + { + relative, 0.0 0.0; + offset, 0 0; + } + rel2 + { + relative, 0.0 0.0; + offset, 200 200; + } + color, 255 255 255 0; + } + } + part + { + name, "entice.preview.area"; + type, RECT; + mouse_events, 1; + description + { + state, "default" 0.0; + visible, 1; rel1 { - relative, 1.0 0.75; - offset, 0 -96; - to, "Panel"; + relative, 0.0 0.0; + offset, 0 0; + to, "entice.preview"; } rel2 { - relative, 1.0 0.75; - offset, 192 96; - to, "Panel"; + relative, 1.0 1.0; + to, "entice.preview"; + offset, 0 0; } + color, 255 255 255 0; } } |