diff options
author | dos-reis <gdr@axiomatics.org> | 2012-08-26 20:27:00 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2012-08-26 20:27:00 +0000 |
commit | 50731b6737c4ec7ef2f5be7eca44a5e7692d305a (patch) | |
tree | 9ca4458f507b8ef9bb4141b450e6708f523c5e26 /src/graph/include/Gfun.H1 | |
parent | 5d206512273e528a4b3c863a7556f26f8c1c59de (diff) | |
download | open-axiom-50731b6737c4ec7ef2f5be7eca44a5e7692d305a.tar.gz |
* graph/Gdraws/Gfun.c (GDrawLine): Make string parameter of type
const char*.
(GDrawPushButton): Likewise.
(GDrawString): Likewise.
(PSCreateContext): Likewise.
(centerX): Likewise.
* Makefile.am (all-graph): Require all-utils.
Diffstat (limited to 'src/graph/include/Gfun.H1')
-rw-r--r-- | src/graph/include/Gfun.H1 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/graph/include/Gfun.H1 b/src/graph/include/Gfun.H1 index 081ccda2..31fb7762 100644 --- a/src/graph/include/Gfun.H1 +++ b/src/graph/include/Gfun.H1 @@ -1,22 +1,22 @@ extern int PSCreateFile(int , Window , Window , char * ); extern int Gdraws_drawFrame(int , Window , Window , char * ); extern int Gdraws_setDimension(Window , Window ); -extern int GDrawImageString(GC , Window , int , int , char * , int , int ); +extern int GDrawImageString(GC , Window , int , int , const char* , int , int ); extern int GDrawArc(GC , Window , int , int , unsigned int , unsigned int , int , int , int ); extern int GDrawLine(GC , Window , int , int , int , int , int ); extern int GDrawLines(GC , Window , XPoint * , int , int , int ); extern int GDrawPoint(Window , GC , int , int , int ); -extern int GDrawString(GC , Window , int , int , char * , int , int ); +extern int GDrawString(GC , Window , int , int , const char* , int , int ); extern int GFillArc(GC , Window , int , int , unsigned int , unsigned int , int , int , int ); extern int PSGlobalInit(void ); extern int PSInit(Window , Window ); -extern int PSCreateContext(GC , char * , int , int , int , float , float ); +extern int PSCreateContext(GC , const char* , int , int , int , float , float ); extern char * PSfindGC(GC ); extern int GSetForeground(GC , float , int ); extern int GSetBackground(GC , float , int ); extern int GSetLineAttributes(GC , int , int , int , int , int ); extern int PSClose(void ); -extern int centerX(GC , char * , int , int ); +extern int centerX(GC , const char* , int , int ); extern int centerY(GC , int ); extern int PSColorPolygon(float , float , float , XPoint * , int ); extern int PSColorwOutline(float , float , float , XPoint * , int ); @@ -30,7 +30,8 @@ extern void XDeleteAssoc(Display * , HashTable * , Window ); extern int GDrawRectangle(GC , Window , short , short , short , short , int ); extern int GDraw3DButtonOut(GC , Window , short , short , short , short , int ); extern int GDraw3DButtonIn(GC , Window , short , short , short , short , int ); -extern int GDrawPushButton(Display * , GC , GC , GC , Window , short , short , short , short , int , char * , unsigned long , unsigned long , int ); +extern int GDrawPushButton(Display * , GC , GC , GC , Window , short , +short , short , short , int , const char* , unsigned long , unsigned long , int ); #ifdef _GFUN_C static void filecopy(FILE * , FILE * ); static int TrivEqual(Window , Window ); |