virtual void DrawContents(){ std::cout << "IconWindow DrawContents" << std::endl; WindowImp* imp = GetWindowImp(); if(imp != NULL){ imp->DeviceBitmap(m_name, 0,0); } }
void Window::DrawRect(const Point& pt1, const Point& pt2) { std::cout << "Window DrawRect" << std::endl; WindowImp* imp =GetWindowImp(); if(imp != NULL){ // imp->DeviceRect(0,0,0,0); imp->DeviceRect(pt1.X(), pt1.Y(), pt2.X(), pt2.Y()); } }
void Window::DrawRect(const Point& p1, const Point& p2) { WindowImp* imp = GetWindowImp(); imp->DeviceRect(p1.X(), p1.Y(), p2.X(), p2.Y()); }
void IconWindow::DrawContents() { WindowImp* imp = GetWindowImp(); if (imp != 0) { imp->DeviceBitmap(_bitmapName, 0.0, 0.0); } }