really implement BitsLength() inline, I have no idea why it compiled for me...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12418 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -70,6 +70,7 @@ class ServerBitmap {
|
||||
{ return fBuffer; }
|
||||
|
||||
inline uint32 BitsLength() const;
|
||||
{ return (uint32)(fBytesPerRow * fHeight); }
|
||||
|
||||
inline BRect Bounds() const
|
||||
{ return BRect(0, 0, fWidth - 1, fHeight - 1); }
|
||||
|
||||
@@ -89,16 +89,6 @@ ServerBitmap::~ServerBitmap()
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Gets the number of bytes occupied by the bitmap, including padding bytes.
|
||||
\return The number of bytes occupied by the bitmap, including padding.
|
||||
*/
|
||||
uint32
|
||||
ServerBitmap::BitsLength(void) const
|
||||
{
|
||||
return (uint32)(fBytesPerRow * fHeight);
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Internal function used by subclasses
|
||||
|
||||
|
||||
Reference in New Issue
Block a user