Lines Matching refs:frame
59 TestView(BRect frame);
67 TestView::TestView(BRect frame)
68 : BView(frame, "TestView", B_FOLLOW_ALL,
114 ChildView(BRect frame, const char* name, rgb_color viewColor);
121 ChildView::ChildView(BRect frame, const char* name, rgb_color viewColor)
122 : BView(frame, name, B_FOLLOW_ALL, 0)
151 BRect frame(100, 100, 700, 400);
152 BWindow* window = new BWindow(frame, "Window",
155 frame.OffsetTo(B_ORIGIN);
156 TestView* view = new TestView(frame);
159 frame.InsetBy(20, 20);
160 frame.right = frame.left + frame.Width() / 2 - 10;
161 BView* child = new ChildView(frame, "child 1",
165 frame.OffsetBy(frame.Width() + 20, 0);
166 child = new ChildView(frame, "child 2", B_TRANSPARENT_COLOR);