/haiku-fatelf/src/apps/bootmanager/ |
H A D | WizardPageView.cpp | 52 BTextView* view = new BTextView(frame, "text", local 56 view->MakeEditable(false); 57 view->SetViewColor(ViewColor()); 58 view->SetStylable(true); 59 view->SetText(description); 60 return view; 68 BTextView* view = new BTextView("text"); local 69 view->MakeEditable(false); 70 view->SetViewColor(ViewColor()); 71 view 78 MakeHeading(BTextView* view) argument 93 LayoutDescriptionVertically(BTextView* view) argument [all...] |
/haiku-fatelf/src/tests/kits/interface/flatten_picture/ |
H A D | PictureTestCases.cpp | 26 static void testNoOp(BView *view, BRect frame) argument 31 static void testDrawChar(BView *view, BRect frame) argument 33 view->MovePenTo(frame.left, frame.bottom - 5); 34 view->DrawChar('A'); 36 view->DrawChar('B', BPoint(frame.left + 20, frame.bottom - 5)); 39 static void testDrawString(BView *view, BRect frame) argument 42 view->GetFont(&font); 47 view->SetHighColor(kGreen); 48 view->StrokeLine(BPoint(frame.left, baseline - 1), BPoint(frame.right, baseline -1)); 50 view 54 testDrawStringWithLength(BView *view, BRect frame) argument 69 testFillArc(BView *view, BRect frame) argument 75 testStrokeArc(BView *view, BRect frame) argument 81 testFillBezier(BView *view, BRect frame) argument 92 testStrokeBezier(BView *view, BRect frame) argument 103 testFillEllipse(BView *view, BRect frame) argument 114 testStrokeEllipse(BView *view, BRect frame) argument 125 testFillPolygon(BView *view, BRect frame) argument 138 testStrokePolygon(BView *view, BRect frame) argument 151 testFillRect(BView *view, BRect frame) argument 157 testStrokeRect(BView *view, BRect frame) argument 163 testFillRegion(BView *view, BRect frame) argument 172 testFillRoundRect(BView *view, BRect frame) argument 178 testStrokeRoundRect(BView *view, BRect frame) argument 184 testFillTriangle(BView *view, BRect frame) argument 194 testStrokeTriangle(BView *view, BRect frame) argument 204 testStrokeLine(BView *view, BRect frame) argument 218 testFillShape(BView *view, BRect frame) argument 229 testStrokeShape(BView *view, BRect frame) argument 240 testRecordPicture(BView *view, BRect frame) argument 249 testRecordAndPlayPicture(BView *view, BRect frame) argument 260 testRecordAndPlayPictureWithOffset(BView *view, BRect frame) argument 277 testAppendToPicture(BView *view, BRect frame) argument 297 testDrawScaledPicture(BView* view, BRect frame) argument 314 testLineArray(BView *view, BRect frame) argument 331 testInvertRect(BView *view, BRect frame) argument 365 testDrawBitmap(BView *view, BRect frame) argument 371 testDrawBitmapAtPoint(BView *view, BRect frame) argument 384 testDrawBitmapAtRect(BView *view, BRect frame) argument 392 testDrawLargeBitmap(BView *view, BRect frame) argument 403 testConstrainClippingRegion(BView *view, BRect frame) argument 424 testClipToPicture(BView *view, BRect frame) argument 440 testClipToInversePicture(BView *view, BRect frame) argument 457 testSetPenSize(BView *view, BRect frame) argument 489 testSetPenSize2(BView *view, BRect frame) argument 504 testPattern(BView *view, BRect frame) argument 524 testSetOrigin(BView *view, BRect frame) argument 544 testSetOrigin2(BView *view, BRect frame) argument 556 testSetScale(BView *view, BRect frame) argument 563 testSetScale2(BView *view, BRect frame) argument 575 testSetScale3(BView *view, BRect frame) argument 590 testSetOriginAndScale(BView *view, BRect frame) argument 604 testSetOriginAndScale2(BView *view, BRect frame) argument 622 testSetOriginAndScale3(BView *view, BRect frame) argument 640 testSetOriginAndScale4(BView *view, BRect frame) argument 667 testSetOriginAndScale5(BView *view, BRect frame) argument 687 testSetFontSize(BView *view, BRect frame) argument 704 testSetFontFamilyAndStyle(BView *view, BRect frame) argument 723 testSetDrawingMode(BView *view, BRect frame) argument 735 testPushPopState(BView *view, BRect frame) argument 746 testFontRotation(BView* view, BRect frame) argument [all...] |
/haiku-fatelf/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-fatelf/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(); 34 BPoseView *view = NULL; local 44 Error(view, status); 50 Error(view, status); 55 view = dynamic_cast<BPoseView *>(msgr.Target(NULL)); 56 if (!view) { 57 Error(view, status); 60 if (dynamic_cast<BWindow *>(view [all...] |
/haiku-fatelf/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-fatelf/src/tests/kits/interface/ |
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-fatelf/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-fatelf/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-fatelf/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...] |
/haiku-fatelf/src/add-ons/screen_savers/debugnow/ |
H A D | DebugNow.cpp | 31 void Draw(BView *view, int32 frame); 32 void StartConfig(BView *view); 33 status_t StartSaver(BView *view, bool preview); 60 DebugNow::StartConfig(BView *view) argument 62 BPrivate::BuildScreenSaverDefaultSettingsView(view, "DEBUG NOW", 68 DebugNow::StartSaver(BView *view, bool preview) argument 70 float viewWidth = view->Bounds().Width(); 71 float viewHeight = view->Bounds().Height(); 74 view->GetFont(&font); 76 view 99 Draw(BView *view, int32 frame) argument [all...] |
/haiku-fatelf/src/add-ons/screen_savers/haiku/ |
H A D | ScreenSaver.cpp | 30 void Draw(BView *view, int32 frame); 31 void StartConfig(BView *view); 32 status_t StartSaver(BView *view, bool preview); 62 ScreenSaver::StartConfig(BView *view) argument 64 BPrivate::BuildScreenSaverDefaultSettingsView(view, "Haiku", 70 ScreenSaver::StartSaver(BView *view, bool preview) argument 72 // save view dimensions and preview mode 74 fSizeX = view->Bounds().Width(); 75 fSizeY = view->Bounds().Height(); 77 // set a new font, about 1/8th of view heigh 101 Draw(BView *view, int32 frame) argument [all...] |
/haiku-fatelf/src/servers/app/ |
H A D | ServerPicture.cpp | 47 ShapePainter(View* view); 68 ShapePainter::ShapePainter(View* view) argument 70 fView(view) 256 move_pen_by(View* view, BPoint delta) argument 258 view->CurrentState()->SetPenLocation( 259 view->CurrentState()->PenLocation() + delta); 264 stroke_line(View* view, BPoint start, BPoint end) argument 268 view->ConvertToScreenForDrawing(&start); 269 view->ConvertToScreenForDrawing(&end); 270 view 280 stroke_rect(View* view, BRect rect) argument 288 fill_rect(View* view, BRect rect) argument 296 stroke_round_rect(View* view, BRect rect, BPoint radii) argument 305 fill_round_rect(View* view, BRect rect, BPoint radii) argument 314 stroke_bezier(View* view, const BPoint* viewPoints) argument 324 fill_bezier(View* view, const BPoint* viewPoints) argument 334 stroke_arc(View* view, BPoint center, BPoint radii, float startTheta, float arcTheta) argument 346 fill_arc(View* view, BPoint center, BPoint radii, float startTheta, float arcTheta) argument 358 stroke_ellipse(View* view, BPoint center, BPoint radii) argument 368 fill_ellipse(View* view, BPoint center, BPoint radii) argument 378 stroke_polygon(View* view, int32 numPoints, const BPoint* viewPoints, bool isClosed) argument 417 fill_polygon(View* view, int32 numPoints, const BPoint* viewPoints) argument 455 stroke_shape(View* view, const BShape* shape) argument 465 fill_shape(View* view, const BShape* shape) argument 475 draw_string(View* view, const char* string, float deltaSpace, float deltaNonSpace) argument 497 draw_pixels(View* view, BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 options, const void* data) argument 515 draw_picture(View* view, BPoint where, int32 token) argument 534 set_clipping_rects(View* view, const BRect* rects, uint32 numRects) argument 547 clip_to_picture(View* view, BPicture* picture, BPoint pt, bool clipToInverse) argument 555 push_state(View* view) argument 562 pop_state(View* view) argument 576 enter_state_change(View* view) argument 582 exit_state_change(View* view) argument 589 enter_font_state(View* view) argument 595 exit_font_state(View* view) argument 603 set_origin(View* view, BPoint pt) argument 610 set_pen_location(View* view, BPoint pt) argument 620 set_drawing_mode(View* view, drawing_mode mode) argument 628 set_line_mode(View* view, cap_mode capMode, join_mode joinMode, float miterLimit) argument 641 set_pen_size(View* view, float size) argument 652 set_fore_color(View* view, rgb_color color) argument 660 set_back_color(View* view, rgb_color color) argument 668 set_stipple_pattern(View* view, pattern p) argument 676 set_scale(View* view, float scale) argument 687 set_font_family(View* view, const char* family) argument 697 set_font_style(View* view, const char* style) argument 709 set_font_spacing(View* view, int32 spacing) argument 718 set_font_size(View* view, float size) argument 727 set_font_rotate(View* view, float rotation) argument 736 set_font_encoding(View* view, int32 encoding) argument 745 set_font_flags(View* view, int32 flags) argument 754 set_font_shear(View* view, float shear) argument 763 set_font_face(View* view, int32 face) argument 772 set_blending_mode(View* view, int16 alphaSrcMode, int16 alphaFncMode) argument 975 SyncState(View* view) argument 1067 Play(View* view) argument [all...] |
/haiku-fatelf/src/kits/screensaver/ |
H A D | BuildScreenSaverDefaultSettingsView.cpp | 18 // This is used to provide a consistent look for the settings view for screen 21 BuildScreenSaverDefaultSettingsView(BView* view, const char* moduleName, const char* info) argument 27 view->AddChild(stringView); 32 view->AddChild(stringView);
|
/haiku-fatelf/src/preferences/mail/ |
H A D | CenterContainer.cpp | 57 for (int32 i = 0;BView *view = ChildAt(i);i++) 61 fHeight += view->Bounds().Height(); 63 if (view->Bounds().Width() > fWidth) 64 fWidth = view->Bounds().Width(); 69 for (int32 i = 0;BView *view = ChildAt(i);i++) 71 view->MoveTo(fCenterHoriz ? (Bounds().Width() - view->Bounds().Width()) / 2 72 : view->Frame().left, 74 y += view->Bounds().Height() + fSpacing; 98 BView *view local [all...] |
/haiku-fatelf/headers/os/interface/ |
H A D | SplitLayoutBuilder.h | 15 BSplitLayoutBuilder(BSplitView* view); 18 BSplitLayoutBuilder& GetSplitView(BSplitView** view); 20 BSplitLayoutBuilder& Add(BView* view); 21 BSplitLayoutBuilder& Add(BView* view, float weight);
|
/haiku-fatelf/headers/private/screen_saver/ |
H A D | BuildScreenSaverDefaultSettingsView.h | 16 void BuildScreenSaverDefaultSettingsView(BView* view, const char* moduleName, const char* info);
|
/haiku-fatelf/src/apps/debugger/user_interface/gui/util/ |
H A D | GuiSettingsUtils.cpp | 16 GuiSettingsUtils::ArchiveSplitView(BMessage& settings, BSplitView* view) argument 19 for (int32 i = 0; i < view->CountItems(); i++) { 20 if (settings.AddFloat("weight", view->ItemWeight(i)) != B_OK) 23 if (settings.AddFloat("collapsed", view->IsItemCollapsed(i)) != B_OK) 33 BSplitView* view) 35 for (int32 i = 0; i < view->CountItems(); i++) { 38 view->SetItemWeight(i, weight, i == view->CountItems() - 1); 42 view->SetItemCollapsed(i, collapsed); 32 UnarchiveSplitView(const BMessage& settings, BSplitView* view) argument
|
/haiku-fatelf/src/apps/icon-o-matic/generic/gui/scrollview/ |
H A D | ScrollableView.cpp | 28 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++)
|
/haiku-fatelf/src/tests/servers/app/playground/ |
H A D | States.cpp | 132 State::Draw(BView* view) const 135 _RenderDot(view, fStartPoint); 136 _RenderDot(view, fEndPoint); 152 State::_RenderDot(BView* view, BPoint where) const argument 154 view->SetHighColor(0, 0, 0, 255); 155 view->SetPenSize(1.0); 156 view->SetDrawingMode(B_OP_COPY); 159 view->StrokeRect(r); 160 view->SetHighColor(255, 255, 255, 255); 162 view [all...] |
/haiku-fatelf/src/add-ons/media/media-add-ons/videowindow/ |
H A D | VideoWindow.cpp | 11 VideoWindow::VideoWindow(BRect size, VideoView* view) argument 13 , fVideoView(view)
|