summaryrefslogtreecommitdiffstats
path: root/doc/html/qgfx_qws-h.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qgfx_qws-h.html')
-rw-r--r--doc/html/qgfx_qws-h.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/qgfx_qws-h.html b/doc/html/qgfx_qws-h.html
index 85705096..ecaee5af 100644
--- a/doc/html/qgfx_qws-h.html
+++ b/doc/html/qgfx_qws-h.html
@@ -113,9 +113,9 @@ inline ushort qt_convRgbTo16( const int r, const int g, const int b )
inline ushort qt_convRgbTo16( TQRgb c )
{
- const int tr = qRed(c) << qt_red_shift;
- const int tg = qGreen(c) << qt_green_shift;
- const int tb = qBlue(c) >> qt_neg_blue_shift;
+ const int tr = tqRed(c) << qt_red_shift;
+ const int tg = tqGreen(c) << qt_green_shift;
+ const int tb = tqBlue(c) >> qt_neg_blue_shift;
return (tb & qt_blue_mask) | (tg & qt_green_mask) | (tr & qt_red_mask);
}
@@ -129,7 +129,7 @@ inline TQRgb qt_conv16ToRgb( ushort c )
const int tg = g >> qt_green_shift;
const int tb = b << qt_neg_blue_shift;
- return qRgb(tr,tg,tb);
+ return tqRgb(tr,tg,tb);
}
inline void qt_conv16ToRgb( ushort c, int& r, int& g, int& b )