Lines Matching refs:client

125     CRect client;  in OnSize()  local
126 GetClientRect(&client); in OnSize()
134 size.top = (client.Height() - bmp.bmHeight) >> 1; in OnSize()
136 size.left = client.left + 10; in OnSize()
155 size.top = client.top + 2; in OnSize()
156 size.bottom = client.bottom - 2; in OnSize()
157 size.right = client.right - 10; in OnSize()
365 CRect client; in OnPaint() local
366 GetClientRect(&client); in OnPaint()
374 hbmMem = CreateCompatibleBitmap(dc, client.Width(), client.Height()); in OnPaint()
377 dcMem.FillSolidRect(client, GetSysColor(COLOR_3DFACE)); in OnPaint()
493 BitBlt(dc, 0, 0, client.Width(), client.Height(), dcMem, 0, 0, SRCCOPY); in OnPaint()
641 CRect client; in FindFirstVisibleItem() local
644 GetClientRect(&client); in FindFirstVisibleItem()
655 if ((scaled_rect.left >= client.left) && in FindFirstVisibleItem()
656 (scaled_rect.top >= client.top)) in FindFirstVisibleItem()
688 CRect client; in EditFlowItem() local
689 GetClientRect(&client); in EditFlowItem()
690 InvalidateRect(&client); in EditFlowItem()
731 void screen_flow_diagram_win::ShiftLeft(CRect scaled_rect, CRect client, INT scaled_shift_x, INT sh… in ShiftLeft() argument
735 if (scaled_rect.left - scrollpos.cx + scaled_shift_x < client.left) in ShiftLeft()
741 scaled_shift_x = client.left + scrollpos.cx - scaled_rect.left; in ShiftLeft()
761 void screen_flow_diagram_win::ShiftTop(CRect scaled_rect, CRect client, INT scaled_shift_y, INT shi… in ShiftTop() argument
765 if (scaled_rect.top - scrollpos.cy + scaled_shift_y < client.top) in ShiftTop()
771 scaled_shift_y = client.top + scrollpos.cy - scaled_rect.top; in ShiftTop()
791 void screen_flow_diagram_win::ShiftRight(CRect scaled_rect, CRect client, INT scaled_shift_x, INT s… in ShiftRight() argument
795 if (scaled_rect.right - scrollpos.cx + scaled_shift_x> client.right) in ShiftRight()
801 scaled_shift_x = client.right + scrollpos.cx - scaled_rect.right; in ShiftRight()
821 void screen_flow_diagram_win::ShiftBottom(CRect scaled_rect, CRect client, INT scaled_shift_y, INT … in ShiftBottom() argument
825 if (scaled_rect.bottom - scrollpos.cy + scaled_shift_y> client.bottom) in ShiftBottom()
831 scaled_shift_y = client.bottom + scrollpos.cy - scaled_rect.bottom; in ShiftBottom()
875 CRect client; in OnMouseMove() local
878 GetClientRect(&client); in OnMouseMove()
883 if (scaled_rect.left + scaled_shift_x < client.left) in OnMouseMove()
888 scaled_shift_x = client.left - scaled_rect.left; in OnMouseMove()
901 if (scaled_rect.top + scaled_shift_y < client.top) in OnMouseMove()
906 scaled_shift_y = client.top - scaled_rect.top; in OnMouseMove()
921 ShiftTop(scaled_rect, client, scaled_shift_y, shift_y); in OnMouseMove()
922 ShiftLeft(scaled_rect, client, scaled_shift_x, shift_x); in OnMouseMove()
926 ShiftTop(scaled_rect, client, scaled_shift_y, shift_y); in OnMouseMove()
930 ShiftTop(scaled_rect, client, scaled_shift_y, shift_y); in OnMouseMove()
931 ShiftRight(scaled_rect, client, scaled_shift_x, shift_x); in OnMouseMove()
935 ShiftRight(scaled_rect, client, scaled_shift_x, shift_x); in OnMouseMove()
939 ShiftBottom(scaled_rect, client, scaled_shift_y, shift_y); in OnMouseMove()
940 ShiftRight(scaled_rect, client, scaled_shift_x, shift_x); in OnMouseMove()
944 ShiftBottom(scaled_rect, client, scaled_shift_y, shift_y); in OnMouseMove()
948 ShiftBottom(scaled_rect, client, scaled_shift_y, shift_y); in OnMouseMove()
949 ShiftLeft(scaled_rect, client, scaled_shift_x, shift_x); in OnMouseMove()
953 ShiftLeft(scaled_rect, client, scaled_shift_x, shift_x); in OnMouseMove()
958 InvalidateRect(&client); in OnMouseMove()
1036 CRect client; in Zoom() local
1039 GetWindowRect(&client); in Zoom()
1041 int scale_x = (client.Width() - border_width) * 100 / mDisplayWidth; in Zoom()
1042 int scale_y = (client.Height() - border_width) * 100 / mDisplayHeight; in Zoom()
1156 CRect client; in SelectedVisible() local
1157 GetClientRect(&client); in SelectedVisible()
1160 if ((rect.right > client.right) && (rect.left > client.left)) in SelectedVisible()
1164 scrollpos.cx += (rect.right - client.right); in SelectedVisible()
1168 else if ((rect.left < client.left) && (rect.right < client.right)) in SelectedVisible()
1170 scrollpos.cx += (rect.left - client.left); in SelectedVisible()
1175 if ((rect.bottom > client.bottom) && (rect.top > client.top)) in SelectedVisible()
1178 scrollpos.cy += (rect.bottom - client.bottom); in SelectedVisible()
1182 else if ((rect.top < client.top) && (rect.bottom < client.bottom)) in SelectedVisible()
1184 scrollpos.cy += (rect.top - client.top); in SelectedVisible()
1191 InvalidateRect(&client); in SelectedVisible()
1207 CRect client; in HandleKeydown() local
1208 GetClientRect(&client); in HandleKeydown()
1296 InvalidateRect(&client); in HandleKeydown()
1780 CRect client; in OnInitDialog() local
1784 GetClientRect(&client); in OnInitDialog()
1792 size.right = client.right - 10; in OnInitDialog()
1814 size.right = client.right - 10; in OnInitDialog()
1836 CRect client; in PositionChildren() local
1839 GetClientRect(&client); in PositionChildren()
1850 size.bottom = client.bottom - m_status_bar_height - 10; in PositionChildren()
1856 size.right = client.right - 10; in PositionChildren()
1866 size.right = client.right - 10; in PositionChildren()
1966 CRect client; in OnShowHideScreenItem() local
1967 mpScreenFlowDiagram->GetClientRect(&client); in OnShowHideScreenItem()
1980 mpScreenFlow->UpdateFlowItemRect(item, client.Width(), client.Height()); in OnShowHideScreenItem()
2017 mpScreenFlow->UpdateFlowItemRect(item, client.Width(), client.Height()); in OnShowHideScreenItem()