Home
last modified time | relevance | path

Searched refs:clientArea (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/ui/swt/components/
H A DBubbleTextBox.java91 e.gc.fillRoundRectangle(clientArea.x, clientArea.y, in BubbleTextBox()
92 clientArea.width - 1, clientArea.height - 1, clientArea.height, in BubbleTextBox()
93 clientArea.height); in BubbleTextBox()
95 e.gc.drawRoundRectangle(clientArea.x, clientArea.y, in BubbleTextBox()
96 clientArea.width - 1, clientArea.height - 1, clientArea.height, in BubbleTextBox()
106 int iconY = clientArea.y + ((clientArea.height - iconHeight + 1) / 2); in BubbleTextBox()
129 clientArea.x + clientArea.width - (WIDTH_CLEAR + WIDTH_PADDING), in BubbleTextBox()
135 clientArea.x + clientArea.width - WIDTH_PADDING, in BubbleTextBox()
137 clientArea.x + clientArea.width - (WIDTH_PADDING + WIDTH_CLEAR), in BubbleTextBox()
141 clientArea.x + clientArea.width - WIDTH_PADDING, in BubbleTextBox()
[all …]
/dports/x11-wm/plasma5-kwin/kwin-5.23.5/autotests/integration/
H A Dstruts_test.cpp159 QCOMPARE(workspace()->clientArea(WorkArea, outputs[0], desktop), QRect(0, 0, 2560, 1024)); in testWaylandStruts()
206 QTEST(workspace()->clientArea(PlacementArea, outputs[0], desktop), "screen0Maximized"); in testWaylandStruts()
207 QTEST(workspace()->clientArea(MaximizeArea, outputs[0], desktop), "screen0Maximized"); in testWaylandStruts()
208 QTEST(workspace()->clientArea(PlacementArea, outputs[1], desktop), "screen1Maximized"); in testWaylandStruts()
209 QTEST(workspace()->clientArea(MaximizeArea, outputs[1], desktop), "screen1Maximized"); in testWaylandStruts()
210 QTEST(workspace()->clientArea(WorkArea, outputs[0], desktop), "workArea"); in testWaylandStruts()
650 QTEST(workspace()->clientArea(PlacementArea, outputs[0], desktop), "screen0Maximized"); in testX11Struts()
651 QTEST(workspace()->clientArea(MaximizeArea, outputs[0], desktop), "screen0Maximized"); in testX11Struts()
652 QTEST(workspace()->clientArea(PlacementArea, outputs[1], desktop), "screen1Maximized"); in testX11Struts()
653 QTEST(workspace()->clientArea(MaximizeArea, outputs[1], desktop), "screen1Maximized"); in testX11Struts()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.team/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/
H A DImageCanvas.java80 Rectangle clientArea= getClientArea(); in paint() local
83 if (bounds.width < clientArea.width) in paint()
84 x= (clientArea.width - bounds.width) / 2; in paint()
89 if (bounds.height < clientArea.height) in paint()
90 y= (clientArea.height - bounds.height) / 2; in paint()
104 Rectangle clientArea= getClientArea(); in updateScrollbars() local
107 if (bounds.width <= clientArea.width) { in updateScrollbars()
112 int max= bounds.width + (size.x - clientArea.width); in updateScrollbars()
119 if (bounds.height <= clientArea.height) { in updateScrollbars()
123 vertical.setPageIncrement(clientArea.height - vertical.getIncrement()); in updateScrollbars()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/
H A DSplitLayout.java91 Rectangle clientArea = composite.getClientArea(); in layout() local
92 computeSize(composite, clientArea.width, clientArea.height, false); in layout()
95 clientArea.x += marginLeft; in layout()
96 clientArea.y += marginTop; in layout()
97 clientArea.width -= marginRight + marginLeft; in layout()
98 clientArea.height -= marginBottom + marginTop; in layout()
99 Point position = new Point(clientArea.x, clientArea.y); in layout()
104 int height = clientArea.height / children.length; in layout()
105 bounds = new Rectangle(position.x, position.y, clientArea.width, height); in layout()
108 int width = clientArea.width / children.length; in layout()
[all …]
/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 DBug535323_ComboSizing.java28 Rectangle clientArea = shell.getClientArea(); in main() local
32 combo1.setBounds(clientArea.x, clientArea.y, prefSize.x, prefSize.y); in main()
35 combo2.setBounds(clientArea.x, clientArea.y, prefSize.x, prefSize.y); in main()
36 combo2.setBounds(clientArea.x, clientArea.y + prefSize.y, (prefSize.x / 2) - 1, prefSize.y); in main()
39 combo3.setBounds(clientArea.x, clientArea.y + prefSize.y * 2, (prefSize.x / 2) + 1, prefSize.y); in main()
H A DBug547529_ControlPrintBroken.java72 Rectangle clientArea = canvas.getClientArea(); in canvas()
74 e.gc.fillRectangle(0, 0, clientArea.width / 2, clientArea.height / 2); in canvas()
76 e.gc.fillRectangle(clientArea.width / 2, 0, clientArea.width, clientArea.height / 2); in canvas()
78 e.gc.fillRectangle(0, clientArea.height / 2, clientArea.width, clientArea.height); in canvas()
80 …e.gc.fillRectangle(clientArea.width / 2, clientArea.height / 2, clientArea.width, clientArea.heigh… in canvas()
H A DBug537713_ComboSizing.java28 Rectangle clientArea = shell.getClientArea(); in main() local
32 combo1.setBounds(clientArea.x, clientArea.y, prefSize.x, prefSize.y); in main()
35 combo2.setBounds(clientArea.x, clientArea.y + prefSize.y, (prefSize.x / 2) - 20, prefSize.y); in main()
38 combo3.setBounds(clientArea.x, clientArea.y + prefSize.y * 2, (prefSize.x / 2) + 1, prefSize.y); in main()
H A DBug307441_DnDOverlappingControls.java62 Rectangle clientArea = dropComp.getClientArea(); in main() local
68 label2.setBounds(clientArea.x, clientArea.y, clientArea.width, (clientArea.height*2)/3); in main()
74 …label3.setBounds(clientArea.x+10, clientArea.y+clientArea.height/3, clientArea.width-10, clientAre… in main()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.jface/src/org/eclipse/jface/window/
H A DApplicationWindow.java186 w.setBounds(clientArea.x, clientArea.y, clientArea.width, in layout()
188 clientArea.y += e.y; in layout()
189 clientArea.height -= e.y; in layout()
194 w.setBounds(clientArea.x, clientArea.y, in layout()
195 clientArea.width, e.y); in layout()
196 clientArea.y += e.y + VGAP; in layout()
203 w.setBounds(clientArea.x, clientArea.y, in layout()
204 clientArea.width, e.y); in layout()
212 w.setBounds(clientArea.x, clientArea.y + clientArea.height in layout()
216 w.setBounds(clientArea.x, clientArea.y + VGAP, in layout()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/
H A DQuickMenuCreator.java94 Rectangle clientArea = null; in computeMenuLocation() local
98 clientArea = styledText.getClientArea(); in computeMenuLocation()
102 clientArea = tree.getClientArea(); in computeMenuLocation()
106 clientArea = table.getClientArea(); in computeMenuLocation()
112 if (clientArea != null && !clientArea.contains(result)) { in computeMenuLocation()
113 result = new Point(clientArea.x + clientArea.width / 2, clientArea.y + clientArea.height / 2); in computeMenuLocation()
152 Rectangle clientArea = tree.getClientArea(); in computeMenuLocation() local
158 Rectangle intersect = clientArea.intersection(bounds); in computeMenuLocation()
171 Point result = findBestLocation(getIncludedPositions(rectangles, clientArea), in computeMenuLocation()
191 Rectangle clientArea = table.getClientArea(); in computeMenuLocation() local
[all …]
/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/gui/editors/tab/layout/
H A DPageViewLayout.java47 public void paintSong(TGPainter painter,Rectangle clientArea,int fromX,int fromY) { in paintSong() argument
91 paintLine(track,line,painter,fromX,posY,ts,clientArea); in paintSong()
99 if(emptyX < (clientArea.x + clientArea.width)){ in paintSong()
100 emptyX = (emptyX < clientArea.x ? clientArea.x :emptyX); in paintSong()
101 emptyWith = ( emptyWith > clientArea.width ? clientArea.width : emptyWith ); in paintSong()
120 …rack,TempLine line,TGPainter painter,int fromX, int fromY,TGTrackSpacing ts,Rectangle clientArea) { in paintLine() argument
126 …boolean isAtY = (posY + ts.getSize() > clientArea.y && posY < clientArea.y + clientArea.height + 8… in paintLine()
150 boolean isAtX = ( posX + measureWidth > clientArea.x && posX < clientArea.x + clientArea.width); in paintLine()
H A DLinearViewLayout.java35 public void paintSong(TGPainter painter,Rectangle clientArea,int fromX,int fromY) { in paintSong() argument
83 paintMeasures(track,painter,fromX,posY,ts,clientArea); in paintSong()
84 …paintLines(track,ts,painter,fromX + (getWidth() + 2),posY,(clientArea.width - (fromX + getWidth())… in paintSong()
93 if(getWidth() > clientArea.width){ in paintSong()
101 …(TGTrackImpl track,TGPainter painter,int fromX, int fromY,TGTrackSpacing ts,Rectangle clientArea) { in paintMeasures() argument
118 …olean isAtX = ((posX + measure.getWidth(this)) > clientArea.x - 100 && posX < clientArea.x + clien… in paintMeasures()
119 …boolean isAtY = (posY + ts.getSize() > clientArea.y && posY < clientArea.y + clientArea.height + 8… in paintMeasures()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/
H A DControlEditor.java138 Rectangle clientArea = parent.getClientArea(); in computeBounds() local
139 Rectangle editorRect = new Rectangle(clientArea.x, clientArea.y, minimumWidth, minimumHeight); in computeBounds()
142 editorRect.width = Math.max(clientArea.width, minimumWidth); in computeBounds()
145 editorRect.height = Math.max(clientArea.height, minimumHeight); in computeBounds()
149 editorRect.x += clientArea.width - editorRect.width; in computeBounds()
156 editorRect.x += (clientArea.width - editorRect.width)/2; in computeBounds()
161 editorRect.y += clientArea.height - editorRect.height; in computeBounds()
168 editorRect.y += (clientArea.height - editorRect.height)/2; in computeBounds()
/dports/x11-toolkits/swt/swt-4.20/org/eclipse/swt/custom/
H A DControlEditor.java138 Rectangle clientArea = parent.getClientArea(); in computeBounds() local
139 Rectangle editorRect = new Rectangle(clientArea.x, clientArea.y, minimumWidth, minimumHeight); in computeBounds()
142 editorRect.width = Math.max(clientArea.width, minimumWidth); in computeBounds()
145 editorRect.height = Math.max(clientArea.height, minimumHeight); in computeBounds()
149 editorRect.x += clientArea.width - editorRect.width; in computeBounds()
156 editorRect.x += (clientArea.width - editorRect.width)/2; in computeBounds()
161 editorRect.y += clientArea.height - editorRect.height; in computeBounds()
168 editorRect.y += (clientArea.height - editorRect.height)/2; in computeBounds()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/
H A DSnippet249.java36 Rectangle clientArea = shell.getClientArea(); in main() local
37 shell.setBounds (clientArea.x + 10, clientArea.y + 10, 300, 200); in main()
40 contentPanel.setBounds (clientArea.x + 100, clientArea.y + 10, 190, 90); in main()
61 pageButton.setBounds (clientArea.x + 10, clientArea.y + 10, 80, 25); in main()
H A DSnippet41.java34 Rectangle clientArea = shell.getClientArea (); in main() local
35 folder.setBounds (clientArea.x, clientArea.y, 200, 200); in main()
40 bar.setBounds (clientArea.x, clientArea.y + 200, 200, 40); in main()
/dports/games/openspades/openspades-0.1.3/Resources/Scripts/Gui/StartupScreen/
H A DMainMenu.as78 AABB2 clientArea(10.f, 100.f, width - 20.f, height - 150.f);
79 StartupScreenGraphicsTab graphicsTab(ui, clientArea.max - clientArea.min);
80 StartupScreenAudioTab audioTab(ui, clientArea.max - clientArea.min);
81 StartupScreenGenericTab genericTab(ui, clientArea.max - clientArea.min);
82 StartupScreenSystemInfoTab profileTab(ui, clientArea.max - clientArea.min);
83 StartupScreenAdvancedTab advancedTab(ui, clientArea.max - clientArea.min);
84 graphicsTab.Bounds = clientArea;
85 audioTab.Bounds = clientArea;
86 genericTab.Bounds = clientArea;
87 profileTab.Bounds = clientArea;
[all …]
/dports/devel/juce/JUCE-f37e9a1/extras/NetworkGraphicsDemo/Source/
H A DSlaveComponent.h76 auto clientArea = getAreaInGlobalSpace(); in mouseDrag() local
78 if (! clientArea.isEmpty()) in mouseDrag()
83 …message.addFloat32 (e.position.x * clientArea.getWidth() / (float) getWidth() + clientArea.getX(… in mouseDrag()
84 …message.addFloat32 (e.position.y * clientArea.getHeight() / (float) getHeight() + clientArea.getY(… in mouseDrag()
163 auto clientArea = getAreaInGlobalSpace(); in paint() local
165 if (clientArea.isEmpty()) in paint()
173 canvas.draw (g, getLocalBounds().toFloat(), clientArea); in paint()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/
H A DSashTab.java190 Rectangle clientArea = sashComp.getClientArea (); in layout() local
195 …list2.setBounds (vSashBounds.x + vSashBounds.width, 0, clientArea.width - (vSashBounds.x + vSashBo… in layout()
196 …text.setBounds (0, hSashBounds.y + hSashBounds.height, clientArea.width, clientArea.height - (hSas… in layout()
229 Rectangle clientArea = sashComp.getClientArea (); in resized() local
235 …Rectangle list1Bounds = new Rectangle (0, 0, (clientArea.width - SASH_WIDTH) / 2, (clientArea.heig… in resized()
242 …list2.setBounds (list1Bounds.width + SASH_WIDTH, 0, clientArea.width - (list1Bounds.width + SASH_W… in resized()
248 …text.setBounds (0, list1Bounds.height + SASH_WIDTH, clientArea.width, clientArea.height - (list1Bo… in resized()
252 hSash.setBounds (0, list1Bounds.height, clientArea.width, SASH_WIDTH); in resized()
/dports/graphics/jogamp-jogl/jogl/src/newt/classes/com/jogamp/newt/swt/
H A DNewtCanvasSWT.java79 private volatile Rectangle clientArea; field in NewtCanvasSWT
129 clientArea = getClientArea(); in NewtCanvasSWT()
150 newtChild.setSize(clientArea.width, clientArea.height); in NewtCanvasSWT()
154 newtChild.setPosition(clientArea.x, clientArea.y); in NewtCanvasSWT()
157 newtChild.windowRepaint(0, 0, clientArea.width, clientArea.height); in NewtCanvasSWT()
266 clientArea = nClientArea; in updatePosSizeCheck()
268 nClientArea = clientArea; in updatePosSizeCheck()
423 final int w = clientArea.width; in reparentWindow()
424 final int h = clientArea.height; in reparentWindow()
542 return clientArea.width; in getSurfaceWidth()
[all …]
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/ui/swt/views/table/painted/
H A DTableViewPainted.java485 return (drawOffset.y < clientArea.y && drawOffset.y + height > clientArea.y) in isRowPartiallyVisible()
486 || (drawOffset.y < clientArea.y + clientArea.height && drawOffset.y in isRowPartiallyVisible()
487 + height > clientArea.y + clientArea.height); in isRowPartiallyVisible()
1330 int x = -clientArea.x; in setupHeaderArea()
1695 int x = -clientArea.x; in paintHeader()
1866 - (clientArea.y + clientArea.height); in obfusticatedImage()
2467 h = clientArea.height; in swt_calculateClientArea()
2584 return clientArea; in getClientArea()
2711 int x = -clientArea.x; in getTableColumnByOffset()
2985 if (y + rowToShow.getHeight() > clientArea.y + clientArea.height) { in showRow()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/
H A DTableViewerFocusCellManager.java83 Rectangle clientArea = table.getClientArea(); in getInitialFocusCell() local
85 if (aViewerRow.getWidth(i) > 0 && columnInVisibleArea(clientArea,aViewerRow,i)) in getInitialFocusCell()
93 private boolean columnInVisibleArea(Rectangle clientArea, ViewerRow row, int colIndex) { in columnInVisibleArea() argument
94 return row.getBounds(colIndex).x >= clientArea.x; in columnInVisibleArea()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/
H A DMultiConnectionWidget.java92 private Rectangle clientArea; field in MultiConnectionWidget
137 clientArea = new Rectangle(); in MultiConnectionWidget()
163 if (clientArea == null) { in MultiConnectionWidget()
164 clientArea = rect; in MultiConnectionWidget()
166 clientArea = clientArea.union(rect); in MultiConnectionWidget()
170 clientArea.grow(BORDER, BORDER); in MultiConnectionWidget()
214 return clientArea; in calculateClientArea()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/
H A DMultiConnectionWidget.java92 private Rectangle clientArea; field in MultiConnectionWidget
137 clientArea = new Rectangle(); in MultiConnectionWidget()
163 if (clientArea == null) { in MultiConnectionWidget()
164 clientArea = rect; in MultiConnectionWidget()
166 clientArea = clientArea.union(rect); in MultiConnectionWidget()
170 clientArea.grow(BORDER, BORDER); in MultiConnectionWidget()
214 return clientArea; in calculateClientArea()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/
H A DTrimmedPartLayout.java90 public Composite clientArea; field in TrimmedPartLayout
99 clientArea = new Composite(parent, SWT.NONE); in TrimmedPartLayout()
100 clientArea.setLayout(new FillLayout()); in TrimmedPartLayout()
179 if (!caRect.equals(clientArea.getBounds())) { in layout()
180 clientArea.setBounds(caRect); in layout()
226 Rectangle caBounds = clientArea.getBounds(); in getTrimRect()
227 caBounds = Display.getCurrent().map(clientArea.getParent(), null, caBounds); in getTrimRect()

12345678910>>...13