diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
commit | 520c05ef06ce203ad32470730f68402bc7719157 (patch) | |
tree | 8d0bb18bbbecb4c837e232848905e5819db84b81 /doc/html/qgfx_qws-h.html | |
parent | b82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff) | |
download | tqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip |
Automated update from qt3
Diffstat (limited to 'doc/html/qgfx_qws-h.html')
-rw-r--r-- | doc/html/qgfx_qws-h.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/qgfx_qws-h.html b/doc/html/qgfx_qws-h.html index 857050969..ecaee5af2 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 ) |