/haiku/src/kits/interface/ |
H A D | ControlLook.cpp | 15 BControlLook::BControlLook() in BControlLook() function in BPrivate::BControlLook 22 BControlLook::~BControlLook() in ~BControlLook() 28 BControlLook::ComposeSpacing(float spacing) in ComposeSpacing() 54 BControlLook::ComposeIconSize(int32 size) in ComposeIconSize() 66 BControlLook::ShouldDraw(BView* view, const BRect& rect, const BRect& updateRect) in ShouldDraw() 98 BControlLook::DrawLabel(BView* view, const char* label, const BBitmap* icon, in DrawLabel() 108 BControlLook::GetInsets(frame_type frameType, background_type backgroundType, in GetInsets() 124 BControlLook::GetScrollBarWidth(orientation orientation) in GetScrollBarWidth() 131 BControlLook::SetBackgroundInfo(const BMessage& backgroundInfo) in SetBackgroundInfo() 141 BControlLook* controlLook, BView* view, BRect& rect, in B_IF_GCC_2() [all …]
|
H A D | SplitView.cpp | 44 left = BControlLook::ComposeSpacing(left); in SetInsets() 45 top = BControlLook::ComposeSpacing(top); in SetInsets() 46 right = BControlLook::ComposeSpacing(right); in SetInsets() 47 bottom = BControlLook::ComposeSpacing(bottom); in SetInsets() 56 horizontal = BControlLook::ComposeSpacing(horizontal); in SetInsets() 57 vertical = BControlLook::ComposeSpacing(vertical); in SetInsets() 65 insets = BControlLook::ComposeSpacing(insets); in SetInsets() 378 uint32 flags = pressed ? BControlLook::B_ACTIVATED : 0; in _DrawDefaultSplitter()
|
H A D | Button.cpp | 140 flags |= BControlLook::B_DEFAULT_BUTTON; in Draw() 142 flags |= BControlLook::B_FLAT; in Draw() 144 flags |= BControlLook::B_HOVER; in Draw() 638 BControlLook::background_type backgroundType in _ValidatePreferredSize() 640 ? BControlLook::B_BUTTON_WITH_POP_UP_BACKGROUND in _ValidatePreferredSize() 641 : BControlLook::B_BUTTON_BACKGROUND; in _ValidatePreferredSize() 643 be_control_look->GetInsets(BControlLook::B_BUTTON_FRAME, backgroundType, in _ValidatePreferredSize() 644 IsDefault() ? BControlLook::B_DEFAULT_BUTTON : 0, in _ValidatePreferredSize() 703 be_control_look->GetInsets(BControlLook::B_BUTTON_FRAME, in _PopUpRect() 704 BControlLook::B_BUTTON_WITH_POP_UP_BACKGROUND, in _PopUpRect() [all …]
|
H A D | ScrollBar.cpp | 396 flags |= BControlLook::B_PARTIALLY_ACTIVATED; in Draw() 399 flags |= BControlLook::B_DISABLED; in Draw() 403 flags |= BControlLook::B_FOCUSED; in Draw() 423 ? BControlLook::B_ACTIVATED : 0), in Draw() 424 BControlLook::B_LEFT_ARROW, fOrientation, in Draw() 431 ? BControlLook::B_ACTIVATED : 0), in Draw() 432 BControlLook::B_RIGHT_ARROW, fOrientation, in Draw() 439 ? BControlLook::B_ACTIVATED : 0), in Draw() 440 BControlLook::B_LEFT_ARROW, fOrientation, in Draw() 453 ? BControlLook::B_ACTIVATED : 0), in Draw() [all …]
|
H A D | TabView.cpp | 312 IsEnabled() ? 0 : BControlLook::B_DISABLED, in DrawLabel() 357 borders = BControlLook::B_TOP_BORDER | BControlLook::B_BOTTOM_BORDER; in _Borders() 360 borders |= BControlLook::B_LEFT_BORDER; in _Borders() 363 borders |= BControlLook::B_RIGHT_BORDER; in _Borders() 366 borders = BControlLook::B_LEFT_BORDER | BControlLook::B_RIGHT_BORDER; in _Borders() 369 borders |= BControlLook::B_TOP_BORDER; in _Borders() 372 borders |= BControlLook::B_BOTTOM_BORDER; in _Borders() 958 uint32 bordersToDraw = BControlLook::B_ALL_BORDERS; in DrawBox() 961 bordersToDraw &= ~BControlLook::B_TOP_BORDER; in DrawBox() 965 bordersToDraw &= ~BControlLook::B_BOTTOM_BORDER; in DrawBox() [all …]
|
H A D | ScrollView.cpp | 241 flags |= BControlLook::B_FOCUSED; in Draw() 611 target->MoveTo((fBorders & BControlLook::B_LEFT_BORDER) != 0 in SetTarget() 612 ? borderSize : 0, (fBorders & BControlLook::B_TOP_BORDER) != 0 in SetTarget() 765 fBorders = BControlLook::B_ALL_BORDERS; in _Init() 783 fVerticalScrollBar, fBorder, BControlLook::B_ALL_BORDERS); in _Init() 1001 if ((borders & BControlLook::B_LEFT_BORDER) != 0) in _InsetBorders() 1003 if ((borders & BControlLook::B_TOP_BORDER) != 0) in _InsetBorders() 1005 if ((borders & BControlLook::B_RIGHT_BORDER) != 0) in _InsetBorders() 1007 if ((borders & BControlLook::B_BOTTOM_BORDER) != 0) in _InsetBorders()
|
H A D | SpaceLayoutItem.cpp | 25 size.width = BControlLook::ComposeSpacing(size.width); in ComposeSpacingInPlace() 26 size.height = BControlLook::ComposeSpacing(size.height); in ComposeSpacingInPlace()
|
/haiku/src/tests/kits/interface/ |
H A D | ControlLookTest.cpp | 93 ui_color(B_PANEL_BACKGROUND_COLOR), BControlLook::B_DISABLED); in DrawButtonFrames() 95 ui_color(B_PANEL_BACKGROUND_COLOR), BControlLook::B_DISABLED); in DrawButtonFrames() 104 ui_color(B_PANEL_BACKGROUND_COLOR), BControlLook::B_ACTIVATED); in DrawButtonFrames() 106 ui_color(B_PANEL_BACKGROUND_COLOR), BControlLook::B_ACTIVATED); in DrawButtonFrames() 116 BControlLook::B_DISABLED | BControlLook:: B_ACTIVATED); in DrawButtonFrames() 119 BControlLook::B_DISABLED | BControlLook::B_ACTIVATED); in DrawButtonFrames()
|
/haiku/src/servers/notification/ |
H A D | AppGroupView.cpp | 58 uint32 borders = BControlLook::B_TOP_BORDER in Draw() 59 | BControlLook::B_BOTTOM_BORDER | BControlLook::B_RIGHT_BORDER; in Draw() 78 ? BControlLook::B_DOWN_ARROW : BControlLook::B_UP_ARROW; in Draw() 117 BControlLook::B_ACTIVATED | BControlLook::B_BLEND_FRAME); in _DrawCloseButton() 119 base, BControlLook::B_ACTIVATED); in _DrawCloseButton()
|
/haiku/src/preferences/appearance/ |
H A D | FakeScrollBar.cpp | 53 uint32 flags = BControlLook::B_PARTIALLY_ACTIVATED; in Draw() 85 base, flags, BControlLook::B_LEFT_ARROW, B_HORIZONTAL); in Draw() 89 updateRect, base, flags, BControlLook::B_RIGHT_ARROW, in Draw() 94 updateRect, base, flags, BControlLook::B_LEFT_ARROW, in Draw() 99 base, flags, BControlLook::B_RIGHT_ARROW, B_HORIZONTAL); in Draw() 255 flags, BControlLook::B_ALL_BORDERS, B_HORIZONTAL); in _DrawArrowButton()
|
/haiku/src/apps/deskbar/ |
H A D | TeamMenuItem.cpp | 247 flags |= BControlLook::B_ACTIVATED; in Draw() 249 uint32 borders = BControlLook::B_TOP_BORDER; in Draw() 252 borders |= BControlLook::B_LEFT_BORDER in Draw() 253 | BControlLook::B_RIGHT_BORDER; in Draw() 260 if (flags & BControlLook::B_ACTIVATED) in Draw() 264 borders |= BControlLook::B_BOTTOM_BORDER; in Draw() 393 fArrowDirection = fExpanded ? BControlLook::B_DOWN_ARROW in ToggleExpandState() 394 : BControlLook::B_RIGHT_ARROW; in ToggleExpandState() 531 fArrowDirection = BControlLook::B_RIGHT_ARROW; in _Init()
|
H A D | ExpandoMenuBar.cpp | 298 teamItem->SetArrowDirection(BControlLook::B_RIGHT_DOWN_ARROW); in MouseDown() 348 BControlLook::B_RIGHT_DOWN_ARROW); in MouseMoved() 351 ? BControlLook::B_DOWN_ARROW in MouseMoved() 352 : BControlLook::B_RIGHT_ARROW); in MouseMoved() 445 ? BControlLook::B_DOWN_ARROW in MouseUp() 446 : BControlLook::B_RIGHT_ARROW); in MouseUp()
|
/haiku/src/apps/webpositive/tabview/ |
H A D | TabView.cpp | 103 uint32 borders = BControlLook::B_TOP_BORDER in DrawBackground() 104 | BControlLook::B_BOTTOM_BORDER; in DrawBackground() 113 borders, BControlLook::B_TOP_BORDER, index, selected, first, last); in DrawBackground() 116 borders, BControlLook::B_TOP_BORDER, index, selected, first, last); in DrawBackground()
|
H A D | TabManager.cpp | 70 uint32 borders = BControlLook::B_TOP_BORDER in Draw() 71 | BControlLook::B_BOTTOM_BORDER; in Draw() 107 base, BControlLook::B_LEFT_ARROW, 0, tint); in DrawSymbol() 125 base, BControlLook::B_RIGHT_ARROW, 0, tint); in DrawSymbol() 176 base, BControlLook::B_DOWN_ARROW, 0, B_DARKEN_4_TINT); in DrawSymbol() 662 BControlLook::B_ACTIVATED | BControlLook::B_BLEND_FRAME); in _DrawCloseButton() 664 base, BControlLook::B_ACTIVATED); in _DrawCloseButton()
|
/haiku/src/kits/tracker/ |
H A D | DialogPane.cpp | 263 int32 arrowDirection = BControlLook::B_RIGHT_ARROW; in DrawInState() 269 arrowDirection = BControlLook::B_RIGHT_ARROW; in DrawInState() 273 arrowDirection = BControlLook::B_RIGHT_DOWN_ARROW; in DrawInState() 277 arrowDirection = BControlLook::B_DOWN_ARROW; in DrawInState()
|
H A D | DraggableContainerIcon.cpp | 206 0, BControlLook::B_BOTTOM_BORDER); in Draw() 208 BControlLook::B_ALL_BORDERS & ~BControlLook::B_LEFT_BORDER); in Draw()
|
H A D | CountView.cpp | 209 BControlLook::B_BOTTOM_BORDER | BControlLook::B_LEFT_BORDER); in Draw()
|
/haiku/src/libs/alm/ |
H A D | Area.cpp | 314 insets = BControlLook::ComposeSpacing(insets); in SetInsets() 326 horizontal = BControlLook::ComposeSpacing(horizontal); in SetInsets() 328 vertical = BControlLook::ComposeSpacing(vertical); in SetInsets() 340 left = BControlLook::ComposeSpacing(left); in SetInsets() 342 right = BControlLook::ComposeSpacing(right); in SetInsets() 344 top = BControlLook::ComposeSpacing(top); in SetInsets() 346 bottom = BControlLook::ComposeSpacing(bottom); in SetInsets()
|
H A D | ALMLayout.cpp | 218 fHSpacing(BControlLook::ComposeSpacing(hSpacing)), in BALMLayout() 219 fVSpacing(BControlLook::ComposeSpacing(vSpacing)), in BALMLayout() 1353 fLeftInset = BControlLook::ComposeSpacing(left); in SetInsets() 1354 fTopInset = BControlLook::ComposeSpacing(top); in SetInsets() 1355 fRightInset = BControlLook::ComposeSpacing(right); in SetInsets() 1356 fBottomInset = BControlLook::ComposeSpacing(bottom); in SetInsets() 1365 fLeftInset = BControlLook::ComposeSpacing(horizontal); in SetInsets() 1368 fTopInset = BControlLook::ComposeSpacing(vertical); in SetInsets() 1378 fLeftInset = BControlLook::ComposeSpacing(insets); in SetInsets() 1405 fHSpacing = BControlLook::ComposeSpacing(hSpacing); in SetSpacing() [all …]
|
/haiku/src/preferences/keymap/ |
H A D | KeyboardLayoutView.cpp | 698 uint32 flags = pressed ? BControlLook::B_ACTIVATED : 0; in _DrawKeyButton() 739 uint32 flags = pressed ? BControlLook::B_ACTIVATED : 0; in _DrawKey() 781 BControlLook::B_LEFT_BORDER | BControlLook::B_TOP_BORDER in _DrawKey() 782 | BControlLook::B_BOTTOM_BORDER); in _DrawKey() 785 BControlLook::B_LEFT_BORDER | BControlLook::B_TOP_BORDER in _DrawKey() 786 | BControlLook::B_BOTTOM_BORDER); in _DrawKey() 791 BControlLook::B_TOP_BORDER | BControlLook::B_RIGHT_BORDER); in _DrawKey() 794 BControlLook::B_TOP_BORDER | BControlLook::B_RIGHT_BORDER); in _DrawKey() 799 BControlLook::B_LEFT_BORDER | BControlLook::B_RIGHT_BORDER in _DrawKey() 800 | BControlLook::B_BOTTOM_BORDER); in _DrawKey() [all …]
|
/haiku/src/apps/mediaplayer/interface/ |
H A D | SymbolButton.h | 21 = BControlLook::B_ALL_BORDERS);
|
H A D | TransportControlGroup.cpp | 98 uint32 topBottomBorder = BControlLook::B_TOP_BORDER in TransportControlGroup() 99 | BControlLook::B_BOTTOM_BORDER; in TransportControlGroup() 106 BControlLook::B_LEFT_BORDER | topBottomBorder); in TransportControlGroup() 111 BControlLook::B_RIGHT_BORDER | topBottomBorder); in TransportControlGroup() 119 : BControlLook::B_LEFT_BORDER | topBottomBorder); in TransportControlGroup() 124 : BControlLook::B_RIGHT_BORDER | topBottomBorder); in TransportControlGroup() 132 : topBottomBorder | BControlLook::B_LEFT_BORDER); in TransportControlGroup() 138 : topBottomBorder | BControlLook::B_RIGHT_BORDER); in TransportControlGroup()
|
H A D | PlayPauseButton.h | 19 = BControlLook::B_ALL_BORDERS);
|
/haiku/headers/os/interface/ |
H A D | ControlLook.h | 28 class BControlLook { 30 BControlLook(); 31 virtual ~BControlLook(); 451 extern BControlLook* be_control_look; 453 extern "C" _EXPORT BControlLook *instantiate_control_look(image_id id); 458 using BPrivate::BControlLook;
|
/haiku/src/apps/haikudepot/ui/ |
H A D | SharedIcons.cpp | 178 BSize iconSize = BControlLook::ComposeIconSize(size); in _CreateIconForResourceChecked() 216 BSize iconSize = BControlLook::ComposeIconSize(size); in _CreateIconForMimeTypeChecked()
|