Searched refs:view (Results 1 - 25 of 491) sorted by relevance

1234567891011>>

/haiku/src/tests/kits/shared/
H A DCalendarViewTest.cpp39 BCalendarView *view = new BCalendarView("test"); local
40 window.AddChild(view);
43 view->SetDate(2004, 2, 29);
44 CPPUNIT_ASSERT_EQUAL(2004, view->Year());
45 CPPUNIT_ASSERT_EQUAL(2, view->Month());
46 CPPUNIT_ASSERT_EQUAL(29, view->Day());
50 view->SetYear(2008);
51 CPPUNIT_ASSERT_EQUAL(2008, view->Year());
52 CPPUNIT_ASSERT_EQUAL(2, view->Month());
53 CPPUNIT_ASSERT_EQUAL(29, view
[all...]
/haiku/src/apps/bootmanager/
H A DWizardPageView.cpp52 BTextView* view = new BTextView(frame, "text", local
56 view->MakeEditable(false);
57 view->SetViewUIColor(ViewUIColor());
58 view->SetStylable(true);
59 view->SetText(description);
61 return view;
69 BTextView* view = new BTextView("text"); local
70 view->MakeEditable(false);
71 view->SetViewUIColor(ViewUIColor());
72 view
80 MakeHeading(BTextView* view) argument
103 LayoutDescriptionVertically(BTextView* view) argument
[all...]
/haiku/src/tests/kits/interface/
H A DOutlineListViewTest.cpp51 BOutlineListView* view = new BOutlineListView(BRect(5,5,495,495), "View",
53 window->AddChild(view);
55 view->AddItem(new BStringItem("One", 0));
56 view->AddItem(new BStringItem("One-A", 1));
57 view->AddItem(new BStringItem("One-A-1", 2));
58 view->AddItem(new BStringItem("One-B", 1));
59 view->AddItem(new BStringItem("One-C", 1));
61 view->AddItem(new BStringItem("Two", 0));
62 view->AddItem(new BStringItem("Two-A", 1));
63 view
[all...]
H A DSetDiskModeTest.cpp25 DrawStuff(BView *view) argument
34 view->StrokeShape(&shape);
37 view->PushState();
39 view->SetHighColor(blue);
40 view->SetLineMode(B_BUTT_CAP, B_BEVEL_JOIN);
41 view->SetPenSize(7);
42 view->StrokeRect(BRect(10, 220, 50, 260));
43 view->FillRect(BRect(65, 245, 120, 300));
44 view->PopState();
47 view
[all...]
/haiku/src/tests/servers/app/benchmark/
H A DTest.h17 virtual void Prepare(BView* view) = 0;
18 virtual bool RunIteration(BView* view) = 0;
19 virtual void PrintResults(BView* view);
21 void SetupClipping(BView* view);
H A DHorizontalLineTest.h17 virtual void Prepare(BView* view);
18 virtual bool RunIteration(BView* view);
19 virtual void PrintResults(BView* view);
H A DRandomLineTest.h17 virtual void Prepare(BView* view);
18 virtual bool RunIteration(BView* view);
19 virtual void PrintResults(BView* view);
H A DVerticalLineTest.h17 virtual void Prepare(BView* view);
18 virtual bool RunIteration(BView* view);
19 virtual void PrintResults(BView* view);
/haiku/src/tests/kits/interface/flatten_picture/
H A DPictureTestCases.cpp32 static void testNoOp(BView *view, BRect frame) argument
37 static void testDrawChar(BView *view, BRect frame) argument
39 view->MovePenTo(frame.left, frame.bottom - 5);
40 view->DrawChar('A');
42 view->DrawChar('B', BPoint(frame.left + 20, frame.bottom - 5));
45 static void testDrawString(BView *view, BRect frame) argument
48 view->GetFont(&font);
53 view->SetHighColor(kGreen);
54 view->StrokeLine(BPoint(frame.left, baseline - 1), BPoint(frame.right, baseline -1));
56 view
60 testDrawStringWithLength(BView *view, BRect frame) argument
76 testDrawStringWithOffsets(BView* view, BRect frame) argument
104 testDrawStringWithoutPosition(BView* view, BRect frame) argument
125 testFillArc(BView *view, BRect frame) argument
131 testStrokeArc(BView *view, BRect frame) argument
137 testFillBezier(BView *view, BRect frame) argument
148 testStrokeBezier(BView *view, BRect frame) argument
159 testFillEllipse(BView *view, BRect frame) argument
170 testStrokeEllipse(BView *view, BRect frame) argument
181 testFillPolygon(BView *view, BRect frame) argument
194 testStrokePolygon(BView *view, BRect frame) argument
207 testFillRect(BView *view, BRect frame) argument
213 testFillRectGradientLinear(BView* view, BRect frame) argument
222 testFillRectGradientRadial(BView* view, BRect frame) argument
231 testFillRectGradientRadialFocus(BView* view, BRect frame) argument
240 testFillRectGradientDiamond(BView* view, BRect frame) argument
249 testFillRectGradientConic(BView* view, BRect frame) argument
258 testStrokeRect(BView *view, BRect frame) argument
264 testFillRegion(BView *view, BRect frame) argument
273 testFillRegionGradientLinear(BView* view, BRect frame) argument
285 testFillRegionGradientRadial(BView* view, BRect frame) argument
297 testFillRegionGradientRadialFocus(BView* view, BRect frame) argument
309 testFillRegionGradientDiamond(BView* view, BRect frame) argument
321 testFillRegionGradientConic(BView* view, BRect frame) argument
333 testFillRoundRect(BView *view, BRect frame) argument
339 testFillRoundRectGradientLinear(BView* view, BRect frame) argument
348 testFillRoundRectGradientRadial(BView* view, BRect frame) argument
357 testFillRoundRectGradientRadialFocus(BView* view, BRect frame) argument
365 testFillRoundRectGradientDiamond(BView* view, BRect frame) argument
374 testFillRoundRectGradientConic(BView* view, BRect frame) argument
383 testStrokeRoundRect(BView *view, BRect frame) argument
389 testFillTriangle(BView *view, BRect frame) argument
399 testFillTriangleGradientLinear(BView* view, BRect frame) argument
412 testFillTriangleGradientRadial(BView* view, BRect frame) argument
425 testFillTriangleGradientRadialFocus(BView* view, BRect frame) argument
438 testFillTriangleGradientDiamond(BView* view, BRect frame) argument
451 testFillTriangleGradientConic(BView* view, BRect frame) argument
464 testStrokeTriangle(BView *view, BRect frame) argument
474 testStrokeLine(BView *view, BRect frame) argument
488 testFillShape(BView *view, BRect frame) argument
499 testStrokeShape(BView *view, BRect frame) argument
510 testRecordPicture(BView *view, BRect frame) argument
519 testRecordAndPlayPicture(BView *view, BRect frame) argument
530 testRecordAndPlayPictureWithOffset(BView *view, BRect frame) argument
547 testAppendToPicture(BView *view, BRect frame) argument
567 testDrawScaledPicture(BView* view, BRect frame) argument
584 testLineArray(BView *view, BRect frame) argument
601 testInvertRect(BView *view, BRect frame) argument
607 testInvertRectSetDrawingMode(BView *view, BRect frame) argument
645 testDrawBitmap(BView *view, BRect frame) argument
651 testDrawBitmapAtPoint(BView *view, BRect frame) argument
664 testDrawBitmapAtRect(BView *view, BRect frame) argument
672 testDrawLargeBitmap(BView *view, BRect frame) argument
683 testConstrainClippingRegion(BView *view, BRect frame) argument
704 testClipToPicture(BView *view, BRect frame) argument
720 testClipToInversePicture(BView *view, BRect frame) argument
737 testSetPenSize(BView *view, BRect frame) argument
769 testSetPenSize2(BView *view, BRect frame) argument
784 testPattern(BView *view, BRect frame) argument
804 testSetOrigin(BView *view, BRect frame) argument
824 testSetOrigin2(BView *view, BRect frame) argument
836 testSetScale(BView *view, BRect frame) argument
843 testSetScale2(BView *view, BRect frame) argument
855 testSetScale3(BView *view, BRect frame) argument
870 testSetOriginAndScale(BView *view, BRect frame) argument
884 testSetOriginAndScale2(BView *view, BRect frame) argument
902 testSetOriginAndScale3(BView *view, BRect frame) argument
920 testSetOriginAndScale4(BView *view, BRect frame) argument
947 testSetOriginAndScale5(BView *view, BRect frame) argument
967 testSetFontSize(BView *view, BRect frame) argument
984 testSetFontFamilyAndStyle(BView *view, BRect frame) argument
1003 testSetDrawingMode(BView *view, BRect frame) argument
1015 testPushPopState(BView *view, BRect frame) argument
1026 testFontRotation(BView* view, BRect frame) argument
1041 testClipToRect(BView* view, BRect frame) argument
1052 testClipToInverseRect(BView* view, BRect frame) argument
1063 testClipToShape(BView* view, BRect frame) argument
1077 testClipToInverseShape(BView* view, BRect frame) argument
[all...]
/haiku/src/apps/debugger/user_interface/gui/connection_config/config_handlers/
H A DNetworkConnectionConfigHandler.cpp30 NetworkConnectionConfigView* view = NULL; local
32 view = new NetworkConnectionConfigView;
33 ObjectDeleter<BView> viewDeleter(view);
34 status_t error = view->Init(info, listener);
42 _view = view;
/haiku/src/add-ons/tracker/iconvader/
H A DIconVader.cpp14 static void Error(BView *view, status_t status, bool unlock=false) argument
17 if (view && unlock)
18 view->UnlockLooper();
31 BPoseView *view = NULL; local
41 Error(view, status);
47 Error(view, status);
52 view = dynamic_cast<BPoseView *>(msgr.Target(NULL));
53 if (!view) {
54 Error(view, status);
57 if (dynamic_cast<BWindow *>(view
[all...]
/haiku/src/apps/showimage/
H A DSelectionBox.h29 void SetBounds(ShowImageView* view, BRect bounds);
32 void MouseDown(ShowImageView* view, BPoint where);
33 void MouseMoved(ShowImageView* view, BPoint where);
34 void MouseUp(ShowImageView* view, BPoint where);
37 void Draw(ShowImageView* view,
43 BRect _RectInView(ShowImageView* view) const;
H A DSelectionBox.cpp41 SelectionBox::SetBounds(ShowImageView* view, BRect bounds) argument
43 view->ConstrainToImage(bounds);
48 BRect dirtyOld = _RectInView(view);
52 BRect dirtyNew = _RectInView(view);
55 view->Invalidate(dirtyOld | dirtyNew);
57 view->Invalidate(dirtyOld);
59 view->Invalidate(dirtyNew);
71 SelectionBox::MouseDown(ShowImageView* view, BPoint where) argument
74 where = view->ViewToImage(where);
75 SetBounds(view, BRec
80 MouseMoved(ShowImageView* view, BPoint where) argument
102 MouseUp(ShowImageView* view, BPoint where) argument
142 Draw(ShowImageView* view, const BRect& updateRect) const argument
[all...]
/haiku/src/tests/add-ons/print/ppd/ui/
H A DUIUtils.h15 void RemoveChildren(BView* view);
H A DUIUtils.cpp21 void RemoveChildren(BView* view) argument
23 if (view != NULL) {
25 while ((child = view->ChildAt(0)) != NULL) {
/haiku/src/tests/kits/interface/layout/widget_layout_test/
H A DTest.cpp9 Test::Test(const char* name, const char* description, BView* view) argument
12 fView(view)
44 Test::SetView(BView* view) argument
46 fView = view;
/haiku/src/tests/servers/app/clip_to_picture/
H A Dmain.cpp28 virtual void Draw(BView* view, BRect updateRect) = 0;
259 virtual void Draw(BView* view, BRect updateRect) argument
262 view->BeginPicture(&picture);
263 view->SetDrawingMode(B_OP_ALPHA);
264 view->SetBlendingMode(B_PIXEL_ALPHA, B_ALPHA_COMPOSITE);
265 view->DrawString("Clipping to text.", BPoint(20, 30));
266 view->EndPicture();
268 view->ClipToPicture(&picture);
270 view->FillRect(view
276 Draw(BView* view, BRect updateRect) argument
287 Draw(BView* view, BRect updateRect) argument
310 Draw(BView* view, BRect updateRect) argument
323 Draw(BView* view, BRect updateRect) argument
342 Draw(BView* view, BRect updateRect) argument
354 Draw(BView* view, BRect updateRect) argument
382 Draw(BView* view, BRect updateRect) argument
[all...]
/haiku/src/add-ons/screen_savers/debugnow/
H A DDebugNow.cpp51 DebugNow::StartConfig(BView* view) argument
53 BPrivate::BuildDefaultSettingsView(view, "DEBUG NOW",
59 DebugNow::StartSaver(BView* view, bool preview) argument
61 float viewWidth = view->Bounds().Width();
62 float viewHeight = view->Bounds().Height();
65 view->GetFont(&font);
67 view->SetFont(&font);
90 DebugNow::Draw(BView* view, int32 frame) argument
94 view->SetLowColor(kMediumBlue);
97 view
[all...]
H A DDebugNow.h22 void Draw(BView* view, int32 frame);
23 void StartConfig(BView *view);
24 status_t StartSaver(BView *view, bool preview);
/haiku/src/tests/servers/app/transformation/
H A Dmain.cpp96 virtual void Draw(BView* view, BRect updateRect) argument
98 view->DrawString("Rects", BPoint(20, 30));
100 view->SetDrawingMode(B_OP_ALPHA);
101 view->SetBlendingMode(B_PIXEL_ALPHA, B_ALPHA_OVERLAY);
103 BRect rect(view->Bounds());
114 view->SetTransform(transform);
116 view->SetHighColor(51, 151, 255, 20);
117 view->FillRect(rect);
119 view->SetHighColor(51, 255, 151, 180);
120 view
137 Draw(BView* view, BRect updateRect) argument
194 Draw(BView* view, BRect updateRect) argument
233 Draw(BView* view, BRect updateRect) argument
280 Draw(BView* view, BRect updateRect) argument
309 Draw(BView* view, BRect updateRect) argument
371 Draw(BView* view, BRect updateRect) argument
413 Draw(BView* view, BRect updateRect) argument
[all...]
/haiku/src/tests/servers/app/gradients/
H A Dmain.cpp46 virtual void Draw(BView* view, BRect updateRect) argument
62 view->FillRect(r1, g1);
63 view->FillRect(r2, g2);
66 view->StrokeEllipse(r1);
67 view->StrokeEllipse(r2);
82 virtual void Draw(BView* view, BRect updateRect) argument
84 view->SetDrawingMode(B_OP_ALPHA);
94 view->FillEllipse(center, radius, radius, g);
102 view->FillRect(BRect(100, 0, 200, 100), l);
111 view
170 Draw(BView* view, BRect updateRect) argument
[all...]
/haiku/src/kits/print/
H A DBeUtilsTranslation.cpp66 BPicture *BitmapToPicture(BView* view, BBitmap *bitmap) { argument
68 view->BeginPicture(new BPicture());
69 view->DrawBitmap(bitmap);
70 return view->EndPicture();
75 BPicture *BitmapToGrayedPicture(BView* view, BBitmap *bitmap) { argument
78 view->BeginPicture(new BPicture());
79 view->DrawBitmap(bitmap);
80 view->SetHighColor(255, 255, 255, 128);
81 view->SetDrawingMode(B_OP_ALPHA);
82 view
[all...]
/haiku/src/apps/debugger/user_interface/gui/value/
H A DTableCellValueRendererUtils.cpp18 TableCellValueRendererUtils::DrawString(BView* view, BRect rect, argument
24 view->GetFontHeight(&fontHeight);
30 view->TruncateString(&truncatedString, B_TRUNCATE_END,
44 x = rect.left + (rect.Width() - view->StringWidth(string)) / 2;
48 x = rect.right - kTextMargin - view->StringWidth(string);
61 view->PushState();
62 view->SetHighColor((rgb_color){255, 0, 0, 255});
65 view->DrawString(string, BPoint(x, y));
68 view->PopState();
73 TableCellValueRendererUtils::PreferredStringWidth(BView* view, argument
[all...]
/haiku/src/kits/screensaver/
H A DDefaultSettingsView.cpp19 // Provides a consistent look for the settings view for screen savers
22 BuildDefaultSettingsView(BView* view, const char* moduleName, const char* info) argument
24 view->SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
31 BLayoutBuilder::Group<>(view, B_VERTICAL, B_USE_SMALL_SPACING)
/haiku/src/apps/icon-o-matic/generic/gui/scrollview/
H A DScrollableView.cpp28 if (BView* view = dynamic_cast<BView*>(this)) {
32 BRect bounds(view->Bounds());
33 view->CopyBits(bounds.OffsetByCopy(newOffset - oldOffset), bounds);
35 for (int32 i = 0; BView* child = view->ChildAt(i); i++)

Completed in 221 milliseconds

1234567891011>>