src/viewport.cpp
changeset 10238 5076964d81a1
parent 10233 ac41e2898d9b
equal deleted inserted replaced
10237:c55922dabb25 10238:5076964d81a1
  1547 	if (bottom > vp->top + vp->height) bottom = vp->top + vp->height;
  1547 	if (bottom > vp->top + vp->height) bottom = vp->top + vp->height;
  1548 
  1548 
  1549 	ViewportDrawChk(vp, left, top, right, bottom);
  1549 	ViewportDrawChk(vp, left, top, right, bottom);
  1550 }
  1550 }
  1551 
  1551 
       
  1552 /**
       
  1553  * Draw the viewport of this window.
       
  1554  */
  1552 void Window::DrawViewport() const
  1555 void Window::DrawViewport() const
  1553 {
  1556 {
  1554 	DrawPixelInfo *dpi = _cur_dpi;
  1557 	DrawPixelInfo *dpi = _cur_dpi;
  1555 
  1558 
  1556 	dpi->left += this->left;
  1559 	dpi->left += this->left;