Fixed rendering of bold text color.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/233/head
Michele Calgaro 3 years ago
parent 6a2392888f
commit df830fcd25
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -104,7 +104,6 @@ public:
UINT8 u; // various bytes representing the data in the respective ...
UINT8 v; // ... color space. C++ does not do unions, so we cannot ...
UINT8 w; // ... express ourselfs here, properly.
void toggleIntensive(); // Hack or helper?
TQColor color(const ColorEntry* base) const;
friend bool operator == (cacol a, cacol b);
friend bool operator != (cacol a, cacol b);
@ -175,14 +174,6 @@ inline TQColor cacol::color(const ColorEntry* base) const
}
}
inline void cacol::toggleIntensive()
{
if (t == CO_SYS || t == CO_DFT)
{
v = !v;
}
}
/*! \class ca
* \brief a character with rendition attributes.
*/

@ -517,8 +517,6 @@ void TEScreen::effectiveRendition()
ef_fg = cu_fg;
ef_bg = cu_bg;
}
if (cu_re & RE_BOLD)
ef_fg.toggleIntensive();
}
/*!

Loading…
Cancel
Save