Searched refs:itemHeight (Results 1 - 7 of 7) sorted by relevance

/haiku/src/tests/kits/interface/menu/menuworld/
H A DTestMenuBuilder.cpp71 float itemHeight, itemWidth; local
72 pTypicalItem->GetBitmapSize(&itemWidth, &itemHeight);
74 itemHeight++;
77 menuHeight = NUM_TEST_ITEMS_DOWN*itemHeight;
88 top = i*itemHeight;
90 top + itemHeight - 1);
H A DMenuView.cpp192 float itemHeight = m_pMenuOutlineView->ItemFrame(0).Height(); local
193 itemHeight++; // account for 1-pixel offset between items
200 float viewHeight = 16*itemHeight;
/haiku/src/preferences/appearance/
H A DColorWhichListView.cpp65 float itemHeight = colorWhichItem->Height() - 5; local
66 BRect rect(0.0f, 0.0f, roundf(itemHeight * M_PHI) - 1, itemHeight - 1);
/haiku/src/apps/terminal/
H A DColorListView.cpp65 float itemHeight = colorItem->Height() - 5; local
66 BRect rect(0.0f, 0.0f, roundf(itemHeight * M_PHI) - 1, itemHeight - 1);
/haiku/src/apps/softwareupdater/
H A DSoftwareUpdaterWindow.cpp1300 float itemHeight = 0; local
1304 itemHeight = fSuperUpdateItem->GetPackageItemHeight();
1308 item->SetHeight(itemHeight);
1313 itemHeight = fSuperInstallItem->GetPackageItemHeight();
1317 item->SetHeight(itemHeight);
1323 itemHeight = fSuperUninstallItem->GetPackageItemHeight();
1327 item->SetHeight(itemHeight);
/haiku/src/apps/stylededit/
H A DStyledEditWindow.cpp1386 const float itemHeight = ceilf(fh.ascent + fh.descent + 2 * fh.leading); local
1395 BPoint topLeft((i % nbColumns) * (itemHeight + margin),
1396 (i / nbColumns) * (itemHeight + margin));
1397 BRect buttonArea(topLeft.x, topLeft.y, topLeft.x + itemHeight,
1398 topLeft.y + itemHeight);
1399 buttonArea.OffsetBy(margin, itemHeight + margin + margin);
1412 matrixArea.bottom = itemHeight + 4;
/haiku/src/kits/interface/
H A DListView.cpp1631 float itemHeight = 0.0; local
1634 itemHeight = ItemAt(CountItems() - 1)->Bottom();
1636 if (bounds.Height() > itemHeight) {
1642 vertScroller->SetRange(0.0, itemHeight - bounds.Height() - 1.0);
1643 vertScroller->SetProportion(bounds.Height () / itemHeight);
1645 if (itemHeight < bounds.bottom)
1646 ScrollBy(0.0, bounds.bottom - itemHeight);

Completed in 100 milliseconds