- add some documentation items
[wine] / graphics / ttydrv / pen.c
1 /*
2  * TTY DC pen
3  *
4  * Copyright 1999 Patrik Stridvall
5  */
6
7 #include "dc.h"
8 #include "debugtools.h"
9 #include "pen.h"
10 #include "ttydrv.h"
11
12 DEFAULT_DEBUG_CHANNEL(ttydrv)
13
14 /***********************************************************************
15  *              TTYDRV_DC_PEN_SelectObject
16  */
17 HPEN TTYDRV_DC_PEN_SelectObject(DC *dc, HBRUSH hpen, PENOBJ *pen)
18 {
19   HPEN hPreviousPen;
20
21   TRACE("(%p, 0x%04x, %p)\n", dc, hpen, pen);
22
23   hPreviousPen = dc->w.hPen;
24   dc->w.hPen = hpen;
25
26   return hPreviousPen;
27 }