Searched refs:scrollBar (Results 1 - 25 of 28) sorted by relevance

12

/haiku-fatelf/src/tests/servers/app/scrollbar/
H A Dmain.cpp35 BScrollBar* scrollBar = ScrollBar(B_VERTICAL); local
36 if (!scrollBar) {
41 scrollBar->GetSteps(&smallStep, &bigStep);
43 smallStep, bigStep, scrollBar->Proportion());
45 scrollBar->SetRange(0.0, height);
46 scrollBar->SetSteps(5.0, height / 2);
48 scrollBar->GetSteps(&smallStep, &bigStep);
51 smallStep, bigStep, scrollBar->Proportion(),
/haiku-fatelf/src/apps/terminal/
H A DTermScrollView.cpp53 TermScrollBar* scrollBar = new TermScrollBar(frame, "_VSB_", target, 0, local
55 AddChild(scrollBar);
56 fVerticalScrollBar = scrollBar;
H A DTermView.h86 void SetScrollBar(BScrollBar* scrollBar);
/haiku-fatelf/src/apps/packagemanager/
H A DApplicationWindow.cpp58 if (BScrollBar* scrollBar = ScrollBar(B_VERTICAL)) {
62 scrollBar->SetRange(0, max);
64 scrollBar->SetProportion(height / minSize.height);
66 scrollBar->SetProportion(1);
86 BScrollBar* scrollBar = ScrollBar(B_VERTICAL); local
87 scrollBar->MoveBy(1, -1);
88 scrollBar->ResizeBy(0, 2);
92 scrollBar->SetSteps(item->MinSize().height + 1,
/haiku-fatelf/src/apps/webpositive/
H A DDownloadWindow.cpp96 if (BScrollBar* scrollBar = ScrollBar(B_VERTICAL)) {
100 scrollBar->SetRange(0, max);
102 scrollBar->SetProportion(height / minSize.height);
104 scrollBar->SetProportion(1);
124 BScrollBar* scrollBar = ScrollBar(B_VERTICAL); local
125 scrollBar->MoveBy(1, -1);
126 scrollBar->ResizeBy(0, 2);
130 scrollBar->SetSteps(item->MinSize().height + 1,
409 if (BScrollBar* scrollBar = fDownloadsScrollView->ScrollBar(B_VERTICAL)) {
412 scrollBar
[all...]
/haiku-fatelf/src/apps/installer/
H A DPackageViews.cpp294 BScrollBar* scrollBar = ScrollBar(B_VERTICAL); local
295 if (scrollBar == NULL)
307 scrollBar->SetRange(0.0f, 0.0f);
308 scrollBar->SetValue(0.0f);
310 scrollBar->SetRange(0.0f, virtualHeight - height);
311 scrollBar->SetProportion(height / virtualHeight);
314 scrollBar->SetSteps(15, height);
/haiku-fatelf/src/apps/stylededit/
H A DStatusView.cpp71 BScrollBar* scrollBar = fScrollView->ScrollBar(B_HORIZONTAL); local
72 MoveTo(0., scrollBar->Frame().top);
263 BScrollBar* scrollBar = fScrollView->ScrollBar(B_HORIZONTAL); local
264 scrollBar->ResizeBy(-delta, 0);
265 scrollBar->MoveBy(delta, 0);
/haiku-fatelf/src/apps/cortex/DiagramView/
H A DDiagramView.cpp755 BScrollBar *scrollBar = ScrollBar(B_VERTICAL);
756 if (scrollBar)
762 scrollBar->SetRange(0.0, 0.0);
763 scrollBar->SetProportion(1.0);
767 scrollBar->SetRange(m_dataRect.top, m_dataRect.bottom - Bounds().Height());
768 scrollBar->SetProportion(Bounds().Height() / m_dataRect.Height());
771 scrollBar = ScrollBar(B_HORIZONTAL);
772 if (scrollBar)
778 scrollBar->SetRange(0.0, 0.0);
779 scrollBar
[all...]
/haiku-fatelf/src/apps/cortex/DormantNodeView/
H A DDormantNodeWindow.cpp89 BScrollBar *scrollBar; local
90 AddChild(scrollBar = new BScrollBar(r, "", m_listView, 0.0, 0.0, B_VERTICAL));
/haiku-fatelf/src/apps/cortex/RouteApp/
H A DStatusView.h73 BScrollBar *scrollBar = 0);
H A DStatusView.cpp105 BScrollBar *scrollBar)
108 m_scrollBar(scrollBar),
102 StatusView( BRect frame, RouteAppNodeManager *manager, BScrollBar *scrollBar) argument
/haiku-fatelf/src/apps/debuganalyzer/gui/chart/
H A DChart.cpp521 BScrollBar* scrollBar = ScrollBar(horizontal ? B_HORIZONTAL : B_VERTICAL); local
536 if (scrollBar != NULL) {
538 scrollBar->SetRange(0, scrollSize);
540 scrollBar->SetValue(scrollValue);
541 scrollBar->SetProportion(proportion);
/haiku-fatelf/src/apps/mediaplayer/playlist/
H A DPlaylistListView.cpp485 BScrollBar* scrollBar = ScrollBar(B_VERTICAL);
486 if (scrollBar) {
489 scrollBar->SetTarget((BView*)NULL);
503 if (scrollBar) {
504 scrollBar->SetTarget(this);
H A DPlaylistWindow.cpp103 if (BScrollBar* scrollBar = scrollView->ScrollBar(B_VERTICAL)) {
106 scrollBar->MoveBy(0, -1);
107 scrollBar->ResizeBy(0, -(B_H_SCROLL_BAR_HEIGHT - 2));
H A DListViews.cpp358 if (BScrollBar* scrollBar = fScrollView->ScrollBar(B_VERTICAL)) {
359 float value = scrollBar->Value();
360 scrollBar->SetValue(scrollBar->Value() + scrollV);
361 if (scrollBar->Value() != value) {
/haiku-fatelf/src/tests/servers/app/playground/
H A DObjectWindow.cpp161 if (BScrollBar* scrollBar = fObjectView->ScrollBar(B_VERTICAL)) {
162 scrollBar->SetRange(0.0, fObjectView->Bounds().Height());
163 scrollBar->SetProportion(0.5);
165 if (BScrollBar* scrollBar = fObjectView->ScrollBar(B_HORIZONTAL)) {
166 scrollBar->SetRange(0.0, fObjectView->Bounds().Width());
167 scrollBar->SetProportion(0.5);
/haiku-fatelf/src/apps/debuganalyzer/gui/main_window/
H A DSchedulingPage.cpp697 if (BScrollBar* scrollBar = ScrollBar(B_HORIZONTAL)) {
700 scrollBar->SetRange(0, range);
701 scrollBar->SetProportion((width + 1) / (dataWidth + 1));
702 scrollBar->SetSteps(fFontInfo.lineHeight, width + 1);
704 scrollBar->SetRange(0, 0);
705 scrollBar->SetProportion(1);
1327 if (BScrollBar* scrollBar = ScrollBar(B_HORIZONTAL))
1328 return scrollBar->Value();
1362 if (BScrollBar* scrollBar = ScrollBar(B_HORIZONTAL))
1363 scrollBar
[all...]
/haiku-fatelf/src/apps/debugger/user_interface/gui/inspector_window/
H A DMemoryView.cpp420 BScrollBar *scrollBar = ScrollBar(B_VERTICAL); local
467 scrollBar->SetProportion(bounds.Height() / totalHeight);
468 scrollBar->SetSteps(fLineHeight, bounds.Height());
471 scrollBar->SetRange(0.0, max);
/haiku-fatelf/src/apps/debugger/user_interface/gui/team_window/
H A DSourceView.cpp1907 if (BScrollBar* scrollBar = ScrollBar(B_HORIZONTAL)) {
1910 scrollBar->SetRange(0, range);
1911 scrollBar->SetProportion(
1913 scrollBar->SetSteps(fFontInfo.lineHeight, size.width + 1);
1915 scrollBar->SetRange(0, 0);
1916 scrollBar->SetProportion(1);
1920 if (BScrollBar* scrollBar = ScrollBar(B_VERTICAL)) {
1923 scrollBar->SetRange(0, range);
1924 scrollBar->SetProportion(
1926 scrollBar
[all...]
/haiku-fatelf/src/apps/icon-o-matic/generic/gui/scrollview/
H A DScrollView.h123 InternalScrollBar* scrollBar,
H A DScrollView.cpp657 ScrollView::_ScrollValueChanged(InternalScrollBar* scrollBar, float value) argument
662 switch (scrollBar->Orientation()) {
/haiku-fatelf/src/apps/icon-o-matic/generic/gui/
H A DListViews.cpp350 if (BScrollBar* scrollBar = fScrollView->ScrollBar(B_VERTICAL)) {
351 float value = scrollBar->Value();
352 scrollBar->SetValue(scrollBar->Value() + scrollV);
353 if (scrollBar->Value() != value) {
/haiku-fatelf/src/apps/cortex/MediaRoutingView/
H A DMediaRoutingView.cpp1809 BScrollBar *scrollBar; local
1812 scrollBar = ScrollBar(B_HORIZONTAL);
1813 if (scrollBar) {
1815 scrollBar->SetSteps(floor(bigStep / 10.0), bigStep);
1819 scrollBar = ScrollBar(B_VERTICAL);
1820 if (scrollBar) {
1822 scrollBar->SetSteps(floor(bigStep / 10.0), bigStep);
/haiku-fatelf/src/apps/aboutsystem/
H A DAboutSystem.cpp785 BScrollBar* scrollBar = local
787 if (scrollBar == NULL)
790 scrollBar->GetRange(&min, &max);
791 if (scrollBar->Value() < max)
/haiku-fatelf/src/apps/icon-o-matic/
H A DMainWindow.cpp1257 if (BScrollBar* scrollBar = target->ScrollBar(B_VERTICAL)) {
1258 scrollBar->MoveBy(0, -1);
1259 scrollBar->ResizeBy(0, 1);

Completed in 314 milliseconds

12