Lines Matching defs:area

143 				WindowArea* area = areas.ItemAt(i);
144 area->_MoveToSAT(parentWindow);
871 WindowArea* area = new(std::nothrow) WindowArea(leftTopRef, rightTopRef,
873 if (area == NULL)
875 // the area register itself in our area list
876 if (area->Init(this) == false) {
877 delete area;
880 // delete the area if AddWindow failed / release our reference on it
881 BReference<WindowArea> areaRef(area, true);
883 return AddWindow(window, area);
888 SATGroup::AddWindow(SATWindow* window, WindowArea* area, SATWindow* after)
890 if (!area->_AddWindow(window, after))
894 area->_RemoveWindow(window);
898 if (!window->AddedToGroup(this, area)) {
899 area->_RemoveWindow(window);
914 // We need the area a little bit longer because the area could hold the
916 BReference<WindowArea> area = window->GetWindowArea();
917 if (area.IsSet())
918 area->_RemoveWindow(window);
994 SATGroup::WindowAreaRemoved(WindowArea* area)
996 _SplitGroupIfNecessary(area);
1035 for (int32 i = 0; archive.FindMessage("area", i, &areaArchive) == B_OK;
1054 // adding windows to area
1085 WindowArea* area = fWindowAreaList.ItemAt(i);
1086 int32 leftTab = fVerticalTabs.IndexOf(area->LeftTab());
1087 int32 rightTab = fVerticalTabs.IndexOf(area->RightTab());
1088 int32 topTab = fHorizontalTabs.IndexOf(area->TopTab());
1089 int32 bottomTab = fHorizontalTabs.IndexOf(area->BottomTab());
1097 const SATWindowList& windowList = area->WindowList();
1101 archive.AddMessage("area", &areaMessage);
1189 // if there are windows stacked in the area we don't need to split
1221 WindowArea* area)
1223 _LeftNeighbours(neighbourWindows, area);
1224 _RightNeighbours(neighbourWindows, area);
1225 _TopNeighbours(neighbourWindows, area);
1226 _BottomNeighbours(neighbourWindows, area);
1243 WindowArea* area = corner->windowArea;
1244 float pos1 = area->LeftTopCrossing()->HorizontalTab()->Position();
1245 float pos2 = area->LeftBottomCrossing()->HorizontalTab()->Position();
1248 neighbourWindows.AddItem(area);
1269 WindowArea* area = corner->windowArea;
1270 float pos1 = area->LeftTopCrossing()->VerticalTab()->Position();
1271 float pos2 = area->RightTopCrossing()->VerticalTab()->Position();
1274 neighbourWindows.AddItem(area);
1295 WindowArea* area = corner->windowArea;
1296 float pos1 = area->RightTopCrossing()->HorizontalTab()->Position();
1297 float pos2 = area->RightBottomCrossing()->HorizontalTab()->Position();
1300 neighbourWindows.AddItem(area);
1322 WindowArea* area = corner->windowArea;
1323 float pos1 = area->LeftBottomCrossing()->VerticalTab()->Position();
1324 float pos2 = area->RightBottomCrossing()->VerticalTab()->Position();
1327 neighbourWindows.AddItem(area);
1342 WindowArea* area = seedList.RemoveItemAt(0);
1343 newGroup.AddItem(area);
1345 _FollowSeed(area, removedArea, seedList, newGroup);
1351 SATGroup::_FollowSeed(WindowArea* area, WindowArea* veto,
1355 _FillNeighbourList(neighbours, area);
1360 // if we get a area from the seed list it is not a seed any more