Home
last modified time | relevance | path

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

/CafeSDK-2.12.13-1/system/src/lib/demo/demowin/
Ddemowin_scroll_bar.cpp38 offY = (0.5 - offY) * (this->height - this->subHeight); in Update()
47 offY = 0.5 - offY / (this->height - this->subHeight); in Update()
72 if (CursorColliding(this->x, this->y + offY, this->width, this->subHeight)) in Update()
111 subHeight = height * (1.0 - (float)sizeY / count); in Draw()
113 if (subHeight < width) in Draw()
114 subHeight = width; in Draw()
116 offY = (0.5 - offY) * (height - subHeight); in Draw()
121 DrawQuad(CVec3(x, y + offY, z + 0.0001), CVec2(width, subHeight), color); in Draw()
/CafeSDK-2.12.13-1/system/include/cafe/demo/demowin/
Ddemowin_scroll_bar.h19 …: MenuItem(window, position, size), pos(0), subHeight(size.y / 10), count(_count), max(_max), pPos… in MenuItem()
22 …: MenuItem(window, position, size), subHeight(size.y / 10), count(_count), max(_max), pPos(_pPos) … in ScrollBar()
25 …: MenuItem(copy), pos(copy.pos), subHeight(copy.subHeight), count(copy.count), max(copy.max), pPos… in ScrollBar()
36 float subHeight; member
/CafeSDK-2.12.13-1/system/src/lib/demo/headers/cafe/demo/demowin/
Ddemowin_scroll_bar.h19 …: MenuItem(window, position, size), pos(0), subHeight(size.y / 10), count(_count), max(_max), pPos… in MenuItem()
22 …: MenuItem(window, position, size), subHeight(size.y / 10), count(_count), max(_max), pPos(_pPos) … in ScrollBar()
25 …: MenuItem(copy), pos(copy.pos), subHeight(copy.subHeight), count(copy.count), max(copy.max), pPos… in ScrollBar()
36 float subHeight; member