BColumnListView: Enable invalidating rows, fix SetField()

* Seems like there was no easy way to simply invalidate
   a given BRow. Introduced BColumnListView::InvalidateRow().
 * BRow::SetField() tried to invalidate the row, but invalidated
   the listview instead of the BOutlineView responsible for
   drawing the list contents. Use the new InvaalidateRow().
This commit is contained in:
Stephan Aßmus
2013-09-17 14:42:03 +02:00
committed by Rene Gollent
parent 72b9e4a7bc
commit ed6f171aa6
2 changed files with 22 additions and 3 deletions
@@ -135,6 +135,8 @@ public:
bool IsExpanded() const;
bool IsSelected() const;
void Invalidate();
private:
// Blows up into the debugger if the validation fails.
void ValidateFields() const;
@@ -332,6 +334,8 @@ public:
parentRow1 = NULL, BRow* parentRow2 = NULL);
void Clear();
void InvalidateRow(BRow* row);
// Appearance (DEPRECATED)
void GetFont(BFont* font) const
{ BView::GetFont(font); }