Home
last modified time | relevance | path

Searched refs:scrollPos (Results 1 – 25 of 241) sorted by relevance

12345678910

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/zvision/scripting/
H A Dmenu.cpp53 scrollPos[0] = 0; in MenuZGI()
54 scrollPos[1] = 0; in MenuZGI()
55 scrollPos[2] = 0; in MenuZGI()
556 scrollPos = 0; in MenuNemesis()
699 scrollPos += (int)scrl; in process()
703 if (scrollPos >= 0) { in process()
705 scrollPos = 0; in process()
740 if (scrollPos > -32) { in process()
746 Common::Rect cl(64, (int16)(32 + scrollPos - scrl), 64 + 512, 32 + scrollPos + 1); in process()
749 scrollPos -= (int)scrl; in process()
[all …]
H A Dmenu.h85 int16 scrollPos[3]; variable
108 int16 scrollPos; variable
/dports/games/scummvm/scummvm-2.5.1/engines/zvision/scripting/
H A Dmenu.cpp53 scrollPos[0] = 0; in MenuZGI()
54 scrollPos[1] = 0; in MenuZGI()
55 scrollPos[2] = 0; in MenuZGI()
559 scrollPos = 0; in MenuNemesis()
702 scrollPos += (int)scrl; in process()
706 if (scrollPos >= 0) { in process()
708 scrollPos = 0; in process()
743 if (scrollPos > -32) { in process()
749 Common::Rect cl(64, (int16)(32 + scrollPos - scrl), 64 + 512, 32 + scrollPos + 1); in process()
752 scrollPos -= (int)scrl; in process()
[all …]
H A Dmenu.h85 int16 scrollPos[3]; variable
108 int16 scrollPos; variable
/dports/games/brumbrumrally/brumbrumrally-0.7/src/
H A DGameList.cpp32 scrollPos(0), in GameList()
100 if (scrollPos == iGame && in update()
101 scrollPos > 0) in update()
103 --scrollPos; in update()
300 if (iGame < scrollPos) in updateRenderObjects()
302 scrollPos = iGame; in updateRenderObjects()
315 scrollPos = 0; in updateRenderObjects()
417 ++scrollPos; in scrollDown()
418 if (iGame < scrollPos) in scrollDown()
431 if (scrollPos > 0) in scrollUp()
[all …]
H A DTrackList.cpp30 scrollPos(0), in TrackList()
230 if (iTrack < scrollPos) in updateRenderObjects()
232 scrollPos = iTrack; in updateRenderObjects()
243 if (scrollPos > tracks.size()) in updateRenderObjects()
245 scrollPos = 0; in updateRenderObjects()
252 if (i >= scrollPos && i < scrollPosEnd) in updateRenderObjects()
347 ++scrollPos; in scrollRight()
348 if (iTrack < scrollPos) in scrollRight()
363 if (scrollPos > 0) in scrollLeft()
365 --scrollPos; in scrollLeft()
[all …]
/dports/games/powder-toy/The-Powder-Toy-95.0/src/gui/interface/
H A DScrollPanel.cpp59 float scrollPos = 0; in Draw() local
62 scrollPos = float(Size.Y-scrollHeight)*(float(offsetY)/float(maxOffset.Y)); in Draw()
66 …g->fillrect(screenPos.X+(Size.X-scrollBarWidth), screenPos.Y+scrollPos, scrollBarWidth, scrollHeig… in Draw()
93 float scrollPos = 0; in XOnMouseMoved() local
96 scrollPos = float(Size.Y-scrollHeight)*(float(offsetY)/float(maxOffset.Y)); in XOnMouseMoved()
116 if (y > scrollPos && y < scrollPos+scrollHeight) in XOnMouseMoved()
183 float scrollPos = 0; in XTick() local
185 scrollPos = float(Size.Y-scrollHeight)*(float(offsetY)/float(maxOffset.Y)); in XTick()
187 if (scrollbarInitialYClick <= scrollPos) in XTick()
189 else if (scrollbarInitialYClick >= scrollPos+scrollHeight) in XTick()
/dports/graphics/hugin/hugin-2020.0.0/src/hugin1/hugin/
H A DPreviewCameraTool.cpp34 void PreviewCameraTool::ChangeZoomLevel(bool zoomIn, hugin_utils::FDiff2D scrollPos) in ChangeZoomLevel() argument
40 scrollPos.x = scrollPos.x / state->GetOptions()->getWidth(); in ChangeZoomLevel()
41 scrollPos.y = scrollPos.y / state->GetOptions()->getHeight(); in ChangeZoomLevel()
42 state->SetViewingCenter(scrollPos); in ChangeZoomLevel()
/dports/games/xonotic/Xonotic/source/qcsrc/menu/item/
H A Dlistbox.qc5 return me.scrollPos != me.scrollPosTarget;
22 if (i < me.getFirstFullyVisibleItemAtScrollPos(me, me.scrollPos))
236 me.previousValue = me.scrollPos;
306 me.scrollPos = 0;
311 me.scrollPos = min(me.scrollPos, me.getTotalHeight(me) - 1);
313 me.scrollPos = max(me.scrollPos, 0);
350 if (me.scrollPos != me.scrollPosTarget)
357 me.scrollPos = me.scrollPos * f + me.scrollPosTarget * (1 - f);
358 if (fabs(me.scrollPos - me.scrollPosTarget) < 0.001) me.scrollPos = me.scrollPosTarget;
382 i = me.getItemAtPos(me, me.scrollPos);
[all …]
H A Dinputbox.qc58 p = me.scrollPos + pos.x - me.keepspaceLeft;
203 save = me.scrollPos;
204 …me.scrollPos = bound(cursorPosInWidths - (0.875 - me.keepspaceLeft - me.keepspaceRight), me.scroll…
205 if (me.scrollPos != save) me.dragScrollTimer = time + 0.2;
207 me.scrollPos = min(me.scrollPos, totalSizeInWidths - (1 - me.keepspaceRight - me.keepspaceLeft));
208 me.scrollPos = max(0, me.scrollPos);
221 p = me.realOrigin - eX * me.scrollPos;
343 draw_Text(me.realOrigin - eX * me.scrollPos, me.text, me.realFontSize, '1 1 1', 1, 0);
346 …angeTime) + 0.5) draw_Text(me.realOrigin + eX * (cursorPosInWidths - me.scrollPos), CURSOR, me.rea…
/dports/graphics/lazpaint/lazpaint-7.1.6/lazpaint/
H A Duimagepreview.pas162 scrollPos: integer;
174 else scrollPos := 0;
196 i, scrollPos: Integer;
205 else scrollPos := 0;
377 scrollPos := 0;
390 if scrollPos > maxScroll then scrollPos := maxScroll;
405 scrollPos := 0;
431 scrolledArea := rect(Area.Left, Area.Top-scrollPos, Area.Right, Area.Bottom-scrollPos);
463 y -= scrollPos;
1108 scrollPos: Integer;
[all …]
/dports/x11/libfm-qt/libfm-qt-1.0.0/src/
H A Dbrowsehistory.h42 explicit BrowseHistoryItem(Fm::FilePath path, int scrollPos = 0):
44 scrollPos_(scrollPos) { in path_()
62 int scrollPos() const { in scrollPos() function
92 return items_[currentIndex_].scrollPos(); in currentScrollPos()
107 void add(Fm::FilePath path, int scrollPos = 0);
H A Dbrowsehistory.cpp33 void BrowseHistory::add(Fm::FilePath path, int scrollPos) { in add() argument
52 items_.push_back(BrowseHistoryItem(path, scrollPos)); in add()
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/assets/javascripts/ide/components/jobs/
H A Ddetail.vue27 scrollPos: scrollPositions.top,
33 return this.scrollPos === scrollPositions.bottom;
36 return this.scrollPos === scrollPositions.top;
62 this.scrollPos = scrollPositions.bottom;
64 this.scrollPos = scrollPositions.top;
66 this.scrollPos = '';
/dports/audio/fasttracker2/ft2-clone-1.49/src/
H A Dft2_scrollbars.c471 int32_t scrollPos, length; in testScrollBarMouseDown() local
518 scrollPos = mouse.lastScrollX - scrollBar->x - mouse.saveMouseX; in testScrollBarMouseDown()
522 scrollPos = (int32_t)(dTmp + 0.5); in testScrollBarMouseDown()
526 scrollPos = CLAMP(scrollPos, 0, scrollBar->w); in testScrollBarMouseDown()
532 dTmp = ((double)scrollPos * scrollBar->end) / length; in testScrollBarMouseDown()
533 scrollPos = (int32_t)(dTmp + 0.5); in testScrollBarMouseDown()
535 setScrollBarPos(mouse.lastUsedObjectID, scrollPos, true); in testScrollBarMouseDown()
552 scrollPos = CLAMP(scrollPos, 0, scrollBar->h); in testScrollBarMouseDown()
558 dTmp = ((double)scrollPos * scrollBar->end) / length; in testScrollBarMouseDown()
559 scrollPos = (int32_t)(dTmp + 0.5); in testScrollBarMouseDown()
[all …]
/dports/multimedia/smplayer/smplayer-21.10.0/src/skingui/
H A Dmediapanel.cpp261 p.translate(-scrollPos, 0); in paintEvent()
262 p.drawText(widgetRect.adjusted(0,0,scrollPos, 0), Qt::AlignVCenter | Qt::AlignLeading, mText); in paintEvent()
264 …p.drawText(widgetRect.adjusted(0, 0, scrollPos - gap - textRect.width(), 0) , Qt::AlignVCenter | Q… in paintEvent()
289 scrollPos = 0; in updateLabel()
302 scrollPos += 1; in timerEvent()
303 scrollPos = scrollPos % (textRect.width() + gap); in timerEvent()
310 scrollPos =0; in ScrollingLabel()
/dports/deskutils/treeline/TreeLine/source/
H A Drecentfiles.py42 self.scrollPos = dataDict.get('scroll', '')
50 'scroll': self.scrollPos, 'select': self.selectSpots,
94 self.scrollPos = topSpot.spotId() if topSpot else ''
115 if self.scrollPos:
117 spotById(self.scrollPos))
/dports/cad/solvespace/solvespace-2.3/src/
H A Dtextwin.cpp89 int y = (halfRow - SS.TW.scrollPos)*(LINE_HEIGHT/2); in ShowEditControl()
354 y -= scrollPos*(LINE_HEIGHT/2); in DrawOrHitTestIcons()
819 scrollPos = min(scrollPos, bottom - halfRows); in Paint()
820 scrollPos = max(scrollPos, 0); in Paint()
842 if(ltop < (scrollPos-1)) continue; in Paint()
843 if(ltop > scrollPos+halfRows) break; in Paint()
847 int y = (ltop-scrollPos)*(LINE_HEIGHT/2) + 4; in Paint()
938 y -= scrollPos*(LINE_HEIGHT/2); in Paint()
984 y += scrollPos*hh; in MouseEvent()
1044 if(newPos != scrollPos) { in ScrollbarEvent()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/java/src/org/chromium/chrome/browser/omnibox/
H A DUrlBar.java715 float scrollPos = 0f; in scrollToBeginning() local
722 scrollPos = (int) getLayout().getPrimaryHorizontal(0) - getMeasuredWidth(); in scrollToBeginning()
729 scrollPos = Math.max(0, endPointX - measuredWidth + width); in scrollToBeginning()
731 scrollTo((int) scrollPos, getScrollY()); in scrollToBeginning()
756 float scrollPos; in scrollToTLD() local
759 scrollPos = Math.max(0, endPointX - measuredWidth); in scrollToTLD()
784 scrollPos = Math.max(0, endPointX + width - measuredWidth); in scrollToTLD()
786 scrollPos = endPointX + measuredWidth; in scrollToTLD()
789 scrollTo((int) scrollPos, getScrollY()); in scrollToTLD()
/dports/graphics/gwenview/gwenview-21.12.3/lib/documentview/
H A Dsvgviewadapter.cpp106 mSvgItem->setPos((imageOffset() - scrollPos()).toPoint()); in adjustItemPos()
204 QPointF SvgViewAdapter::scrollPos() const in scrollPos() function in Gwenview::SvgViewAdapter
206 return d->mView->scrollPos(); in scrollPos()
/dports/devel/RStudio/rstudio-2021.09.1-372/src/gwt/src/org/rstudio/studio/client/workbench/views/help/model/
H A DVirtualHistory.java46 public void setScrollPosition(Point scrollPos) in setScrollPosition() argument
48 scrollPos_ = scrollPos; in setScrollPosition()
/dports/games/scummvm/scummvm-2.5.1/graphics/macgui/
H A Dmacwindowborder.h130 void setScroll(int scrollPos, int scrollSize) { _scrollPos = scrollPos, _scrollSize = scrollSize; } in setScroll() argument
/dports/games/keeperrl/keeperrl-alpha23/
H A Dwindow_view.cpp805 ScrollPosition* scrollPos = scrollPos1; in chooseItem() local
807 if (!scrollPos) in chooseItem()
808 scrollPos = &localScrollPos; in chooseItem()
843 const vector<ItemInfo>& items, ScrollPosition* scrollPos) { in chooseTradeItem() argument
922 vector<ScrollPosition> scrollPos(list.size()); in presentHighscores() local
1126 ScrollPosition* scrollPos = scrollPos1; in chooseFromListInternal() local
1153 if (scrollPos == nullptr) in chooseFromListInternal()
1154 scrollPos = &localScrollPos; in chooseFromListInternal()
1164 stuff = gui.scrollable(std::move(stuff), scrollPos); in chooseFromListInternal()
1180 scrollPos->add(dir * 100, clock->getRealMillis()); in chooseFromListInternal()
[all …]
H A Dview.h157 …MenuType = MenuType::NORMAL, ScrollPosition* scrollPos = nullptr, optional<UserInputId> exitAction…
182 const vector<ItemInfo>&, ScrollPosition* scrollPos) = 0;
184 …nt> choosePillageItem(const string& title, const vector<ItemInfo>&, ScrollPosition* scrollPos) = 0;
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKv3/GKComponents/GKUI/Components/
H A DHyperView.cs296 var scrollPos = ImageViewport; in DoPaint()
297 int xOffset = fBorderWidth + scrollPos.Left; in DoPaint()
298 int yOffset = fBorderWidth + scrollPos.Top; in DoPaint()
309 xOffset = fBorderWidth + scrollPos.Left; in DoPaint()

12345678910