/haiku/src/apps/charactermap/ |
H A D | CharacterView.cpp | 125 // don't scroll if the selected block is already in view. 127 // boundary in the character view. 467 BView* view = new BView(frame, "drag", 0, 0); local 468 bitmap->AddChild(view); 470 view->SetLowColor(B_TRANSPARENT_COLOR); 471 view->FillRect(frame, B_SOLID_LOW); 477 view->SetDrawingMode(B_OP_ALPHA); 478 view->SetBlendingMode(B_PIXEL_ALPHA, B_ALPHA_COMPOSITE); 479 view->SetFont(&fCharacterFont); 480 view [all...] |
/haiku/src/servers/app/ |
H A D | ServerApp.cpp | 1127 // afford that the window thread to which the view belongs 1128 // is running and messing with that same view. 1131 // Find the corresponding view by the given token. It's ok 1132 // if this view does not exist anymore, since it may have 1135 View* view; local 1137 (void**)&view) == B_OK) { 1138 // Set the cursor on the view. 1139 view->SetCursor(cursor); 1142 Window* window = view->Window(); 1144 if (fDesktop->ViewUnderMouse(window) == view [all...] |
/haiku/src/kits/tracker/ |
H A D | WidgetAttributeText.cpp | 85 TruncFileSizeBase(BString* outString, int64 value, const View* view, argument 91 return view->StringWidth("-"); 98 if (view->StringWidth(buffer.String()) > width) { 115 float resultWidth = view->StringWidth(buffer); 122 return TruncStringBase(outString, buffer.String(), buffer.Length(), view, 130 const View* view, float width, uint32 truncMode = B_TRUNCATE_MIDDLE) 137 if (view->StringWidth(inString, length) <= width) 147 view->GetFont(&font); 153 return view->StringWidth(outString->String(), outString->Length()); 159 TruncTimeBase(BString* outString, int64 value, const View* view, floa argument 129 TruncStringBase(BString* outString, const char* inString, int32 length, const View* view, float width, uint32 truncMode = B_TRUNCATE_MIDDLE) argument 212 NewWidgetText(const Model* model, const BColumn* column, const BPoseView* view) argument 303 FittingText(const BPoseView* view) argument 316 CheckViewChanged(const BPoseView* view) argument 336 TruncString(BString* outString, const char* inString, int32 length, const BPoseView* view, float width, uint32 truncMode) argument 344 TruncFileSize(BString* outString, int64 value, const BPoseView* view, float width) argument 352 TruncTime(BString* outString, int64 value, const BPoseView* view, float width) argument 391 AttrAsString(const Model* model, BString* outString, const char* attrName, int32 attrType, float width, BView* view, int64* resultingValue) argument 511 FitValue(BString* outString, const BPoseView* view) argument 531 Compare(WidgetAttributeText& attr, BPoseView* view) argument 729 Compare(WidgetAttributeText& attr, BPoseView* view) argument 755 FitValue(BString* outString, const BPoseView* view) argument 821 Compare(WidgetAttributeText& attr, BPoseView* view) argument 848 FitValue(BString* outString, const BPoseView* view) argument 1068 FitValue(BString* outString, const BPoseView* view) argument 1285 FitValue(BString* outString, const BPoseView* view) argument 1426 ValueAsText(const BPoseView* view) argument 1758 FitValue(BString* outString, const BPoseView* view) argument 1850 SetupEditing(BTextView* view) argument 1860 FitValue(BString* outString, const BPoseView* view) argument 1920 SetupEditing(BTextView* view) argument 1930 FitValue(BString* ratingString, const BPoseView* view) argument 1987 OpenWithRelationAttributeText(const Model* model, const BColumn* column, const BPoseView* view) argument 2001 const OpenWithPoseView* view local 2023 FitValue(BString* outString, const BPoseView* view) argument [all...] |
H A D | ContainerWindow.cpp | 131 BView* view = dynamic_cast<BView*>(*target); local 135 if (view != NULL 136 && dynamic_cast<BPoseView*>(view) == NULL 137 && dynamic_cast<DraggableContainerIcon*>(view) == NULL 138 && view->Window() != NULL) { 139 view->Window()->Activate(true); 748 // pose view is expected to be setup at this point 831 // for now only show attributes in list view 833 // using different attributes as titles in icon view modes 882 // Count view heigh 1290 BView* view = CurrentFocus(); local 1317 BView* view = CurrentFocus(); local 1327 BView* view = CurrentFocus(); local [all...] |
H A D | FilePanelPriv.cpp | 124 BPoseView* view = panel->PoseView(); 146 if (view->ActivePose()) 147 view->CommitActivePose(false); 148 else if (view->IsFiltering()) 156 if (key == B_RETURN && view->ActivePose()) { 157 view->CommitActivePose(); 592 = dynamic_cast<BTextControl*>(FindView("text view")); 748 // add file name text view 754 fTextControl = new BTextControl(rect, "text view", 864 // because pose view focu [all...] |
H A D | TextWidget.cpp | 70 BTextWidget::BTextWidget(Model* model, BColumn* column, BPoseView* view) argument 72 fText(WidgetAttributeText::NewWidgetText(model, column, view)), 95 BTextWidget::Compare(const BTextWidget& with, BPoseView* view) const 97 return fText->Compare(*with.fText, view); 102 BTextWidget::Text(const BPoseView* view) const 109 return textAttribute->ValueAsText(view); 129 const BPoseView* view) 131 if (view->ViewMode() != kListMode) { 132 // ColumnRect only makes sense in list view, return 134 return CalcRect(poseLoc, column, view); 128 ColumnRect(BPoint poseLoc, const BColumn* column, const BPoseView* view) argument 147 CalcRectCommon(BPoint poseLoc, const BColumn* column, const BPoseView* view, float textWidth) argument 209 CalcRect(BPoint poseLoc, const BColumn* column, const BPoseView* view) argument 217 CalcOldRect(BPoint poseLoc, const BColumn* column, const BPoseView* view) argument 225 CalcClickRect(BPoint poseLoc, const BColumn* column, const BPoseView* view) argument 273 MouseUp(BRect bounds, BPoseView* view, BPose* pose, BPoint) argument 318 BPoseView* view = window->PoseView(); local 366 BPoseView* view = window->PoseView(); local 437 StartEdit(BRect bounds, BPoseView* view, BPose* pose) argument 539 StopEdit(bool saveChanges, BPoint poseLoc, BPoseView* view, BPose* pose, int32 poseIndex) argument 583 CheckAndUpdate(BPoint loc, const BColumn* column, BPoseView* view, bool visible) argument 601 SelectAll(BPoseView* view) argument 611 Draw(BRect eraseRect, BRect textRect, float, BPoseView* view, BView* drawView, bool selected, uint32 clipboardMode, BPoint offset, bool direct) argument [all...] |
H A D | Utilities.cpp | 434 BView* view = new BView(fBitmap->Bounds(), "", B_FOLLOW_NONE, 0); local 435 fBitmap->AddChild(view); 437 BRect clipRect = view->Bounds(); 440 view->ConstrainClippingRegion(&newClip); 624 BView* view = new BView(dragBitmap->Bounds(), "", B_FOLLOW_NONE, 0); local 625 dragBitmap->AddChild(view); 626 view->SetOrigin(0, 0); 627 BRect clipRect(view->Bounds()); 630 view->ConstrainClippingRegion(&newClip); 633 view [all...] |
H A D | PoseView.h | 39 // etc. The three different view modes are handled here. 94 // directory and this is a desktop pose view. 127 // re-use the pose view for a new directory 131 // in the rare cases where a pose view needs to be explicitly 196 // view metrics 288 // Move to trash calls try to select the next pose in the view 351 // access for mime types represented in the pose view 360 BPose*, BView* view, BPoint dropPoint); 401 // up the view, etc. 425 // view setu 1274 SetTitleView(BView* view) argument [all...] |
H A D | Tracker.cpp | 1721 BPoseView* view = window->PoseView(); local 1723 BPose* pose = view->FindPose(child, &index); 1725 view->SelectPose(pose, index);
|
H A D | PoseView.cpp | 186 BSearch(PoseList* table, const BPose* key, BPoseView* view, 191 PoseCompareAddWidget(const BPose* p1, const BPose* p2, BPoseView* view); 496 // Always realign columns, since the title-view snaps on resize anyway. 562 // recover if desktop window view state set wrong 580 // recover if desktop window view state set wrong 699 // save view state into object 936 // update item count view in window if necessary 967 // keep the view state in sync 1120 BorderedView* view = dynamic_cast<BorderedView*>(Parent()); local 1121 if (view ! 1398 BPoseView* view = dynamic_cast<BPoseView*>(lock.Handler()); local 4495 HandleDropCommon(BMessage* message, Model* targetModel, BPose* targetPose, BView* view, BPoint dropPoint) argument 5853 BView* view = Window()->FindView("MenuBar"); local 7696 BView* view = new BView(bitmap->Bounds(), "", B_FOLLOW_NONE, 0); local 9398 PoseCompareAddWidget(const BPose* p1, const BPose* p2, BPoseView* view) argument 9453 BSearch(PoseList* table, const BPose* key, BPoseView* view, int (*cmp)(const BPose*, const BPose*, BPoseView*), bool returnClosest) argument [all...] |
/haiku/src/apps/mediaplayer/ |
H A D | Controller.cpp | 1000 Controller::SetVideoView(VideoView *view) argument 1004 fVideoView = view; 1089 // that the view of the current frame/time from the outside
|
H A D | InfoWin.cpp | 154 // Draw bitmap centered within the view 578 BStringView* view = new BStringView(name, label); local 579 view->SetAlignment(B_ALIGN_RIGHT); 580 view->SetHighColor(kLabelColor); 582 return view; 589 BStringView* view = new BStringView(name, ""); local 590 view->SetExplicitMinSize(BSize(200, B_SIZE_UNSET)); 591 view->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET)); 592 view->SetTruncation(B_TRUNCATE_SMART); 594 return view; 607 _SetVisible(BView* view, bool visible) argument [all...] |
/haiku/src/apps/installer/ |
H A D | InstallerWindow.cpp | 164 layout_item_for(BView* view) argument 166 BLayout* layout = view->Parent()->GetLayout(); 167 int32 index = layout->IndexOfView(view); 199 // In the status view, make sure that we can display 5 lines of text of ~28 characters each 206 // Create a group view with a white background since the logo and status text won't have the 908 // In case the status message makes the text view higher than the
|
/haiku/src/apps/drivesetup/ |
H A D | DiskView.cpp | 315 PartitionLayout(BView* view, SpaceIDMap& spaceIDMap) argument 317 fView(view), 335 PartitionView* view = new PartitionView(name, 1.0, local 337 fViewMap.Put(device->ID(), view); 338 fView->GetLayout()->AddView(view); 339 _AddSpaces(device, view); 364 PartitionView* view = new PartitionView(name.String(), scale, offset, local 366 view->SetSelected(id == fSelectedPartition); 369 layout->AddView(_FindInsertIndex(view, layout), view, scal local 383 PartitionView* view = fViewMap.Get(fSelectedPartition); local 390 PartitionView* view = fViewMap.Get(fSelectedPartition); local 419 PartitionView* view = new PartitionView( local 425 layout->AddView(_FindInsertIndex(view, layout), view, scale); local 429 _FindInsertIndex(PartitionView* view, BGroupLayout* layout) const argument 477 PartitionView* view; local [all...] |
/haiku/src/apps/codycam/ |
H A D | VideoConsumer.cpp | 52 VideoConsumer::VideoConsumer(const char* name, BView* view, argument 65 fView(view),
|
/haiku/src/apps/aboutsystem/ |
H A D | AboutSystem.cpp | 441 // Set view color to panel background color when fLogo is NULL 494 BView("crop view", 0), 705 // if we are a replicant the parent view doesn't do this for us 724 // this works when the view is in AboutView too. 752 // set view limits 764 // stroke a line around the view 804 BView* view = layout->ItemAt(index)->View(); local 805 if (view == NULL) 808 view->SetDrawingMode(B_OP_ALPHA); 809 view 879 BView* view = layout->ItemAt(index)->View(); local 902 BView* view = layout->ItemAt(index)->View(); local [all...] |
/haiku/src/preferences/filetypes/ |
H A D | IconView.cpp | 466 BView* view = new BView(bitmap->Bounds(), NULL, B_FOLLOW_NONE, local 468 target->AddChild(view); 469 view->DrawBitmap(source, bitmap->Bounds()); 470 view->Flush(); 471 target->RemoveChild(view); 478 delete view; 773 // mark this view as a having focus 778 // mark this view as a drop target 925 BView *view local 927 dragBitmap->AddChild(view); [all...] |
/haiku/src/apps/terminal/ |
H A D | TermWindow.cpp | 110 BView(BRect(), "term view container", B_FOLLOW_ALL, 0), 321 fTabView = new SmartTabView(textFrame, "tab view", B_WIDTH_FROM_LABEL); 325 // Make the scroll view one pixel wider than the tab view container view, so 417 TermView* view = _ActiveTermView(); local 421 = BCharacterSetRoster::GetCharacterSetByConversionID(view->Encoding()); 434 view->GetTermFont(&font); 883 TermView* view = _TermViewAt(i); local 884 view 896 TermView* view = _TermViewAt(i); local 909 TermView* view = _TermViewAt(i); local 940 TermView* view = _TermViewAt(i); local 953 TermView* view = _TermViewAt(i); local 1177 TermView* view = _TermViewAt(i); local 1340 TermView* view = new TermView( local 1499 TermViewContainerView* view = _TermViewContainerViewAt(index); local 1572 TermView* view = _ActiveTermView(); local 1667 NotifyTermViewQuit(TermView* view, int32 reason) argument 1681 SetTermViewTitle(TermView* view, const char* title) argument 1734 PreviousTermView(TermView* view) argument 1741 NextTermView(TermView* view) argument 1748 _ResizeView(TermView *view) argument 2108 TermView* view = _TermViewAt(i); local [all...] |
H A D | TermViewStates.cpp | 71 TermView::State::State(TermView* view) argument 73 fView(view) 148 TermView::StandardBaseState::StandardBaseState(TermView* view) argument 150 State(view) 182 TermView::DefaultState::DefaultState(TermView* view) argument 184 StandardBaseState(view) 491 TermView::SelectState::SelectState(TermView* view) argument 493 StandardBaseState(view), 704 TermView::HyperLinkState::HyperLinkState(TermView* view) argument 706 State(view), 1087 HyperLinkMenuState(TermView* view) argument [all...] |
/haiku/src/tests/kits/interface/ |
H A D | GetMouseTest.cpp | 7 class view : public BView { class in inherits:BView 9 view(BRect rect) function in class:view 10 : BView(rect, "test view", B_FOLLOW_ALL_SIDES, B_WILL_DRAW) 36 AddChild(new view(Bounds()));
|
/haiku/src/kits/interface/ |
H A D | HaikuControlLook.cpp | 96 // against the already existing view contents of the parent view. 108 HaikuControlLook::DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect, argument 112 _DrawButtonFrame(view, rect, updateRect, 0.0f, 0.0f, 0.0f, 0.0f, base, 118 HaikuControlLook::DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect, argument 122 _DrawButtonFrame(view, rect, updateRect, radius, radius, radius, radius, 128 HaikuControlLook::DrawButtonFrame(BView* view, BRect& rect, argument 134 _DrawButtonFrame(view, rect, updateRect, leftTopRadius, rightTopRadius, 141 HaikuControlLook::DrawButtonBackground(BView* view, BRect& rect, argument 145 _DrawButtonBackground(view, rec 151 DrawButtonBackground(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument 161 DrawButtonBackground(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 173 DrawMenuBarBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 219 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument 229 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument 239 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument 252 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, bool popupIndicator, uint32 flags) argument 262 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 272 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, bool popupIndicator, uint32 flags) argument 282 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags) argument 294 DrawMenuBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 326 DrawMenuItemBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 366 DrawStatusBar(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, const rgb_color& barColor, float progressPosition) argument 419 DrawCheckBox(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags) argument 491 DrawRadioButton(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags) argument 562 DrawScrollBarBorder(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 617 DrawScrollBarButton(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, int32 direction, orientation orientation, bool down) argument 645 DrawScrollBarBackground(BView* view, BRect& rect1, BRect& rect2, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 655 DrawScrollBarBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 751 DrawScrollBarThumb(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation, uint32 knobStyle) argument 940 DrawScrollViewFrame(BView* view, BRect& rect, const BRect& updateRect, BRect verticalScrollBarFrame, BRect horizontalScrollBarFrame, const rgb_color& base, border_style borderStyle, uint32 flags, uint32 _borders) argument 1024 DrawArrowShape(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 direction, uint32 flags, float tint) argument 1113 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 1153 DrawSliderBar(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, rgb_color fillColor, uint32 flags, orientation orientation) argument 1306 DrawSliderThumb(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 1390 DrawSliderTriangle(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 1399 DrawSliderTriangle(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, const rgb_color& fill, uint32 flags, orientation orientation) argument 1517 DrawSliderHashMarks(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, int32 count, hash_mark_location location, uint32 flags, orientation orientation) argument 1607 DrawTabFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, border_style borderStyle, uint32 side) argument 1641 DrawActiveTab(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, uint32 side, int32, int32, int32, int32) argument 1823 DrawInactiveTab(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, uint32 side, int32, int32, int32, int32) argument 1925 DrawSplitter(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, orientation orientation, uint32 flags, uint32 borders) argument 2040 DrawBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, border_style borderStyle, uint32 flags, uint32 borders) argument 2064 DrawRaisedBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 2085 DrawTextControlBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 2155 DrawGroupFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 borders) argument 2174 DrawLabel(BView* view, const char* label, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, const rgb_color* textColor) argument 2184 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 2194 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 2461 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument 2471 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument 2481 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 2496 _DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, const rgb_color& background, float contrast, float brightness, uint32 flags, uint32 borders) argument 2666 _DrawOuterResessedFrame(BView* view, BRect& rect, const rgb_color& base, float contrast, float brightness, uint32 flags, uint32 borders) argument 2692 _DrawFrame(BView* view, BRect& rect, const rgb_color& left, const rgb_color& top, const rgb_color& right, const rgb_color& bottom, uint32 borders) argument 2728 _DrawFrame(BView* view, BRect& rect, const rgb_color& left, const rgb_color& top, const rgb_color& right, const rgb_color& bottom, const rgb_color& rightTop, const rgb_color& leftBottom, uint32 borders) argument 2779 _DrawButtonBackground(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags, uint32 borders, orientation orientation) argument 2814 _DrawFlatButtonBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, bool popupIndicator, uint32 flags, uint32 borders, orientation orientation) argument 2839 _DrawNonFlatButtonBackground(BView* view, BRect& rect, const BRect& updateRect, BRegion& clipping, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags, uint32 borders, orientation orientation) argument 3000 _DrawPopUpMarker(BView* view, const BRect& rect, const rgb_color& base, uint32 flags) argument 3029 _DrawMenuFieldBackgroundOutside(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags) argument 3078 _DrawMenuFieldBackgroundInside(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, uint32 flags, uint32 borders) argument 3278 _DrawRoundCornerLeftTop(BView* view, BRect& cornerRect, const BRect& updateRect, const rgb_color& background, const rgb_color& edgeColor, const rgb_color& frameColor, const rgb_color& bevelColor, const BGradientLinear& fillGradient) argument 3291 _DrawRoundCornerFrameLeftTop(BView* view, BRect& cornerRect, const BRect& updateRect, const rgb_color& background, const rgb_color& edgeColor, const rgb_color& frameColor) argument 3328 _DrawRoundCornerBackgroundLeftTop(BView* view, BRect& cornerRect, const BRect& updateRect, const rgb_color& bevelColor, const BGradientLinear& fillGradient) argument 3354 _DrawRoundCornerRightTop(BView* view, BRect& cornerRect, const BRect& updateRect, const rgb_color& background, const rgb_color& edgeTopColor, const rgb_color& edgeRightColor, const rgb_color& frameTopColor, const rgb_color& frameRightColor, const rgb_color& bevelTopColor, const rgb_color& bevelRightColor, const BGradientLinear& fillGradient) argument 3370 _DrawRoundCornerFrameRightTop(BView* view, BRect& cornerRect, const BRect& updateRect, const rgb_color& background, const rgb_color& edgeTopColor, const rgb_color& edgeRightColor, const rgb_color& frameTopColor, const rgb_color& frameRightColor) argument 3420 _DrawRoundCornerBackgroundRightTop(BView* view, BRect& cornerRect, const BRect& updateRect, const rgb_color& bevelTopColor, const rgb_color& bevelRightColor, const BGradientLinear& fillGradient) argument 3450 _DrawRoundCornerLeftBottom(BView* view, BRect& cornerRect, const BRect& updateRect, const rgb_color& background, const rgb_color& edgeLeftColor, const rgb_color& edgeBottomColor, const rgb_color& frameLeftColor, const rgb_color& frameBottomColor, const rgb_color& bevelLeftColor, const rgb_color& bevelBottomColor, const BGradientLinear& fillGradient) argument 3466 _DrawRoundCornerFrameLeftBottom(BView* view, BRect& cornerRect, const BRect& updateRect, const rgb_color& background, const rgb_color& edgeLeftColor, const rgb_color& edgeBottomColor, const rgb_color& frameLeftColor, const rgb_color& frameBottomColor) argument 3516 _DrawRoundCornerBackgroundLeftBottom(BView* view, BRect& cornerRect, const BRect& updateRect, const rgb_color& bevelLeftColor, const rgb_color& bevelBottomColor, const BGradientLinear& fillGradient) argument 3546 _DrawRoundCornerRightBottom(BView* view, BRect& cornerRect, const BRect& updateRect, const rgb_color& background, const rgb_color& edgeColor, const rgb_color& frameColor, const rgb_color& bevelColor, const BGradientLinear& fillGradient) argument 3559 _DrawRoundCornerFrameRightBottom(BView* view, BRect& cornerRect, const BRect& updateRect, const rgb_color& background, const rgb_color& edgeColor, const rgb_color& frameColor) argument 3596 _DrawRoundCornerBackgroundRightBottom(BView* view, BRect& cornerRect, const BRect& updateRect, const rgb_color& bevelColor, const BGradientLinear& fillGradient) argument 3622 _DrawRoundBarCorner(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& edgeLightColor, const rgb_color& edgeShadowColor, const rgb_color& frameLightColor, const rgb_color& frameShadowColor, const rgb_color& fillLightColor, const rgb_color& fillShadowColor, float leftInset, float topInset, float rightInset, float bottomInset, orientation orientation) argument 3842 _FillGradient(BView* view, const BRect& rect, const rgb_color& base, float topTint, float bottomTint, orientation orientation) argument 3853 _FillGlossyGradient(BView* view, const BRect& rect, const rgb_color& base, float topTint, float middle1Tint, float middle2Tint, float bottomTint, orientation orientation) argument [all...] |
/haiku/src/apps/powerstatus/ |
H A D | PowerStatusView.cpp | 170 PowerStatusView::_DrawBattery(BView* view, BRect rect) argument 184 if (view->LowColor().IsLight()) 185 view->SetHighColor(0, 0, 0); 187 view->SetHighColor(128, 128, 128); 194 view->FillRect(BRect(rect.left, rect.top, rect.left + gap - 1, 197 view->FillRect(BRect(rect.right - gap + 1, rect.top, rect.right, 200 view->FillRect(BRect(rect.left + gap, rect.top, rect.right - gap, 203 view->FillRect(BRect(rect.left + gap, rect.bottom + 1 - gap, 206 view->StrokeRect(rect); 208 view 313 DrawTo(BView* view, BRect rect) argument 491 BView* view = window->FindView("Status"); local [all...] |
/haiku/src/apps/deskbar/ |
H A D | Switcher.cpp | 74 void Draw(BView* view, BRect bounds, bool main); 369 TTeamGroup::Draw(BView* view, BRect bounds, bool main) argument 377 view->DrawBitmap(fLargeIcon, largeRect); 384 view->DrawBitmap(fSmallIcon, smallRect); 1335 // The fancy border around the icon view 1364 // The main frame around the icon view 2082 // first few slots in view are empty
|
/haiku/src/add-ons/control_look/FlatControlLook/ |
H A D | FlatControlLook.cpp | 54 FlatControlLook::DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect, argument 58 _DrawButtonFrame(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, background, 64 FlatControlLook::DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect, argument 68 _DrawButtonFrame(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, background, 74 FlatControlLook::DrawButtonFrame(BView* view, BRect& rect, argument 80 _DrawButtonFrame(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, background, 86 FlatControlLook::DrawButtonBackground(BView* view, BRect& rect, argument 90 _DrawButtonBackground(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, false, 96 FlatControlLook::DrawButtonBackground(BView* view, BRect& rect, argument 100 _DrawButtonBackground(view, rec 106 DrawButtonBackground(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 117 DrawMenuBarBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 167 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument 177 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument 187 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument 199 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, bool popupIndicator, uint32 flags) argument 209 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 219 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, bool popupIndicator, uint32 flags) argument 229 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags) argument 241 DrawMenuBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 269 DrawMenuItemBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 307 DrawScrollBarBorder(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 362 DrawScrollBarButton(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, int32 direction, orientation orientation, bool down) argument 403 DrawScrollBarBackground(BView* view, BRect& rect1, BRect& rect2, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 413 DrawScrollBarBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 454 DrawScrollBarThumb(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation, uint32 knobStyle) argument 633 DrawScrollViewFrame(BView* view, BRect& rect, const BRect& updateRect, BRect verticalScrollBarFrame, BRect horizontalScrollBarFrame, const rgb_color& base, border_style borderStyle, uint32 flags, uint32 _borders) argument 726 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 771 DrawSliderBar(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, rgb_color fillColor, uint32 flags, orientation orientation) argument 922 DrawSliderThumb(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument 1000 DrawActiveTab(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, uint32 side, int32, int32, int32, int32) argument 1182 DrawSplitter(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, orientation orientation, uint32 flags, uint32 borders) argument 1297 DrawBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, border_style borderStyle, uint32 flags, uint32 borders) argument 1312 DrawRaisedBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 1321 DrawTextControlBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument 1362 DrawGroupFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 borders) argument 1376 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument 1386 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument 1396 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 1411 _DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, const rgb_color& background, float contrast, float brightness, uint32 flags, uint32 borders) argument 1572 _DrawOuterResessedFrame(BView* view, BRect& rect, const rgb_color& base, float contrast, float brightness, uint32 flags, uint32 borders) argument 1596 _DrawButtonBackground(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags, uint32 borders, orientation orientation) argument 1644 _DrawNonFlatButtonBackground(BView* view, BRect& rect, const BRect& updateRect, BRegion& clipping, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags, uint32 borders, orientation orientation) argument 1801 _DrawPopUpMarker(BView* view, const BRect& rect, const rgb_color& base, uint32 flags) argument 1828 _DrawMenuFieldBackgroundOutside(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags) argument 1885 _DrawMenuFieldBackgroundInside(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, uint32 flags, uint32 borders) 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...] |