fixed Linux build
parent
178b30601b
commit
1404ba1ffa
|
|
@ -244,7 +244,7 @@ void LLDragHandleTop::reshapeTitleBox()
|
|||
const LLFontGL* font = LLFontGL::getFontSansSerif();
|
||||
S32 title_width = getRect().getWidth();
|
||||
title_width -= LEFT_PAD + 2 * BORDER_PAD + getButtonsRect().getWidth();
|
||||
S32 title_height = llround(font->getLineHeight());
|
||||
S32 title_height = font->getLineHeight();
|
||||
LLRect title_rect;
|
||||
title_rect.setLeftTopAndSize(
|
||||
LEFT_PAD,
|
||||
|
|
|
|||
|
|
@ -1630,7 +1630,7 @@ void LLLineEditor::draw()
|
|||
LLRect background( 0, getRect().getHeight(), getRect().getWidth(), 0 );
|
||||
background.stretch( -mBorderThickness );
|
||||
|
||||
S32 lineeditor_v_pad = llround((background.getHeight() - mGLFont->getLineHeight())/2);
|
||||
S32 lineeditor_v_pad = (background.getHeight() - mGLFont->getLineHeight())/2;
|
||||
|
||||
drawBackground();
|
||||
|
||||
|
|
|
|||
|
|
@ -317,7 +317,7 @@ void LLMenuItemGL::setJumpKey(KEY key)
|
|||
// virtual
|
||||
U32 LLMenuItemGL::getNominalHeight( void ) const
|
||||
{
|
||||
return llround(mFont->getLineHeight()) + MENU_ITEM_PADDING;
|
||||
return mFont->getLineHeight() + MENU_ITEM_PADDING;
|
||||
}
|
||||
|
||||
//virtual
|
||||
|
|
|
|||
Loading…
Reference in New Issue