« Return to Thread: On screen text display high level method proposal

Re: On screen text display high level method proposal

by Andrea Viarengo :: Rate this Message:

Reply to Author | View in Thread

Christian Walther <cwalther <at> gmx.ch> writes:

>
> > --   Globals defined:
> > --      pipmak.cachedtext      (table)
> > --      pipmak.istextdisplayed (boolean)
>

Fixed!!
simply I define them local!!!

local cachedtext
local istextdisplayed


>
> > panel { pipmak.newimage( pipmak.screensize()) }
>

Fixed!!
local width,height=pipmak.screensize()
panel { pipmak.newimage(1,1),w=width,h=height }

it works nice.

About the BUG on resize, I fixed moving also panel

pipmak.thisnode():moveto(nil,nil,0,0)

but it's valid for all the text displayed after resize operation,
text displayed during resize isn't always corrected (depend by alignment)

Probably I have to align panel to center, and not to the left angle...
I have to do more tests.

I haven't possibility to update my file now, maybe on monday...

-Andrea





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pipmak-Users mailing list
Pipmak-Users@...
news://news.gmane.org/gmane.games.devel.pipmak.user
https://lists.sourceforge.net/lists/listinfo/pipmak-users

 « Return to Thread: On screen text display high level method proposal