Home
last modified time | relevance | path

Searched refs:be_control_look (Results 1 – 25 of 205) sorted by relevance

123456789

/haiku/src/tests/kits/interface/
H A DControlLookTest.cpp80 be_control_look->DrawButtonFrame(this, r1, update, in DrawButtonFrames()
83 be_control_look->DrawButtonBackground(this, r1, update, in DrawButtonFrames()
91 be_control_look->DrawButtonFrame(this, r1, update, in DrawButtonFrames()
94 be_control_look->DrawButtonBackground(this, r1, update, in DrawButtonFrames()
102 be_control_look->DrawButtonFrame(this, r1, update, in DrawButtonFrames()
105 be_control_look->DrawButtonBackground(this, r1, update, in DrawButtonFrames()
113 be_control_look->DrawButtonFrame(this, r1, update, in DrawButtonFrames()
117 be_control_look->DrawButtonBackground(this, r1, update, in DrawButtonFrames()
126 be_control_look->DrawButtonFrame(this, r1, update, 8, in DrawButtonFrames()
129 be_control_look->DrawButtonBackground(this, r1, update, 8, in DrawButtonFrames()
/haiku/src/preferences/appearance/
H A DFakeScrollBar.cpp74 be_control_look->DrawScrollBarBorder(this, rect, updateRect, base, flags, in Draw()
84 be_control_look->DrawScrollBarButton(this, buttonFrame, updateRect, in Draw()
88 be_control_look->DrawScrollBarButton(this, buttonFrame, in Draw()
93 be_control_look->DrawScrollBarButton(this, buttonFrame, in Draw()
98 be_control_look->DrawScrollBarButton(this, buttonFrame, updateRect, in Draw()
119 be_control_look->DrawScrollBarBackground(this, leftOfThumb, in Draw()
121 be_control_look->DrawScrollBarThumb(this, thumbRect, updateRect, in Draw()
254 be_control_look->DrawButtonBackground(this, rect, updateRect, baseColor, in _DrawArrowButton()
258 be_control_look->DrawArrowShape(this, rect, updateRect, in _DrawArrowButton()
/haiku/src/kits/interface/
H A DControlLook.cpp33 return be_control_look->DefaultItemSpacing(); in ComposeSpacing()
35 return ceilf(be_control_look->DefaultItemSpacing() * 0.5f); in ComposeSpacing()
37 return be_control_look->DefaultItemSpacing(); in ComposeSpacing()
39 return ceilf(be_control_look->DefaultItemSpacing() * 0.7f); in ComposeSpacing()
41 return ceilf(be_control_look->DefaultItemSpacing() * 1.272f); in ComposeSpacing()
43 return ceilf(be_control_look->DefaultItemSpacing() * 1.8f); in ComposeSpacing()
46 return std::max(1.0f, floorf(be_control_look->DefaultItemSpacing() / 11.0f)); in ComposeSpacing()
203 BControlLook* be_control_look = NULL; variable
H A DAbstractSpinner.cpp372 uint32 borders = be_control_look->B_TOP_BORDER in Draw()
373 | be_control_look->B_BOTTOM_BORDER; in Draw()
376 borders |= be_control_look->B_RIGHT_BORDER; in Draw()
378 borders |= be_control_look->B_LEFT_BORDER; in Draw()
384 be_control_look->DrawButtonFrame(this, rect, updateRect, in Draw()
386 be_control_look->DrawButtonBackground(this, rect, updateRect, in Draw()
393 ? be_control_look->B_RIGHT_ARROW in Draw()
394 : be_control_look->B_LEFT_ARROW; in Draw()
397 be_control_look->DrawArrowShape(this, rect, updateRect, bgColor, in Draw()
405 ? be_control_look->B_UP_ARROW in Draw()
[all …]
H A DCheckBox.cpp108 uint32 flags = be_control_look->Flags(this); in Draw()
114 be_control_look->DrawCheckBox(this, rect, updateRect, base, flags); in Draw()
118 + be_control_look->DefaultLabelSpacing(); in Draw()
124 be_control_look->DrawLabel(this, Label(), icon, labelRect, updateRect, base, flags, alignment); in Draw()
522 width += be_control_look->DefaultLabelSpacing() in _ValidatePreferredSize()
528 width += be_control_look->DefaultLabelSpacing() in _ValidatePreferredSize()
H A DButton.cpp138 uint32 flags = be_control_look->Flags(this); in Draw()
146 be_control_look->DrawButtonFrame(this, rect, updateRect, base, background, flags); in Draw()
149 be_control_look->DrawButtonWithPopUpBackground(this, rect, updateRect, base, flags); in Draw()
151 be_control_look->DrawButtonBackground(this, rect, updateRect, base, flags); in Draw()
158 be_control_look->DrawLabel(this, Label(), icon, rect, updateRect, base, flags, in Draw()
643 be_control_look->GetInsets(BControlLook::B_BUTTON_FRAME, backgroundType, in _ValidatePreferredSize()
648 const float labelSpacing = be_control_look->DefaultLabelSpacing(); in _ValidatePreferredSize()
703 be_control_look->GetInsets(BControlLook::B_BUTTON_FRAME, in _PopUpRect()
H A DRadioButton.cpp94 uint32 flags = be_control_look->Flags(this); in Draw()
100 be_control_look->DrawRadioButton(this, rect, updateRect, base, flags); in Draw()
103 labelRect.left = knobRect.right + 1 + be_control_look->DefaultLabelSpacing(); in Draw()
109 be_control_look->DrawLabel(this, Label(), icon, labelRect, updateRect, base, flags, alignment); in Draw()
254 width += be_control_look->DefaultLabelSpacing() in GetPreferredSize()
260 width += be_control_look->DefaultLabelSpacing() in GetPreferredSize()
H A DSlider.cpp219 SetBarColor(be_control_look->SliderBarColor( in _InitBarColor()
905 uint32 flags = be_control_look->Flags(this); in DrawBar()
909 be_control_look->DrawSliderBar(view, frame, frame, base, leftFillColor, in DrawBar()
924 uint32 flags = be_control_look->Flags(this); in DrawHashMarks()
925 be_control_look->DrawSliderHashMarks(view, frame, frame, base, in DrawHashMarks()
975 uint32 flags = be_control_look->Flags(this); in DrawText()
981 be_control_look->DrawLabel(view, Label(), base, flags, in DrawText()
987 be_control_look->DrawLabel(view, fUpdateText, base, flags, in DrawText()
993 be_control_look->DrawLabel(view, fMinLimitLabel, base, flags, in DrawText()
998 be_control_look->DrawLabel(view, fMaxLimitLabel, base, flags, in DrawText()
[all …]
H A DAlert.cpp557 icon = new(std::nothrow) BBitmap(BRect(BPoint(0, 0), be_control_look->ComposeIconSize(32)), in _CreateTypeIcon()
723 *_width = be_control_look->DefaultLabelSpacing() * 3; in GetPreferredSize()
727 *_width += be_control_look->ComposeIconSize(B_LARGE_ICON).Width(); in GetPreferredSize()
731 *_height = be_control_look->DefaultLabelSpacing(); in GetPreferredSize()
735 *_height += be_control_look->ComposeIconSize(B_LARGE_ICON).Height(); in GetPreferredSize()
752 stripeRect.right = kIconStripeWidthFactor * be_control_look->DefaultLabelSpacing(); in Draw()
761 DrawBitmapAsync(fIconBitmap, BPoint(be_control_look->DefaultLabelSpacing() * 3, in Draw()
762 be_control_look->DefaultLabelSpacing())); in Draw()
/haiku/src/preferences/time/
H A DTimeZoneListItem.cpp54 iconSize + be_control_look->DefaultLabelSpacing()); in DrawItem()
56 BRect iconFrame(frame.left + be_control_look->DefaultLabelSpacing(), in DrawItem()
58 frame.left + iconSize - 1 + be_control_look->DefaultLabelSpacing(), in DrawItem()
80 SetWidth(Width() + iconSize + be_control_look->DefaultLabelSpacing()); in Update()
172 frame.left + be_control_look->DefaultLabelSpacing() + textOffset, in _DrawItemWithTextOffset()
/haiku/src/apps/webpositive/tabview/
H A DTabView.cpp64 float extra = be_control_look->DefaultLabelSpacing(); in MaxSize()
92 float spacing = be_control_look->DefaultLabelSpacing(); in Draw()
112 be_control_look->DrawActiveTab(owner, frame, updateRect, base, flags, in DrawBackground()
115 be_control_look->DrawInactiveTab(owner, frame, updateRect, base, flags, in DrawBackground()
125 be_control_look->DrawLabel(owner, fLabel.String(), frame, updateRect, in DrawContents()
H A DTabManager.cpp69 uint32 flags = be_control_look->Flags(this); in Draw()
72 be_control_look->DrawTabFrame(this, bounds, updateRect, base, in Draw()
76 be_control_look->DrawButtonBackground(this, bounds, updateRect, in Draw()
106 be_control_look->DrawArrowShape(this, frame, updateRect, in DrawSymbol()
124 be_control_look->DrawArrowShape(this, frame, updateRect, in DrawSymbol()
175 be_control_look->DrawArrowShape(this, frame, updateRect, in DrawSymbol()
618 frame.right = closeRect.left - be_control_look->DefaultLabelSpacing(); in _DrawCloseButton()
660 be_control_look->DrawButtonFrame(owner, buttonRect, updateRect, in _DrawCloseButton()
663 be_control_look->DrawButtonBackground(owner, buttonRect, updateRect, in _DrawCloseButton()
/haiku/src/apps/processcontroller/
H A DIconMenuItem.cpp58 loc.x += ceilf(be_control_look->DefaultLabelSpacing() * 3.3f); in DrawContent()
106 (be_control_look->DefaultLabelSpacing() / 3.0f)); in GetContentSize()
110 *width += fIcon->Bounds().Width() + be_control_look->DefaultLabelSpacing(); in GetContentSize()
/haiku/src/kits/shared/
H A DBitmapButton.cpp77 uint32 flags = be_control_look->Flags(this); in Draw()
80 be_control_look->DrawButtonBackground(this, bounds, updateRect, base, in Draw()
86 be_control_look->DrawMenuBarBackground(this, bounds, updateRect, base, in Draw()
/haiku/src/preferences/network/
H A DInterfaceListItem.cpp86 + BPoint(be_control_look->DefaultLabelSpacing(), 2); in DrawItem()
89 + be_control_look->DefaultLabelSpacing(), 0); in DrawItem()
91 + BPoint(stateIconWidth + (be_control_look->DefaultLabelSpacing() * 2), in DrawItem()
129 + BPoint(stateIconWidth + (be_control_look->DefaultLabelSpacing() * 2), in DrawItem()
153 + be_control_look->DefaultLabelSpacing() in Update()
224 const BSize iconSize = be_control_look->ComposeIconSize(B_LARGE_ICON); in _PopulateBitmaps()
H A DServiceListItem.cpp65 + be_control_look->DefaultLabelSpacing(), 0); in DrawItem()
67 + BPoint(be_control_look->DefaultLabelSpacing(), fLineOffset); in DrawItem()
107 + 3 * be_control_look->DefaultLabelSpacing() + maxStateWidth); in Update()
/haiku/src/apps/bootmanager/
H A DBootManagerWindow.cpp38 minWidth = be_control_look->DefaultLabelSpacing() * 67.0f; in BootManagerWindow()
39 minHeight = be_control_look->DefaultLabelSpacing() * 52.0f; in BootManagerWindow()
/haiku/src/servers/notification/
H A DAppGroupView.cpp42 + be_control_look->ComposeSpacing(B_USE_ITEM_SPACING); in AppGroupView()
60 be_control_look->DrawButtonBackground(this, bounds, bounds, menuColor, in Draw()
79 be_control_look->DrawArrowShape(this, fCollapseRect, fCollapseRect, in Draw()
115 be_control_look->DrawButtonFrame(this, buttonRect, updateRect, in _DrawCloseButton()
118 be_control_look->DrawButtonBackground(this, buttonRect, updateRect, in _DrawCloseButton()
/haiku/src/apps/mediaplayer/interface/
H A DSymbolButton.cpp37 uint32 flags = be_control_look->Flags(this); in Draw()
42 be_control_look->DrawButtonFrame(this, bounds, updateRect, base, in Draw()
44 be_control_look->DrawButtonBackground(this, bounds, updateRect, base, in Draw()
/haiku/src/kits/tracker/
H A DIconMenuItem.cpp285 be_control_look->ComposeIconSize(which)), kDefaultIconDepth); in IconMenuItem()
307 fDeviceIcon = new BBitmap(BRect(BPoint(0, 0), be_control_look->ComposeIconSize(which)), in IconMenuItem()
334 fDeviceIcon = new BBitmap(BRect(BPoint(0, 0), be_control_look->ComposeIconSize(which)), in IconMenuItem()
362 fDeviceIcon = new BBitmap(BRect(BPoint(0, 0), be_control_look->ComposeIconSize(fWhich)), in IconMenuItem()
429 *width += fDeviceIcon->Bounds().Width() + be_control_look->DefaultLabelSpacing(); in GetContentSize()
438 drawPoint.x += fDeviceIcon->Bounds().Width() + be_control_look->DefaultLabelSpacing(); in DrawContent()
526 be_control_look->ComposeIconSize(fWhich)), icon->ColorSpace()); in SetIcon()
/haiku/src/apps/deskbar/
H A DTeamMenuItem.cpp210 const float iconPadding = be_control_look->ComposeSpacing(kIconPadding); in GetContentSize()
257 be_control_look->DrawMenuBarBackground(menu, frame, frame, in Draw()
268 be_control_look->DrawButtonBackground(menu, frame, frame, in Draw()
296 const int32 large = be_control_look->ComposeIconSize(B_LARGE_ICON) in DrawContent()
384 be_control_look->DrawArrowShape(Menu(), rect, Menu()->Frame(), in DrawExpanderArrow()
493 sHPad = be_control_look->ComposeSpacing(B_USE_SMALL_SPACING); in _Init()
494 sVPad = ceilf(be_control_look->ComposeSpacing(B_USE_SMALL_SPACING) / 4.0f); in _Init()
495 sLabelOffset = ceilf((be_control_look->DefaultLabelSpacing() / 3.0f) * 4.0f); in _Init()
/haiku/src/apps/deskcalc/
H A DCalcApplication.cpp58 BRect frame(0, 0, be_control_look->DefaultLabelSpacing() * 37.0f, in ReadyToRun()
59 be_control_look->DefaultLabelSpacing() * 23.0f); in ReadyToRun()
/haiku/src/preferences/keymap/
H A DStatusMenuField.cpp138 return be_control_look->ComposeIconSize(B_MINI_ICON); in IconSize()
145 return be_control_look->DefaultLabelSpacing(); in Spacing()
281 BSize iconSize = be_control_look->ComposeIconSize(B_MINI_ICON); in _IconRect()
/haiku/src/apps/showimage/
H A DShowImageStatusView.cpp85 if (be_control_look != NULL) { in Draw()
87 be_control_look->DrawMenuBarBackground(this, in Draw()
224 float scrollBarSize = be_control_look->GetScrollBarWidth(B_HORIZONTAL); in _ValidatePreferredSize()
/haiku/src/add-ons/input_server/devices/keyboard/
H A DTeamListItem.cpp28 fMiniIcon(BRect(BPoint(0, 0), be_control_look->ComposeIconSize(B_MINI_ICON)), B_RGBA32), in TeamListItem()
29 fLargeIcon(BRect(BPoint(0, 0), be_control_look->ComposeIconSize(B_LARGE_ICON)), B_RGBA32), in TeamListItem()
125 (int32)(be_control_look->DefaultLabelSpacing() / 3.0f); in MinimalHeight()

123456789