removed a clouple TODO comments where issues cleared up meanwhile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15739 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -942,9 +942,6 @@ BView::SetOrigin(float x, float y)
|
|||||||
fState->valid_flags |= B_VIEW_ORIGIN_BIT;
|
fState->valid_flags |= B_VIEW_ORIGIN_BIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Bounds() is effected by SetOrigin() (?),
|
|
||||||
// so should we set the COORD_BIT too?
|
|
||||||
|
|
||||||
// our local coord system origin has changed, so when archiving we'll add this too
|
// our local coord system origin has changed, so when archiving we'll add this too
|
||||||
fState->archiving_flags |= B_VIEW_ORIGIN_BIT;
|
fState->archiving_flags |= B_VIEW_ORIGIN_BIT;
|
||||||
}
|
}
|
||||||
@@ -1474,7 +1471,6 @@ BView::ScrollBy(float dh, float dv)
|
|||||||
|
|
||||||
// we modify our bounds rectangle by dh/dv coord units hor/ver.
|
// we modify our bounds rectangle by dh/dv coord units hor/ver.
|
||||||
fBounds.OffsetBy(dh, dv);
|
fBounds.OffsetBy(dh, dv);
|
||||||
// fState->coordSysOrigin += BPoint(dh, dv);
|
|
||||||
|
|
||||||
// then set the new values of the scrollbars
|
// then set the new values of the scrollbars
|
||||||
if (fHorScroller)
|
if (fHorScroller)
|
||||||
|
|||||||
Reference in New Issue
Block a user