1 line
23 KiB
ArmAsm
1 line
23 KiB
ArmAsm
|
LOAD 'macros.dump'
include 'pl.equ'
include 'driver.equ'
include 'scrap.equ'
;-----------------------------------------------
;
; Imported addresses
;
;-----------------------------------------------
IMPORT D_MakeNewWin
IMPORT D_AddStrings
IMPORT D_BitMapPtr
IMPORT D_Deref
IMPORT D_DisposePtr
IMPORT D_FastMult
IMPORT D_GetNewUntitled
IMPORT X_GetPLSCRAPAddr
IMPORT D_GetPrintHandle
IMPORT D_GetRefCon
IMPORT D_LoadSegment
IMPORT D_NeedHand
IMPORT D_NeedHandle
IMPORT D_NewCtl
IMPORT P_AllHGCount
IMPORT P_AllHGuides
IMPORT P_AllVGCount
IMPORT P_AllVGuides
IMPORT P_ArrowRect
IMPORT P_AttrTable
IMPORT P_BuildUndo
IMPORT P_CheckHand
IMPORT P_Clear
IMPORT P_ContentRect
IMPORT P_ConvErr
IMPORT P_Copy
IMPORT P_CurDate
IMPORT P_CurrentWin
IMPORT P_Cursor
IMPORT P_Cut
IMPORT P_DblPage
IMPORT P_DefColor
IMPORT P_DefFont
IMPORT P_DefJust
IMPORT P_DefSize
IMPORT P_DefSpacing
IMPORT P_DefStyle
IMPORT P_DelObjects
IMPORT P_DoScritch
IMPORT P_DrawContent
IMPORT P_Entry
IMPORT P_FillMode
IMPORT P_FirstPOff
IMPORT P_FixMenus
IMPORT P_FixSpecMenu
IMPORT P_ForceUpdate
IMPORT P_FullPageRect
IMPORT P_FullPaperRect
IMPORT P_GrowRect
IMPORT P_H
IMPORT P_HDataSize
IMPORT P_HRulRect
IMPORT P_HScrTempl
IMPORT P_HScroll
IMPORT P_HValue
IMPORT P_HViewSize
IMPORT P_HorizGCount
IMPORT P_HorizGuides
IMPORT P_ImportHdl
IMPORT P_ImportType
IMPORT P_KillImport
IMPORT P_KillPage
IMPORT P_KillUndo
IMPORT P_LastObj
IMPORT P_LineSize
IMPORT P_LoadWindowStuff
IMPORT P_LockGuides
IMPORT P_MagGuides
IMPORT P_MakePict
IMPORT P_MouseDown
IMPORT P_MouseUp
IMPORT P_ObjList
IMPORT P_OldIdlePt
IMPORT P_OpenDoc
IMPORT P_OrgOffset
IMPORT P_PIconRect
IMPORT P_PInfoSize
IMPORT P_Page
IMPORT P_PageArray
IMPORT P_PageCount
IMPORT P_PageMode
IMPORT P_PageRect
IMPORT P_PageStart
IMPORT P_Palette
IMPORT P_PaperRect
IMPORT P_Placing
IMPORT P_Plane
IMPORT P_PortRect
IMPORT P_PrintDoc
IMPORT P_PrintHand
IMPORT P_QDPict
IMPORT P_SWinParams
IMPORT P_SampTitle
IMPORT P_SaveDoc
IMPORT P_SavePage
IMPORT P_SaveWindowStuff
IMPORT P_TBarColor
IMPORT P_TitleColor
IMPORT P_ToolType
IMPORT P_TrackCursor
IMPORT P_TrackOn
IMPORT P_Undo
IMPORT P_UpDateDoc
IMPORT P_UseTemplate
IMPORT P_V
IMPORT P_VDataSize
IMPORT P_VRulRect
IMPORT P_VScrTempl
IMPORT P_VScroll
IMPORT P_VValue
IMPORT P_VViewSize
IMPORT P_VertGCount
IMPORT P_VertGuides
IMPORT P_VisGuides
IMPORT P_VisPalette
IMPORT P_VisRuler
IMPORT P_WinStuffSize
IMPORT P_WindColors
IMPORT P_paste
IMPORT X_ScrapRefCon
IMPORT X_ScrapType
IMPORT D_SetRefCon
IMPORT T_ClipThread
IMPORT T_Deactivate
IMPORT T_DotObj
IMPORT T_Editing
IMPORT T_Idle
IMPORT T_Key
IMPORT T_ScaleLocInfo
IMPORT T_ScalePort
IMPORT D_TodaysDate
IMPORT D_UnloadSegment
IMPORT D_UnLock
;-----------------------------------------------
;
; Forward addresses and entries
;
;-----------------------------------------------
ENTRY P_ActivateDoc
ENTRY P_DeActivateDoc
ENTRY P_DisposeDoc
ENTRY P_GrewDoc
ENTRY P_IdleProc
ENTRY P_Ignore
ENTRY P_InitDoc
ENTRY P_KeyDown
ENTRY P_LoadMod
ENTRY P_MakeRoom
ENTRY P_MakeWin
ENTRY P_Message
ENTRY P_NewDoc
ENTRY P_PrintChanged
ENTRY P_RelockMem
ENTRY P_ShowDoc
ENTRY P_UnloadMod
ENTRY P_UnlockMem
P_Procs PROC EXPORT
;Using P_AttrData
DC.L P_AttrTable ;attribute table for module
jml P_OpenDoc ;D_Open a file
jml P_NewDoc ;D_Create a D_New file
jml P_DisposeDoc ;dispose of a window
jml P_SaveDoc ;D_Save a document
jml P_Undo ;undo in active window
jml P_Cut ;cut in active window
jml P_Copy ;do a copy in a window active or not
jml P_paste ;Do a Paste in a window active or not
jml P_Clear ;Do a clear in the active window
jml P_ActivateDoc ;make a window active
jml P_DeActivateDoc
jml P_UpDateDoc ;D_Update a window
jml P_MouseDown ;mouse down in active window
jml P_KeyDown ;key down in active window
jml P_Ignore ;mouse down in active window bar
jml P_GrewDoc ;document changed size (zoomed)
jml P_IdleProc ;called in D_MainLoop
jml P_MakeRoom ;release unneeded memory
jml P_Prin
|