Fix line-endings on new inline file.
parent
5937a42224
commit
6fbb35b712
|
|
@ -64,14 +64,14 @@ void LLUIImage::drawBorder(S32 x, S32 y, S32 width, S32 height, const LLColor4&
|
|||
}
|
||||
|
||||
// returns dimensions of underlying textures, which might not be equal to ui image portion
|
||||
S32 LLUIImage::getTextureWidth() const
|
||||
{
|
||||
mCachedW = (mCachedW == -1) ? getWidth() : mCachedW;
|
||||
return mCachedW;
|
||||
}
|
||||
|
||||
S32 LLUIImage::getTextureHeight() const
|
||||
{
|
||||
mCachedH = (mCachedH == -1) ? getHeight() : mCachedH;
|
||||
return mCachedH;
|
||||
}
|
||||
S32 LLUIImage::getTextureWidth() const
|
||||
{
|
||||
mCachedW = (mCachedW == -1) ? getWidth() : mCachedW;
|
||||
return mCachedW;
|
||||
}
|
||||
|
||||
S32 LLUIImage::getTextureHeight() const
|
||||
{
|
||||
mCachedH = (mCachedH == -1) ? getHeight() : mCachedH;
|
||||
return mCachedH;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue