cool-retro-term/yat/backend/text_style.cpp
2013-11-23 13:59:05 +01:00

18 lines
383 B
C++

#include "text_style.h"
#include <QtCore/QDebug>
TextStyle::TextStyle()
: style(Normal)
, forground(ColorPalette::DefaultForground)
, background(ColorPalette::DefaultBackground)
{
}
bool TextStyle::isCompatible(const TextStyle &other) const
{
return forground == other.forground
&& background == other.background
&& style == other.style;
}