Lines Matching refs:bounds
94 BRect bounds = Frame();
99 const float startLeft = bounds.left + (floor(bounds.Width())) / 2;
101 menu->StrokeLine(BPoint(startLeft, bounds.top + 1.0f),
102 BPoint(startLeft, bounds.bottom - 1.0f));
104 menu->StrokeLine(BPoint(startLeft + 1.0f, bounds.top + 1.0f),
105 BPoint(startLeft + 1.0f, bounds.bottom - 1.0f));
107 const float startTop = bounds.top + (floor(bounds.Height())) / 2;
109 menu->StrokeLine(BPoint(bounds.left + 1.0f, startTop),
110 BPoint(bounds.right - 1.0f, startTop));
112 menu->StrokeLine(BPoint(bounds.left + 1.0f, startTop + 1.0f),
113 BPoint(bounds.right - 1.0f, startTop + 1.0f));