mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-03-03 01:08:49 +00:00
18 lines
383 B
C++
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;
|
||
|
}
|