projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uint -> NetworkId, uint -> BufferId almost everywhere. Conversion will be made explic...
[quassel.git]
/
src
/
uisupport
/
uistyle.cpp
diff --git
a/src/uisupport/uistyle.cpp
b/src/uisupport/uistyle.cpp
index
1740185
..
5f46331
100644
(file)
--- a/
src/uisupport/uistyle.cpp
+++ b/
src/uisupport/uistyle.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-0
7 by the Quassel IRC Team
*
+ * Copyright (C) 2005-0
8 by the Quassel Project
*
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-156,6
+156,8
@@
UiStyle::StyledText UiStyle::styleString(QString s) {
length = 4;
} else {
int color = 10 * s[pos+4].digitValue() + s[pos+5].digitValue();
length = 4;
} else {
int color = 10 * s[pos+4].digitValue() + s[pos+5].digitValue();
+ //TODO: use 99 as transparent color (re mirc color "standard")
+ color &= 0x0f;
int *colptr; FormatType coltype;
if(s[pos+3] == 'f') { // foreground
colptr = &fgCol; coltype = FgCol00;
int *colptr; FormatType coltype;
if(s[pos+3] == 'f') { // foreground
colptr = &fgCol; coltype = FgCol00;