From: qballlives AT aol DOT com (QBallLives) Newsgroups: comp.os.msdos.djgpp Subject: Re: I got a question.... Date: 15 Mar 1998 00:04:53 GMT Lines: 23 Message-ID: <19980315000400.TAA25337@ladder03.news.aol.com> NNTP-Posting-Host: ladder03.news.aol.com Organization: AOL http://www.aol.com References: <6e8m7h$jc1$438 AT news3 DOT mr DOT net> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >Hey, > > Look at http://208.230.240.185/porn ... I am not affiliated with this >site, I just really like it and think they deserve the extra traffic. It is >on a fast T3, has lots of just turned 18's, teen mpegs, blacks, asians, >movies and pam lee mpegs! All on nice organized indexes... > > Mike Swanson > > > uh... "mike"... you've got a question, and I've got the answer YES - you are a nimrod! Good day... Jim the loiterer aloiterer AT juno DOT com http://www.fortunecity.com/skyscraper/gigahertz/179/index.html rse, is to eliminate the need to pass additional arguments such as location and bitmap size to the 'Paste______' functions. Both functions perform exactly what they were intended to do -- BUT there must be way to describe a generic array pointer in such a way that only *ONE* function would be required to pull a BITMAP *map member from the named array and paste it to it's appropriate location? The target app is in 'C' by the way. Any ideas? typedef struct { int x1; int y1; int x2; int y2; int length; int height; int x; int y; int state; int frame; COLOR_GROUP *color; BITMAP *map; }BUTTON_TYPE; BUTTON_TYPE *mouse_button[NUM_MOUSE_BUTTONS]; typedef struct { int length; int height; int x; int y; BITMAP *map; COLOR_GROUP *color; }WINDOW_TYPE; WINDOW_TYPE *text_window; /* array *name pasted to target *map */ void PasteButton(BUTTON_TYPE *name, BITMAP *map) { int tmp=mouseflag; if(tmp)MouseOFF(); blit(name->map,map,0,0,name->x,name->y, name->length,name->height); if(tmp)MouseON(); } /* end PasteButton() */ void PasteWindow(WINDOW_TYPE *name, BITMAP *map) { int tmp=mouseflag; if(tmp)MouseOFF(); blit(name->map,map,0,0,name->x,name->y, name->length,name->height); if(tmp)MouseON(); } /* end PasteWindow() */