BeOS port gets native gui
François Revol <[email protected]> Thu, 1 Apr 2004 19:42:29 +0200
| Newsgroups | gmane.emacs.xemacs.design,gmane.emacs.xemacs.general |
|---|---|
| Message-ID | <[email protected]> |
After several attempts, I finally stepped in and started a native BeOS gui. I've gone quite far: http://clapcrest.free.fr/revol/beos/shot_xemacs_native_first_window_003.png keyboard handling mostly works. redisplay needs some more work, text isn't drawn yet, and I need to add push/pop calls to maintain the gui state (BeOS doesn't use gc stuff). I had to add some C++ files, since the BeOS framework needs that. I use a one month old cvs, since I lost my DSL connection. The event part was quite hairy, because BeOS doesn't use sockets as IPC, and the gui is multithreaded. basically I had to send pointers to the received BMessages in a pipe from the gui threads, and handle them from the main thread. That's not exactly the way it's intended to be, but it works fine and I already used that scheme in rdesktop succesfully. I wanted handle timers differently, but it seems to work by just using the tty version. François. P.S. I'm not subscribed yet.