home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_progs / libs / plotlib.lha / Plot_1.lzh / Demo / Farben.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-10-11  |  2.4 KB  |  66 lines

  1. #ifndef FARBEN_H
  2. #define FARBEN_H
  3.  
  4. /****************************************************************
  5.  *                                                                                                                            *
  6.  * Filename : Farben.h                                                                                    *
  7.  *                                                                                                                            *
  8.  ****************************************************************
  9.  *                                                                                                                            *
  10.  *    Comment : Diese Datei beinhaltet die FarbenFilestruktur.        *
  11.  *                        Diese Struktur ist so aufgebaut, dass sie IFF            *
  12.  *                        Interchange File Format ) kompatibel ist.                    *
  13.  *                        Nähere Informationen können aus der Struktur            *
  14.  *                        entnommen werden sowie aus der Dokumentation            *
  15.  *                        von Commodore.                                                                        *
  16.  *                                                                                                                            *
  17.  *            Rev : V1.0                                                                                            *
  18.  *                                                                                                                            *
  19.  *    History : V1.0 erstellen dieses Files                            01.06.89    *
  20.  *                                                                                                                            *
  21.  *            Doc :                                                                                                        *
  22.  *                                                                                                                            *
  23.  *         Bugs : keine bekannten                                                                        *
  24.  *                                                                                                                            *
  25.  *        Autor : Oesch Silvano                                                                            *
  26.  *                                                                                                                            *
  27.  *        Datum : 01.06.89                                                                                    *
  28.  *                                                                                                                            *
  29.  ****************************************************************/
  30.  
  31.  
  32. /****************************************************************
  33.  *                                                                                                                            *
  34.  * allgemeine Includedateien                                                                        *
  35.  *                                                                                                                            *
  36.  ****************************************************************/
  37.  
  38. #include <iff/ilbm.h>
  39.  
  40. /****************************************************************
  41.  *                                                                                                                            *
  42.  * programmspezifische Includedateien                                                        *
  43.  *                                                                                                                            *
  44.  ****************************************************************/
  45.  
  46. #include "Definitions.h"
  47.  
  48. /****************************************************************
  49.  *                                                                                                                            *
  50.  * programmspezifische Strukturen                                                                *
  51.  *                                                                                                                            *
  52.  ****************************************************************/
  53.  
  54. struct FarbenFile                                        /* Strukturname                            */
  55.     {
  56.         long kopf;                                            /* IFF Header 'FORM'                */
  57.         long groesse;                                        /* Grösse der Datei                    */
  58.         long id;                                                /* IFF ID 'ILBM'                        */
  59.         long colormapheader;                        /* IFF Kennzeichnung 'CMAP'    */
  60.         long anzahl;                                        /* Anzahl Farbregister * 4    */
  61.         ColorRegister colorregister[FARBENANZAHL];
  62.                                                                         /* Farbdaten                                */
  63.     };
  64.  
  65. #endif FARBEN_H
  66.