Pgui-ers, Okay, I've finally gotten libgcj to do some basic heavyweight drawing, Labels and Buttons are presently functional. The application formation method is ugly to the n-th degree, and implementing proper sizing and location is going to be a pain in the behind. But the initial connections to the drawing engine are done, and layed out pretty well. Once I get a smarter way for laying out widgets, and get something other than the default theme installed I'll take some screenshots, and post a new code snapshot. (Things have changed a lot, and I've got a patch for the Makefile.am and configure.in for gcc to hook everything together) Now, the question I have now relates to threading. The way the Event stuff works within libgcj is something like this I'm pretty sure: Events are gotten and mangled in the GUI specific thread (pgEventLoop()), and dispatched through some IPC mechanism to one of the core java threads. Now if that's going to function for our purposes, we'll also need to pipe over drawing requests through a dispatch system to the pgEventLoop thread I'm pretty sure. (Micah correct me if I'm wrong on this) One of the ideas I have for solving this problem is something like this..., just change the core c bindings to do things a little differently. Make them smart about which thread they are in, if they are in the one that actually does the talking to the server, things progress as normal. If not, they pass a message to that thread which fits in with it's select call somehow and pass the data to be piped to pgserver. What do you think? Any other ideas for how to solve the "Whos drawing where" problem? I'm just sort of brainstorming at this point, I'm not going to solve this problem until I have a good layout method. (Week or two away..., I got side tracked trying to fix a bug in gcj, but just did a work around instead when I got tired of screwing around with debug'ing RTL code trees) Thanks, Shane Nay. _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/pgui-devel
