| 649 | } |
| 650 | |
| 651 | void LVGrayDrawBuf::Clear( lUInt32 color ) |
| 652 | { |
| 653 | color = rgbToGrayMask( color, _bpp ); |
| 654 | #if (GRAY_INVERSE==1) |
| 655 | color ^= 0xFF; |
| 656 | #endif |
| 657 | memset( _data, color, _rowsize * _dy ); |
| 658 | // for (int i = _rowsize * _dy - 1; i>0; i--) |
| 659 | // { |
| 660 | // _data[i] = (lUInt8)color; |
| 661 | // } |
| 662 | SetClipRect( NULL ); |
| 663 | } |
| 664 | |
| 665 | void LVGrayDrawBuf::FillRect( int x0, int y0, int x1, int y1, lUInt32 color32 ) |
| 666 | { |
nothing calls this directly
no test coverage detected