 |
|
|
|
 |
; ds:si = offset parent form
; ds:di = offset component
; shows message records
; checks if di is in the rectangle specified with r1,c1 with height and width
; input di
; output dx=1 if di in rect else dx=0
ISINRECT PROC
; form ax,bx,cx,dx,bp
SCREENFORM PROC
; form ax,bx,cx,dx,bp
XSCREENFORM PROC
CUTSCREENFORM PROC
COPYSCREENFORM PROC
PASTESCREENFORM PROC
; ds:esi = offset form
FORM PROC
CUTFORM PROC
COPYFORM PROC
; pasteform esi,edi,ax,bx,cx,dx
; esi = offset form
PASTEFORM PROC
; esi = offset form
SAVEFORMBACKGND PROC
; esi = offset form
SAVEFORMFACE PROC
; esi = offset form
RESTOREFORMBACKGND PROC
; esi = offset form
DRAWFORMFACE PROC
GETFORMSEGMENTS PROC
DELETEFORMSEGMENTS PROC
; ds:esi = offset form
SETFORMCAPTION PROC
DRAWCAPTIONBAR PROC
DRAWCAPTIONBAR ENDP
; si = offset xform
CREATEFORM PROC
; clears a form from screen and restores background
REMOVEFORM PROC
; si = offset xform
; ax = x2
MOVEFORM PROC
; this is called after create messages
DRAWFORM PROC
REDRAWFORM PROC
; ds:si = offset formx
; eax = new width
RESIZEFORM PROC
; this is used to make a form topmost form
BRINGTOFRONT PROC
; checks if di in the form rectangle
ISINFORMTABLE PROC
; finds form's screen index in formbuffer
; call searchformtable
; input : bp = index
SEARCHFORMTABLE PROC
; finds form's handle in formbuffer
; output fs:si = form table offset of form that has the wanted handle
FINDFORMBYHANDLE PROC
; fs:si should point to current form record in form buffer
GLOBALBUFFERFORM PROC
; form no is the index of current form that to be activated
; this refreshes the record of form that is to be activated and makes it topmost form
; by making its index equal to globalformcounter
; also refreshes the index of other forms in the form table
REFRESHFORMBUFFER PROC
; recordform to global form buffer
; si should point to form buffer
; fs should point to formtablesegment
; si = offset of form place in form record table
RECORDFORM PROC
; deletes record of a form from global form buffer
DELETEFORMRECORD PROC
CLEARFORMTABLE PROC
; input none
FINDBLANKFORMRECORD PROC
; finds a form which has the cursor
; by making the form topmost form
; this also adjusts positions of other forms
; edi = pos
; output bp= form index before activation
; bp= 0 if no form has the focus
FINDFORM PROC
; activates a form by using form's handle
; and makes the form topmost form
; this also adjusts positions of other forms
; entry : bp = form handle
; output bp= form index before activation
; bp= 0 if no form has the focus
ACTIVATEFORMDIRECT PROC
; activates a form which has the cursor
; by making the form topmost form
; this also adjusts positions of other forms
; edi = pos
; output bp= form index before activation
; bp= 0 if no form has the focus
ACTIVATEFORM PROC
; form should be activated before calling closeform
CLOSEFORM PROC
; checks if di is in the rectangle specified with r1,c1 with height and width
; input di
ISINFORM MACRO XFORM
BOX MACRO X1,Y1,X2,Y2,COLOR
CUTBOX MACRO SEGMENT,X1,Y1,X2,Y2
PASTEBOX MACRO FROMSEG,TOSEG,X1,Y1,X2,Y2
|
 | | |
|