Searched refs:box (Results 1 - 25 of 47) sorted by path

12

/haiku/headers/cpp/
H A DPlotFile.h43 Some plot libraries have the `box' command to draw boxes. Some don't.
44 `box' is included here via moves & lines to allow both possiblilties.
72 PlotFile& box(const int x0, const int y0,
/haiku/src/apps/cortex/DiagramView/
H A DDiagramView.cpp421 DiagramBox *box; local
423 if ((message->FindPointer("item", reinterpret_cast<void **>(&box)) == B_OK)
426 if (box)
429 DragSelectionBy(point.x - box->Frame().left - offset.x,
430 point.y - box->Frame().top - offset.y,
734 DiagramBox *box = dynamic_cast<DiagramBox *>(ItemAt(i, DiagramItem::M_BOX));
735 if (box) {
736 if (rect.Intersects(box->Frame()))
737 changed |= SelectItem(box, false);
739 changed |= DeselectItem(box);
[all...]
/haiku/src/apps/mediaconverter/
H A DMediaConverterWindow.h79 void _UpdateBBoxLayoutInsets(BBox* box);
/haiku/src/apps/patchbay/
H A DPatchRow.cpp34 // PatchCheckBox is the check box that describes a connection
113 PatchCheckBox* box = new PatchCheckBox(rect, fProducerID, consumerID); local
114 AddChild(box);
115 box->SetTarget(this);
124 PatchCheckBox* box = dynamic_cast<PatchCheckBox*>(ChildAt(i)); local
125 if (box != NULL && box->ConsumerID() == consumerID) {
126 RemoveChild(box);
127 delete box;
129 box
144 PatchCheckBox* box = dynamic_cast<PatchCheckBox*>(ChildAt(i)); local
156 PatchCheckBox* box = dynamic_cast<PatchCheckBox*>(ChildAt(i)); local
170 PatchCheckBox* box = dynamic_cast<PatchCheckBox*>(ChildAt(i)); local
185 PatchCheckBox* box = dynamic_cast<PatchCheckBox*>(ctrl); local
[all...]
/haiku/src/bin/desklink/
H A DVolumeWindow.cpp38 BBox* box = new BBox("sliderbox"); local
39 box->SetLayout(layout);
40 box->SetBorder(B_PLAIN_BORDER);
41 AddChild(box);
46 box->AddChild(slider);
/haiku/src/kits/interface/
H A DCheckBox.cpp571 BCheckBox* box, bool descendants)
576 box->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
H A DRadioButton.cpp205 BBox* box = dynamic_cast<BBox*>(parent); local
207 if (box != NULL && box->LabelView() == this)
208 parent = box->Parent();
211 BBox* box = dynamic_cast<BBox*>(parent); local
214 if (box != NULL && box->LabelView())
230 BBox* box = dynamic_cast<BBox*>(child); local
232 if (box != NULL && box
[all...]
/haiku/src/kits/print/
H A DJobSetupPanel.cpp288 BBox *box = new BBox(B_FANCY_BORDER, view); local
289 box->SetLabel(BGroupLayoutBuilder()
292 groupView->AddChild(box);
315 box = new BBox(B_FANCY_BORDER, view);
316 box->SetLabel(BGroupLayoutBuilder()
340 .Add(box)
352 box = new BBox(B_FANCY_BORDER, view);
353 box->SetLabel(BGroupLayoutBuilder()
356 groupView->AddChild(box);
/haiku/src/libs/stdc++/legacy/
H A DPlotFile.cc95 PlotFile& PlotFile:: box(const int x0, const int y0, function in class:PlotFile
/haiku/src/preferences/joysticks/
H A DJoyWin.cpp87 BBox *box = new BBox( Bounds(),"box", B_FOLLOW_ALL, local
91 box->SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
94 box->AddChild(new BScrollView("PortScroll", fGamePortL,
97 box->AddChild(new BScrollView("ConScroll", fConControllerL, B_FOLLOW_ALL,
101 box->AddChild(fCheckbox);
102 box->AddChild(fGamePortS);
103 box->AddChild(fConControllerS);
104 box->AddChild(fProbeButton);
105 box
[all...]
/haiku/src/preferences/mail/
H A DFilterConfigView.cpp222 BBox* box = new BBox("filters"); local
223 AddChild(box);
226 box->AddChild(contents);
242 box->SetLabel(fChainsField);
/haiku/src/preferences/virtualmemory/
H A DSettingsWindow.cpp204 BBox* box = new BBox("box"); local
205 box->SetLabel(fSwapEnabledCheckBox);
207 box->AddChild(BLayoutBuilder::Group<>(B_VERTICAL)
225 .Add(box)
/haiku/src/tests/add-ons/print/ppd/ui/
H A DPPDConfigView.cpp290 BView* box = GetView(); local
291 BRect bounds(box->Bounds());
342 BView* box = GetView(); local
343 box->ResizeTo(box->Bounds().Width(), builder.GetBounds().top + kBoxBottomMargin);
350 BBox* box = new BBox(GetControlBounds(), text); local
351 box->SetLabel(text);
352 GetView()->AddChild(box);
353 Push(box);
354 box
361 BView* box = GetView(); local
[all...]
/haiku/src/tests/kits/device/stickit_BJoystick/
H A DStickItWindow.cpp36 BBox* box = new BBox(frame, NULL, B_FOLLOW_ALL_SIDES); local
65 box->AddChild(new BScrollView("fListView1", fListView1,
68 box->AddChild(new BScrollView("fListView2", fListView2,
71 box->AddChild(stringview1);
72 box->AddChild(stringview2);
73 view->AddChild(box);
/haiku/src/tests/kits/game/chart/
H A DChartRender.cpp273 clipping_rect box; local
278 /* if the pixel is not in the bounding box of the clipping region,
286 equal to its bounding box, so no further test are needed. */
310 /* Calculate the box the bounding box of the matrix of 32 pixels used
311 to represent the star, called box. */
312 box.left = s->h - 2;
313 box.right = s->h + 3;
314 box.top = s->v - 2;
315 box
[all...]
/haiku/src/tests/kits/game/file_game_sound_test/
H A DFileSoundWindow.cpp38 //make a cosmetic box
39 BBox *box = new BBox(appBounds); local
50 box -> AddChild(textControl);
55 box -> AddChild(browseButton);
60 box -> AddChild(playButton);
65 box -> AddChild(pauseButton);
71 box -> AddChild(delayControl);
76 box -> AddChild(loopCheck);
81 box -> AddChild(preloadCheck);
82 //add background box t
[all...]
/haiku/src/tests/kits/interface/
H A DCheckBoxTest.cpp91 BBox *box = new BBox(rect.InsetByCopy(-15, -15), NULL); local
92 AddChild(box);
97 box->AddChild(checkBox);
135 box = new BBox(rect.InsetByCopy(-15, -15), NULL);
136 AddChild(box);
141 box->AddChild(checkBox);
H A DScrollViewTest.cpp54 BBox *box = new BBox(rect, "box", resizingMode); local
55 AddChild(box);
68 box->AddChild(scroller);
/haiku/src/tests/kits/interface/look/
H A DLook.cpp159 BBox* box = new BBox(B_FANCY_BORDER, NULL); local
160 box->SetLabel("Info");
163 boxLayout->SetInsets(kInset, kInset + box->TopBorderOffset(), kInset,
165 box->SetLayout(boxLayout);
188 layout->AddView(box, 0, row, 4);
/haiku/src/add-ons/kernel/drivers/graphics/virtio/
H A Dviogpu.h251 struct virtio_gpu_box box; member in struct:virtio_gpu_transfer_host_3d
/haiku/src/add-ons/screen_savers/message/
H A DMessage.cpp256 // Now draw the full message in a nice translucent box, but only
273 BRect box(0, 0, stringWidth + 20, (lineHeight * count) + 20);
274 box.OffsetTo((width - box.Width()) / 2, height - box.Height() - 40);
279 offscreen.FillRoundRect(box, 8, 8);
281 BPoint start = box.LeftTop();
/haiku/src/apps/charactermap/
H A DCharacterView.cpp308 BRect box = Frame(); local
314 menu->FillRect(box, B_SOLID_LOW);
321 box.left += (box.Width() - charWidth) / 2;
322 box.bottom -= (box.Height() - fontHeight.ascent
325 menu->DrawString(Label(), BPoint(box.left, box.bottom));
/haiku/src/apps/codycam/
H A DCodyCam.cpp463 BBox* box = new BBox("box"); local
465 box->SetLayout(layout);
467 box->AddChild(fVideoView);
468 box->AddChild(fErrorView);
476 .Add(box)
674 // FTP setup box
/haiku/src/apps/deskbar/
H A DSwitcher.cpp1341 BRect box(3, 3, bounds.right - 3, 3 + height + kChildInset * 2);
1357 box.InsetBy(1, 1);
1358 FillRect(box);
1360 box.InsetBy(-1, -1);
1365 AddLine(box.LeftTop(), BPoint(center - kWedge, box.top), veryDarkGray);
1366 AddLine(BPoint(center + kWedge, box.top), box.RightTop(), veryDarkGray);
1368 AddLine(box.LeftBottom(), BPoint(center - kWedge, box
[all...]
/haiku/src/apps/icon-o-matic/shape/commands/
H A DTransformPointsCommand.cpp21 TransformBox* box,
41 fTransformBox(box),
82 const TransformBox* box)
84 if (fTransformBox == box) {
20 TransformPointsCommand( TransformBox* box, VectorPath* path, const int32* indices, const control_point* points, int32 count, BPoint pivot, BPoint translation, double rotation, double xScale, double yScale, const char* name) argument
81 TransformBoxDeleted( const TransformBox* box) argument

Completed in 129 milliseconds

12