ui/src/nt/NTScrnPxmp.i3


Copyright (C) 1994, Digital Equipment Corp.
 by Steve Glassman, Mark Manasse and Greg Nelson 
<*PRAGMA LL*>

UNSAFE INTERFACE NTScrnPxmp;

IMPORT NTScreenType, NTScrnTpRep, Rect, ScrnPixmap, TrestleComm, WinDef;

REVEAL NTScreenType.T <: T;

TYPE
  T_Pub = NTScrnTpRep.Public OBJECT END;
  T <: T_Pub;

PROCEDURE NewOracle (st: NTScreenType.T): ScrnPixmap.Oracle RAISES {};

PROCEDURE FromNTPixmap (         st    : NTScreenType.T;
                                hbm   : WinDef.HBITMAP;
                       READONLY bounds: Rect.T;
                                depth : INTEGER        ): ScrnPixmap.T;
<* LL.sup = st.trsl *>
Construct and return the screen pixmap of type st whose contents are those of xpm, which has the given bounds and depth.

PROCEDURE PixmapDomain (st: NTScreenType.T; pmId: INTEGER): Rect.T;
return the domain of the ScrnPixmap.T whose id is pmID. LL.sup = st.trsl.

PROCEDURE PixmapFromRaw (st: NTScreenType.T; pm: ScrnPixmap.Raw): WinDef.HBITMAP
  RAISES {TrestleComm.Failure}; <* LL.sup = st.trsl *>

END NTScrnPxmp.