Home
last modified time | relevance | path

Searched refs:buttonBounds (Results 1 – 22 of 22) sorted by relevance

/dports/audio/zynaddsubfx/zynaddsubfx-3.0.6-rc5/DPF/tests/
H A DFileBrowserDialog.cpp27 Rectangle<uint> buttonBounds; member in NanoFilePicker
62 … rect(buttonBounds.getX(), buttonBounds.getY(), buttonBounds.getWidth(), buttonBounds.getHeight()); in onNanoDisplay()
74 text(buttonBounds.getX() + buttonBounds.getWidth()/2, in onNanoDisplay()
75 buttonBounds.getY() + buttonBounds.getHeight()/2, in onNanoDisplay()
82 const bool newButtonHover = buttonBounds.contains(ev.pos); in onMotion()
99 if (! buttonBounds.contains(ev.pos)) in onMouse()
142 buttonBounds = Rectangle<uint>(width - 120, height/2 - 20, 100, 40); in onResize()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.ComponentModel/AuthoringOM/Design/MessageFilters/
H A DDynamicActionMessageFilter.cs131 Rectangle buttonBounds = GetButtonBounds(i, j); in OnMouseDown()
142 Rectangle buttonBounds = GetButtonBounds(i, j); in OnMouseDown()
143 if (buttonBounds.Contains(clientPoint)) in OnMouseDown()
186 Rectangle buttonBounds = GetButtonBounds(i, j); in OnMouseMove()
187 bool buttonContainsPoint = buttonBounds.Contains(clientPoint); in OnMouseMove()
262 Rectangle buttonBounds = GetButtonBounds(i, j); in OnMouseUp()
332 buttonBounds.Offset(bounds.Location); in GetButtonBounds()
333 return buttonBounds; in GetButtonBounds()
539 Rectangle buttonBounds = GetButtonBounds(i); in Draw()
546 buttonBounds.Inflate(-2, -2); in Draw()
[all …]
H A DDynamicActionMessageFilter.cs.back131 Rectangle buttonBounds = GetButtonBounds(i, j);
142 Rectangle buttonBounds = GetButtonBounds(i, j);
143 if (buttonBounds.Contains(clientPoint))
186 Rectangle buttonBounds = GetButtonBounds(i, j);
187 bool buttonContainsPoint = buttonBounds.Contains(clientPoint);
262 Rectangle buttonBounds = GetButtonBounds(i, j);
332 buttonBounds.Offset(bounds.Location);
333 return buttonBounds;
539 Rectangle buttonBounds = GetButtonBounds(i);
546 buttonBounds.Inflate(-2, -2);
[all …]
/dports/net-p2p/vuze/vuze-5.7.4.0_2/com/aelitis/azureus/ui/swt/columns/torrent/
H A DColumnTorrentFileProgress.java167 Rectangle buttonBounds = new Rectangle(cellArea.x + cellArea.width in fillInfoProgressETA() local
170 row.setData("buttonBounds", buttonBounds); in fillInfoProgressETA()
173 Rectangle hilowBounds = new Rectangle(buttonBounds.x - HILOW_TO_BUTTON_GAP in fillInfoProgressETA()
213 gc.drawImage(imgArrowButton, buttonBounds.x, buttonBounds.y); in fillInfoProgressETA()
222 buttonBounds.x -= cellArea.x; in fillInfoProgressETA()
223 buttonBounds.y -= cellArea.y; in fillInfoProgressETA()
244 Rectangle buttonBounds = (Rectangle) event.row.getData("buttonBounds"); in fileInfoMouseTrigger() local
246 if (buttonBounds != null && buttonBounds.contains(event.x, event.y)) { in fileInfoMouseTrigger()
/dports/devel/juce/JUCE-f37e9a1/extras/Projucer/Source/Application/Windows/
H A Djucer_GlobalPathsWindowComponent.h110 auto buttonBounds = bottomBounds.removeFromBottom (50); in resized() local
112 rescanJUCEPathButton.setBounds (buttonBounds.removeFromLeft (150).reduced (5, 10)); in resized()
113 rescanUserPathButton.setBounds (buttonBounds.removeFromLeft (150).reduced (5, 10)); in resized()
115 resetToDefaultsButton.setBounds (buttonBounds.removeFromRight (150).reduced (5, 10)); in resized()
/dports/devel/juce/JUCE-f37e9a1/extras/Projucer/Source/Project/UI/
H A Djucer_ProjectMessagesComponent.h220 auto buttonBounds = bounds.removeFromBottom (buttonHeight); in resized() local
222 auto buttonWidth = roundToInt ((float) buttonBounds.getWidth() / 3.5f); in resized()
224 buttonBounds.reduce ((buttonBounds.getWidth() - requiredWidth) / 2, 0); in resized()
228 b->setBounds (buttonBounds.removeFromLeft (buttonWidth)); in resized()
229 buttonBounds.removeFromLeft (buttonSpacing); in resized()
H A Djucer_HeaderComponent.cpp79 auto buttonBounds = headerBounds.removeFromRight (buttonSize); in resized() local
81 projectSettingsButton.setBounds (buttonBounds.removeFromBottom (buttonSize).reduced (2)); in resized()
/dports/devel/juce/JUCE-f37e9a1/extras/Projucer/Source/Application/
H A Djucer_AutoUpdater.cpp174 auto buttonBounds = b.removeFromBottom (60); in resized() local
175 buttonBounds.removeFromBottom (25); in resized()
176 …chooseButton.setBounds (buttonBounds.removeFromLeft (buttonBounds.getWidth() / 2).reduced (20, 0)); in resized()
177 cancelButton.setBounds (buttonBounds.reduced (20, 0)); in resized()
/dports/devel/juce/JUCE-f37e9a1/examples/DemoRunner/Builds/Android/app/src/main/assets/
H A DDSPDemos_Common.h569 auto buttonBounds = bounds.removeFromLeft (jmin (250, bounds.getWidth() / 4)); in resized() local
570 auto loopBounds = buttonBounds.removeFromBottom (30); in resized()
572 loadButton.setBounds (buttonBounds.removeFromTop (buttonBounds.getHeight() / 2)); in resized()
573 playButton.setBounds (buttonBounds); in resized()
/dports/devel/juce/JUCE-f37e9a1/examples/Assets/
H A DDSPDemos_Common.h569 auto buttonBounds = bounds.removeFromLeft (jmin (250, bounds.getWidth() / 4)); in resized() local
570 auto loopBounds = buttonBounds.removeFromBottom (30); in resized()
572 loadButton.setBounds (buttonBounds.removeFromTop (buttonBounds.getHeight() / 2)); in resized()
573 playButton.setBounds (buttonBounds); in resized()
/dports/devel/raylib/raylib-3.7.0/examples/shapes/
H A Draygui.h2574 Rectangle buttonBounds = { 0 }; in GuiMessageBox() local
2575 buttonBounds.x = bounds.x + MESSAGEBOX_BUTTON_PADDING; in GuiMessageBox()
2577 buttonBounds.width = (bounds.width - MESSAGEBOX_BUTTON_PADDING*(buttonsCount + 1))/buttonsCount; in GuiMessageBox()
2578 buttonBounds.height = MESSAGEBOX_BUTTON_HEIGHT; in GuiMessageBox()
2602 if (GuiButton(buttonBounds, buttonsText[i])) clicked = i + 1; in GuiMessageBox()
2603 buttonBounds.x += (buttonBounds.width + MESSAGEBOX_BUTTON_PADDING); in GuiMessageBox()
2629 Rectangle buttonBounds = { 0 }; in GuiTextInputBox() local
2630 buttonBounds.x = bounds.x + TEXTINPUTBOX_BUTTON_PADDING; in GuiTextInputBox()
2633 buttonBounds.height = TEXTINPUTBOX_BUTTON_HEIGHT; in GuiTextInputBox()
2676 if (GuiButton(buttonBounds, buttonsText[i])) btnIndex = i + 1; in GuiTextInputBox()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.ComponentModel/AuthoringOM/Design/
H A DDesignerWidgets.cs157 Rectangle buttonBounds = GetButtonBounds(scrollButton); in DrawButton()
160buttonBounds.Inflate(-base.itemStrip.ItemSize.Width / 6, -base.itemStrip.ItemSize.Height / 4); in DrawButton()
166 buttonBounds.Offset(1, 1); in DrawButton()
169 buttonBounds.Inflate(inflateSize.Width, inflateSize.Height); in DrawButton()
171 graphics.FillRectangle(SelectionBrush, buttonBounds); in DrawButton()
172 graphics.DrawRectangle(Pens.Black, buttonBounds); in DrawButton()
174 buttonBounds.Inflate(-inflateSize.Width, -inflateSize.Height); in DrawButton()
511 Rectangle buttonBounds = GetButtonBounds(scrollButton); in HitTest()
512 if (buttonBounds.Contains(mousePoint)) in HitTest()
519 Rectangle buttonBounds = GetButtonBounds(scrollButton); in HitTest()
[all …]
/dports/graphics/aseprite/aseprite-1.2.9/src/ui/
H A Dtheme.cpp162 gfx::Rect buttonBounds(widget->sizeHint()); in setDecorativeWidgetBounds() local
168 buttonBounds.offset( in setDecorativeWidgetBounds()
169 windowBounds.x2() - margin.right() - buttonBounds.w, in setDecorativeWidgetBounds()
172 widget->setBounds(buttonBounds); in setDecorativeWidgetBounds()
/dports/games/keeperrl/keeperrl-alpha23/
H A Dgui_elem.h79 …SGuiElem buttonRect(function<void(Rectangle buttonBounds)>, SDL::SDL_Keysym, bool capture = false);
80 SGuiElem buttonRect(function<void(Rectangle buttonBounds)>);
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/lure/
H A Dsurface.cpp1112 static const RestartRecord buttonBounds[] = { variable
1139 const RestartRecord *btnRecord = &buttonBounds[0]; in show()
/dports/games/scummvm/scummvm-2.5.1/engines/lure/
H A Dsurface.cpp1124 static const RestartRecord buttonBounds[] = { variable
1151 const RestartRecord *btnRecord = &buttonBounds[0]; in show()
/dports/lang/spidermonkey78/firefox-78.9.0/browser/components/customizableui/
H A DCustomizeMode.jsm2705 let buttonBounds = this._getBoundsWithoutFlushing(button);
2708 buttonBounds.left + buttonBounds.width / 2 > windowBounds.width / 2;
/dports/www/firefox/firefox-99.0/browser/components/customizableui/
H A DCustomizeMode.jsm2650 let buttonBounds = this._getBoundsWithoutFlushing(button);
2653 buttonBounds.left + buttonBounds.width / 2 > windowBounds.width / 2;
/dports/www/firefox-esr/firefox-91.8.0/browser/components/customizableui/
H A DCustomizeMode.jsm2760 let buttonBounds = this._getBoundsWithoutFlushing(button);
2763 buttonBounds.left + buttonBounds.width / 2 > windowBounds.width / 2;
/dports/mail/thunderbird/thunderbird-91.8.0/comm/mail/components/customizableui/
H A DCustomizeMode.jsm2648 let buttonBounds = this._getBoundsWithoutFlushing(button);
2651 buttonBounds.left + buttonBounds.width / 2 > windowBounds.width / 2;
/dports/mail/thunderbird/thunderbird-91.8.0/browser/components/customizableui/
H A DCustomizeMode.jsm2760 let buttonBounds = this._getBoundsWithoutFlushing(button);
2763 buttonBounds.left + buttonBounds.width / 2 > windowBounds.width / 2;
/dports/lang/spidermonkey60/firefox-60.9.0/browser/components/customizableui/
H A DCustomizeMode.jsm2424 let buttonBounds = this._dwu.getBoundsWithoutFlushing(button);
2426 panelOnTheLeft = (buttonBounds.left + buttonBounds.width / 2) > windowBounds.width / 2;