summaryrefslogtreecommitdiffstats
path: root/twin/clients/keramik
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:35 +0900
commit8250c8e42310cb39ceb6ae425bc8546208733e99 (patch)
tree6e27394b86eb387505f1e2cb712630e001d34fb8 /twin/clients/keramik
parent234e466e0e524cfd92a268c37d504a7ff910ca45 (diff)
downloadtdebase-8250c8e42310cb39ceb6ae425bc8546208733e99.tar.gz
tdebase-8250c8e42310cb39ceb6ae425bc8546208733e99.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'twin/clients/keramik')
-rw-r--r--twin/clients/keramik/keramik.cpp14
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 );