diff options
author | Michele Calgaro <[email protected]> | 2020-01-30 20:17:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-01-30 23:52:43 +0900 |
commit | 2afc8bbbe4f529c5847cfbe1757e55c47e4656fe (patch) | |
tree | 76a398670f2197f0682ccad3beff2875555af078 /twin/clients/keramik/keramik.cpp | |
parent | 25a1c781481d9f53476251d1d2059643cf3ac67a (diff) | |
download | tdebase-2afc8bbbe4f529c5847cfbe1757e55c47e4656fe.tar.gz tdebase-2afc8bbbe4f529c5847cfbe1757e55c47e4656fe.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 8250c8e42310cb39ceb6ae425bc8546208733e99)
Diffstat (limited to 'twin/clients/keramik/keramik.cpp')
-rw-r--r-- | twin/clients/keramik/keramik.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/twin/clients/keramik/keramik.cpp b/twin/clients/keramik/keramik.cpp index 4043e6ee4..7a5225cc7 100644 --- a/twin/clients/keramik/keramik.cpp +++ b/twin/clients/keramik/keramik.cpp @@ -593,16 +593,16 @@ TQPixmap *KeramikHandler::composite( TQImage *over, TQImage *under ) // Copy the under image (bottom aligned) to the destination image for (int y1 = height - under->height(), y2 = 0; y1 < height; y1++, y2++ ) { - register TQ_UINT32 *dst = reinterpret_cast<TQ_UINT32*>( dest.scanLine(y1) ); - register TQ_UINT32 *src = reinterpret_cast<TQ_UINT32*>( under->scanLine(y2) ); + TQ_UINT32 *dst = reinterpret_cast<TQ_UINT32*>( dest.scanLine(y1) ); + TQ_UINT32 *src = reinterpret_cast<TQ_UINT32*>( under->scanLine(y2) ); for ( int x = 0; x < width; x++ ) *(dst++) = *(src++); } // Blend the over image onto the destination - register TQ_UINT32 *dst = reinterpret_cast<TQ_UINT32*>( dest.bits() ); - register TQ_UINT32 *src = reinterpret_cast<TQ_UINT32*>( over->bits() ); + TQ_UINT32 *dst = reinterpret_cast<TQ_UINT32*>( dest.bits() ); + TQ_UINT32 *src = reinterpret_cast<TQ_UINT32*>( over->bits() ); for ( int i = 0; i < width * height; i++ ) { int r1 = tqRed( *dst ), g1 = tqGreen( *dst ), b1 = tqBlue( *dst ); @@ -1155,13 +1155,13 @@ void KeramikClient::updateMask() // over the pixels to compute the bounding rects from it. TQRegion r; - register int w, y = 0; + int w, y = 0; if ( TQApplication::reverseLayout() ) { // If the caption bubble is visible and extends above the titlebar if ( largeCaption && captionRect.width() >= 25 ) { - register int x = captionRect.left(); + int x = captionRect.left(); w = captionRect.width(); r += TQRegion( x + 11, y++, w - 19, 1 ); r += TQRegion( x + 9, y++, w - 15, 1 ); @@ -1188,7 +1188,7 @@ void KeramikClient::updateMask() // If the caption bubble is visible and extends above the titlebar if ( largeCaption && captionRect.width() >= 25 ) { - register int x = captionRect.left(); + int x = captionRect.left(); w = captionRect.width(); r += TQRegion( x + 8, y++, w - 19, 1 ); r += TQRegion( x + 6, y++, w - 15, 1 ); |