Replaced a part of color attributes from int type to vattr type

This commit is contained in:
Ianos Gnatiuc
2006-01-13 14:26:31 +00:00
parent 5c13c7c8c9
commit b4f52b3d1e
51 changed files with 625 additions and 587 deletions

View File

@@ -36,6 +36,7 @@
#include <gftnall.h>
#include <gtimall.h>
#include <gvidall.h>
#include <gmsgattr.h>
@@ -141,15 +142,15 @@ class Line {
public:
int color; // Line color
vattr color; // Line color
uint type; // GLINE_*
uint kludge; // GKLUD_*
std::string txt; // The line text
Line* prev; // Pointer to previous line
Line* next; // Pointer to next line
Line() : txt ("") { color = type = kludge = 0; prev = next = NULL; }
Line(const char *str) : txt (str) { color = type = kludge = 0; prev = next = NULL; }
Line() : txt ("") { color = BLACK|_BLACK; type = kludge = 0; prev = next = NULL; }
Line(const char *str) : txt (str) { color = BLACK|_BLACK; type = kludge = 0; prev = next = NULL; }
~Line() {}
int istearline() { return !!(type & GLINE_TEAR); }