View Single Post
  #2   (View Single Post)  
Old 21st October 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by Turophile View Post
How are things like, say, Blackbox rendering things on X11?
Blackbox is a window manager, so I doubt there is anything that it does that isn't already available in more basic X Window primitives. You can always dig up its code & study it.
Quote:
Is it easy to port this to, say, Windows, or is it almost a complete re-write?
Microsoft uses its own primitives, so it is fair to expect that you will be rewriting your application, however, the Win32 system calls needed to do so may resemble the primitives found in X, but it is not guaranteed.

If you are both new & concerned about porting, you might want to consider a cross-platfom toolkit like:
  • Qt
  • wxWidgets
  • Tk
  • etc.
Languages such as Java or Python have GUI toolkits incorporated into their implementations (eg. Java Swing, Tkinter, or wxPython), so unless you are a specific reason for wanting to make more work for yourself, I would recommend going with a higher-level cross-platform abstraction.

Last edited by ocicat; 21st October 2008 at 10:58 AM.
Reply With Quote