1 #ifndef LIBRARIES_MYSTICVIEW_H
    2 #define LIBRARIES_MYSTICVIEW_H
    3 /*
    4 **    $VER: mysticview.h 4.2 (1.6.99)
    5 **
    6 **    mysticview.library definitions
    7 **
    8 **    © 1997-99 TEK neoscientists
    9 */
   10 
   11 #ifndef UTILITY_TAGITEM_H
   12 #include <utility/tagitem.h>
   13 #endif
   14 
   15 
   16 /*
   17  *      Tags
   18  */
   19 
   20 #define MVIEW_Dummy             (TAG_USER+765432)
   21 #define MVIEW_DestX             (MVIEW_Dummy+1)         /* left edge in rastport */
   22 #define MVIEW_DestY             (MVIEW_Dummy+2)         /* top edge in rastport */
   23 #define MVIEW_DestWidth         (MVIEW_Dummy+3)         /* width in rastport */
   24 #define MVIEW_DestHeight        (MVIEW_Dummy+4)         /* height in rastport */
   25 #define MVIEW_BackColor         (MVIEW_Dummy+5)         /* background color */
   26 #define MVIEW_Precision         (MVIEW_Dummy+6)         /* OBP_Precision (view.h) */
   27 #define MVIEW_DisplayMode       (MVIEW_Dummy+7)         /* aspect mode - see definitions below */
   28 #define MVIEW_PreviewMode       (MVIEW_Dummy+8)         /* preview mode - see definitions below */
   29 #define MVIEW_Picture           (MVIEW_Dummy+9)         /* a guigfx.library picture */
   30 #define MVIEW_Text              (MVIEW_Dummy+10)        /* simple text line */
   31 #define MVIEW_StaticPalette     (MVIEW_Dummy+11)        /* static palette */
   32 #define MVIEW_Dither            (MVIEW_Dummy+12)        /* dither activation mode (see below) */
   33 #define MVIEW_HSType            (MVIEW_Dummy+13)        /* histogram type */
   34 #define MVIEW_ScreenAspectX     (MVIEW_Dummy+14)        /* screen aspect horizontal */
   35 #define MVIEW_ScreenAspectY     (MVIEW_Dummy+15)        /* screen aspect vertical */
   36 #define MVIEW_DitherMode        (MVIEW_Dummy+16)        /* dither mode */
   37 #define MVIEW_ShowCursor        (MVIEW_Dummy+17)        /* display cursor */
   38 #define MVIEW_Zoom              (MVIEW_Dummy+18)        /* zoom factor (0.1 ... 10) */
   39 #define MVIEW_XPos              (MVIEW_Dummy+19)        /* x position (0 ... 1) */
   40 #define MVIEW_YPos              (MVIEW_Dummy+20)        /* y position (0 ... 1) */
   41 #define MVIEW_Rotation          (MVIEW_Dummy+21)        /* rotation (0 ... 1) */
   42 #define MVIEW_AutoDither        (MVIEW_Dummy+22)        /* do not use */
   43 #define MVIEW_ReadySignal       (MVIEW_Dummy+23)        /* picture fully drawn */
   44 #define MVIEW_PictureX          (MVIEW_Dummy+24)        /* picture X inside the rastport */
   45 #define MVIEW_PictureY          (MVIEW_Dummy+25)        /* picture Y inside the rastport */
   46 #define MVIEW_PictureWidth      (MVIEW_Dummy+26)        /* picture Width inside the rastport */
   47 #define MVIEW_PictureHeight     (MVIEW_Dummy+27)        /* picture Height inside the rastport */
   48 #define MVIEW_DrawArrows        (MVIEW_Dummy+28)        /* indicate scrollability */
   49 #define MVIEW_ShowPip           (MVIEW_Dummy+29)        /* show PIP layer */
   50 #define MVIEW_TextColor         (MVIEW_Dummy+30)        /* text/grid color */
   51 #define MVIEW_MarkColor         (MVIEW_Dummy+31)        /* color for pip-border, cursor, arrows... */
   52 #define MVIEW_RPSemaphore       (MVIEW_Dummy+32)        /* rastport semaphore (MV_Create() only) */
   53 #define MVIEW_Priority          (MVIEW_Dummy+33)        /* set task priority (MV_Create() only) */
   54 
   55 
   56 /*
   57  *      Types
   58  */
   59 
   60 #define MVDISPMODE_FIT                  0               /* image fits exactly into view */
   61 #define MVDISPMODE_KEEPASPECT_MIN       1               /* image is fully visible */
   62 #define MVDISPMODE_KEEPASPECT_MAX       2               /* width or height is fully visible */
   63 #define MVDISPMODE_ONEPIXEL             3               /* the image aspect is ignored */
   64 #define MVDISPMODE_IGNOREASPECT         4               /* aspect ratios are ignored */
   65 
   66 #define MVPREVMODE_NONE                 0               /* no realtime refresh */
   67 #define MVPREVMODE_GRID                 1               /* grid realtime refresh */
   68 #define MVPREVMODE_OPAQUE               2               /* opaque realtime refresh */
   69 
   70 #define MVDITHERMODE_ON                 0               /* dithering on */
   71 #define MVDITHERMODE_OFF                1               /* dithering off */
   72 #define MVDITHERMODE_AUTO               2               /* auto dithering */
   73 
   74 #endif /* LIBRARIES_MYSTICVIEW_H */