mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
bring red color back
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2434 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9d5c326eaf
commit
2bc240251e
@ -11,6 +11,8 @@
|
||||
|
||||
* formulabase.[Ch]: remove unneeded convertFont()
|
||||
|
||||
* math_funcinset.[Ch]: bring red color back
|
||||
|
||||
2001-08-01 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* math_cursor.C:
|
||||
|
@ -42,9 +42,9 @@ void MathFuncInset::metrics(MathStyles st) const
|
||||
{
|
||||
size_ = st;
|
||||
if (name_.empty())
|
||||
mathed_char_dim(LM_TC_TEXTRM, size_, 'I', ascent_, descent_, width_);
|
||||
mathed_char_dim(LM_TC_TEX, size_, 'I', ascent_, descent_, width_);
|
||||
else
|
||||
mathed_string_dim(LM_TC_TEXTRM, size_, name_, ascent_, descent_, width_);
|
||||
mathed_string_dim(LM_TC_TEX, size_, name_, ascent_, descent_, width_);
|
||||
}
|
||||
|
||||
|
||||
@ -53,7 +53,7 @@ void MathFuncInset::draw(Painter & pain, int x, int y) const
|
||||
xo(x);
|
||||
yo(y);
|
||||
if (name_.empty())
|
||||
drawChar(pain, LM_TC_TEXTRM, size_, x, y, ' ');
|
||||
drawChar(pain, LM_TC_TEX, size_, x, y, ' ');
|
||||
else
|
||||
drawStr(pain, LM_TC_TEXTRM, size_, x, y, name_);
|
||||
drawStr(pain, LM_TC_TEX, size_, x, y, name_);
|
||||
}
|
||||
|
@ -59,6 +59,12 @@ void MathMacroArgument::write(std::ostream & os, bool /*fragile*/) const
|
||||
}
|
||||
|
||||
|
||||
void MathMacroArgument::metrics(MathStyles st) const
|
||||
{
|
||||
size_ = st;
|
||||
}
|
||||
|
||||
|
||||
void MathMacroArgument::writeNormal(std::ostream & os) const
|
||||
{
|
||||
os << "[macroarg " << number_ << "] ";
|
||||
|
@ -18,7 +18,7 @@ public:
|
||||
///
|
||||
MathInset * clone() const;
|
||||
///
|
||||
//void metrics(MathStyles st) const;
|
||||
void metrics(MathStyles st) const;
|
||||
///
|
||||
void draw(Painter &, int x, int y) const;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user