home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / menu / kiwi / include / kiwi_vs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-03-03  |  1.7 KB  |  52 lines

  1. #define KIWI_VS_IN
  2.  
  3. struct kiwilib_vscreen_typ{
  4.      UCHAR     typ[2];            /* Screentyp;            */
  5.      USHORT breite;            /* Fensterbreite        */
  6.      USHORT hoehe;            /* Fensterhoehe            */
  7.      ULONG     max;            /* Max Breite            */
  8.      USHORT cursor_x;        /* Cursorposition        */
  9.      USHORT cursor_y;        /* Cursorposition        */
  10.      USHORT attrib;            /* Attribut            */
  11.      USHORT inv_attrib;        /* Invers            */
  12.      USHORT nor_attrib;        /* Normal            */
  13.      INT     nummer;            /* Screennummer            */
  14.      USHORT far *screen_puffer;    /* Zeiger auf Screenspeicher    */
  15.      INT     (*x_function)();    /* X Function bei Slidewindows    */
  16.      INT     (*y_function)();    /* Y Function bei Slidewindows    */
  17.      ULONG    x_slide;        /* Größe des Slidebereichs X    */
  18.      ULONG    y_slide;        /* Größe des Slidebereichs Y    */         
  19.      UINT    x_step;            /* Schaltschrittweite X        */
  20.      UINT    y_step;            /* Schaltschrittweite Y        */
  21.      ULONG    slide_offset_x;        /* Cursorstellung Sliding X    */
  22.      ULONG    slide_offset_y;        /* Cursorstellung Sliding Y    */
  23.     };
  24.  
  25. #ifndef VS_DEF
  26.     extern         USHORT vscreen_num;
  27.     extern         struct kiwilib_vscreen_typ far *vscreen_typ;
  28.     extern         VSCREEN akt_vscreen,vscreen_row_ptr;
  29.     extern         VSCREEN far *vscreen_row;
  30. #else
  31.             USHORT vscreen_num;
  32.             struct kiwilib_vscreen_typ far *vscreen_typ;    
  33.             VSCREEN akt_vscreen,vscreen_row_ptr;
  34.             VSCREEN far *vscreen_row;
  35. #endif
  36.  
  37. /*
  38. Die Erweiterung ab x_function dient den Slidewindows, diese sind normale vs_windows,
  39. die aber bei Erreichen eines Endes und Überschreiten des Stepwertes die in der
  40. jeweiligen Richtung hinterlegte Funktion aufrufen, anstatt nichst zu machen.
  41. Dadurch kann der Benutzer eine eigene Funktion hinterlegen um das Bild weiter
  42. zu scrollen und den Bildschirmaufbau zu kontrollieren.
  43.  
  44. */
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.