Ignore:
Timestamp:
Jan 26, 2000, 7:04:30 PM (26 years ago)
Author:
cbratschi
Message:

added API logging, removed progress frame

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/progress.c

    r1431 r2523  
    1 /* $Id: progress.c,v 1.11 1999-10-24 22:49:46 sandervl Exp $ */
     1/* $Id: progress.c,v 1.12 2000-01-26 18:04:29 cbratschi Exp $ */
    22/*
    33 * Progress control
     
    2121
    2222#define LED_GAP      2
    23 #define BORDER_WIDTH 3
     23#define BORDER_WIDTH 1
    2424
    2525/* Work constants */
     
    6464
    6565  /* draw the background */
    66   if (!inUpdate)
    67   {
    68     FillRect(hdc, &rect, hbrBk);
    69     //Border
    70     hbrLight = GetSysColorPen(COLOR_BTNHILIGHT);
    71     hbrShadow = GetSysColorPen(COLOR_BTNSHADOW);
    72     MoveToEx(hdc,rect.left,rect.bottom-1,NULL);
    73     hbrOld = SelectObject(hdc,hbrShadow);
    74     LineTo(hdc,rect.left,rect.top);
    75     LineTo(hdc,rect.right-1,rect.top);
    76     SelectObject(hdc,hbrLight);
    77     LineTo(hdc,rect.right-1,rect.bottom-1);
    78     LineTo(hdc,rect.left,rect.bottom-1);
    79     SelectObject(hdc,hbrOld);
    80   }
     66  if (!inUpdate) FillRect(hdc, &rect, hbrBk);
    8167
    8268  rect.left += BORDER_WIDTH;
Note: See TracChangeset for help on using the changeset viewer.