nanogui: [patch] cleanup to device.h


Previous by date: 6 Oct 2000 21:24:37 -0000 Re: help-microwindows on framebuffer for cirrus logic, Greg Haerr
Next by date: 6 Oct 2000 21:24:37 -0000 Small patch for move window, wycc.link.ece.uci.edu
Previous in thread:
Next in thread:

Subject: [patch] cleanup to device.h
From: Brent Thompson ####@####.####
Date: 6 Oct 2000 21:24:37 -0000
Message-Id: <39DE4224.8020209@nlc.com>

Here's a small correction (from 0.88) to the SCREENDEVICE
DrawHorzLine & FillRect function prototypes in <device.h>.
Basically, the prototype indicates parameters of X,Y,W,H
when they should be X1,Y1,X2,Y2.

BAT
-- 
Brent A. Thompson, Next Level Communications <www.nlc.com>
1776 22nd Street #100, West Des Moines, IA 50266-1444
EMail: ####@####.#### Phone: (515)991-3853

*** device.h_0.88	Thu Aug  3 13:42:48 2000
--- device.h	Fri Oct  6 16:12:58 2000
*************** typedef struct _mwscreendevice {
*** 136,146 ****
  	void	(*SetPalette)(PSD psd,int first,int count,MWPALENTRY *pal);
  	void	(*DrawPixel)(PSD psd,MWCOORD x,MWCOORD y,MWPIXELVAL c);
  	MWPIXELVAL (*ReadPixel)(PSD psd,MWCOORD x,MWCOORD y);
! 	void	(*DrawHorzLine)(PSD psd,MWCOORD x,MWCOORD x2,MWCOORD y,
  			MWPIXELVAL c);
  	void	(*DrawVertLine)(PSD psd,MWCOORD x,MWCOORD y1,MWCOORD y2,
  			MWPIXELVAL c);
! 	void	(*FillRect)(PSD psd,MWCOORD x,MWCOORD y,MWCOORD w,MWCOORD h,
  			MWPIXELVAL c);
  	PMWCOREFONT builtin_fonts;
  
--- 136,146 ----
  	void	(*SetPalette)(PSD psd,int first,int count,MWPALENTRY *pal);
  	void	(*DrawPixel)(PSD psd,MWCOORD x,MWCOORD y,MWPIXELVAL c);
  	MWPIXELVAL (*ReadPixel)(PSD psd,MWCOORD x,MWCOORD y);
! 	void	(*DrawHorzLine)(PSD psd,MWCOORD x1,MWCOORD x2,MWCOORD y,
  			MWPIXELVAL c);
  	void	(*DrawVertLine)(PSD psd,MWCOORD x,MWCOORD y1,MWCOORD y2,
  			MWPIXELVAL c);
! 	void	(*FillRect)(PSD psd,MWCOORD x1,MWCOORD y1,MWCOORD x2,MWCOORD y2,
  			MWPIXELVAL c);
  	PMWCOREFONT builtin_fonts;
  

Previous by date: 6 Oct 2000 21:24:37 -0000 Re: help-microwindows on framebuffer for cirrus logic, Greg Haerr
Next by date: 6 Oct 2000 21:24:37 -0000 Small patch for move window, wycc.link.ece.uci.edu
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.