From 6a133cf04b5c589c318b53c20d9d51a15a626285 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Tue, 3 Sep 2013 14:51:55 +0200 Subject: [PATCH] Clean up unused code and documentation --- src/window.cpp | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/src/window.cpp b/src/window.cpp index 15ce24d..be41566 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -86,17 +86,7 @@ static Sides scrollArrowSrc = IntRect(152, 40, 16, 8) }; -///* Cycling */ -//static unsigned char cursorAniAlpha[] = -//{ -// /* Fade out */ -// 0xFF, 0xF0, 0xE8, 0xE0, 0xD8, 0xD0, 0xC8, 0xC0, -// 0xB8, 0xB0, 0xA8, 0xA0, 0x98, 0x90, 0x88, 0x80, -// /* Fade in */ -// 0x78, 0x80, 0x88, 0x90, 0x98, 0xA0, 0xA8, 0xB0, -// 0xB8, 0xC0, 0xC8, 0xD0, 0xD8, 0xE0, 0xE8, 0xF0 -//}; - +/* Cycling */ static unsigned char cursorAniAlpha[] = { /* Fade out */ @@ -151,10 +141,10 @@ struct QuadChunk /* Vocabulary: * - * Base: Base layer of window; includes background and borders. + * Base: 'Base' layer of window; includes background and borders. * Drawn at z+0. * - * Controls: Controls layer of window; includes scroll arrows, + * Controls: 'Controls' layer of window; includes scroll arrows, * pause animation, cursor rectangle and contents bitmap. * Drawn at z+2. * @@ -418,8 +408,6 @@ struct WindowPrivate gState->texPool().release(baseTex); baseTex = gState->texPool().request(newW, newH); - qDebug() << "Allocated bg tex:" << newW << newH; - baseTexDirty = true; }