diff --git a/headers/private/servers/app/DisplayDriver.h b/headers/private/servers/app/DisplayDriver.h index 89cf5e10c5..522ed29c05 100644 --- a/headers/private/servers/app/DisplayDriver.h +++ b/headers/private/servers/app/DisplayDriver.h @@ -138,43 +138,22 @@ class DisplayDriver { const BRect &dest, const DrawData *d); -/* virtual void DrawBitmap( ServerBitmap *bitmap, - const BRect &source, - const BRect &dest, - const DrawData *d);*/ - virtual void CopyRegionList( BList* list, BList* pList, int32 rCount, BRegion* clipReg); -/* virtual void FillArc( const BRect &r, - const float &angle, - const float &span, - const RGBColor &color);*/ - virtual void FillArc( const BRect &r, const float &angle, const float &span, const DrawData *d); -/* virtual void FillBezier( BPoint *pts, - const RGBColor &color);*/ - virtual void FillBezier( BPoint *pts, const DrawData *d); -/* virtual void FillEllipse( const BRect &r, - const RGBColor &color);*/ - virtual void FillEllipse( const BRect &r, const DrawData *d); -/* virtual void FillPolygon( BPoint *ptlist, - int32 numpts, - const BRect &bounds, - const RGBColor &color);*/ - virtual void FillPolygon( BPoint *ptlist, int32 numpts, const BRect &bounds, @@ -186,17 +165,9 @@ class DisplayDriver { virtual void FillRect( const BRect &r, const DrawData *d); -/* virtual void FillRegion( BRegion &r, - const RGBColor &color);*/ - virtual void FillRegion( BRegion &r, const DrawData *d); -/* virtual void FillRoundRect( const BRect &r, - const float &xrad, - const float &yrad, - const RGBColor &color);*/ - virtual void FillRoundRect( const BRect &r, const float &xrad, const float &yrad, @@ -209,33 +180,18 @@ class DisplayDriver { const BPoint *ptlist, const DrawData *d); -/* virtual void FillTriangle( BPoint *pts, - const BRect &bounds, - const RGBColor &color);*/ - virtual void FillTriangle( BPoint *pts, const BRect &bounds, const DrawData *d); -/* virtual void StrokeArc( const BRect &r, - const float &angle, - const float &span, - const RGBColor &color);*/ - virtual void StrokeArc( const BRect &r, const float &angle, const float &span, const DrawData *d); -/* virtual void StrokeBezier( BPoint *pts, - const RGBColor &color);*/ - virtual void StrokeBezier( BPoint *pts, const DrawData *d); -/* virtual void StrokeEllipse( const BRect &r, - const RGBColor &color);*/ - virtual void StrokeEllipse( const BRect &r, const DrawData *d); @@ -255,12 +211,6 @@ class DisplayDriver { virtual void StrokePoint( const BPoint &pt, const DrawData *d); -/* virtual void StrokePolygon( BPoint *ptlist, - int32 numpts, - const BRect &bounds, - const RGBColor &color, - bool is_closed=true);*/ - virtual void StrokePolygon( BPoint *ptlist, int32 numpts, const BRect &bounds, @@ -274,17 +224,9 @@ class DisplayDriver { virtual void StrokeRect( const BRect &r, const DrawData *d); -/* virtual void StrokeRegion( BRegion &r, - const RGBColor &color);*/ - virtual void StrokeRegion( BRegion &r, const DrawData *d); -/* virtual void StrokeRoundRect(const BRect &r, - const float &xrad, - const float &yrad, - const RGBColor &color);*/ - virtual void StrokeRoundRect(const BRect &r, const float &xrad, const float &yrad, @@ -297,10 +239,6 @@ class DisplayDriver { const BPoint *ptlist, const DrawData *d); -/* virtual void StrokeTriangle( BPoint *pts, - const BRect &bounds, - const RGBColor &color);*/ - virtual void StrokeTriangle( BPoint *pts, const BRect &bounds, const DrawData *d); @@ -504,11 +442,6 @@ friend CursorHandler; int fLineThickness; BLocker *_locker; -// bool _is_cursor_hidden; -// bool _is_cursor_obscured; - -// ServerCursor *_cursor; -// UtilityBitmap *_cursorsave; uint32 fDPMSState; uint32 fDPMSCaps; @@ -517,7 +450,6 @@ friend CursorHandler; CursorHandler fCursorHandler; -// BRect oldcursorframe, cursorframe, saveframe; DrawData fDrawData; };