Home
last modified time | relevance | path

Searched refs:barPos (Results 1 – 2 of 2) sorted by relevance

/haiku/src/kits/tracker/
H A DPose.cpp857 int32 barPos = int32(barHeight * percent / 100.0); in DrawBar() local
858 if (barPos < 0) in DrawBar()
859 barPos = 0; in DrawBar()
860 else if (barPos > barHeight) in DrawBar()
861 barPos = barHeight; in DrawBar()
868 bar.bottom = bar.top + barPos - 1; in DrawBar()
869 if (barPos > 0) in DrawBar()
/haiku/src/apps/softwareupdater/
H A DSoftwareUpdaterWindow.cpp997 int32 barPos = barHeight - int32(barHeight * fDownloadProgress / 100.0); in _DrawBar() local
998 if (barPos < 0) in _DrawBar()
999 barPos = 0; in _DrawBar()
1000 else if (barPos > barHeight) in _DrawBar()
1001 barPos = barHeight; in _DrawBar()
1008 bar.bottom = bar.top + barPos - 1; in _DrawBar()
1009 if (barPos > 0) in _DrawBar()