]>
git.saurik.com Git - wxWidgets.git/blob - src/mac/ldef/extldef.c
3 /*************************************************************************
7 *************************************************************************/
9 void DrawMsg(Boolean fSelect
, Rect
*r
, Cell cell
, ListHandle lh
);
10 void HiliteMsg(Boolean fSelect
, Rect
*r
);
12 /*************************************************************************
16 *************************************************************************/
18 pascal void main(short message
, Boolean fSelect
, Rect
*r
, Cell cell
,
19 short dataOffset
, short dataLen
, ListHandle lh
)
27 DrawMsg(fSelect
, r
, cell
, lh
);
31 HiliteMsg(fSelect
, r
);
42 /*************************************************************************
46 *************************************************************************/
48 void DrawMsg(Boolean fSelect
, Rect
*r
, Cell cell
, ListHandle lh
)
50 ExtLDEFInfo
* info
= (ExtLDEFInfo
*) (**lh
).refCon
;
57 ForeColor( blackColor
) ;
58 BackColor( whiteColor
) ;
65 CallExtLDEFDrawProc(info
->drawProc
, r
, cell
, lh
, info
->refCon
);
71 HiliteMsg(fSelect
, r
);
77 /*************************************************************************
81 *************************************************************************/
83 void HiliteMsg(Boolean fSelect
, Rect
*r
)
87 hMode
= LMGetHiliteMode();
88 BitClr((Ptr
)(&hMode
),(long)pHiliteBit
);
89 LMSetHiliteMode(hMode
);