Home
last modified time | relevance | path

Searched refs:GetWidth (Results 1 – 6 of 6) sorted by relevance

/CafeSDK-2.12.13/system/src/lib/demo/demowin/
Ddemowin_tab_window.cpp33 float x = -GetWidth() / 2 + GetWidth() / tabWindowList.size() / 2; in Draw()
36 float spacing = GetWidth() / tabWindowList.size(); in Draw()
38 float buttonWidth = GetWidth() / tabWindowList.size(); in Draw()
72 scrollBar->x = (this->GetWidth() - SCROLLBAR_WIDTH) / 2; in PreUpdate()
86 if (canUpdate && menu->CursorColliding(0, -height / 2, GetWidth(), height)) in PreUpdate()
89 … tabWindowOver = (menu->CursorX() - this->GetLeft()) / this->GetWidth() * tabWindowList.size(); in PreUpdate()
116 scrollBar->x = (this->GetWidth() - SCROLLBAR_WIDTH) / 2; in PreDraw()
Ddemowin_manager.cpp163 …if (peripheral->CursorColliding(window, window->GetWidth() / 2 - CLOSEBUTTON_X, window->GetTop() +… in UpdateCloseButton()
183 …peripheral->DrawBox(CVec3(window->GetX() + window->GetWidth() / 2 - CLOSEBUTTON_X, window->GetTop(… in DrawCloseButton()
184 …peripheral->DrawTextCenter("X", CVec3(window->GetX() + window->GetWidth() / 2 - CLOSEBUTTON_X, win… in DrawCloseButton()
222 …->DrawWindowQuad(CVec2(window->GetX(), window->GetTop()), CVec2(window->GetWidth(), window->GetHei… in Draw()
309 …>GetX(), window->y + WINDOW_HANDLE_HEIGHT / 2 - window->GetY(), window->GetWidth(), WINDOW_HANDLE_… in Update()
/CafeSDK-2.12.13/system/include/nn/ec/
Dec_ImageFile.h44 const u32 GetWidth() const;
/CafeSDK-2.12.13/system/src/lib/demo/
Ddemowin.cpp215 float Window::GetWidth() in GetWidth() function in DEMOWin::Window
219 return this->master->GetWidth(); in GetWidth()
286 …orColliding(this->GetX(), this->GetTop() - this->GetHeight() / 2, this->GetWidth(), this->GetHeigh… in CursorOver()
380 scrollBar->x = (this->GetWidth() - SCROLLBAR_WIDTH) / 2; in PreUpdate()
402 scrollBar->x = (this->GetWidth() - SCROLLBAR_WIDTH) / 2; in PreDraw()
/CafeSDK-2.12.13/system/src/lib/demo/headers/cafe/demo/
Ddemowin.h55 float GetWidth();
59 float GetLeft() {return this->x - GetWidth() / 2;} in GetLeft()
60 float GetRight() {return this->x + GetWidth() / 2;} in GetRight()
/CafeSDK-2.12.13/system/include/cafe/demo/
Ddemowin.h55 float GetWidth();
59 float GetLeft() {return this->x - GetWidth() / 2;} in GetLeft()
60 float GetRight() {return this->x + GetWidth() / 2;} in GetRight()