nanogui: MWWINDOFBINFO.x and .y


Previous by date: 4 Jan 2002 05:59:42 -0000 Re: typedef int MWBOOL;, Greg Haerr
Next by date: 4 Jan 2002 05:59:42 -0000 Re: typedef int MWBOOL;, Jordan Crouse
Previous in thread: 4 Jan 2002 05:59:42 -0000 MWWINDOFBINFO.x and .y, Dave Poirier
Next in thread:

Subject: Re: [nanogui] MWWINDOFBINFO.x and .y
From: "Greg Haerr" ####@####.####
Date: 4 Jan 2002 05:59:42 -0000
Message-Id: <005e01c194e3$a3a57060$3aba46a6@xmission.com>

: I've noticed that in almost all structures of include/mwtypes.h, the
: coordinates are defined using MWCOORD, but in this particular structure,
: 'x' and 'y' are defined as int.  Sure MWCOORD is defined as a 'int'
: earlier but shouldn't they be defined as MWCOORD in this structure too?

Yes.  I'll fix it in the next cut, thanks.

Regards,

Greg



: 
: typedef struct {
:  unsigned char * physpixels;     /* address of real framebuffer*/
:         /* note winpixels is only correct in non-portrait modes*/
:  unsigned char * winpixels;      /* address of 0,0 this window in fb*/
:  int     pixtype;        /* MWPF_ pixel type*/
:  int     bpp;            /* bits per pixel*/
:  int     bytespp;        /* bytes per pixel*/
:  int     pitch;          /* bytes per scan line for window (=fbpitch)*/
:  int     x, y;           /* absolute virtual window coordinates*/
:  int     portrait_mode;  /* current portrait mode*/
:  MWCOORD xres;           /* real framebuffer resolution*/
:  MWCOORD yres;
:  MWCOORD xvirtres;       /* virtual framebuffer resolution*/
:  MWCOORD yvirtres;
: } MWWINDOWFBINFO;
: -- 
: EKS - Dave Poirier                               ####@####.####
: "may the hairs on his toes never fall out"           http://uuu.sf.net/
: 
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: ####@####.####
: For additional commands, e-mail: ####@####.####
: 


Previous by date: 4 Jan 2002 05:59:42 -0000 Re: typedef int MWBOOL;, Greg Haerr
Next by date: 4 Jan 2002 05:59:42 -0000 Re: typedef int MWBOOL;, Jordan Crouse
Previous in thread: 4 Jan 2002 05:59:42 -0000 MWWINDOFBINFO.x and .y, Dave Poirier
Next in thread:


Powered by ezmlm-browse 0.20.