Gustavo Sverzut Barbieri wrote:


--- Viggo Fredriksen <[EMAIL PROTECTED]> escreveu:

Hi!


Hi Viggo,


I had nothing on my todo-list today, so I started to fiddle around
with osd:drawstringframed().


Great! I did it a lonnnng time ago and it's really hacky in some
areas... The shadow was also my code to overcome a problem with a skin
we had some time ago that mixed bright and dark areas too much.
   If you have some more time I would ask you to look in:
      - create {shadow,borders} + blurr. It should use C (maybe with
mmx/sse) extensions or it will be slow... as you can see our shadow is
just a duplicate of the string and *doesn't* support alpha, AFAIR.

The shadow and border was fixed by dischi using a temp surface and it now supports alpha. I don't believe it's that much slower, even using the transparency effect.

I'll take a look at how to make blur effects using pygame, but as you
say - it will probably be to slow. I'm uncertain on how to do this in
C however.

      - MPlayer OSD. It's something I'll look in future, but if you
have some time, than you can help here. Basically is extend video.bmovl
to support skin with Info_Area and View_Area. Dischi said we will need
a new Screen with update() reimplemented.

I haven't looked too much at how the update works. I agree it would be very cool to get a feature like this in freevo. There are some issues that need to be fixed/updated on the mail plugin atm, so I need to make a new release before I commit myself to anything else. We've also been building a compiler at school lately, and it's quite timeconsuming, but I hope to have time for something like this soon.

BTW: does bmovl2 get integrated in mplayer? if not, what's pending?


The suggestion is to replace the '...', after strings that do not fit
it's content area, with some kind of transparent gradient. Personally
I think this will allow freevo to show more text, while still
indicating that the string is longer than what is displayed.


Excellent.


See screenshot for example
 - http://www.matrise.net/~viggo/freevo/screenshots/new_ellipses.jpg

The current implementation has some bad hacks, as I do not know how
to do the shadow- and border-effects' alpha stuff correctly yet. I
therefore just chop away these effects when going into the gradient
phase to make it a little less ugly.


:(


Ok, what I would like to know - is this something that would be added
if done properly? I don't wanna spend more time on it if it's not
going to be used.


thankfully dischi already integrated it :D
Gustavo

Yeah, dischi's been a real busy-boy this weekend :) /me likes


Viggo




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to