/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.DataVisualization/Common/General/ |
H A D | AxisScrollBar.cs | 717 buttonRect, in PaintScrollBar3DButton() 746 new PointF(buttonRect.X, buttonRect.Bottom), in PaintScrollBar3DButton() 747 new PointF(buttonRect.X, buttonRect.Top)); in PaintScrollBar3DButton() 750 new PointF(buttonRect.Left, buttonRect.Y), in PaintScrollBar3DButton() 751 new PointF(buttonRect.Right, buttonRect.Y)); in PaintScrollBar3DButton() 756 new PointF(buttonRect.Right, buttonRect.Bottom), in PaintScrollBar3DButton() 757 new PointF(buttonRect.Right, buttonRect.Top)); in PaintScrollBar3DButton() 760 new PointF(buttonRect.Left, buttonRect.Bottom), in PaintScrollBar3DButton() 761 new PointF(buttonRect.Right, buttonRect.Bottom)); in PaintScrollBar3DButton() 1405 buttonRect.Width = buttonRect.X - x; in GetScrollBarButtonRect() [all …]
|
/dports/audio/audacity/audacity-Audacity-3.1.3/src/tracks/ui/ |
H A D | CommonTrackControls.cpp | 278 wxRect buttonRect; in DoContextMenu() local 295 { buttonRect.x + 1, buttonRect.y + buttonRect.height + 1 } ); in DoContextMenu() 308 wxRect buttonRect; 311 (*dc, rect.x, buttonRect.y + buttonRect.height, 312 rect.width - 1, buttonRect.y + buttonRect.height); 316 (*dc, buttonRect.x, buttonRect.y, 317 buttonRect.x, buttonRect.y + buttonRect.height - 1); 333 (*dc, buttonRect.x + buttonRect.width, buttonRect.y, 334 buttonRect.x + buttonRect.width, buttonRect.y + buttonRect.height - 1); 338 (*dc, rect.x, buttonRect.y + buttonRect.height, [all …]
|
H A D | TrackButtonHandles.cpp | 72 wxRect buttonRect; in HitTest() local 73 TrackInfo::GetMinimizeRect(rect, buttonRect); in HitTest() 75 if (buttonRect.Contains(state.m_x, state.m_y)) { in HitTest() 127 wxRect buttonRect; in HitTest() local 128 TrackInfo::GetSelectButtonRect(rect, buttonRect); in HitTest() 130 if (buttonRect.Contains(state.m_x, state.m_y)) { in HitTest() 193 wxRect buttonRect; in HitTest() local 194 TrackInfo::GetCloseBoxRect(rect, buttonRect); in HitTest() 196 if (buttonRect.Contains(state.m_x, state.m_y)) { in HitTest() 254 wxRect buttonRect; in HitTest() local [all …]
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/tools/common/PropTree/ |
H A D | PropTreeItemButton.cpp | 58 buttonRect.left = m_rc.right - ( textSize.cx + 12 + 4); in DrawItem() 59 buttonRect.top = m_rc.top + ((m_rc.bottom - m_rc.top)/2)-BUTTON_SIZE/2; in DrawItem() 60 buttonRect.right = buttonRect.left + textSize.cx + 12; in DrawItem() 61 buttonRect.bottom = buttonRect.top + BUTTON_SIZE; in DrawItem() 70 pDC->DrawFrameControl(&buttonRect, DFC_BUTTON, buttonStyle ); in DrawItem() 72 textRect = buttonRect; in DrawItem() 78 hitTestRect = buttonRect; in DrawItem()
|
H A D | PropTreeItemEditButton.cpp | 72 buttonRect.left = m_rc.right - ( textSize.cx + 12 + 4); in BEGIN_MESSAGE_MAP() 73 buttonRect.top = m_rc.top + ((m_rc.bottom - m_rc.top)/2)-BUTTON_SIZE/2; in BEGIN_MESSAGE_MAP() 74 buttonRect.right = buttonRect.left + textSize.cx + 12; in BEGIN_MESSAGE_MAP() 75 buttonRect.bottom = buttonRect.top + BUTTON_SIZE; in BEGIN_MESSAGE_MAP() 84 pDC->DrawFrameControl(&buttonRect, DFC_BUTTON, buttonStyle ); in BEGIN_MESSAGE_MAP() 86 textRect = buttonRect; in BEGIN_MESSAGE_MAP() 92 hitTestRect = buttonRect; in BEGIN_MESSAGE_MAP() 107 r.right = buttonRect.left - 5; in DrawAttribute() 228 …SetWindowPos(NULL, m_rc.left, m_rc.top, m_rc.Width() - buttonRect.Width() - 5, m_rc.Height(), SWP_… in OnActivate()
|
/dports/audio/audacity/audacity-Audacity-3.1.3/src/tracks/playabletrack/ui/ |
H A D | PlayableTrackButtonHandles.cpp | 63 wxRect buttonRect; in HitTest() local 65 PlayableTrackControls::GetMuteSoloRect(rect, buttonRect, false, in HitTest() 67 if ( TrackInfo::HideTopItem( rect, buttonRect ) ) in HitTest() 70 if ( pTrack && buttonRect.Contains(state.m_x, state.m_y) ) { in HitTest() 71 auto result = std::make_shared<MuteButtonHandle>(pTrack, buttonRect); in HitTest() 119 wxRect buttonRect; in HitTest() local 121 PlayableTrackControls::GetMuteSoloRect(rect, buttonRect, true, in HitTest() 124 if ( TrackInfo::HideTopItem( rect, buttonRect ) ) in HitTest() 127 if ( pTrack && buttonRect.Contains(state.m_x, state.m_y) ) { in HitTest() 128 auto result = std::make_shared<SoloButtonHandle>( pTrack, buttonRect ); in HitTest()
|
/dports/games/openmw/openmw-openmw-0.47.0/apps/opencs/view/widget/ |
H A D | coloreditor.cpp | 37 QRect buttonRect = rect(); in paintEvent() local 38 QRect coloredRect(buttonRect.x() + qRound(buttonRect.width() / 4.0), in paintEvent() 39 buttonRect.y() + qRound(buttonRect.height() / 4.0), in paintEvent() 40 buttonRect.width() / 2, in paintEvent() 41 buttonRect.height() / 2); in paintEvent()
|
H A D | colorpickerpopup.cpp | 53 QRect buttonRect = option.rect; in mousePressEvent() local 54 buttonRect.moveTo(button->mapToGlobal(buttonRect.topLeft())); in mousePressEvent() 58 if (buttonRect.contains(event->globalPos()) || buttonRect.contains(event->pos())) in mousePressEvent()
|
/dports/multimedia/minitube/minitube-3.9.2/src/ |
H A D | downloadlistview.cpp | 75 QRect buttonRect = delegate->downloadButtonRect(itemRect); in isHoveringPlayIcon() local 77 const int x = event->x() - itemRect.x() - buttonRect.x(); in isHoveringPlayIcon() 78 const int y = event->y() - itemRect.y() - buttonRect.y(); in isHoveringPlayIcon() 79 return x > 0 && x < buttonRect.width() && y > 0 && y < buttonRect.height(); in isHoveringPlayIcon()
|
/dports/graphics/kcolorpicker/kColorPicker-0.1.6/src/buttons/ |
H A D | AbstractPopupMenuButton.cpp | 39 …auto buttonRect = QRectF(rect.x() + (2 / scaleRatio), rect.y() + (2 / scaleRatio), rect.width() - … in paintEvent() local 47 painter.drawRect(buttonRect); in paintEvent() 52 painter.drawPixmap(buttonRect.topLeft() + QPointF(2, 2), icon().pixmap(iconSize())); in paintEvent() 55 painter.drawRect(buttonRect); in paintEvent()
|
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/src/widgets/menuButtons/ |
H A D | GridMenuButton.cpp | 45 auto buttonRect = event->rect().adjusted(0, 0, -1, -1); in paintEvent() local 53 painter.drawRect(buttonRect); in paintEvent() 58 painter.drawPixmap(buttonRect.topLeft() + QPointF(2, 2), icon().pixmap(iconSize())); in paintEvent() 61 painter.drawRect(buttonRect); in paintEvent()
|
/dports/multimedia/shotcut/shotcut-21.03.21/src/widgets/ |
H A D | playlisticonview.cpp | 196 QRect buttonRect = itemRect.adjusted(2, 2, -2, -2); in paintEvent() local 199 painter.fillRect(buttonRect, pal.highlight()); in paintEvent() 201 painter.fillRect(buttonRect, pal.button()); in paintEvent() 204 painter.drawLine(buttonRect.topLeft(), buttonRect.topRight()); in paintEvent() 205 painter.drawLine(buttonRect.topLeft(), buttonRect.bottomLeft()); in paintEvent() 208 painter.drawLine(buttonRect.topRight(), buttonRect.bottomRight()); in paintEvent() 209 painter.drawLine(buttonRect.bottomLeft(), buttonRect.bottomRight()); in paintEvent()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/forms/ |
H A D | nsButtonFrameRenderer.cpp | 108 nsRect buttonRect; in Paint() local 109 mBFR->GetButtonRect(frameRect, buttonRect); in Paint() 112 buttonRect, mVisibleRect); in Paint() 266 nsRect buttonRect; in DisplayButton() local 267 GetButtonRect(mFrame->GetRectRelativeToSelf(), buttonRect); in DisplayButton() 270 aBuilder, mFrame, buttonRect, aBackground); in DisplayButton() 340 nsRect buttonRect; in PaintBorder() local 341 GetButtonRect(aRect, buttonRect); in PaintBorder() 350 mFrame, buttonRect); in PaintBorder() 354 aDirtyRect, buttonRect, context, borderFlags); in PaintBorder()
|
/dports/devel/sdl20/SDL2-2.0.18/Xcode-iOS/Demos/src/ |
H A D | mixer.c | 58 SDL_Rect buttonRect; /* keeps track of where to position drum */ in initializeButtons() local 65 buttonRect.x = spacing; in initializeButtons() 66 buttonRect.y = spacing; in initializeButtons() 67 buttonRect.w = renderW - 2 * spacing; in initializeButtons() 68 buttonRect.h = (renderH - (NUM_DRUMS + 1) * spacing) / NUM_DRUMS; in initializeButtons() 73 buttons[i].rect = buttonRect; in initializeButtons() 78 buttonRect.y += spacing + buttonRect.h; /* setup y coordinate for next drum */ in initializeButtons()
|
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/Xcode-iOS/Demos/src/ |
H A D | mixer.c | 58 SDL_Rect buttonRect; /* keeps track of where to position drum */ in initializeButtons() local 65 buttonRect.x = spacing; in initializeButtons() 66 buttonRect.y = spacing; in initializeButtons() 67 buttonRect.w = renderW - 2 * spacing; in initializeButtons() 68 buttonRect.h = (renderH - (NUM_DRUMS + 1) * spacing) / NUM_DRUMS; in initializeButtons() 73 buttons[i].rect = buttonRect; in initializeButtons() 78 buttonRect.y += spacing + buttonRect.h; /* setup y coordinate for next drum */ in initializeButtons()
|
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/Xcode-iOS/Demos/src/ |
H A D | mixer.c | 58 SDL_Rect buttonRect; /* keeps track of where to position drum */ in initializeButtons() local 65 buttonRect.x = spacing; in initializeButtons() 66 buttonRect.y = spacing; in initializeButtons() 67 buttonRect.w = renderW - 2 * spacing; in initializeButtons() 68 buttonRect.h = (renderH - (NUM_DRUMS + 1) * spacing) / NUM_DRUMS; in initializeButtons() 73 buttons[i].rect = buttonRect; in initializeButtons() 78 buttonRect.y += spacing + buttonRect.h; /* setup y coordinate for next drum */ in initializeButtons()
|
/dports/x11/controllermap/SDL2-2.0.18/Xcode-iOS/Demos/src/ |
H A D | mixer.c | 58 SDL_Rect buttonRect; /* keeps track of where to position drum */ in initializeButtons() local 65 buttonRect.x = spacing; in initializeButtons() 66 buttonRect.y = spacing; in initializeButtons() 67 buttonRect.w = renderW - 2 * spacing; in initializeButtons() 68 buttonRect.h = (renderH - (NUM_DRUMS + 1) * spacing) / NUM_DRUMS; in initializeButtons() 73 buttons[i].rect = buttonRect; in initializeButtons() 78 buttonRect.y += spacing + buttonRect.h; /* setup y coordinate for next drum */ in initializeButtons()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/rendering/ |
H A D | RenderInputSpeech.cpp | 76 IntRect buttonRect(object->offsetFromAncestorContainer(inputRenderBox).width(), in paintInputFieldSpeechButton() local 83 buttonRect.move(offsetFromInputRenderer); in paintInputFieldSpeechButton() 85 buttonRect.move(rect.x(), rect.y()); in paintInputFieldSpeechButton() 97 paintInfo.context->drawImage(image, object->style()->colorSpace(), buttonRect); in paintInputFieldSpeechButton()
|
/dports/cad/ldview/ldview-4.4/ |
H A D | OptionUI.cpp | 84 RECT buttonRect = { 0, 0, 40, 14 }; in fitButtonText() local 91 MapDialogRect(m_hParentWnd, &buttonRect); in fitButtonText() 104 retValue.cx = buttonRect.right - englishSize.cx + localSize.cx;; in fitButtonText() 106 retValue.cy = buttonRect.bottom; in fitButtonText()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/ |
H A D | Bug306067_DesktopEffectShellEvent.java | 110 Rectangle buttonRect = button.getBounds(); in showDropDown() local 111 … Point p = button.getParent().toDisplay(new Point(buttonRect.x, buttonRect.y + buttonRect.height)); in showDropDown()
|
/dports/net/boinc-client/boinc-client_release-7.8-7.8.6/clientgui/ |
H A D | BOINCTaskCtrl.cpp | 293 wxRect buttonRect( in OnChildFocus() local 298 if (viewRect.Contains(buttonRect)){ in OnChildFocus() 306 if (buttonRect.GetTop() < 0) { in OnChildFocus() 307 diff = buttonRect.GetTop(); in OnChildFocus() 308 } else if (buttonRect.GetBottom() > viewRect.GetHeight()) { in OnChildFocus() 309 diff = buttonRect.GetBottom() - viewRect.GetHeight() + 1; in OnChildFocus()
|
/dports/deskutils/kmail/kmail-21.12.3/src/configuredialog/ |
H A D | configagentdelegate.cpp | 215 QRect buttonRect = option.rect; in buttonOption() local 218 buttonRect.setTop(0); in buttonOption() 219 buttonRect.setHeight(height); in buttonOption() 220 buttonRect.setLeft(option.rect.right() - width); in buttonOption() 221 buttonRect.setWidth(width); in buttonOption() 223 buttonOpt.rect = buttonRect; in buttonOption()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/styles/ |
H A D | qplastiquestyle.cpp | 4069 … QLine(buttonRect.right(), buttonRect.top() + 2, buttonRect.right(), buttonRect.bottom() - 2) }; in drawComplexControl() 4086 … QLine(buttonRect.left(), buttonRect.top() + 2, buttonRect.left(), buttonRect.bottom() - 2) }; in drawComplexControl() 4403 QLine(buttonRect.left(), buttonRect.top(), in drawComplexControl() 4404 buttonRect.right() - 2, buttonRect.top()), in drawComplexControl() 4405 QLine(buttonRect.right(), buttonRect.top() + 2, in drawComplexControl() 4407 QLine(buttonRect.left(), buttonRect.bottom(), in drawComplexControl() 4430 QLine(buttonRect.right(), buttonRect.top(), in drawComplexControl() 4431 buttonRect.left() + 2, buttonRect.top()), in drawComplexControl() 4432 QLine(buttonRect.left(), buttonRect.top() + 2, in drawComplexControl() 4433 buttonRect.left(), buttonRect.bottom() - 2), in drawComplexControl() [all …]
|
/dports/x11-themes/qt5-style-plugins/qtstyleplugins-5.0.0-23-g335dbe/src/plugins/styles/plastique/ |
H A D | qplastiquestyle.cpp | 3946 … QLine(buttonRect.right(), buttonRect.top() + 2, buttonRect.right(), buttonRect.bottom() - 2) }; in drawComplexControl() 3963 … QLine(buttonRect.left(), buttonRect.top() + 2, buttonRect.left(), buttonRect.bottom() - 2) }; in drawComplexControl() 4280 QLine(buttonRect.left(), buttonRect.top(), in drawComplexControl() 4281 buttonRect.right() - 2, buttonRect.top()), in drawComplexControl() 4282 QLine(buttonRect.right(), buttonRect.top() + 2, in drawComplexControl() 4284 QLine(buttonRect.left(), buttonRect.bottom(), in drawComplexControl() 4307 QLine(buttonRect.right(), buttonRect.top(), in drawComplexControl() 4308 buttonRect.left() + 2, buttonRect.top()), in drawComplexControl() 4309 QLine(buttonRect.left(), buttonRect.top() + 2, in drawComplexControl() 4310 buttonRect.left(), buttonRect.bottom() - 2), in drawComplexControl() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/unx/gtk3/ |
H A D | salnativewidgets-gtk.cxx | 221 tools::Rectangle buttonRect; in NWGetSpinButtonRect() local 224 buttonRect.SetBottom( buttonRect.Top() + aAreaRect.GetHeight() ); in NWGetSpinButtonRect() 286 tools::Rectangle buttonRect; in NWGetScrollButtonRect() local 352 buttonRect.SetSize(aSize); in NWGetScrollButtonRect() 354 return buttonRect; in NWGetScrollButtonRect() 795 buttonRect.Left(), buttonRect.Top(), in PaintOneSpinButton() 796 buttonRect.GetWidth(), buttonRect.GetHeight() ); in PaintOneSpinButton() 815 arrowRect.setX( buttonRect.Left() + (buttonRect.GetWidth() - arrowRect.GetWidth()) / 2 ); in PaintOneSpinButton() 825 buttonRect.Left(), buttonRect.Top(), in PaintOneSpinButton() 826 buttonRect.GetWidth(), buttonRect.GetHeight() ); in PaintOneSpinButton() [all …]
|