nanogui: some nano-X things


Previous by date: 16 Jun 1999 17:34:19 -0000 Re: some nano-X things, Lalo Martins
Next by date: 16 Jun 1999 17:34:19 -0000 Re: nanogui widget set, Greg Haerr
Previous in thread: 16 Jun 1999 17:34:19 -0000 Re: some nano-X things, Lalo Martins
Next in thread: 16 Jun 1999 17:34:19 -0000 Re: some nano-X things, Greg Haerr

Subject: RE: some nano-X things
From: Greg Haerr ####@####.####
Date: 16 Jun 1999 17:34:19 -0000
Message-Id: <01BEB7EA.AD7440E0.greg@censoft.com>

 
: > - again, there is no bitblit function. What do I have to do to draw a
: > GR_BITMAP into a button ?
: 
: [speaking out of the list, since I haven't really got nano-X
: running yet]
: 
: IIRC, there are no bitmaps you can draw on, so there's no need
: for it. If you have coded bitmaps, you're welcome to code bitblt
: :-)

	This is incorrect.  Bitblt is a device-dependent function to
move bits from one area to another.  The nano-X GrBitmap() function is
used to draw monochrome bitmaps in nano-X.  It takes a window id,
graphics context, x, y, w, h, and an imagebits ptr.  The imagebits are drawn
using the current gc foreground color, and if UseBackground is set, the background
bits are drawn using the bg color.
	Micro-windows supports 256 color bitmaps with DrawImage().

: 
: [Also, of less importance, IIRC it's bitblt and not bitblit -
: blt for "block transfer"]
: 
: > - I only managed to make nano-X run on real X by quickly
: > hacking a GGI driver. ( very quick and dirty ...) While using
: > nano-X, the server segfaults very often and many socket read
: > errors occur. This could be due to me lazy GGI driver, or is
: > this the alpha-behaviour of nano-X? It segfaults on
: > window-unmap /-resize /-move ... so, toolkit development isn't
: > going on very fast.
: 
: I think a GGI driver would be a thing to have in this initial
: testing/developing/hacking period. This would mean (for me)
: being able to hack it, since I can't get framebuffers to work on
: either machine I use (Trident board at work, MACH32 at home).
: 
: As to your problem... wouldn't GGI on top of svgalib help? Or
: GGI on KGI if available for your hardware? (I personally plan to
: use GGI/svgalib in the beginning, since I don't want to install
: X at home)

	My version of nano-X and micro-windows runs on top of 
SVGAlib, which runs on all versions of linux.  That's the reason I wrote it.
Any linux user can use and develop with nano-X.  No need for the
ridiculously hard-to-setup framebuffers.  Of course, they're supported too.

Greg








Previous by date: 16 Jun 1999 17:34:19 -0000 Re: some nano-X things, Lalo Martins
Next by date: 16 Jun 1999 17:34:19 -0000 Re: nanogui widget set, Greg Haerr
Previous in thread: 16 Jun 1999 17:34:19 -0000 Re: some nano-X things, Lalo Martins
Next in thread: 16 Jun 1999 17:34:19 -0000 Re: some nano-X things, Greg Haerr


Powered by ezmlm-browse 0.20.