1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-03-03 01:08:49 +00:00
cool-retro-term/yat/backend/text_style.cpp

18 lines
383 B
C++
Raw Normal View History

2013-11-23 13:59:05 +01:00
#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;
}