Searched refs:backgroundBounds (Results 1 – 3 of 3) sorted by relevance
541 CGRect backgroundBounds;542 HIThemeGetButtonBackgroundBounds(&bounds, &drawInfo, &backgroundBounds);543 if (bounds.origin.x != backgroundBounds.origin.x)544 bounds.origin.x += bounds.origin.x - backgroundBounds.origin.x;545 if (bounds.origin.y != backgroundBounds.origin.y)546 bounds.origin.y += bounds.origin.y - backgroundBounds.origin.y;
1389 CGRect contentBounds, backgroundBounds; in ButtonElementSize() local1415 &scratchBounds, &info, &backgroundBounds); in ButtonElementSize()1416 paddingPtr->left = contentBounds.origin.x - backgroundBounds.origin.x; in ButtonElementSize()1418 CGRectGetMaxX(backgroundBounds) - CGRectGetMaxX(contentBounds); in ButtonElementSize()1419 verticalPad = backgroundBounds.size.height - contentBounds.size.height; in ButtonElementSize()
1432 CGRect contentBounds, backgroundBounds; in ButtonElementSize() local1458 &scratchBounds, &info, &backgroundBounds); in ButtonElementSize()1459 paddingPtr->left = contentBounds.origin.x - backgroundBounds.origin.x; in ButtonElementSize()1461 CGRectGetMaxX(backgroundBounds) - CGRectGetMaxX(contentBounds); in ButtonElementSize()1462 verticalPad = backgroundBounds.size.height - contentBounds.size.height; in ButtonElementSize()