Forum: Ruby SDL - how to enable window (surface) repaint

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
14c2b37b41262c4d86a7a8490fd200b8?d=identicon&s=25 bouncer (Guest)
on 2005-11-14 18:17
(Received via mailing list)
hello,

i am using sdl library from http://www.kmc.gr.jp/~ohai/rubysdl.en.html.

the problem is that if the sdl window is overlapped with another
window(s)
and then "switched" back, the surface of sdl has blank portion (where
the
overlapping window was.

i am guessing that i need to hook into some event and do refresh but
how? i
googled but not successfully...

vlad
14c2b37b41262c4d86a7a8490fd200b8?d=identicon&s=25 bouncer (Guest)
on 2005-11-14 18:23
(Received via mailing list)
forgot to tell - i am drawing pixels...

vlad
14c2b37b41262c4d86a7a8490fd200b8?d=identicon&s=25 bouncer (Guest)
on 2005-11-14 18:35
(Received via mailing list)
solved, all it needed was an event loop, my humble apologies for wasted
bandwitch and your time...

vlad
This topic is locked and can not be replied to.