home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 449a.lha / Plotter / src / about.c < prev    next >
Text File  |  1990-12-02  |  3KB  |  78 lines

  1.  /********************************************************************/
  2.  /****                                                            ****/
  3.  /****                                                            ****/
  4.  /****    Program          : About.c                              ****/
  5.  /****                                                            ****/
  6.  /****    Version          :    03.71                             ****/
  7.  /****                                                            ****/
  8.  /****    Erstversion      : 20.10.1988                           ****/
  9.  /****                                                            ****/
  10.  /****    Letzte Änderung  : 09.08.1990                           ****/
  11.  /****                                                            ****/
  12.  /****    Compiliert mit   : siehe MAKEFILE                       ****/
  13.  /****                                                            ****/
  14.  /****    Gelinkt mit      : siehe MAKEFILE                       ****/
  15.  /****                                                            ****/
  16.  /********************************************************************/
  17.  /****                                                            ****/
  18.  /****                                                            ****/
  19.  /****               Copyright by Rüdiger Dreier                  ****/
  20.  /****                                                            ****/
  21.  /****                                                            ****/
  22.  /********************************************************************/
  23.  
  24.  /* Einbinden der Include-Files */
  25.  
  26.  
  27.  #ifdef DEBUG
  28.  #include "Plotter.h"
  29.  #include <proto/tool.h>
  30.  #endif
  31.  #include <string.h>
  32.  #include <graphics/gfx.h>
  33.  #include <intuition/intuitionbase.h>
  34.  #include <graphics/text.h>
  35.  
  36.  
  37.  struct NewWindow Fenster3=
  38.   {
  39.    159,70,                                     /* Left/TopEdge    */
  40.    288,120,                                    /* Width/Height    */
  41.    FARBE3,FARBE2,                              /* Detail/BlockPen */
  42.    MOUSEBUTTONS,                               /* IDCMP-Flags     */
  43.    ACTIVATE,                                   /* Flags           */
  44.    NULL,                                       /* Gadget          */
  45.    NULL,                                       /* Image           */
  46.    "««««««««««   A B O U T   »»»»»»»»»»",      /* Titel           */
  47.    NULL,                                       /* Screen          */
  48.    NULL,                                       /* BitMap          */
  49.    0,0,0,0,                                    /* Limits          */
  50.    CUSTOMSCREEN                                /* Type            */
  51.   };
  52.  
  53.  
  54.  VOID About(VOID)
  55.   {
  56.    struct RastPort *RastPort;
  57.    struct Window   *Window3;
  58.    long enable;
  59.    
  60.    if(!(Window3=OpenWindow(&Fenster3)))return;
  61.    
  62.    RastPort=Window3->RPort;
  63.    
  64.    enable=AskSoftStyle(RastPort);
  65.    
  66.    SetSoftStyle(RastPort,FSF_UNDERLINED|FSF_BOLD,enable);
  67.    Center(Window3,"P L O T T E R",FARBE3,30);
  68.    SetSoftStyle(RastPort,FS_NORMAL,enable);
  69.    Center(Window3,"© by Rüdiger Dreier 1988-90",FARBE2,80);
  70.    Center(Window3,"Version 3.71, 09.08.1990",FARBE2,95);
  71.    Center(Window3,ABOUT_FREEWARE,FARBE2,110);
  72.    
  73.    Wait(1L<<Window3->UserPort->mp_SigBit);
  74.    EventAbfrage(Window3,&msgInfo);
  75.    CloseWindow(Window3);
  76.   }
  77.  
  78.