[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnash-dev
Subject:    Re: [Gnash-dev] Any ideas about drawing character or shape in a
From:       Andrea_Palmatè <andrea () amigasoft ! net>
Date:       2009-05-17 17:48:16
Message-ID: F86698FF-1626-440E-8354-FBD3ABD24456 () amigasoft ! net
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


i was missing

resize_view(new_width, new_height);

Now it works like a charm.. :)

Andrea

Il giorno 17/mag/09, alle ore 19:35, Wei Cao ha scritto:

> i think you should implement SDLGui::resize_event()
>
> 2009/5/18 Andrea Palmatè <andrea@amigasoft.net>
> this patch gain a 5-10% of cpu time depends from the size and type  
> of the swf file at leas on AmigaOS4 but i think it will be the same  
> on other platforms where SDL is used
>
> Now I'm trying to implement the resize event but, while the window  
> and the _offscreenbuf seems resized correctly, the movie has always  
> the same size. I've used the same way of other GUI like fltk for  
> example
>
> Maybe the new width, height are not passed to agg renderer?
>
> See attached screenshot
>
> Andrea
>
>
>
> _______________________________________________
> Gnash-dev mailing list
> Gnash-dev@gnu.org
> http://lists.gnu.org/mailman/listinfo/gnash-dev
>
>


[Attachment #5 (text/html)]

<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; ">i was \
missing<div><div><br></div><div>resize_view(new_width, \
new_height);</div><div><br></div><div>Now it works like a charm.. \
:)</div><div><br></div><div>Andrea</div><div><br></div><div><div>Il giorno 17/mag/09, \
alle ore 19:35, Wei Cao ha scritto:</div><br \
class="Apple-interchange-newline"><blockquote type="cite">i think you should \
implement SDLGui::resize_event()<br><br> <div class="gmail_quote">2009/5/18 Andrea \
Palmatè <span dir="ltr">&lt;<a \
href="mailto:andrea@amigasoft.net">andrea@amigasoft.net</a>></span><br> <blockquote \
class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: \
#ccc 1px solid">this patch gain a 5-10% of cpu time depends from the size and type of \
the swf file at leas on AmigaOS4 but i think it will be the same on other platforms \
where SDL is used<br> <br>Now I'm trying to implement the resize event but, while the \
window and the _offscreenbuf seems resized correctly, the movie has always the same \
size. I've used the same way of other GUI like fltk for example<br> <br>Maybe the new \
width, height are not passed to agg renderer?<br><br>See attached screenshot<br><font \
color="#888888"><br>Andrea<br></font><br><br><br>_______________________________________________<br>Gnash-dev \
mailing list<br> <a href="mailto:Gnash-dev@gnu.org">Gnash-dev@gnu.org</a><br><a \
href="http://lists.gnu.org/mailman/listinfo/gnash-dev" \
target="_blank">http://lists.gnu.org/mailman/listinfo/gnash-dev</a><br><br></blockquote></div><br></blockquote></div><br></div></body></html>




_______________________________________________
Gnash-dev mailing list
Gnash-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic