Revert addition of now unused LLLineEditor::mFontStyle
This commit is contained in:
@@ -1895,7 +1895,7 @@ void LLLineEditor::draw()
|
||||
rendered_pixels_right, text_bottom,
|
||||
text_color,
|
||||
LLFontGL::LEFT, LLFontGL::BOTTOM,
|
||||
mFontStyle,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::NO_SHADOW,
|
||||
select_left - mScrollHPos,
|
||||
mMaxHPixels - ll_round(rendered_pixels_right),
|
||||
@@ -1916,7 +1916,7 @@ void LLLineEditor::draw()
|
||||
rendered_pixels_right, text_bottom,
|
||||
tmp_color,
|
||||
LLFontGL::LEFT, LLFontGL::BOTTOM,
|
||||
mFontStyle,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::NO_SHADOW,
|
||||
select_right - mScrollHPos - rendered_text,
|
||||
mMaxHPixels - ll_round(rendered_pixels_right),
|
||||
@@ -1931,7 +1931,7 @@ void LLLineEditor::draw()
|
||||
rendered_pixels_right, text_bottom,
|
||||
text_color,
|
||||
LLFontGL::LEFT, LLFontGL::BOTTOM,
|
||||
mFontStyle,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::NO_SHADOW,
|
||||
S32_MAX,
|
||||
mMaxHPixels - ll_round(rendered_pixels_right),
|
||||
@@ -1945,7 +1945,7 @@ void LLLineEditor::draw()
|
||||
rendered_pixels_right, text_bottom,
|
||||
text_color,
|
||||
LLFontGL::LEFT, LLFontGL::BOTTOM,
|
||||
mFontStyle,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::NO_SHADOW,
|
||||
S32_MAX,
|
||||
mMaxHPixels - ll_round(rendered_pixels_right),
|
||||
@@ -1987,7 +1987,7 @@ void LLLineEditor::draw()
|
||||
mGLFont->render(mText, getCursor(), (F32)(cursor_left + UI_LINEEDITOR_CURSOR_THICKNESS / 2), text_bottom,
|
||||
tmp_color,
|
||||
LLFontGL::LEFT, LLFontGL::BOTTOM,
|
||||
mFontStyle,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::NO_SHADOW,
|
||||
1);
|
||||
}
|
||||
@@ -2013,7 +2013,7 @@ void LLLineEditor::draw()
|
||||
label_color,
|
||||
LLFontGL::LEFT,
|
||||
LLFontGL::BOTTOM,
|
||||
mFontStyle,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::NO_SHADOW,
|
||||
S32_MAX,
|
||||
mMaxHPixels - ll_round(rendered_pixels_right),
|
||||
@@ -2038,7 +2038,7 @@ void LLLineEditor::draw()
|
||||
label_color,
|
||||
LLFontGL::LEFT,
|
||||
LLFontGL::BOTTOM,
|
||||
mFontStyle,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::NO_SHADOW,
|
||||
S32_MAX,
|
||||
mMaxHPixels - ll_round(rendered_pixels_right),
|
||||
|
||||
@@ -315,7 +315,6 @@ protected:
|
||||
|
||||
LLViewBorder* mBorder;
|
||||
const LLFontGL* mGLFont;
|
||||
U8 mFontStyle = LLFontGL::NORMAL;
|
||||
S32 mMaxLengthBytes; // Max length of the UTF8 string in bytes
|
||||
S32 mCursorPos; // I-beam is just after the mCursorPos-th character.
|
||||
S32 mScrollHPos; // Horizontal offset from the start of mText. Used for scrolling.
|
||||
|
||||
Reference in New Issue
Block a user