|
|
|
@ -82,15 +82,15 @@ void HeaderListItem::paintCell(TQPainter* p, const TQColorGroup& cg, int , int w
|
|
|
|
|
int rDiff, gDiff, bDiff;
|
|
|
|
|
int rca, gca, bca /*, rcb, gcb, bcb*/;
|
|
|
|
|
|
|
|
|
|
// register int x, y;
|
|
|
|
|
// int x, y;
|
|
|
|
|
|
|
|
|
|
rDiff = (/*rcb = */ cb.red()) - (rca = ca.red());
|
|
|
|
|
gDiff = (/*gcb = */ cb.green()) - (gca = ca.green());
|
|
|
|
|
bDiff = (/*bcb = */ cb.blue()) - (bca = ca.blue());
|
|
|
|
|
|
|
|
|
|
register int rl = rca << 16;
|
|
|
|
|
register int gl = gca << 16;
|
|
|
|
|
register int bl = bca << 16;
|
|
|
|
|
int rl = rca << 16;
|
|
|
|
|
int gl = gca << 16;
|
|
|
|
|
int bl = bca << 16;
|
|
|
|
|
|
|
|
|
|
int rcdelta = ((1<<16) / 20) * rDiff;
|
|
|
|
|
int gcdelta = ((1<<16) / 20) * gDiff;
|
|
|
|
|