home *** CD-ROM | disk | FTP | other *** search
/ vsiftp.vmssoftware.com / VSIPUBLIC@vsiftp.vmssoftware.com.tar / FREEWARE / FREEWARE40.ZIP / xpaint-247 / graphic.h < prev    next >
C/C++ Source or Header  |  1997-01-03  |  1KB  |  28 lines

  1. /* $Id: graphic.h,v 1.5 1996/04/19 08:52:25 torsten Exp $ */
  2.  
  3. typedef void (*GraphicAllProc) (Widget, void *);
  4.  
  5. /* graphic.c */
  6. void GraphicRemove(Widget paint, XtPointer junk, XtPointer junk2);
  7. void GraphicAdd(Widget paint);
  8. void GraphicAll(GraphicAllProc func, void *data);
  9. void GraphicSetOp(void (*stop) (Widget, void *), void *(*start) (Widget));
  10. void *GraphicGetData(Widget w);
  11. Widget AddPattern(Widget group, Widget paint, Pixmap pix, Pixel pxl);
  12. Widget AddPatternInfo(void *piArg, Pixmap pix, Pixel pxl);
  13. void ChangePattern(void *iArg, Pixmap pix);
  14. void zoomCallback(Widget w, XtPointer paintArg, XtPointer junk2);
  15. void EnableLast(Widget paint);
  16. void EnableRevert(Widget paint);
  17. Widget makeGraphicShell(Widget wid);
  18. Widget graphicCreate(Widget shell, int width, int height, int zoom,
  19.              Pixmap pix, Colormap cmap);
  20. void *GraphicGetReaderId(Widget paint);
  21. void GraphicOpenFile(Widget w, XtPointer fileArg, XtPointer imageArg);
  22. Widget GraphicOpenFileZoom(Widget w, char *file, XtPointer imageArg, int zoom);
  23. #ifndef VMS
  24. void GraphicCreate(Widget wid, int value);
  25. #else
  26. void Graphic_Create(Widget wid, int value);
  27. #endif
  28.