Lines Matching refs:rect

24 		DividedBackgroundView(BRect rect);
30 DividedBackgroundView::DividedBackgroundView(BRect rect)
31 : BView(rect, NULL, B_FOLLOW_NONE, B_WILL_DRAW)
43 BRect rect = bounds;
44 rect.right = rect.left + bounds.Width() / 2;
47 FillRect(rect, B_SOLID_LOW);
49 rect.left = rect.right + 1;
50 rect.right = bounds.right;
53 FillRect(rect, B_SOLID_LOW);
72 BRect rect(20, 10, 200, 30);
73 BStringView *stringView = new BStringView(rect, NULL, "Be's BCheckBox");
77 rect.OffsetBy(0, 40);
78 BView *checkBox = new BCheckBox(rect, NULL, "Test 1", NULL);
81 rect.OffsetBy(0, 60);
82 BView *view = new BView(rect.InsetByCopy(-15, -15), NULL, B_FOLLOW_NONE, B_WILL_DRAW);
86 checkBox = new BCheckBox(rect.OffsetToCopy(15, 15), NULL, "Test 2", NULL);
90 rect.OffsetBy(0, 60);
91 BBox *box = new BBox(rect.InsetByCopy(-15, -15), NULL);
94 checkBox = new BCheckBox(rect.OffsetToCopy(15, 15), NULL, "Test 3", NULL);
99 rect.OffsetBy(0, 60);
100 view = new DividedBackgroundView(rect.InsetByCopy(-15, -15));
103 checkBox = new BCheckBox(rect.OffsetToCopy(15, 15), NULL, "Test 4", NULL);
106 rect.OffsetBy(0, 60);
107 view = new DividedBackgroundView(rect.InsetByCopy(-15, -15));
110 checkBox = new BCheckBox(rect.OffsetToCopy(15, 15), NULL, "Test 5", NULL);
116 rect.Set(240, 10, 400, 30);
117 stringView = new BStringView(rect, NULL, "Haiku's BCheckBox");
121 rect.OffsetBy(0, 40);
122 checkBox = new HCheckBox(rect, NULL, "Test 1", NULL);
125 rect.OffsetBy(0, 60);
126 view = new BView(rect.InsetByCopy(-15, -15), NULL, B_FOLLOW_NONE, B_WILL_DRAW);
130 checkBox = new HCheckBox(rect.OffsetToCopy(15, 15), NULL, "Test 2", NULL);
134 rect.OffsetBy(0, 60);
135 box = new BBox(rect.InsetByCopy(-15, -15), NULL);
138 checkBox = new HCheckBox(rect.OffsetToCopy(15, 15), NULL, "Test 3", NULL);
143 rect.OffsetBy(0, 60);
144 view = new DividedBackgroundView(rect.InsetByCopy(-15, -15));
147 checkBox = new HCheckBox(rect.OffsetToCopy(15, 15), NULL, "Test 4", NULL);
150 rect.OffsetBy(0, 60);
151 view = new DividedBackgroundView(rect.InsetByCopy(-15, -15));
154 checkBox = new HCheckBox(rect.OffsetToCopy(15, 15), NULL, "Test 5", NULL);