Hi Boldin,

I applied your patch and compiled it, but it seems to break all the edje
interfaces: buttons do not respond anymore and I can't move dragable
parts anymore.
Also, I haven't really understand what your patch should do? Dragable
parts can already act like progress bars, you just need to code it on
the app side. 

Regards,
MoOm

Le dimanche 19 juin 2005 à 01:38 +0500, Boldin Pavel a écrit :
> Hello all!
> 
> I patch edje to get working dragable objects like progressbars.
> 
> this done by event handling and passing to dragable (mouse_down, 
> mouse_up, mouse_move).
> you should add section like next one
> ===
> dragable {
>  events: "progress_bar_drag";
> }
> ===
> into "part" section of object on that you make action.
> 
> example in 2nd attached file.
> i hope this will be useful in eclair volume and progress bar (i tested both)
> 
> thanks for attention.
> 
> pièce jointe document plein texte (example.edc)
>       part {
>          name: "volume_bar";
>        dragable {
>           events: "volume_bar_drag";
>        }
> 
>          description {
>             state: "default" 0.0;
>             visible: 1;
>           //align: 0 0;
>             rel1 {
>                relative: 0 0;
>                offset: 123 0;
>                to: "entry_rect";
>             }
>             rel2 {
>                relative: 0 0;
>                offset: 200 22;
>                to: "entry_rect";
>             }
>             image {
>                normal: "volume_bar.png";
>             }
>          }
>       }



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to