DIRECTORY CD, Rope USING [ROPE]; CDOps: CEDAR DEFINITIONS = BEGIN CreateDesign: PROC [technology: CD.Technology] RETURNS [design: CD.Design]; ResetDesign: PROC [design: CD.Design]; IncludeApplication: PROC [design: CD.Design, aptr: CD.ApplicationPtr, draw: BOOL_TRUE]; IncludeApplicationList: PROC [design: CD.Design, al: CD.ApplicationList, draw: BOOL_TRUE]; RemoveApplication: PROC [design: CD.Design, aptr: CD.ApplicationPtr, draw: BOOL_TRUE]; ReOrderApplication: PROC [design: CD.Design, aptr: CD.ApplicationPtr]; AddAnObject: PROC[design: CD.Design, ob: CD.ObPtr, location: CD.DesignPosition, orientation: CD.Orientation_CD.original]; QuickDrawDesign: PROC [design: CD.Design, pr: CD.DrawRef]; DrawDesign: PROC [design: CD.Design, pr: CD.DrawRef]; Redraw: PROC [design: CD.Design, r: CD.DesignRect_all, eraseFirst: BOOL_TRUE]; DelayedRedraw: PROC [design: CD.Design, r: CD.DesignRect_all, eraseFirst: BOOL_TRUE]; DoTheDelayedRedraws: PROC [design: CD.Design]; all: PRIVATE CD.Rect = [FIRST[CD.Number], FIRST[CD.Number], LAST[CD.Number], LAST[CD.Number]]; SetAppList: PROC [design: CD.Design, appList: CD.ApplicationList _ NIL] = INLINE {design^.actual.first.specific.contents _ appList}; AppList: PROC [design: CD.Design] RETURNS [CD.ApplicationList] = INLINE {RETURN[design^.actual.first.specific.contents]}; PointedApplication: PROC [design: CD.Design, pos: CD.DesignPosition] RETURNS [CD.ApplicationPtr]; SelectedApplication: PROC [design: CD.Design] RETURNS [first: CD.ApplicationPtr, multiple: BOOL]; Info: PROC[ob: CD.ObPtr] RETURNS [Rope.ROPE]; LayerName: PROC[lev: CD.Layer] RETURNS [Rope.ROPE]; END. CDOps.mesa (part of Chipndale) Copyright c 1983, 1984 by Xerox Corporation. All rights reserved. by Christian Jacobi, February 24, 1984 2:03 pm last edited by Christian Jacobi, February 24, 1984 2:03 pm --does not open a viewer --conveniant procedure; sets selection according to internal mode --inclusive selection --ommit selection --efficiency hint: if a lot of small rectangles need to be redrawn, it can be more efficiant -- to call a redraw of a big rectangle first. --does the DelayedRedraw'swhich have not yet been done --first: returns ref to any selected application if there is one or more, otherwise nil. --multiple: more than one application is selected --Remark --All procedures do not queue; proper synchronization by the caller is assumed. Ê ˜šœ%™%Jšœ Ïmœ7™BJšœ0™0Jšœ;™;—J˜šÏk ˜ Jšžœ˜Jšœžœžœ˜J˜—JšÏnœžœž œ˜Jšž˜J˜š Ÿ œžœžœ žœ žœ ˜KJšœ™—JšŸ œžœ žœ ˜&J˜Jš Ÿœžœ žœžœžœžœ˜WJš Ÿœžœ žœ žœžœžœ˜ZJš Ÿœžœ žœžœžœžœ˜VJšŸœžœ žœžœ˜FJ˜šŸ œžœ žœ žœ˜3šœ žœžœ žœ ˜FJšœA™A——J˜šŸœžœ žœ žœ ˜:Jšœ™—J˜šŸ œžœ žœ žœ ˜5Jšœ™—J˜Jš Ÿœžœ žœ žœžœžœ˜Nš Ÿ œžœ žœ žœžœžœ˜UJšœ]™]Jšœ.™.—šŸœžœ žœ ˜.Jšœ6™6J˜Jšœžœžœ žœžœ žœžœ žœžœ žœžœ ˜^—J˜šŸ œžœ žœ'žœ˜IJšžœ4˜:—J˜šŸœžœ žœ žœ˜@Jšžœžœ*˜8—J˜šŸœžœ žœžœ˜EJšžœžœ˜—šŸœžœ žœ ˜.Jšžœ žœžœ˜3JšœX™XJšœ1™1—J˜Jš Ÿœžœžœžœžœž˜-Jš Ÿ œžœžœžœžœ˜3J˜Jšžœ˜J˜Jšœ™JšœO™OJ™—…—b Š