| 1194 | } |
| 1195 | |
| 1196 | void CRenderEngine::DrawRoundRect(HDC hDC, const RECT& rc, int nSize, int width, int height, DWORD dwPenColor) |
| 1197 | { |
| 1198 | ASSERT(::GetObjectType(hDC)==OBJ_DC || ::GetObjectType(hDC)==OBJ_MEMDC); |
| 1199 | HPEN hPen = ::CreatePen(PS_SOLID | PS_INSIDEFRAME, nSize, RGB(GetBValue(dwPenColor), GetGValue(dwPenColor), GetRValue(dwPenColor))); |
| 1200 | HPEN hOldPen = (HPEN)::SelectObject(hDC, hPen); |
| 1201 | ::SelectObject(hDC, ::GetStockObject(HOLLOW_BRUSH)); |
| 1202 | ::RoundRect(hDC, rc.left, rc.top, rc.right, rc.bottom, width, height); |
| 1203 | ::SelectObject(hDC, hOldPen); |
| 1204 | ::DeleteObject(hPen); |
| 1205 | } |
| 1206 | |
| 1207 | void CRenderEngine::DrawText(HDC hDC, CPaintManagerUI* pManager, RECT& rc, LPCTSTR pstrText, DWORD dwTextColor, int iFont, UINT uStyle) |
| 1208 | { |
nothing calls this directly
no outgoing calls
no test coverage detected