Lines Matching refs:size
70 void view_header::PaintRightIcon(CDC *dc, int iconId, CRect &size) in PaintRightIcon() argument
80 int right = size.right - (width + 8); in PaintRightIcon()
82 int vspace = size.bottom - size.top; in PaintRightIcon()
89 dc->BitBlt(right, size.top + vspace, width, bm.bmHeight, &dcMemory, 0, 0, SRCCOPY); in PaintRightIcon()
95 CRect size; in OnPaint() local
97 GetClientRect(&size); in OnPaint()
100 FillHeader(dc, size.top, size.left, size.right); in OnPaint()
102 int vspace = size.bottom - size.top; in OnPaint()
108 PaintIcon(dc, size.left + 8, size.top + vspace); in OnPaint()
109 size.left += m_icon_width + 8; in OnPaint()
111 PaintRightIcon(dc, IDB_MINUS, size); in OnPaint()
117 size.left += 6; in OnPaint()
118 dc->DrawText(m_title, &size, DT_LEFT | DT_SINGLELINE | DT_VCENTER); in OnPaint()