SLIDER_BASE
AddLine(BPoint(counterX-halfwidth-3,SLIDER_BASE+1),
BPoint(counterX+halfwidth+3,SLIDER_BASE+1), gray);
AddLine(BPoint(counterX+halfwidth+4,SLIDER_BASE+1),
BPoint(counterX+halfwidth+4,SLIDER_BASE-8), gray);
AddLine(BPoint(counterX-halfwidth-4,SLIDER_BASE+1),
BPoint(counterX-halfwidth-4,SLIDER_BASE-9), white);
AddLine(BPoint(counterX-halfwidth-3,SLIDER_BASE-9),
BPoint(counterX+halfwidth+4,SLIDER_BASE-9), white);
AddLine(BPoint(counterX-halfwidth-3,SLIDER_BASE+1),
BPoint(counterX+halfwidth+3,SLIDER_BASE+1), blue);
AddLine(BPoint(counterX+halfwidth+4,SLIDER_BASE+1),
BPoint(counterX+halfwidth+4,SLIDER_BASE-9), blue2);
AddLine(BPoint(counterX-halfwidth-4,SLIDER_BASE+1),
BPoint(counterX-halfwidth-4,SLIDER_BASE-9), blue2);
AddLine(BPoint(counterX-halfwidth-3,SLIDER_BASE-9),
BPoint(counterX+halfwidth+3,SLIDER_BASE-9), blue2);
FillRect(BRect(counterX-halfwidth-3,SLIDER_BASE-8,counterX+halfwidth+3,
SLIDER_BASE));
DrawString(string, BPoint(counterX-halfwidth, SLIDER_BASE-1));
AddLine(BPoint(position,SLIDER_BASE+7), BPoint(position-4,SLIDER_BASE+3),
AddLine(BPoint(position-4,SLIDER_BASE+3), BPoint(position-4,SLIDER_BASE+1),
AddLine(BPoint(position-4,SLIDER_BASE+1), BPoint(position+4,SLIDER_BASE+1),
AddLine(BPoint(position+4,SLIDER_BASE+1), BPoint(position+4,SLIDER_BASE+3),
AddLine(BPoint(position+4,SLIDER_BASE+3), BPoint(position,SLIDER_BASE+7),
AddLine(BPoint(position-3,SLIDER_BASE+2), BPoint(position+3,SLIDER_BASE+2),
AddLine(BPoint(position-3,SLIDER_BASE+3), BPoint(position-1,SLIDER_BASE+5),
AddLine(BPoint(position-2,SLIDER_BASE+3), BPoint(position+2,SLIDER_BASE+3),
AddLine(BPoint(position-1,SLIDER_BASE+4), BPoint(position+1,SLIDER_BASE+4),
AddLine(BPoint(position,SLIDER_BASE+5), BPoint(position,SLIDER_BASE+5),
AddLine(BPoint(position,SLIDER_BASE+6), BPoint(position+3,SLIDER_BASE+3),
AddLine(BPoint(position,SLIDER_BASE+12), BPoint(position-4,SLIDER_BASE+16),
AddLine(BPoint(position-4,SLIDER_BASE+16), BPoint(position-4,
SLIDER_BASE+17), black);
AddLine(BPoint(position-4,SLIDER_BASE+17), BPoint(position+4,
SLIDER_BASE+17), black);
AddLine(BPoint(position+4,SLIDER_BASE+17), BPoint(position+4,
SLIDER_BASE+16), black);
AddLine(BPoint(position+4,SLIDER_BASE+16), BPoint(position,SLIDER_BASE+12),
AddLine(BPoint(position-4,SLIDER_BASE+18), BPoint(position+4,
SLIDER_BASE+18), white);
AddLine(BPoint(position-3,SLIDER_BASE+16), BPoint(position,SLIDER_BASE+13),
AddLine(BPoint(position-2,SLIDER_BASE+16), BPoint(position+2,
SLIDER_BASE+16), red);
AddLine(BPoint(position-1,SLIDER_BASE+15), BPoint(position+1,
SLIDER_BASE+15), red);
AddLine(BPoint(position,SLIDER_BASE+14), BPoint(position,
SLIDER_BASE+14), red);
AddLine(BPoint(position+1,SLIDER_BASE+14), BPoint(position+3,
SLIDER_BASE+16), bordeau);
BRect leftRect(fBitmapView->fLeftX-9, SLIDER_BASE+3, fBitmapView->fLeftX,
SLIDER_BASE+16);
BRect rightRect(fBitmapView->fRightX, SLIDER_BASE+3,
fBitmapView->fRightX+9, SLIDER_BASE+16);
StrokeLine(BPoint(11, SLIDER_BASE + 1), BPoint(fRight, SLIDER_BASE + 1));
StrokeLine(BPoint(11, SLIDER_BASE + 2), BPoint(fRight, SLIDER_BASE + 2));
StrokeLine(BPoint(11, SLIDER_BASE + 17), BPoint(fRight, SLIDER_BASE + 17));
StrokeLine(BPoint(11, SLIDER_BASE + 18), BPoint(fRight, SLIDER_BASE + 18));
BPoint leftPoint(5, SLIDER_BASE + 1);
BPoint rightPoint(fRight + 1, SLIDER_BASE + 1);
FillRect(BRect(11, SLIDER_BASE + 3, fLeftX - 9, SLIDER_BASE + 16));
FillRect(BRect(fRightX + 9, SLIDER_BASE + 3, fRight, SLIDER_BASE + 16));
StrokeLine(BPoint(fLeftX - 9, SLIDER_BASE + 3), BPoint(fLeftX - 6,
SLIDER_BASE + 3));
StrokeLine(BPoint(fLeftX - 9, SLIDER_BASE + 4), BPoint(fLeftX - 7,
SLIDER_BASE + 4));
StrokeLine(BPoint(fLeftX - 9, SLIDER_BASE + 5), BPoint(fLeftX - 8,
SLIDER_BASE + 5));
StrokeLine(BPoint(fLeftX - 9, SLIDER_BASE + 16), BPoint(fLeftX - 6,
SLIDER_BASE + 16));
StrokeLine(BPoint(fLeftX - 9, SLIDER_BASE + 15), BPoint(fLeftX - 7,
SLIDER_BASE + 15));
StrokeLine(BPoint(fLeftX - 9, SLIDER_BASE + 14), BPoint(fLeftX - 8,
SLIDER_BASE + 14));
StrokeLine(BPoint(fRightX + 5, SLIDER_BASE + 3), BPoint(fRightX + 8,
SLIDER_BASE + 3));
StrokeLine(BPoint(fRightX + 7, SLIDER_BASE + 4), BPoint(fRightX + 8,
SLIDER_BASE + 4));
StrokeLine(BPoint(fRightX + 8, SLIDER_BASE + 5), BPoint(fRightX + 8,
SLIDER_BASE + 6));
StrokeLine(BPoint(fRightX + 8, SLIDER_BASE + 13), BPoint(fRightX + 8,
SLIDER_BASE + 14));
StrokeLine(BPoint(fRightX + 5, SLIDER_BASE + 16), BPoint(fRightX + 8,
SLIDER_BASE + 16));
StrokeLine(BPoint(fRightX + 7, SLIDER_BASE + 15), BPoint(fRightX + 8,
SLIDER_BASE + 15));
FillRect(BRect(fLeftX + 1, SLIDER_BASE + 3, fRightX, SLIDER_BASE + 4));
FillRect(BRect(fLeftX + 1, SLIDER_BASE + 5, fLeftX + 2, SLIDER_BASE + 16));
FillRect(BRect(fLeftX + 3, SLIDER_BASE + 5, fRightX, SLIDER_BASE + 16));
StrokeLine(BPoint(i, SLIDER_BASE + 7), BPoint(i, SLIDER_BASE + 13));
StrokeLine(BPoint(j, SLIDER_BASE + 7), BPoint(j, SLIDER_BASE + 13));
StrokeLine(BPoint(i, SLIDER_BASE + 7), BPoint(i, SLIDER_BASE + 13));
StrokeLine(BPoint(j, SLIDER_BASE + 7), BPoint(j, SLIDER_BASE + 13));
StrokeLine(BPoint(i, SLIDER_BASE + 7), BPoint(i, SLIDER_BASE + 13));
StrokeLine(BPoint(j, SLIDER_BASE + 7), BPoint(j, SLIDER_BASE + 13));
BPoint leftThumbPoint(fLeftX - 8, SLIDER_BASE + 3);
BPoint rightThumbPoint(fRightX, SLIDER_BASE + 3);