/haiku/src/tests/kits/shared/ |
H A D | CalendarViewTest.cpp | 39 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/tests/kits/interface/ |
H A D | OutlineListViewTest.cpp | 60 CheckItemsUnder(BOutlineListView* view, BListItem* superitem, bool oneLevelOnly) 63 CPPUNIT_ASSERT_EQUAL(gExpected[i], view->ItemUnderAt(superitem, oneLevelOnly, i)); 66 CPPUNIT_ASSERT_EQUAL((BListItem*)NULL, view->ItemUnderAt(superitem, oneLevelOnly, gCount)); 90 BOutlineListView* view = _SetupTest("OutlineListView_EachItemUnder"); local 93 gExpected[0] = view->FullListItemAt(6); 94 gExpected[1] = view->FullListItemAt(8); 95 gExpected[2] = view->FullListItemAt(9); 100 view->EachItemUnder(view->FullListItemAt(5), true, CheckExpected, NULL); 101 CPPUNIT_ASSERT_EQUAL(gCount, view 166 BOutlineListView* view = _SetupTest("OutlineListView_AddUnder"); local 207 BOutlineListView* view = _SetupTest("OutlineListView_ItemUnderAt"); local 280 BOutlineListView* view = new BOutlineListView(BRect(5, 5, 495, 495), "View", local [all...] |
H A D | SetDiskModeTest.cpp | 25 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/apps/bootmanager/ |
H A D | WizardPageView.cpp | 52 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/servers/app/inverse_clipping/ |
H A D | main.cpp | 21 rectClipper(BView* view, BRect rect, bool inverse) argument 24 view->ClipToInverseRect(rect); 26 view->ClipToRect(rect); 30 pictureClipper(BView* view, BRect rect, bool inverse) argument 33 view->BeginPicture(&p); 34 view->FillEllipse(rect); 35 view->SetHighColor(0, 0, 0, 0); 36 view->FillEllipse(rect.InsetByCopy(rect.Width()/4, rect.Height()/4)); 37 view->EndPicture(); 40 view 46 shapeClipper(BView* view, BRect rect, bool inverse) argument 63 testBase(BView* view, clipper clip, bool inverse) argument 71 testBaseDirect(BView* view, clipper clip) argument 77 testBaseInverse(BView* view, clipper clip) argument 83 testCross(BView* view, clipper clip, bool inverse) argument 91 testCorner(BView* view, clipper clip, bool inverse) argument 99 testCross00(BView* view, clipper clip) argument 106 testCross01(BView* view, clipper clip) argument 113 testCross10(BView* view, clipper clip) argument 120 testCross11(BView* view, clipper clip) argument 127 test3000(BView* view, clipper clip) argument 135 test3001(BView* view, clipper clip) argument 143 test3010(BView* view, clipper clip) argument 151 test3011(BView* view, clipper clip) argument 159 test3100(BView* view, clipper clip) argument 167 test3101(BView* view, clipper clip) argument 175 test3110(BView* view, clipper clip) argument 183 test3111(BView* view, clipper clip) argument [all...] |
/haiku/src/tests/servers/app/benchmark/ |
H A D | Test.h | 17 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 D | HorizontalLineTest.h | 17 virtual void Prepare(BView* view); 18 virtual bool RunIteration(BView* view); 19 virtual void PrintResults(BView* view);
|
H A D | RandomLineTest.h | 17 virtual void Prepare(BView* view); 18 virtual bool RunIteration(BView* view); 19 virtual void PrintResults(BView* view);
|
H A D | VerticalLineTest.h | 17 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 D | PictureTestCases.cpp | 32 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 D | NetworkConnectionConfigHandler.cpp | 30 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 D | IconVader.cpp | 14 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 D | SelectionBox.h | 29 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 D | SelectionBox.cpp | 41 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 D | UIUtils.h | 15 void RemoveChildren(BView* view);
|
H A D | UIUtils.cpp | 21 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 D | Test.cpp | 9 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 D | main.cpp | 28 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 D | DebugNow.cpp | 51 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 D | DebugNow.h | 22 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 D | main.cpp | 96 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 D | main.cpp | 46 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/add-ons/control_look/BeControlLook/ |
H A D | BeControlLook.cpp | 106 // against the already existing view contents of the parent view. 115 BeControlLook::DrawButtonFrame(BView* view, BRect& rect, argument 119 _DrawButtonFrame(view, rect, updateRect, 0, 0, 0, 0, base, 125 BeControlLook::DrawButtonFrame(BView* view, BRect& rect, argument 129 _DrawButtonFrame(view, rect, updateRect, 0, 0, 0, 0, base, 135 BeControlLook::DrawButtonFrame(BView* view, BRect& rect, argument 139 _DrawButtonFrame(view, rect, updateRect, 0, 0, 0, 0, base, 145 BeControlLook::DrawButtonBackground(BView* view, BRect& rect, argument 149 _DrawButtonBackground(view, rec 155 DrawButtonBackground(BView* view, BRect& rect, const BRect& updateRect, float, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument 165 DrawButtonBackground(BView* view, BRect& rect, const BRect& updateRect, float, float, float, float, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument 175 DrawCheckBox(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags) argument 301 DrawRadioButton(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags) argument 400 DrawScrollBarBorder(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 426 DrawScrollBarButton(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, int32 direction, orientation orientation, bool down) argument 550 DrawScrollBarBackground(BView* view, BRect& rect1, BRect& rect2, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 562 DrawScrollBarBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 572 DrawScrollBarThumb(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation, uint32 knobStyle) argument 713 DrawScrollViewFrame(BView* view, BRect& rect, const BRect& updateRect, BRect verticalScrollBarFrame, BRect horizontalScrollBarFrame, const rgb_color& base, border_style borderStyle, uint32 flags, uint32 _borders) argument 743 DrawArrowShape(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 direction, uint32 flags, float tint) argument 806 DrawMenuBarBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 836 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument 847 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, float, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument 858 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, float, float, float, float, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument 895 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, bool popupIndicator, uint32 flags) argument 905 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 915 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, float, const rgb_color& base, bool popupIndicator, uint32 flags) argument 925 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, float, float, float, float, const rgb_color& base, bool popupIndicator, uint32 flags) argument 935 DrawMenuBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 952 DrawMenuItemBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 969 DrawStatusBar(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, const rgb_color& barColor, float progressPosition) argument 1021 DrawSliderBar(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, rgb_color leftFillColor, rgb_color rightFillColor, float sliderScale, uint32 flags, orientation orientation) argument 1063 DrawSliderBar(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, rgb_color fillColor, uint32 flags, orientation orientation) argument 1109 DrawSliderThumb(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 1187 DrawSliderTriangle(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 1196 DrawSliderTriangle(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, const rgb_color& fill, uint32 flags, orientation orientation) argument 1258 DrawSliderHashMarks(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, int32 count, hash_mark_location location, uint32 flags, orientation orientation) argument 1348 DrawTabFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, border_style borderStyle, uint32 side) argument 1387 DrawActiveTab(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, uint32 side, int32, int32, int32, int32) argument 1608 DrawInactiveTab(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, uint32 side, int32 index, int32 selected, int32 first, int32 last) argument 1824 DrawSplitter(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, orientation orientation, uint32 flags, uint32 borders) argument 1939 DrawBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, border_style borderStyle, uint32 flags, uint32 borders) argument 2042 DrawRaisedBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 2107 DrawTextControlBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 2149 DrawGroupFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 borders) argument 2160 DrawLabel(BView* view, const char* label, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, const rgb_color* textColor) argument 2170 DrawLabel(BView* view, const char* label, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, const BAlignment& alignment, const rgb_color* textColor) argument 2180 DrawLabel(BView* view, const char* label, const rgb_color& base, uint32 flags, const BPoint& where, const rgb_color* textColor) argument 2316 DrawLabel(BView* view, const char* label, const BBitmap* icon, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, const BAlignment& alignment, const rgb_color* textColor) argument 2474 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument 2484 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument 2494 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument 2509 _DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect, float, float, float, float, const rgb_color& base, const rgb_color& background, float contrast, float brightness, uint32 flags, uint32 borders) argument 2730 _DrawButtonBackground(BView* view, BRect& rect, const BRect& updateRect, float, float, float, float, const rgb_color& base, bool popupIndicator, uint32 flags, uint32 borders, orientation orientation) argument 2754 _DrawPopUpMarker(BView* view, const BRect& rect, const rgb_color& base, uint32 flags) argument 2780 _DrawMenuFieldBackgroundOutside(BView* view, BRect& rect, const BRect& updateRect, float, float, float, float, const rgb_color& base, bool popupIndicator, uint32 flags) argument 2803 _DrawMenuFieldBackgroundInside(BView* view, BRect& rect, const BRect& updateRect, float, float, float, float, const rgb_color& base, uint32 flags, uint32 borders) argument 2880 _DrawScrollBarBackgroundFirst(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 2974 _DrawScrollBarBackgroundSecond(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 3060 _DrawScrollBarKnobDot(BView* view, float hcenter, float vmiddle, rgb_color dark, rgb_color light, orientation orientation) argument 3079 _DrawScrollBarKnobLine(BView* view, float hcenter, float vmiddle, rgb_color dark, rgb_color light, orientation orientation) argument 3110 _DrawFrame(BView* view, BRect& rect, const rgb_color& left, const rgb_color& top, const rgb_color& right, const rgb_color& bottom, uint32 borders) argument [all...] |
/haiku/src/apps/debugger/user_interface/gui/value/ |
H A D | TableCellValueRendererUtils.cpp | 18 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/print/ |
H A D | BeUtilsTranslation.cpp | 66 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...] |