Home
last modified time | relevance | path

Searched refs:hBar (Results 1 – 25 of 115) sorted by relevance

12345

/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 DScrolledComposite.java153 if (hBar != null) { in ScrolledComposite()
154 hBar.setVisible(false); in ScrolledComposite()
357 if (hVisible && hBar != null) hostRect.height -= hBar.getSize().y; in needVScroll()
426 if (hBar != null) { in setOrigin()
427 hBar.setSelection(x); in setOrigin()
460 if (hBar != null && alwaysShowScroll) hBar.setVisible(true); in setAlwaysShowScrollBars()
492 if (hBar != null) { in setContent()
493 hBar.setMaximum (0); in setContent()
494 hBar.setThumb (0); in setContent()
495 hBar.setSelection(0); in setContent()
[all …]
H A DScrolledCompositeLayout.java58 ScrollBar hBar = sc.getHorizontalBar(); in layout()
60 if (hBar != null) { in layout()
61 if (hBar.getSize().y >= sc.getSize().y) { in layout()
76 if (hBar != null) hBar.setVisible(hVisible); in layout()
88 if (hBar != null) { in layout()
89 hBar.setMaximum (contentRect.width); in layout()
90 hBar.setThumb (Math.min (contentRect.width, hostRect.width)); in layout()
91 hBar.setIncrement ((int) gc.getFontMetrics ().getAverageCharacterWidth ()); in layout()
92 hBar.setPageIncrement (hostRect.width); in layout()
94 int hSelection = hBar.getSelection (); in layout()
[all …]
H A DControlEditor.java132 ScrollBar hBar = parent.getHorizontalBar (); in ControlEditor() local
133 if (hBar != null) hBar.addListener (SWT.Selection, scrollbarListener); in ControlEditor()
184 ScrollBar hBar = parent.getHorizontalBar (); in dispose() local
185 if (hBar != null) hBar.removeListener (SWT.Selection, scrollbarListener); in dispose()
H A DTableCursor.java148 ScrollBar hBar = table.getHorizontalBar(); in TableCursor() local
149 if (hBar != null) { in TableCursor()
150 hBar.addListener(SWT.Selection, resizeListener); in TableCursor()
217 ScrollBar hBar = table.getHorizontalBar(); in onDispose() local
218 if (hBar != null) { in onDispose()
219 hBar.removeListener(SWT.Selection, resizeListener); in onDispose()
/dports/x11-toolkits/swt/swt-4.20/org/eclipse/swt/custom/
H A DScrolledComposite.java153 if (hBar != null) { in ScrolledComposite()
154 hBar.setVisible(false); in ScrolledComposite()
357 if (hVisible && hBar != null) hostRect.height -= hBar.getSize().y; in needVScroll()
426 if (hBar != null) { in setOrigin()
427 hBar.setSelection(x); in setOrigin()
460 if (hBar != null && alwaysShowScroll) hBar.setVisible(true); in setAlwaysShowScrollBars()
492 if (hBar != null) { in setContent()
493 hBar.setMaximum (0); in setContent()
494 hBar.setThumb (0); in setContent()
495 hBar.setSelection(0); in setContent()
[all …]
H A DScrolledCompositeLayout.java58 ScrollBar hBar = sc.getHorizontalBar(); in layout()
60 if (hBar != null) { in layout()
61 if (hBar.getSize().y >= sc.getSize().y) { in layout()
76 if (hBar != null) hBar.setVisible(hVisible); in layout()
88 if (hBar != null) { in layout()
89 hBar.setMaximum (contentRect.width); in layout()
90 hBar.setThumb (Math.min (contentRect.width, hostRect.width)); in layout()
91 hBar.setIncrement ((int) gc.getFontMetrics ().getAverageCharacterWidth ()); in layout()
92 hBar.setPageIncrement (hostRect.width); in layout()
94 int hSelection = hBar.getSelection (); in layout()
[all …]
H A DControlEditor.java132 ScrollBar hBar = parent.getHorizontalBar (); in ControlEditor() local
133 if (hBar != null) hBar.addListener (SWT.Selection, scrollbarListener); in ControlEditor()
184 ScrollBar hBar = parent.getHorizontalBar (); in dispose() local
185 if (hBar != null) hBar.removeListener (SWT.Selection, scrollbarListener); in dispose()
H A DTableCursor.java148 ScrollBar hBar = table.getHorizontalBar(); in TableCursor() local
149 if (hBar != null) { in TableCursor()
150 hBar.addListener(SWT.Selection, resizeListener); in TableCursor()
217 ScrollBar hBar = table.getHorizontalBar(); in onDispose() local
218 if (hBar != null) { in onDispose()
219 hBar.removeListener(SWT.Selection, resizeListener); in onDispose()
/dports/devel/agar/agar-1.5.0/gui/
H A Dtextbox.c122 if (tb->hBar != NULL) { in AG_TextboxSetWordWrap()
123 AG_ObjectDetach(tb->hBar); in AG_TextboxSetWordWrap()
124 AG_ObjectDestroy(tb->hBar); in AG_TextboxSetWordWrap()
125 tb->hBar = NULL; in AG_TextboxSetWordWrap()
168 } else if (tb->hBar != NULL && AG_ScrollbarVisible(tb->hBar)) { in Draw()
169 d = HEIGHT(tb->hBar); in Draw()
180 if (tb->hBar != NULL) in Draw()
181 AG_WidgetDraw(tb->hBar); in Draw()
229 if (tb->hBar != NULL && in SizeAllocate()
239 hBar = aSb.h; in SizeAllocate()
[all …]
H A Dtreetbl.c236 int view_edge = (tt->hBar ? AG_GetInt(tt->hBar, "value") : 0); in FOREACH_VISIBLE_COLUMN()
539 tt->hBar = NULL; in Init()
545 if (tt->hBar != NULL) { in Init()
546 AG_SetInt(tt->hBar, "min", 0); in Init()
547 AG_SetInt(tt->hBar, "max", 0); in Init()
1120 if (tt->hBar != NULL) { in SizeRequest()
1156 if (tt->hBar != NULL) { in SizeAllocate()
1165 tt->r.h -= HEIGHT(tt->hBar); in SizeAllocate()
1178 WIDTH(tt->hBar)*tt->hBar->length/col_w); in SizeAllocate()
1491 if (tt->hBar != NULL) in Draw()
[all …]
H A Dscrollview.c47 rView.h -= sv->hBar; in ClipWidgets()
244 sv->hBar = 0; in Init()
327 sv->hBar = aBar.h; in SizeAllocate()
330 sv->hBar = 0; in SizeAllocate()
403 if (chld->rView.y2 > WIDGET(sv)->rView.y2 - sv->hBar) { in Draw()
404 chld->rSens.h = WIDGET(sv)->rView.y2 - sv->hBar - in Draw()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/
H A DSnippet9.java39 final ScrollBar hBar = shell.getHorizontalBar (); in main() local
40 hBar.addListener (SWT.Selection, e -> { in main()
42 location.x = -hBar.getSelection (); in main()
54 hBar.setMaximum (size.x); in main()
56 hBar.setThumb (Math.min (size.x, rect.width)); in main()
60 int hSelection = hBar.getSelection (); in main()
H A DSnippet48.java55 final ScrollBar hBar = canvas.getHorizontalBar (); in main() local
56 hBar.addListener (SWT.Selection, e -> { in main()
57 int hSelection = hBar.getSelection (); in main()
74 hBar.setMaximum (rect.width); in main()
76 hBar.setThumb (Math.min (rect.width, client.width)); in main()
80 int hSelection = hBar.getSelection (); in main()
H A DSnippet191.java57 ScrollBar hBar = text.getHorizontalBar(); in main() local
58 if (hBar != null) { in main()
59 hBar.addListener (SWT.Selection, listener); in main()
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/libs/utils/
H A Dnavigationtreeview.cpp63 QScrollBar *hBar = horizontalScrollBar(); in scrollTo() local
64 int scrollX = hBar->value(); in scrollTo()
93 scrollX = qBound(hBar->minimum(), scrollX, hBar->maximum()); in scrollTo()
95 hBar->setValue(scrollX); in scrollTo()
/dports/devel/agar/agar-1.5.0/math/
H A Dm_matview.c69 AG_BindInt(mv->hBar, "max", (int *)&MMATRIX(mv->matrix)->m); in M_MatviewSetMatrix()
121 mv->hBar = AG_ScrollbarNew(mv, AG_SCROLLBAR_HORIZ, AG_SCROLLBAR_EXCL); in Init()
132 AG_BindInt(mv->hBar, "value", &mv->xOffs); in Init()
134 AG_SetInt(mv->hBar, "min", 0); in Init()
198 aBar.y = a->h - mv->hBar->width; in SizeAllocate()
200 aBar.h = mv->hBar->width+1; in SizeAllocate()
201 AG_WidgetSizeAlloc(mv->hBar, &aBar); in SizeAllocate()
202 mv->r.h -= HEIGHT(mv->hBar); in SizeAllocate()
207 aBar.h = a->h - mv->hBar->width+1; in SizeAllocate()
/dports/graphics/tiled/tiled-1.7.2/src/tiled/
H A Dmapview.cpp374 auto hBar = static_cast<FlexibleScrollBar*>(horizontalScrollBar()); in forceCenterOn() local
376 bool hScroll = hBar->minimum() != 0 || hBar->maximum() != 0; in forceCenterOn()
386 horizontal += hBar->minimum(); in forceCenterOn()
387 horizontal += hBar->maximum(); in forceCenterOn()
389 hBar->forceSetValue(static_cast<int>(horizontal)); in forceCenterOn()
391 hBar->forceSetValue(int(viewPoint.x() - width / 2.0)); in forceCenterOn()
554 auto *hBar = static_cast<FlexibleScrollBar*>(horizontalScrollBar()); in wheelEvent() local
583 pixels.setX(int(steps.x() * lines * hBar->singleStep())); in wheelEvent()
631 auto *hBar = static_cast<FlexibleScrollBar*>(horizontalScrollBar()); in mouseMoveEvent() local
635 int horizontalValue = hBar->value() + (isRightToLeft() ? d.x() : -d.x()); in mouseMoveEvent()
[all …]
/dports/biology/ugene/ugene-40.1/src/corelibs/U2View/src/ov_assembly/
H A DAssemblyReadsArea.cpp75 hBar(hBar_), in AssemblyReadsArea()
220 hBar->disconnect(this); in setupHScrollBar()
225 hBar->setMinimum(0); in setupHScrollBar()
229 hBar->setSingleStep(1); in setupHScrollBar()
769 if (hBar->isEnabled()) { in keyPressEvent()
770 … int step = (e->modifiers() & Qt::ControlModifier) ? hBar->pageStep() : hBar->singleStep(); in keyPressEvent()
772 hBar->setValue(hBar->value() + step); in keyPressEvent()
783 if (hBar->isEnabled()) { in keyPressEvent()
784 hBar->setValue(0); in keyPressEvent()
788 if (hBar->isEnabled()) { in keyPressEvent()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/accessibility/
H A DCTable.java239 if (hBar != null) { in CTable()
241 hBar.setVisible (false); in CTable()
764 if (hBar != null) { in destroyItem()
2271 if (hBar != null) hBar.setSelection (horizontalOffset);
3183 if (hBar != null) {
3186 hBar.setThumb (thumb);
3502 if (hBar != null) {
3503 hBar.setMaximum (1);
4333 if (hBar != null) hBar.setSelection (horizontalOffset);
4492 if (hBar != null) {
[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 DBug225725_GCDrawing.java85 final ScrollBar hBar = composite.getHorizontalBar(); in main() local
86 hBar.addListener(SWT.Selection, new Listener() { in main()
106 ScrollBar hBar = composite.getHorizontalBar(); in main()
108 hBar.setMaximum(500); in main()
110 hBar.setThumb(Math.min(bounds.width, client.width)); in main()
/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/gui/editors/tab/
H A DTablature.java67 final ScrollBar hBar = getHorizontalBar(); in initGUI() local
68 hBar.setIncrement(SCROLL_INCREMENT); in initGUI()
69 hBar.addListener(SWT.Selection, new Listener() { in initGUI()
165 ScrollBar hBar = getHorizontalBar(); in updateScroll() local
167 hBar.setMaximum(this.width); in updateScroll()
169 hBar.setThumb(Math.min(bounds.width, client.width)); in updateScroll()
/dports/graphics/yafaray/libYafaRay-3.5.1/src/gui/
H A Drenderwidget.cc42 hBar = owner->horizontalScrollBar(); in RenderWidget()
136 int dh = hBar->value() + (m.x()); in zoom()
139 hBar->setValue(dh); in zoom()
252 barPos = QPoint(hBar->value(), vBar->value()); in mousePressEvent()
280 hBar->setValue(dpos.x()); in mouseMoveEvent()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/ui/swt/views/table/painted/
H A DTableViewPainted.java168 private ScrollBar hBar; field in TableViewPainted
445 if (hBar.isEnabled()) { in TableViewPainted()
446 hBar.setSelection(hBar.getSelection() + 50); in TableViewPainted()
455 if (hBar.isEnabled()) { in TableViewPainted()
456 hBar.setSelection(hBar.getSelection() - 50); in TableViewPainted()
1177 if (hBar != null) { in initialize()
2663 if (hBar != null && !hBar.isDisposed()) { in swt_fixupSize()
2672 hBar.setSelection(0); in swt_fixupSize()
2673 hBar.setEnabled(false); in swt_fixupSize()
2674 hBar.setVisible(false); in swt_fixupSize()
[all …]
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/src/com/lightcrafts/ui/scroll/
H A DPanner.java45 JScrollBar hBar = scroll.getHorizontalScrollBar(); in Panner() local
47 hBar.addAdjustmentListener(repainter); in Panner()
289 JScrollBar hBar = scroll.getHorizontalScrollBar(); in updateEnabled() local
291 setEnabled(isActive(hBar) || isActive(vBar)); in updateEnabled()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.jface.text/src/org/eclipse/jface/text/
H A DAbstractHoverInformationControlManager.java130 ScrollBar hBar= scrollable.getHorizontalBar(); in start() local
131 if (hBar != null) in start()
132 hBar.addSelectionListener(this); in start()
172 ScrollBar hBar= scrollable.getHorizontalBar(); in stop() local
173 if (hBar != null) in stop()
174 hBar.removeSelectionListener(this); in stop()

12345