1 /* 2 SPDX-FileCopyrightText: 1997, 1998 Lars Doelle <lars.doelle@on-line.de> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #ifndef CHARACTERFORMAT_H 8 #define CHARACTERFORMAT_H 9 10 #include "Character.h" 11 12 namespace Konsole 13 { 14 class CharacterFormat 15 { 16 public: 17 bool equalsFormat(const CharacterFormat &other) const; 18 bool equalsFormat(const Character &c) const; 19 void setFormat(const Character &c); 20 21 CharacterColor fgColor, bgColor; 22 quint16 startPos; 23 RenditionFlags rendition; 24 bool isRealCharacter; 25 }; 26 27 } 28 29 #endif 30