{Tree,Table}: Add cell rect accessor.

BColumnListView:
- Add helper method for getting the visible rect of a given field.
  Refactor SuggestTextPosition to use it.

{Tree,Table}:
- Add wrapper to retrieve table cell rect using the aforementioned
  BCLV helper.
This commit is contained in:
Rene Gollent
2015-07-17 23:12:39 -04:00
parent 8988902ec3
commit df459da6ed
6 changed files with 59 additions and 6 deletions
@@ -363,6 +363,9 @@ public:
BPoint SuggestTextPosition(const BRow* row,
const BColumn* column = NULL) const;
BRect GetFieldRect(const BRow* row,
const BColumn* column) const;
void SetLatchWidth(float width);
float LatchWidth() const;
virtual void DrawLatch(BView* view, BRect frame,