Home
last modified time | relevance | path

Searched refs:displayBounds (Results 1 – 25 of 80) sorted by relevance

1234

/dports/graphics/libprojectm/projectm-3.1.12/src/projectM-sdl/
H A DpmSDL.cpp211 std::vector<SDL_Rect> displayBounds; in stretchMonitors() local
214 displayBounds.push_back(SDL_Rect()); in stretchMonitors()
215 SDL_GetDisplayBounds(i, &displayBounds.back()); in stretchMonitors()
227 if (displayBounds[i].x < mostXLeft) mostXLeft = displayBounds[i].x; in stretchMonitors()
228 …if ((displayBounds[i].x + displayBounds[i].w) > mostXRight) mostXRight = displayBounds[i].x + disp… in stretchMonitors()
232 if (displayBounds[i].y < mostYUp) mostYUp = displayBounds[i].y; in stretchMonitors()
233 …if ((displayBounds[i].y + displayBounds[i].h) > mostYDown) mostYDown = displayBounds[i].y + displa… in stretchMonitors()
251 std::vector<SDL_Rect> displayBounds; in nextMonitor() local
257 displayBounds.push_back(SDL_Rect()); in nextMonitor()
260 SDL_SetWindowPosition(win, displayBounds[nextWindow].x, displayBounds[nextWindow].y); in nextMonitor()
[all …]
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/ui/swt/shells/
H A DShellSlider.java73 Rectangle displayBounds = null; in ShellSlider()
79 displayBounds = monitor.getBounds(); in ShellSlider()
80 if (displayBounds.contains(endBounds.x, endBounds.y)) { in ShellSlider()
86 displayBounds = shell.getMonitor().getBounds(); in ShellSlider()
89 displayBounds = shell.getDisplay().getBounds(); in ShellSlider()
92 shellBounds = new Rectangle(endBounds.x, displayBounds.y in ShellSlider()
93 + displayBounds.height, endBounds.width, 0); in ShellSlider()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/tests/org.eclipse.swt.tests/ManualTests/org/eclipse/swt/tests/manual/
H A DBug528251_CTabFolder_nested_highlighting.java98 Rectangle displayBounds = display.getPrimaryMonitor().getBounds(); in center() local
101 displayBounds.x + (displayBounds.width - shellBounds.x) / 2, in center()
102 displayBounds.y + (displayBounds.height - shellBounds.y) / 2); in center()
/dports/finance/hs-hledger-ui/hledger-ui-1.19/_cabal_deps/vty-5.33/test/
H A DVerifyUsingMockTerminal.hs27 dc <- displayBounds t >>= displayContext t
35 dc <- displayBounds t >>= displayContext t
43 dc <- displayBounds t >>= displayContext t
59 dc <- displayBounds t >>= displayContext t
74 dc <- displayBounds t >>= displayContext t
89 dc <- displayBounds t >>= displayContext t
/dports/devel/hs-git-brunch/git-brunch-1.5.1.0/_cabal_deps/vty-5.33/test/
H A DVerifyUsingMockTerminal.hs27 dc <- displayBounds t >>= displayContext t
35 dc <- displayBounds t >>= displayContext t
43 dc <- displayBounds t >>= displayContext t
59 dc <- displayBounds t >>= displayContext t
74 dc <- displayBounds t >>= displayContext t
89 dc <- displayBounds t >>= displayContext t
/dports/net-im/matterhorn/matterhorn-50200.13.0/_cabal_deps/vty-5.32/test/
H A DVerifyUsingMockTerminal.hs27 dc <- displayBounds t >>= displayContext t
35 dc <- displayBounds t >>= displayContext t
43 dc <- displayBounds t >>= displayContext t
59 dc <- displayBounds t >>= displayContext t
74 dc <- displayBounds t >>= displayContext t
89 dc <- displayBounds t >>= displayContext t
/dports/misc/hs-hascard/hascard-0.3.0.1/_cabal_deps/vty-5.30/test/
H A DVerifyUsingMockTerminal.hs27 dc <- displayBounds t >>= displayContext t
35 dc <- displayBounds t >>= displayContext t
43 dc <- displayBounds t >>= displayContext t
59 dc <- displayBounds t >>= displayContext t
74 dc <- displayBounds t >>= displayContext t
89 dc <- displayBounds t >>= displayContext t
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/link/contentassist/
H A DContentAssistant2.java517 if (location.x + shellBounds.width > displayBounds.width) in shiftHorizontalLocation()
518 location.x= displayBounds.width - shellBounds.width; in shiftHorizontalLocation()
520 if (location.x < displayBounds.x) in shiftHorizontalLocation()
521 location.x= displayBounds.x; in shiftHorizontalLocation()
525 if (location.y + shellBounds.height > displayBounds.height) in shiftVerticalLocation()
526 location.y= displayBounds.height - shellBounds.height; in shiftVerticalLocation()
528 if (location.y < displayBounds.y) in shiftVerticalLocation()
529 location.y= displayBounds.y; in shiftVerticalLocation()
538 Rectangle displayBounds= shell.getDisplay().getClientArea(); in getAboveLocation() local
575 shiftHorizontalLocation(p, shellBounds, displayBounds); in getStackedLocation()
[all …]
/dports/finance/hs-hledger-ui/hledger-ui-1.19/_cabal_deps/vty-5.33/src/Graphics/Vty/
H A DOutput.hs89 bounds <- displayBounds t
97 bounds <- displayBounds t
104 bounds <- displayBounds t
/dports/devel/hs-git-brunch/git-brunch-1.5.1.0/_cabal_deps/vty-5.33/src/Graphics/Vty/
H A DOutput.hs89 bounds <- displayBounds t
97 bounds <- displayBounds t
104 bounds <- displayBounds t
/dports/net-im/matterhorn/matterhorn-50200.13.0/_cabal_deps/vty-5.32/src/Graphics/Vty/
H A DOutput.hs89 bounds <- displayBounds t
97 bounds <- displayBounds t
104 bounds <- displayBounds t
/dports/misc/hs-hascard/hascard-0.3.0.1/_cabal_deps/vty-5.30/src/Graphics/Vty/
H A DOutput.hs89 bounds <- displayBounds t
97 bounds <- displayBounds t
104 bounds <- displayBounds t
/dports/math/py-or-tools/or-tools-9.2/ortools/java/com/google/ortools/sat/
H A DIntVar.java91 return String.format("var_%d(%s)", getIndex(), displayBounds()); in getShortString()
94 return String.format("%s(%s)", getName(), displayBounds()); in getShortString()
99 public String displayBounds() { in displayBounds() method in IntVar
/dports/games/gcompris-qt/gcompris-qt-2.0/src/activities/magic-hat-minus/
H A DStar.qml18 property bool displayBounds: true
48 opacity: displayBounds ? 1.0 : 0.0
77 opacity: mainItem.displayBounds ? 1 : 0
H A DStarsBar.qml63 displayBounds: true
74 displayBounds: false
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/internal/databinding/swt/
H A DScreenshots.java90 Rectangle displayBounds= display.getBounds(); in takeScreenshot() local
91 out.println("Display @ " + displayBounds); in takeScreenshot()
92 final Image image = new Image(display, displayBounds); in takeScreenshot()
/dports/security/keybase/client-v5.7.1/shared/desktop/app/
H A Dmain-window.desktop.tsx152 const displayBounds = Electron.screen.getDisplayMatching({
160 windowState.x > displayBounds.x + displayBounds.width ||
161 windowState.x + windowState.width < displayBounds.x ||
162 windowState.y > displayBounds.y + displayBounds.height ||
163 windowState.y + windowState.height < displayBounds.y
/dports/games/powder-toy/The-Powder-Toy-95.0/src/
H A DPowderToySDL.cpp97 SDL_Rect displayBounds; in LoadWindowPosition() local
101 SDL_GetDisplayBounds(i, &displayBounds); in LoadWindowPosition()
102 if (savedWindowX + borderTop > displayBounds.x && savedWindowY + borderLeft > displayBounds.y && in LoadWindowPosition()
103 savedWindowX + borderTop < displayBounds.x + displayBounds.w && in LoadWindowPosition()
104 savedWindowY + borderLeft < displayBounds.y + displayBounds.h) in LoadWindowPosition()
/dports/finance/hs-hledger-ui/hledger-ui-1.19/_cabal_deps/vty-5.33/src/Graphics/
H A DVty.hs183 b <- displayBounds out
204 bounds <- displayBounds out
210 let mkResize = uncurry EvResize <$> displayBounds out
/dports/devel/hs-git-brunch/git-brunch-1.5.1.0/_cabal_deps/vty-5.33/src/Graphics/
H A DVty.hs183 b <- displayBounds out
204 bounds <- displayBounds out
210 let mkResize = uncurry EvResize <$> displayBounds out
/dports/net-im/matterhorn/matterhorn-50200.13.0/_cabal_deps/vty-5.32/src/Graphics/
H A DVty.hs183 b <- displayBounds out
204 bounds <- displayBounds out
210 let mkResize = uncurry EvResize <$> displayBounds out
/dports/misc/hs-hascard/hascard-0.3.0.1/_cabal_deps/vty-5.30/src/Graphics/
H A DVty.hs183 b <- displayBounds out
204 bounds <- displayBounds out
210 let mkResize = uncurry EvResize <$> displayBounds out
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.ui.workbench.texteditor.tests/src/org/eclipse/ui/workbench/texteditor/tests/
H A DScreenshotTest.java115 Rectangle displayBounds= display.getBounds(); in takeScreenshot() local
116 out.println("Display @ " + displayBounds); in takeScreenshot()
117 final Image image = new Image(display, displayBounds); in takeScreenshot()
/dports/math/vtk6/VTK-6.2.0/Rendering/Annotation/
H A DvtkAxisActor.cxx871 double displayBounds[6] = { 0., 0., 0., 0., 0., 0.}; in SetLabelPositions() local
872 this->TransformBounds(viewport, displayBounds); in SetLabelPositions()
873 double xadjust = (displayBounds[0] > displayBounds[1] ? -1 : 1); in SetLabelPositions()
874 double yadjust = (displayBounds[2] > displayBounds[3] ? -1 : 1); in SetLabelPositions()
975 double displayBounds[6] = { 0., 0., 0., 0., 0., 0.}; in SetLabelPositions2D() local
976 this->TransformBounds(viewport, displayBounds); in SetLabelPositions2D()
977 double xadjust = (displayBounds[0] > displayBounds[1] ? -1 : 1); in SetLabelPositions2D()
978 double yadjust = (displayBounds[2] > displayBounds[3] ? -1 : 1); in SetLabelPositions2D()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/hoverhelp/
H A DHoverHelp.java353 Rectangle displayBounds = shell.getDisplay().getBounds(); in setHoverLocation() local
355 shellBounds.x = Math.max(Math.min(position.x, displayBounds.width - shellBounds.width), 0); in setHoverLocation()
356 … shellBounds.y = Math.max(Math.min(position.y + 16, displayBounds.height - shellBounds.height), 0); in setHoverLocation()

1234