Lines Matching defs:frame
39 void AddWindow(BRect frame, const char* name);
88 clsMainWindow::AddWindow(BRect frame, const char* name)
92 WinBorder* window = new WinBorder(frame, name, B_FOLLOW_NONE, B_FULL_UPDATE_ON_RESIZE,
97 frame.OffsetTo(B_ORIGIN);
98 frame.InsetBy(5.0, 5.0);
99 if (frame.IsValid()) {
100 Layer* layer1 = new Layer(frame, "View 1", B_FOLLOW_ALL,
103 frame.OffsetTo(B_ORIGIN);
104 frame.InsetBy(15.0, 15.0);
105 if (frame.IsValid()) {
107 BRect f = frame;
130 f = frame;
152 f = frame;
186 BRect frame(20, 20, 330, 230);
189 frame.OffsetBy(20, 15);
191 AddWindow(frame, name.String());
194 frame.Set(10, 80, 320, 290);
197 frame.OffsetBy(20, 15);
199 AddWindow(frame, name.String());
202 frame.Set(20, 140, 330, 230);
205 frame.OffsetBy(20, 15);
207 AddWindow(frame, name.String());
210 frame.Set(20, 200, 330, 230);
213 frame.OffsetBy(20, 15);
215 AddWindow(frame, name.String());
218 frame.Set(20, 260, 330, 230);
223 frame.OffsetBy(20, 15);
225 AddWindow(frame, name.String());