Lines Matching refs:bounds

786 	BRect bounds(Bounds());
793 bounds.OffsetBy(10.0, 10.0);
795 fFirst = new BButton(bounds, "first", "First page", new BMessage(MSG_FIRST_PAGE));
799 bounds.OffsetBy(fFirst->Bounds().Width() + 10.0, 0.0);
800 fPrev = new BButton(bounds, "previous", "Previous page", new BMessage(MSG_PREV_PAGE));
804 bounds.OffsetBy(fPrev->Bounds().Width() + 10.0, 0.0);
805 fNext = new BButton(bounds, "next", "Next page", new BMessage(MSG_NEXT_PAGE));
809 bounds.OffsetBy(fNext->Bounds().Width() + 10.0, 0.0);
810 fLast = new BButton(bounds, "last", "Last page", new BMessage(MSG_LAST_PAGE));
814 bounds = fLast->Frame();
815 bounds.OffsetBy(fLast->Bounds().Width() + 10.0, 0.0);
816 fPageNumber = new BTextControl(bounds, "numOfPage", "99", "",
822 fPageNumber->MoveBy(0.0, bounds.Height() - fPageNumber->Bounds().Height());
832 bounds.OffsetBy(fPageNumber->Bounds().Width() + 5.0, 0.0);
833 fPageText = new BStringView(bounds, "pageText", "");
838 bounds.OffsetBy(fPageText->Bounds().Width() + 10.0, 0.0);
839 fZoomIn = new BButton(bounds, "zoomIn", "Zoom in", new BMessage(MSG_ZOOM_IN));
843 bounds.OffsetBy(fZoomIn->Bounds().Width() + 10.0, 0.0);
844 fZoomOut = new BButton(bounds, "ZoomOut", "Zoom out", new BMessage(MSG_ZOOM_OUT));
850 bounds = Bounds();
851 bounds.top = fButtonBarHeight;
855 bounds.bottom -= fButtonBarHeight;
866 printJob->MoveTo(bounds.right - (printJob->Bounds().Width() + 10.0),
867 bounds.bottom + 10.0);
874 bounds.bottom + 10.0);
879 bounds.right -= B_V_SCROLL_BAR_WIDTH;
880 bounds.bottom -= B_H_SCROLL_BAR_HEIGHT;
882 fPreview = new PreviewView(jobFile, bounds);