void MacDecorator::Draw() { STRACE("MacDecorator::Draw()\n"); fDrawingEngine->SetDrawState(&fDrawState); _DrawFrame(fBorderRect); _DrawTab(fTabRect); }
//! draws the tab, title, and buttons void Decorator::DrawTab() { _DrawTab(fTabRect); _DrawZoom(fZoomRect); _DrawMinimize(fMinimizeRect); _DrawTitle(fTabRect); _DrawClose(fCloseRect); }
void WinDecorator::Draw(void) { STRACE(("WinDecorator::Draw()\n")); fDrawingEngine->SetDrawState(&fDrawState); _DrawFrame(fBorderRect); _DrawTab(fTabRect); }
void WinDecorator::Draw(BRect update) { STRACE(("WinDecorator::Draw(): ")); update.PrintToStream(); fDrawingEngine->SetDrawState(&fDrawState); _DrawFrame(update); _DrawTab(update); }
void MacDecorator::Draw(BRect update) { STRACE(("MacDecorator: Draw(%.1f,%.1f,%.1f,%.1f)\n", update.left, update.top, update.right, update.bottom)); // We need to draw a few things: the tab, the borders, // and the buttons fDrawingEngine->SetDrawState(&fDrawState); _DrawFrame(update); _DrawTab(update); }
//! draws the minimize button void Decorator::DrawMinimize() { _DrawTab(fMinimizeRect); }
//! Forces a complete decorator update void Decorator::Draw() { _DrawFrame(fFrame); _DrawTab(fTabRect); }
/*! \brief Updates the decorator's look in the area \a rect The default version updates all areas which intersect the frame and tab. \param rect The area to update. */ void Decorator::Draw(BRect rect) { _DrawFrame(rect & fFrame); _DrawTab(rect & fTabRect); }