Lines Matching refs:x
23 …pItem->minus = HeldButton::Add(HeldButton(item.window, CVec3(item.x - (item.width - item.height) /… in Add()
24 …pItem->plus = HeldButton::Add(HeldButton(item.window, CVec3(item.x + (item.width - item.height) /… in Add()
76 float x = CursorX() - this->oldX; in Update() local
77 float t = x / (this->width - this->height * 3); in Update()
106 float x = t * (this->width - this->height * 3); in Update() local
109 if (CursorColliding(this->x + x, this->y, this->height, this->height)) in Update()
115 this->oldX = CursorX() - x; in Update()
144 this->minus->x = this->x - (this->width - this->height) / 2; in Draw()
147 this->plus->x = this->x + (this->width - this->height) / 2; in Draw()
156 float x = t * (this->width - this->height * 3); in Draw() local
160 …DrawBox(CVec3(this->x + x, this->y, this->z + 0.002), CVec2(this->height, this->height), CVec4(col… in Draw()
165 …DrawTextCenter(buffer, CVec3(this->x + x, this->y, this->z + 0.003), CVec2(this->height, this->hei… in Draw()