On Fri, Aug 08, 2003 at 11:26:18AM +0200, Markus Schorer wrote:
> hi all,
> 
> another question/problem:
> 
> i have an application with 2 threads:
> - one for the picogui stuff
> - one playing mp3s
> 
> the mp3 thread constantly updates the screen (by communicating the
> changed parms to the pgui-thread, as pgui ist not thread-safe, or is
> it?).

Nope, the C client lib is not thread safe.

> if i open a popup to show options, the background is no longer updated.
> 
> is there a way to have ui items in an overlay-window and have the 
> background updated? how can i "remote-control" such a window?

This is a limitation of picogui's overly simple rendering engine.
The background doesn't update, because PicoGUI doesn't support
nonrectangular clipping. The only solution to this besides rewriting the
renderer yourself or waiting for the planned one to poof into existence
is to use a silly little hack.

In order for the onscreen keyboard to be usable when a popup is
onscreen, a hack was added so that popups containing widgets that accept
text will render only in the 'nontoolbar area' and leave all toolbar
apps free to update and accept input.

--Micah

-- 
Only you can prevent creeping featurism!


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to