- int ofs = 0;
-
- int i;
- for( i = 0; i != mGrooveCount; ++i, ofs += ( GROOVE_WIDTH + GROOVE_TO_GROOVE_GAP ) )
-
- if ( mpPane->IsHorizontal() )
- {
- dc.SetPen( mpLayout->mLightPen );
- dc.DrawLine( pos.x + ofs, pos.y, pos.x + ofs, pos.y + length - 1 );
- dc.DrawPoint( pos.x + ofs + 1, pos.y );
-
- dc.SetPen( mpLayout->mDarkPen );
- dc.DrawLine( pos.x + ofs + 2, pos.y, pos.x + ofs + 2, pos.y + length );
- dc.DrawPoint( pos.x + ofs + 1, pos.y + length - 1 );
- dc.DrawPoint( pos.x + ofs, pos.y + length - 1 );
- }
- else
- {
- dc.SetPen( mpLayout->mLightPen );
- dc.DrawLine( pos.x, pos.y + ofs, pos.x + length - 1, pos.y + ofs );
- dc.DrawPoint( pos.x, pos.y + ofs + 1 );
-
- dc.SetPen( mpLayout->mDarkPen );
- dc.DrawLine( pos.x, pos.y + ofs + 2, pos.x + length, pos.y + ofs + 2 );
- dc.DrawPoint( pos.x + length - 1, pos.y + ofs + 1 );
- dc.DrawPoint( pos.x + length - 1, pos.y + ofs );
- }
+ int ofs = 0;
+
+ int i;
+ for ( i = 0; i != mGrooveCount; ++i, ofs += ( GROOVE_WIDTH + GROOVE_TO_GROOVE_GAP ) )
+ {
+ if ( mpPane->IsHorizontal() )
+ {
+ dc.SetPen( mpLayout->mLightPen );
+ dc.DrawLine( pos.x + ofs, pos.y, pos.x + ofs, pos.y + length - 1 );
+ dc.DrawPoint( pos.x + ofs + 1, pos.y );
+
+ dc.SetPen( mpLayout->mDarkPen );
+ dc.DrawLine( pos.x + ofs + 2, pos.y, pos.x + ofs + 2, pos.y + length );
+ dc.DrawPoint( pos.x + ofs + 1, pos.y + length - 1 );
+ dc.DrawPoint( pos.x + ofs, pos.y + length - 1 );
+ }
+ else
+ {
+ dc.SetPen( mpLayout->mLightPen );
+ dc.DrawLine( pos.x, pos.y + ofs, pos.x + length - 1, pos.y + ofs );
+ dc.DrawPoint( pos.x, pos.y + ofs + 1 );
+
+ dc.SetPen( mpLayout->mDarkPen );
+ dc.DrawLine( pos.x, pos.y + ofs + 2, pos.x + length, pos.y + ofs + 2 );
+ dc.DrawPoint( pos.x + length - 1, pos.y + ofs + 1 );
+ dc.DrawPoint( pos.x + length - 1, pos.y + ofs );
+ }
+ }