Home
last modified time | relevance | path

Searched refs:pPos (Results 1 – 3 of 3) sorted by relevance

/CafeSDK-2.12.13/system/src/lib/demo/demowin/
Ddemowin_scroll_bar.cpp36 float offY = *this->pPos / sizeY; in Update()
48 *this->pPos = offY * sizeY; in Update()
51 if (*this->pPos >= this->count - this->max) in Update()
54 *this->pPos = this->count - this->max; in Update()
57 if (*this->pPos <= 0) in Update()
58 *this->pPos = 0; in Update()
89 if (wasMax && oldPos == *pPos) in Draw()
90 *pPos = count - max; in Draw()
95 if (*pPos >= count - max) in Draw()
98 *pPos = count - max; in Draw()
[all …]
/CafeSDK-2.12.13/system/include/cafe/demo/demowin/
Ddemowin_scroll_bar.h19 …em(window, position, size), pos(0), subHeight(size.y / 10), count(_count), max(_max), pPos(&pos) {} in MenuItem()
22 …: MenuItem(window, position, size), subHeight(size.y / 10), count(_count), max(_max), pPos(_pPos) … in ScrollBar()
25 …copy.subHeight), count(copy.count), max(copy.max), pPos(copy.pPos) {if (copy.pPos == &copy.pos) {p… in ScrollBar()
44 float* pPos; member
/CafeSDK-2.12.13/system/src/lib/demo/headers/cafe/demo/demowin/
Ddemowin_scroll_bar.h19 …em(window, position, size), pos(0), subHeight(size.y / 10), count(_count), max(_max), pPos(&pos) {} in MenuItem()
22 …: MenuItem(window, position, size), subHeight(size.y / 10), count(_count), max(_max), pPos(_pPos) … in ScrollBar()
25 …copy.subHeight), count(copy.count), max(copy.max), pPos(copy.pPos) {if (copy.pPos == &copy.pos) {p… in ScrollBar()
44 float* pPos; member