Ignore:
Timestamp:
Jan 1, 2001, 4:30:29 PM (25 years ago)
Author:
umoeller
Message:

Tons of updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/animate.c

    r17 r18  
    280280            rclDraw.yBottom = rclNow.yTop;
    281281            rclDraw.yTop = rclLast.yTop;
    282             WinFillRect(hps, &rclDraw, CLR_BLACK);
     282            WinFillRect(hps, &rclDraw, CLR_BLACK); // exclusive
    283283
    284284            // draw black rectangle left of rclNow
     
    287287            rclDraw.yBottom = rclLast.yBottom;
    288288            rclDraw.yTop = rclLast.yTop;
    289             WinFillRect(hps, &rclDraw, CLR_BLACK);
     289            WinFillRect(hps, &rclDraw, CLR_BLACK); // exclusive
    290290
    291291            // draw black rectangle right of rclNow
     
    294294            rclDraw.yBottom = rclLast.yBottom;
    295295            rclDraw.yTop = rclLast.yTop;
    296             WinFillRect(hps, &rclDraw, CLR_BLACK);
     296            WinFillRect(hps, &rclDraw, CLR_BLACK); // exclusive
    297297
    298298            // draw black rectangle at the bottom of rclNow
     
    301301            rclDraw.yBottom = rclLast.yBottom;
    302302            rclDraw.yTop = rclNow.yBottom;
    303             WinFillRect(hps, &rclDraw, CLR_BLACK);
     303            WinFillRect(hps, &rclDraw, CLR_BLACK); // exclusive
    304304
    305305            // remember rclNow for next iteration
     
    365365            rclDraw.yBottom = rclLast.yBottom;
    366366            rclDraw.yTop = rclLast.yTop;
    367             WinFillRect(hps, &rclDraw, CLR_BLACK);
     367            WinFillRect(hps, &rclDraw, CLR_BLACK); // exclusive
    368368
    369369            // draw black rectangle right of rclNow
     
    372372            rclDraw.yBottom = rclLast.yBottom;
    373373            rclDraw.yTop = rclLast.yTop;
    374             WinFillRect(hps, &rclDraw, CLR_BLACK);
    375 
    376             // WinFillRect(hps, &rclNow, CLR_WHITE);
     374            WinFillRect(hps, &rclDraw, CLR_BLACK); // exclusive
     375
     376            // WinFillRect(hps, &rclNow, CLR_WHITE); // exclusive
    377377
    378378            // remember rclNow for next iteration
     
    391391                rclLast.yTop = rclScreen.yTop - rclLast.yBottom;
    392392
    393                 WinFillRect(hps, &rclLast, CLR_WHITE);
     393                WinFillRect(hps, &rclLast, CLR_WHITE); // exclusive
    394394            }
    395395        }
     
    435435            rclDraw.yBottom = rclNow.yTop;
    436436            rclDraw.yTop = rclLast.yTop;
    437             WinFillRect(hps, &rclDraw, CLR_BLACK);
     437            WinFillRect(hps, &rclDraw, CLR_BLACK); // exclusive
    438438
    439439            // draw black rectangle at the bottom of rclNow
     
    442442            rclDraw.yBottom = rclLast.yBottom;
    443443            rclDraw.yTop = rclNow.yBottom;
    444             WinFillRect(hps, &rclDraw, CLR_BLACK);
     444            WinFillRect(hps, &rclDraw, CLR_BLACK); // exclusive
    445445
    446446            // remember rclNow for next iteration
     
    473473    // sleep a while
    474474    DosSleep(ulWaitEnd / 2);
    475     WinFillRect(hps, &rclScreen, CLR_BLACK);
     475    WinFillRect(hps, &rclScreen, CLR_BLACK); // exclusive
    476476    DosSleep(ulWaitEnd / 2);
    477477
Note: See TracChangeset for help on using the changeset viewer.