home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
v
/
vudu31p.zip
/
VUDU.INC
< prev
next >
Wrap
Text File
|
1992-05-28
|
6KB
|
136 lines
'** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
' This header file is to be included in ALL programs using the utilities
' in the VUDU windowing libraries. Include the following line in your
' program: REM $INCLUDE: 'VUDU.INC'
'
' VUDU INCLUDE FILE FOR BASIC PDS Version
'
' Copyright (c) 1991, 1992 Binary Systems
'** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
'-----------------------------------------------------------------------
' VUDU BASIC DECLARATIONS
'-----------------------------------------------------------------------
DECLARE FUNCTION ATTRIB% (fg%, bg%)
DECLARE FUNCTION BARMENU$ (MenuLine$(), Items$(), MenuSlct%, ItemSlct%)
DECLARE SUB BRIDGE (row%, col1%, col2%, Bor%)
DECLARE FUNCTION CLICK$ ()
DECLARE FUNCTION CM% (kolor%, mkolor%)
DECLARE SUB COLMON (fg%, bg%)
DECLARE FUNCTION DATIN$ (Daytype%)
DECLARE SUB DEFBAR (BFG%, BBG%, BCHAR%, BCLR%)
DECLARE SUB DEFWIN (HedFG%, HedBG%, BorFG%, BorBG%, WinFG%, WinBG%, Border%, Shadow%)
DECLARE SUB FLUSHKEY ()
DECLARE FUNCTION GETCH$ ()
DECLARE SUB HILITE (RowNum%, ColNum%, Length%, attr%)
DECLARE SUB HILITV (RowNum%, ColNum%, Length%, attr%)
DECLARE FUNCTION INFIELD$ (Receiving$, FieldLen%)
DECLARE FUNCTION ISMOUSE% ()
DECLARE FUNCTION MAKEMENU$(MRow%, MCol%, MenuClear%, MHeader$, Choices$(), ItemSelect%)
DECLARE FUNCTION MESSAGE$ (row%, Col%, MesHed$, Msg$(), Choice$, pause%, Msgclear%)
DECLARE FUNCTION MONOVID%
DECLARE SUB MOUSEAREA (r1%, c1%, r2%, c2%)
DECLARE SUB MOUSEOFF
DECLARE SUB MOUSEON
DECLARE FUNCTION MOUSEPOLL% ()
DECLARE SUB MOUSEXY (r%, c%)
DECLARE SUB OPENWIN (LRow%, LCol%, RRow%, RCol%, header$)
DECLARE SUB PRINTS (SEG StrVar$, RowNum%, ColNum%, attr%)
DECLARE SUB PRINTV (SEG StrVar$, RowNum%, ColNum%, attr%)
DECLARE SUB RESCREEN (SEG StrVar$)
DECLARE SUB RESWIN (SEG WinVar$, LRow%, LCol%)
DECLARE SUB SAVWIN (WinVar$, LRow%, LCol%, RRow%, RCol%)
DECLARE SUB SAVSCREEN (StrVar$)
DECLARE SUB SCROLL (lr%, LC%, rr%, rc%, direction%)
DECLARE FUNCTION SCROLLMENU$ (LRow%, LCol%, Brow%, SclSav%, Items$(), header$, Choice%)
DECLARE SUB SETBAR (MenuLine$())
DECLARE SUB SETMOUSE (r%, c%)
DECLARE SUB VCLS (row1%, col1%, row2%, col2%, attr%)
DECLARE SUB VCOLOR (fgnd%, bkgnd%)
DECLARE FUNCTION VIDCARD%
DECLARE SUB VINIT ()
DECLARE SUB VSLEEP (seconds%)
'-----------------------------------------------------------------------
'-----------------------------------------------------------------------
' COLOR CONSTANTS
'-----------------------------------------------------------------------
CONST BLK = 0, BLU = 1, GRN = 2, CYN = 3
CONST RED = 4, MAG = 5, YEL = 6, WHT = 7
CONST BRITE = 8, FLASH = 16
'-----------------------------------------------------------------------
' OPENWIN CONSTANTS FOR WINDOW BORDERS
'-----------------------------------------------------------------------
CONST NONE = 1
CONST THIN = 2
CONST PAIR = 3
CONST ILINE = 4
CONST HLINE = 5
CONST THICK = 6
'-----------------------------------------------------------------------
' CONSTANTS FOR SCROLLING DIRECTION AND LABEL POSITIONS
'-----------------------------------------------------------------------
CONST LEFT = 0, RIGHT = 1
CONST UP = 2, DOWN = 3
CONST CENTER = 4
'-----------------------------------------------------------------------
' VIDEO CARD CONSTANTS
'-----------------------------------------------------------------------
CONST MONO = 1, CGA = 2, EGA = 3, VGA = 4
'-----------------------------------------------------------------------
' DATIN CONSTANTS
'-----------------------------------------------------------------------
CONST MMDDYY = 0, MMDDYYYY = 1, YYMMDD = 2, DDMMYY = 3
'-----------------------------------------------------------------------
' ADDITIONAL CHARACTER CONSTANTS
'-----------------------------------------------------------------------
CONST ESC = "", BKSP = ""
CONST YES = -1, NO = NOT YES
CONST TRUE = YES, FALSE = NO
' Pseudo Constants
COMMON SHARED NULL AS STRING * 1
COMMON SHARED CR AS STRING * 1
COMMON SHARED PgUp AS STRING * 2
COMMON SHARED PgDn AS STRING * 2
COMMON SHARED UpKey AS STRING * 2
COMMON SHARED DnKey AS STRING * 2
COMMON SHARED LKey AS STRING * 2
COMMON SHARED RKey AS STRING * 2
COMMON SHARED Ins AS STRING * 2
COMMON SHARED Del AS STRING * 2
COMMON SHARED HomeKey AS STRING * 2
COMMON SHARED EndKey AS STRING * 2
' Declare Global Switches
COMMON SHARED Vmouse AS INTEGER 'mouse enabled Y/N
COMMON SHARED FirstLet AS INTEGER 'Hilite Color of "hotkey" letter
COMMON SHARED LabelPos AS INTEGER 'Position of label on window
COMMON SHARED ScrollAttrib AS INTEGER 'Scroll Color
COMMON SHARED EscEnable AS INTEGER 'Allow ESC from menus Y/N
COMMON SHARED ExtInfield AS INTEGER 'Allow exit on extended
'keypress from INFIELD Y/N
'Variables for Defining Windows
COMMON SHARED HedFG AS INTEGER, HedBG AS INTEGER
COMMON SHARED BorFG AS INTEGER, BorBG AS INTEGER
COMMON SHARED WinFG AS INTEGER, WinBG AS INTEGER
COMMON SHARED Border AS INTEGER
COMMON SHARED Shadow AS INTEGER
'BarMenu Parameters
COMMON SHARED BarFG AS INTEGER
COMMON SHARED BarBG AS INTEGER
COMMON SHARED BarChar AS INTEGER
COMMON SHARED BarClear AS INTEGER
COMMON SHARED BarOn AS INTEGER
'Input Field color globals
COMMON SHARED Vfgnd AS INTEGER, Vbkgnd AS INTEGER
'------------------------------ end VUDU.INC --------------------------------