home *** CD-ROM | disk | FTP | other *** search
/ Amiga Times / AmigaTimes.iso / programme / trionbbs110 / Trion / docs / RIPdoors / ripdoor.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-10-06  |  2.8 KB  |  85 lines

  1.  
  2.  
  3. /*  Trion BBS 'RIPscrip Clidoor Support' header file                    */
  4. /*                                                                      */
  5. /*  V 1.00   08 - Jan - 1998                                            */
  6. /*                                                                      */
  7. /*  (c) Copyright 1995-98 by Paul Spijkerman                            */
  8.  
  9.  
  10.  
  11.  
  12. #include <exec/types.h>
  13. #include <exec/ports.h>
  14. #include <exec/memory.h>
  15. #include <dos/dos.h>
  16. #include <clib/exec_protos.h>
  17. #include <clib/alib_protos.h>
  18. #include <clib/dos_protos.h>
  19. #include <stdio.h>
  20. #include <strings.h>
  21. #include <stdlib.h>
  22. #include <stdarg.h>
  23.  
  24.  
  25.  
  26.  
  27. /* ripsupport.c */
  28.  
  29.  
  30. UBYTE MakeMegaChar  (int n);
  31. void  Store1Chars   (UBYTE *p, UWORD value);
  32. void  Store2Chars   (UBYTE *p, UWORD value);
  33. void  Store3Chars   (UBYTE *p, UWORD value);
  34. void  Store4Chars   (UBYTE *p, UWORD value);
  35.  
  36. void  endrip        (void);
  37.  
  38.  
  39. /* ripbuttons.c */
  40.  
  41. void ButtonStyle(UWORD wid,  UWORD hgt,     UWORD orient, UWORD flags,
  42.                  UWORD size, UWORD dfore,   UWORD dback,  UWORD bright,
  43.                  UWORD dark, UWORD surface, UWORD grp_no, UWORD flags2,
  44.                  UWORD uline_col, UWORD corner_col );
  45.  
  46. void RipButton(UWORD x1, UWORD y1, UWORD x2, UWORD y2, UBYTE hotkey,
  47.                UWORD flags, UBYTE *text);
  48.  
  49. /* copy image to clipboard */
  50. void  GetImage      (UWORD x1, UWORD y1, UWORD x2, UWORD y2);
  51. /* paste clipboard image to screen */
  52. void  PutImage      (UWORD  x, UWORD  y, UWORD mode);
  53. /* write clipboard contents to disk */
  54. void  WriteIcon     (UBYTE *name);
  55. /* loads and displays a disk based icon to screen */
  56. void  LoadIcon      (UWORD x, UWORD y, UWORD mode, UWORD clip, UBYTE *name);
  57.  
  58.  
  59. /* ripgraph.c */
  60.  
  61. void SetPalette(UWORD  c1, UWORD  c2, UWORD  c3, UWORD  c4, UWORD  c5,
  62.                 UWORD  c6, UWORD  c7, UWORD  c8, UWORD  c9, UWORD c10,
  63.                 UWORD c11, UWORD c12, UWORD c13, UWORD c14, UWORD c15,
  64.                 UWORD c16);
  65.  
  66. void CustomFillPattern(UWORD  c1, UWORD  c2, UWORD  c3, UWORD  c4, UWORD  c5,
  67.                        UWORD  c6, UWORD  c7, UWORD  c8, UWORD color);
  68.  
  69. void BezierCurve(UWORD x1, UWORD y1, UWORD x2, UWORD y2,
  70.                  UWORD x3, UWORD y3, UWORD x4, UWORD y4, UWORD count );
  71.  
  72. void  ripprint       (UWORD x, UWORD y, UBYTE *text);
  73. void  Color          (UWORD color);
  74. void  OnePalette     (UWORD color, UWORD value);
  75. void  GraphicsMode   (UWORD mode);
  76. void  PlotAt         (UWORD  x, UWORD y );
  77. void  LineAt         (UWORD x1, UWORD y1, UWORD x2, UWORD y2);
  78. void  Rectangle      (UWORD x1, UWORD y1, UWORD x2, UWORD y2);
  79. void  FilledRectangle(UWORD x1, UWORD y1, UWORD x2, UWORD y2);
  80. void  FillStyle      (UWORD pattern, UWORD color);
  81. void  SetLineStyle   (UWORD style, UWORD pattern, UWORD thick);
  82. void  Circle         (UWORD x, UWORD y, UWORD radius);
  83. void  FloodFill      (UWORD x, UWORD y, UWORD border);
  84.  
  85.