Home
last modified time | relevance | path

Searched refs:pieRect (Results 1 – 3 of 3) sorted by relevance

/haiku/src/apps/diskusage/
H A DPieView.cpp397 BRect pieRect = Bounds(); in _DrawPieChart() local
398 if (!updateRect.Intersects(pieRect)) in _DrawPieChart()
401 pieRect.InsetBy(kPieOuterMargin, kPieOuterMargin); in _DrawPieChart()
404 if (pieRect.Width() > pieRect.Height()) { in _DrawPieChart()
405 float moveBy = (pieRect.Width() - pieRect.Height()) / 2; in _DrawPieChart()
406 pieRect.left += moveBy; in _DrawPieChart()
407 pieRect.right -= moveBy; in _DrawPieChart()
409 float moveBy = (pieRect.Height() - pieRect.Width()) / 2; in _DrawPieChart()
410 pieRect.top -= moveBy; in _DrawPieChart()
411 pieRect.bottom += moveBy; in _DrawPieChart()
[all …]
H A DMainWindow.cpp26 MainWindow::MainWindow(BRect pieRect) in MainWindow() argument
28 BWindow(pieRect, B_TRANSLATE_SYSTEM_NAME("DiskUsage"), B_TITLED_WINDOW, in MainWindow()
H A DMainWindow.h23 MainWindow(BRect pieRect);