home *** CD-ROM | disk | FTP | other *** search
/ Computer Club Elmshorn Atari PD / CCE_PD.iso / pc / 0600 / CCE_0682.ZIP / CCE_0682.PD / DSPSHELL / C_SOURCE / POWRTEXT.H < prev    next >
C/C++ Source or Header  |  1993-09-23  |  717b  |  26 lines

  1. /* Include von POWERTEXT */
  2.  
  3. /* Diese flexible Struktur ermöglicht das problemlose einfügen 
  4.                                         weitere Zeilen */
  5. #define LAST_ZEILE    32767
  6.  
  7. struct ZEILE
  8. {
  9. char *string;         /* Nullterminiert !   */
  10. struct ZEILE *next_zeile;   /* bei NULL -> Ende !  */
  11. struct ZEILE *prev_zeile;    /* bei NULL -> Anfang! */
  12. };
  13.  
  14. typedef struct  
  15. {
  16. struct ZEILE *start;    /* Zeiger auf 1. Zeile       */
  17. struct ZEILE *ende;        /* Zeiger auf letzt Zeile */    
  18. int zeilen;                /* Kennt jemand einen Text mit mehr */
  19. int max_spalten;        /* als 32000 Zeilen ( ungefähr 1.2 MByte)? */    
  20. }TEXT;
  21.  
  22. TEXT *text_read(char *textname,int tab);
  23. void text_draw(struct WINDOW *text_win,TEXT *asciitext);
  24. void text_free(TEXT *asciitext);
  25.  
  26.