Date: Sun, 14 Jan 2001 10:00:20 -0800 From: "David O'Brien" <obrien@FreeBSD.org> To: Nicolas Souchu <nsouch@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libvgl bitmap.c main.c simple.c vgl.h Message-ID: <20010114100020.C35126@dragon.nuxi.com> In-Reply-To: <200101131130.f0DBUHP12372@freefall.freebsd.org>; from nsouch@FreeBSD.org on Sat, Jan 13, 2001 at 03:30:17AM -0800 References: <200101131130.f0DBUHP12372@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 13, 2001 at 03:30:17AM -0800, Nicolas Souchu wrote: > There is no major interface modification except that the color type > becomes u_long instead of byte. So one just need to recompile his > application. Uh... this certainly *is*: -void VGLSetXY(VGLBitmap *object, int x, int y, byte color); +void VGLSetXY(VGLBitmap *object, int x, int y, u_long color); -byte VGLGetXY(VGLBitmap *object, int x, int y); +u_long VGLGetXY(VGLBitmap *object, int x, int y); -void VGLLine(VGLBitmap *object, int x1, int y1, int x2, int y2, byte color); +void VGLLine(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color); -void VGLBox(VGLBitmap *object, int x1, int y1, int x2, int y2, byte color); +void VGLBox(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color); -void VGLFilledBox(VGLBitmap *object, int x1, int y1, int x2, int y2, byte color); +void VGLFilledBox(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long co lor); -void VGLEllipse(VGLBitmap *object, int xc, int yc, int a, int b, byte color); +void VGLEllipse(VGLBitmap *object, int xc, int yc, int a, int b, u_long color); -void VGLFilledEllipse(VGLBitmap *object, int xc, int yc, int a, int b, byte color); +void VGLFilledEllipse(VGLBitmap *object, int xc, int yc, int a, int b, u_long color); -void VGLClear(VGLBitmap *object, byte color); +void VGLClear(VGLBitmap *object, u_long color); Just what would you call a major interface change then?? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010114100020.C35126>