mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mldonkey-users] [GUI] Display the Chunk Graphic in different nuance


From: Goswin Brederlow
Subject: Re: [Mldonkey-users] [GUI] Display the Chunk Graphic in different nuances
Date: 03 Oct 2002 19:59:31 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

esel2k <address@hidden> writes:

> hi,
> 
> i think a good feature is to display the
> Avialibility in the Chunk Graphic with color nuances
> like the edonkey, emule do this...
> 
> i think thats here: (line 749) on donkey/donkeyInteractive.ml

That limits it to 3 colors, missing (red), sparese (blue) and
frequent (black).

Since the gui can already cope with number >2 there the donkey should
not limit it to 0, 1 and 2.

As it is the gui can only show the 3 colors it does.

> <- code snip ->
>         P.file_download_rate = file_download_rate file.file_file;
>         P.file_chunks = file.file_all_chunks;
>         P.file_availability = String2.init file.file_nchunks (fun i ->
>             if file.file_available_chunks.(i) > 1 then '2' else
>             if file.file_available_chunks.(i) > 0 then '1' else
>               '0' ) ;
> 
>         P.file_format = file.file_format;
>         P.file_chunks_age = file.file_chunks_age;
>         P.file_age = file_age file;
> <- code snip ->
> 
> bye and thanx
> 
> 
> 
> 
> _______________________________________________
> Mldonkey-users mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/mldonkey-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]