home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / debug-utils / pv / pvdevelop / pvdevelop.lha / include / PV / ScreenBase.i < prev   
Encoding:
Text File  |  1992-09-24  |  6.1 KB  |  272 lines

  1.     IFND    PV_SCREENBASE_I
  2. PV_SCREENBASE_I    SET    1
  3. **
  4. **    $Filename: ScreenBase.i $
  5. **    $Release: 1.40 $
  6. **    $Revision: 37.1656 $
  7. **    $Date: 24 Sep 92 $
  8. **
  9. **    Structure definitions for Screen Base (see 'TheWizardCorner')
  10. **
  11. **     © 1992 Jorrit Tyberghein, included with PowerVisor
  12. **        All Rights Reserved
  13. **
  14.  
  15.     IFND PV_PVMEMORY_I
  16.     INCLUDE "PV/PVMemory.i"
  17.     ENDC
  18.  
  19.     IFND DOS_DOS_I
  20.     INCLUDE "dos/dos.i"
  21.     ENDC
  22.  
  23.     IFND INTUITION_INTUITION_I
  24.     INCLUDE "intuition/intuition.i"
  25.     ENDC
  26.  
  27.  
  28. LOGWINFLAGS_PRINTFILE    equ    1
  29. LOGWINFLAGS_PRINTSCREEN    equ    2
  30. LOGWINFLAGS_MORE    equ    4
  31. LOGWINFLAGS_TOTALHOME    equ    32
  32. LOGWINFLAGS_STATUSLINE    equ    64
  33. LOGWINFLAGS_BREAKCHECK    equ    128
  34. LOGWINFLAGS_AUTOOUTPUT    equ    256
  35. LOGWINFLAGS_SBARIFMODE    equ    512
  36. LOGWINFLAGS_SCROLLBAR    equ    1024
  37.  
  38. BOXTYPE_UPDOWN        equ    0
  39. BOXTYPE_LEFTRIGHT    equ    1
  40. BOXTYPE_ATOMIC        equ    2
  41.  
  42. COLOR_GRAY        equ    0
  43. COLOR_BLACK        equ    1
  44. COLOR_WHITE        equ    2
  45. COLOR_BLUE        equ    3
  46.  
  47. Pen_BoxBackground    equ    0
  48. Pen_LWBackground    equ    1
  49. Pen_NormalText        equ    2
  50. Pen_PromptText        equ    3
  51. Pen_StatusTextInActive    equ    4
  52. Pen_StatusTextActive    equ    5
  53. Pen_InActive        equ    6
  54. Pen_Active        equ    7
  55. Pen_TopLeft3D        equ    8
  56. Pen_BottomRight3D    equ    9
  57. Pen_BoxLine        equ    10
  58. Pen_EmptyBox        equ    11
  59. Pen_LeftBox        equ    12
  60. Pen_RightBox        equ    13
  61. Pen_ShowPos3D        equ    14
  62. Pen_SGInActiveText    equ    15
  63. Pen_SGInActiveBack    equ    16
  64. Pen_SGActiveText    equ    17
  65. Pen_SGActiveBack    equ    18
  66. Pen_Hilight        equ    19
  67. Pen_HilightBack        equ    20
  68.  
  69.  
  70. ** Global structure holding some global window information
  71. **
  72.     STRUCTURE    Global,0
  73.         APTR        gl_NextGlobal
  74.         APTR        gl_PrevGlobal
  75.         STRUCT        gl_PhysWinList,LH_SIZE
  76.         APTR        gl_ActiveLogWin
  77.         ULONG        gl_GlobalSignalSet
  78.         ULONG        gl_pad0
  79.         LABEL        gl_SIZE
  80.  
  81. ** The physical window corresponding with an Intuition window. This
  82. ** physical window also manages the logical windows and the boxes.
  83. ** Do not depend on the size of this structure !!!
  84. **
  85.     STRUCTURE    PhysicalWindow,LN_SIZE
  86.         STRUCT        pw_NewWindow,nw_SIZE
  87.         APTR        pw_Window
  88.         ULONG        pw_pad0
  89.         WORD        pw_LastCode
  90.         WORD        pw_LastQualifier
  91.         BYTE        pw_LeftBorder
  92.         BYTE        pw_TopBorder
  93.         BYTE        pw_RightBorder
  94.         BYTE        pw_BottomBorder
  95.         APTR        pw_MasterBox
  96.         APTR        pw_Global
  97.         STRUCT        pw_LogWinList,LH_SIZE
  98.         ULONG        pw_pad1
  99.         APTR        pw_GList
  100.         LABEL        pw_SIZE
  101.  
  102. ** The logical window.
  103. ** Do not depend on the size of this structure !!!
  104. **
  105.     STRUCTURE    LogicalWindow,LN_SIZE
  106.         APTR        lw_Box
  107.         WORD        lw_x
  108.         WORD        lw_y
  109.         WORD        lw_w
  110.         WORD        lw_h
  111.         WORD        lw_FirstVisibleCol
  112.         WORD        lw_FirstVisibleRow
  113.         WORD        lw_CurrentCol
  114.         WORD        lw_CurrentRow
  115.         WORD        lw_VisibleWidth
  116.         WORD        lw_VisibleHeight
  117.         ULONG        lw_Flags
  118.         STRUCT        lw_TextAttr,ta_SIZEOF
  119.         APTR        lw_Font
  120.         WORD        lw_FontWidth
  121.         WORD        lw_FontHeight
  122.         WORD        lw_FontBaseline
  123.         APTR        lw_PhysWin
  124.         WORD        lw_OptCol
  125.         WORD        lw_OptRow
  126.         WORD        lw_NrLinesInBuf
  127.         WORD        lw_NrColsInLine
  128.         APTR        lw_Buffer
  129.         BPTR        lw_LogFile
  130.         WORD        lw_MoreLines
  131.         ULONG        lw_pad0
  132.         APTR        lw_ExtraTitle
  133.         UBYTE        lw_Active
  134.         BYTE        lw_TopBorderStatus
  135.         WORD        lw_RealTopCoordinate
  136.         APTR        lw_userdata
  137.         UWORD        lw_HiLine
  138.         LABEL        lw_SIZE
  139.  
  140. ** The box used to manage the available space of a physical window.
  141. ** Do not depend on the size of this structure !!!
  142. **
  143.     STRUCTURE    Box,0
  144.         APTR        box_Parent
  145.         APTR        box_ChildA
  146.         APTR        box_ChildB
  147.         APTR        box_LogWin
  148.         APTR        box_PhysWin
  149.         WORD        box_ShareA
  150.         BYTE        box_Type
  151.         BYTE        box_Dirty
  152.         BYTE        box_LeftBorder
  153.         BYTE        box_TopBorder
  154.         BYTE        box_RightBorder
  155.         BYTE        box_BottomBorder
  156.         WORD        box_realx
  157.         WORD        box_realy
  158.         WORD        box_realw
  159.         WORD        box_realh
  160.         WORD        box_x1titlebar
  161.         WORD        box_y1titlebar
  162.         WORD        box_x2titlebar
  163.         WORD        box_y2titlebar
  164.         APTR        box_Gadget
  165.         APTR        box_NewGadget
  166.         LABEL        box_SIZE
  167.  
  168.     STRUCTURE    DefaultLWSize,0
  169.         WORD        dlws_Columns
  170.         WORD        dlws_Rows
  171.         UWORD        dlws_Mask
  172.         UWORD        dlws_Flags
  173.         LABEL        dlws_SIZE
  174.  
  175.  
  176.     STRUCTURE    ScreenBase,0
  177.         UBYTE        sbase_pad0
  178.         UBYTE        sbase_pad1
  179.         UBYTE        sbase_pad2
  180.         UBYTE        sbase_pad3
  181.         UBYTE        sbase_pad4
  182.         UBYTE        sbase_DontClearLine
  183.         UBYTE        sbase_pad5
  184.         UBYTE        sbase_pad6
  185.         UBYTE        sbase_pad7
  186.         UBYTE        sbase_pad8
  187.         ULONG        sbase_CmdLineLen
  188.         APTR        sbase_CmdLine
  189.         UWORD        sbase_CursorPos
  190.         STRUCT        sbase_MainDefSize,dlws_SIZE
  191.         STRUCT        sbase_ExtraDefSize,dlws_SIZE
  192.         STRUCT        sbase_RefreshDefSize,dlws_SIZE
  193.         STRUCT        sbase_DebugDefSize,dlws_SIZE
  194.         STRUCT        sbase_PPrintDefSize,dlws_SIZE
  195.         STRUCT        sbase_RexxDefSize,dlws_SIZE
  196.         STRUCT        sbase_SourceDefSize,dlws_SIZE
  197.         PVBLOCK        sbase_SnapCommand
  198.         BYTE        sbase_pad9
  199.         BYTE        sbase_pad10
  200.         BYTE        sbase_pad11
  201.         BYTE        sbase_pad12
  202.         LONG        sbase_pad13
  203.         APTR        sbase_MainPW
  204.         APTR        sbase_MainLW
  205.         APTR        sbase_RefreshLW
  206.         APTR        sbase_DebugLW
  207.         APTR        sbase_ExtraLW
  208.         APTR        sbase_PPrintLW
  209.         APTR        sbase_RexxLW
  210.         APTR        sbase_SourceLW
  211.         APTR        sbase_CurrentLW
  212.         WORD        sbase_PromptPosX
  213.         WORD        sbase_LeftStringPosX
  214.         WORD        sbase_RightStringPosX
  215.         APTR        sbase_OtherScreen
  216.         APTR        sbase_PVScreen
  217.         ULONG        sbase_IMsgClass
  218.         UWORD        sbase_IMsgCode
  219.         APTR        sbase_IMsgIAddress
  220.         WORD        sbase_IMsgMouseX
  221.         WORD        sbase_IMsgMouseY
  222.         UWORD        sbase_IMsgQualifier
  223.         APTR        sbase_TheGlobal
  224.         LONG        sbase_pad14
  225.         LONG        sbase_pad15
  226.         STRUCT        sbase_MainString,8+2
  227.         STRUCT        sbase_ExtraString,8+2
  228.         STRUCT        sbase_DebugString,8+2
  229.         STRUCT        sbase_RefreshString,8+2
  230.         STRUCT        sbase_PPrintString,8+2
  231.         STRUCT        sbase_RexxString,8+2
  232.         STRUCT        sbase_SourceString,8+2
  233.         ULONG        sbase_StartupFlags
  234.         WORD        sbase_WinX
  235.         WORD        sbase_WinY
  236.         WORD        sbase_WinW
  237.         WORD        sbase_WinH
  238.         WORD        sbase_ScreenW
  239.         WORD        sbase_ScreenH
  240.         STRUCT        sbase_FancyPens,24
  241.         STRUCT        sbase_NoFancyPens,24
  242.         APTR        sbase_CurrentPenTable
  243.         STRUCT        sbase_BusyPrompt,6
  244.         STRUCT        sbase_MorePrompt,6
  245.         STRUCT        sbase_WaitPrompt,6
  246.         STRUCT        sbase_LockPrompt,6
  247.         STRUCT        sbase_ScanPrompt,4
  248.         STRUCT        sbase_FeedBackPrompt,2
  249.         APTR        sbase_LockLW
  250.         APTR        sbase_PtrLockPrompt
  251.         UBYTE        sbase_LockState
  252.         UBYTE        sbase_BusyMode
  253.         UBYTE        sbase_GadgetExists
  254.         UBYTE        sbase_pad16
  255.         STRUCT        sbase_DefaultFontName,34
  256.         STRUCT        sbase_DefaultFont,ta_SIZEOF
  257.         UWORD        sbase_LogWinBorderHeight
  258.         UWORD        sbase_pad17
  259.         WORD        sbase_DragToleranceX1
  260.         WORD        sbase_DragToleranceY1
  261.         WORD        sbase_DragToleranceX2
  262.         WORD        sbase_DragToleranceY2
  263.         WORD        sbase_SizeToleranceX
  264.         WORD        sbase_SizeToleranceY
  265.         APTR        sbase_rtRequestStruct
  266.                 APTR        sbase_ReqToolsBase
  267.                 APTR        sbase_IDCMPPort
  268.                 APTR        sbase_SnapBuffer
  269.         LABEL        sbase_SIZE
  270.  
  271.     ENDC
  272.