From owner-cvs-all Sun Jan 14 10: 0:45 2001 Delivered-To: cvs-all@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id BEB0E37B698; Sun, 14 Jan 2001 10:00:21 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.1/8.11.1) id f0EI0LV27590; Sun, 14 Jan 2001 10:00:21 -0800 (PST) (envelope-from obrien) Date: Sun, 14 Jan 2001 10:00:20 -0800 From: "David O'Brien" To: Nicolas Souchu 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> Reply-To: obrien@FreeBSD.org References: <200101131130.f0DBUHP12372@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200101131130.f0DBUHP12372@freefall.freebsd.org>; from nsouch@FreeBSD.org on Sat, Jan 13, 2001 at 03:30:17AM -0800 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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