Lines Matching refs:bar
47 if (this->bar.status == 2) in CursorOver()
50 int visibleCount = this->count - this->bar.pos; in CursorOver()
86 this->bar.x = this->x + size.x / 2 - SCROLLBAR_WIDTH / 2; in Update()
87 this->bar.y = this->y - this->height * 5.5; in Update()
88 this->bar.count = this->count; in Update()
89 this->bar.Update(); in Update()
94 int visibleCount = this->count - this->bar.pos; in Update()
99 widthOffset = this->bar.width / 2; in Update()
104 this->bar.Reset(); in Update()
148 this->bar.pos ++; in Update()
150 if (this->bar.pos > this->count - COMBOBOX_COUNT) in Update()
151 this->bar.pos --; in Update()
162 this->bar.pos --; in Update()
164 if (this->bar.pos < 0) in Update()
165 this->bar.pos ++; in Update()
185 this->over = this->bar.pos + 0.5 + choice; in Update()
189 this->pos = this->bar.pos + 0.5 + choice; in Update()
219 this->bar.Reset(); in Update()
271 widthOffset = this->bar.width / 2; in Draw()
294 int position = this->bar.pos + 0.5; in Draw()
309 …ition]->GetName(), CVec3(this->x - this->bar.width / 2, startY, this->z + 0.021), CVec2(this->widt… in Draw()
314 this->bar.count = this->count; in Draw()
315 this->bar.x = this->x + size.x / 2 - SCROLLBAR_WIDTH / 2; in Draw()
316 this->bar.y = this->y - this->height * 5.5 * flipMul; in Draw()
317 this->bar.Draw(); in Draw()
325 this->bar.Reset(); in Reset()