示例#1
0
 Painter(Editor* editor, HDC hdc)
   : e(editor)
   , hDC(hdc)
 {
   ox = e->LeftMargin() - e->scrollPos.x * e->chSize.cx;
   activeWnd = (e->hWnd == GetFocus());
 }