Diffstat (limited to 'noncore/apps/opie-console/common.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/common.h b/noncore/apps/opie-console/common.h index a621ff5..645d5c5 100644 --- a/noncore/apps/opie-console/common.h +++ b/noncore/apps/opie-console/common.h | |||
@@ -98,17 +98,17 @@ inline BOOL operator != (Character a, Character b) | |||
98 | /*! | 98 | /*! |
99 | */ | 99 | */ |
100 | struct ColorEntry | 100 | struct ColorEntry |
101 | { | 101 | { |
102 | ColorEntry(QColor c, bool tr, bool b) : color(c), transparent(tr), bold(b) {} | 102 | ColorEntry(QColor c, bool tr, bool b) : color(c), transparent(tr), bold(b) {} |
103 | ColorEntry() : transparent(false), bold(false) {} // default constructors | 103 | ColorEntry() : transparent(false), bold(false) {} // default constructors |
104 | void operator=(const ColorEntry& rhs) { | 104 | void operator=(const ColorEntry& rhs) { |
105 | color = rhs.color; | 105 | color = rhs.color; |
106 | transparent = rhs.transparent; | 106 | transparent = rhs.transparent; |
107 | bold = rhs.bold; | 107 | bold = rhs.bold; |
108 | } | 108 | } |
109 | QColor color; | 109 | QColor color; |
110 | bool transparent; // if used on bg | 110 | bool transparent : 1; // if used on bg |
111 | bool bold; // if used on fg | 111 | bool bold : 1; // if used on fg |
112 | }; | 112 | }; |
113 | 113 | ||
114 | #endif // COMMON_H | 114 | #endif // COMMON_H |