Lines Matching refs:area
39 RowColumnManager::AddArea(Area* area)
41 Row* row = _FindRowFor(area);
43 row = new Row(fLinearSpec, area->Top(), area->Bottom());
46 area->fRow = row;
47 row->fAreas.AddItem(area);
49 Column* column = _FindColumnFor(area);
51 column = new Column(fLinearSpec, area->Left(), area->Right());
54 area->fColumn = column;
55 column->fAreas.AddItem(area);
63 RowColumnManager::RemoveArea(Area* area)
65 Row* row = area->fRow;
67 row->fAreas.RemoveItem(area);
68 area->fRow = NULL;
76 Column* column = area->fColumn;
78 column->fAreas.RemoveItem(area);
79 area->fColumn = NULL;
100 RowColumnManager::TabsChanged(Area* area)
102 RemoveArea(area);
103 AddArea(area);
108 RowColumnManager::_FindRowFor(Area* area)
112 if (row->fTop.Get() == area->Top()
113 && row->fBottom.Get() == area->Bottom())
121 RowColumnManager::_FindColumnFor(Area* area)
125 if (column->fLeft.Get() == area->Left()
126 && column->fRight.Get() == area->Right())