Line
Link Here
|
0 |
-- qtcurve-1.8.17/qtcurve-utils/color.h |
0 |
++ qtcurve-1.8.17-uclibc/qtcurve-utils/color.h |
Lines 257-263
qtcColorTint(const QColor *base, const Q
Link Here
|
257 |
return *base; |
257 |
return *base; |
258 |
} else if (amount >= 1.0) { |
258 |
} else if (amount >= 1.0) { |
259 |
return *col; |
259 |
return *col; |
260 |
} else if (isnan(amount)) { |
260 |
} else if (std::isnan(amount)) { |
261 |
return *base; |
261 |
return *base; |
262 |
} |
262 |
} |
263 |
const QtcColor qtc_base = {base->redF(), base->greenF(), base->blueF()}; |
263 |
const QtcColor qtc_base = {base->redF(), base->greenF(), base->blueF()}; |
Lines 274-280
qtcColorMix(const QColor *c1, const QCol
Link Here
|
274 |
return *c1; |
274 |
return *c1; |
275 |
} else if (bias >= 1.0) { |
275 |
} else if (bias >= 1.0) { |
276 |
return *c2; |
276 |
return *c2; |
277 |
} else if (isnan(bias)) { |
277 |
} else if (std::isnan(bias)) { |
278 |
return *c1; |
278 |
return *c1; |
279 |
} |
279 |
} |
280 |
const QtcColor qtc_c1 = {c1->redF(), c1->greenF(), c1->blueF()}; |
280 |
const QtcColor qtc_c1 = {c1->redF(), c1->greenF(), c1->blueF()}; |
281 |
-- qtcurve-1.8.17/qtcurve-utils/log.h |
281 |
++ qtcurve-1.8.17-uclibc/qtcurve-utils/log.h |
Lines 21-26
Link Here
|
21 |
#ifndef _QTC_UTILS_LOG_H_ |
21 |
#ifndef _QTC_UTILS_LOG_H_ |
22 |
#define _QTC_UTILS_LOG_H_ |
22 |
#define _QTC_UTILS_LOG_H_ |
23 |
|
23 |
|
|
|
24 |
#include <stdarg.h> |
24 |
#include "utils.h" |
25 |
#include "utils.h" |
25 |
|
26 |
|
26 |
QTC_BEGIN_DECLS |
27 |
QTC_BEGIN_DECLS |