1 /**
2  ** ubox.c
3  **
4  ** Copyright (C) 1992, Csaba Biegl
5  **   820 Stirrup Dr, Nashville, TN, 37221
6  **   csaba@vuse.vanderbilt.edu
7  **
8  ** This file is part of the GRX graphics library.
9  **
10  ** The GRX graphics library is free software; you can redistribute it
11  ** and/or modify it under some conditions; see the "copying.grx" file
12  ** for details.
13  **
14  ** This library is distributed in the hope that it will be useful,
15  ** but WITHOUT ANY WARRANTY; without even the implied warranty of
16  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17  **
18  **/
19 
20 #include "libgrx.h"
21 #include "usercord.h"
22 
GrUsrBox(int x1,int y1,int x2,int y2,GrColor c)23 void GrUsrBox(int x1,int y1,int x2,int y2,GrColor c)
24 {
25 	U2SX(x1,CURC);
26 	U2SY(y1,CURC);
27 	U2SX(x2,CURC);
28 	U2SY(y2,CURC);
29 	GrBox(x1,y1,x2,y2,c);
30 }
31