Searched refs:curPos (Results 1 – 6 of 6) sorted by relevance
| /NW4C-2.0.3/demos/lyt/bounding/sources/ |
| D | main.cpp | 165 nw::math::VEC2 curPos; in GetCursorPosition() local 171 …curPos.x = center.x + stick.x / (cursorRect.right - cursorRect.left ) * (layoutRect.right - layou… in GetCursorPosition() 172 …curPos.y = center.y + stick.y / (cursorRect.top - cursorRect.bottom) * (layoutRect.top - layou… in GetCursorPosition() 174 return curPos; in GetCursorPosition() 184 ApplyCursorPosition(nw::lyt::Layout* pLayout, const nw::math::VEC2& curPos) in ApplyCursorPosition() argument 189 pCrossBar->SetTranslate(curPos); in ApplyCursorPosition() 300 nw::math::VEC2 curPos(0.f, 0.f); in nnMain() local 342 curPos = GetCursorPosition(pLayout); in nnMain() 344 ApplyCursorPosition(pLayout, curPos); in nnMain() 348 nw::math::VEC3 tmp(curPos.x, curPos.y, 0.0f); in nnMain() [all …]
|
| /NW4C-2.0.3/demos/lyt/animShare/sources/ |
| D | main.cpp | 174 nw::math::VEC2 curPos; in GetCursorPosition() local 180 …curPos.x = center.x + stick.x / (cursorRect.right - cursorRect.left ) * (layoutRect.right - layou… in GetCursorPosition() 181 …curPos.y = center.y + stick.y / (cursorRect.top - cursorRect.bottom) * (layoutRect.top - layou… in GetCursorPosition() 184 return curPos; in GetCursorPosition() 194 ApplyCursorPosition(nw::lyt::Layout& layout, const nw::math::VEC2& curPos) in ApplyCursorPosition() argument 199 pCrossBar->SetTranslate(curPos); in ApplyCursorPosition() 465 nw::math::VEC2 curPos(0.f, 0.f); in nnMain() local 492 curPos = GetCursorPosition(*pLayout); in nnMain() 495 ApplyCursorPosition(*pLayout, curPos); in nnMain() 499 nw::math::VEC3 tmp(curPos.x, curPos.y, 0.0f); in nnMain() [all …]
|
| /NW4C-2.0.3/demos/lyt/tagGroupBind/sources/ |
| D | main.cpp | 215 nw::math::VEC2 curPos; in GetCursorPosition() local 221 …curPos.x = center.x + stick.x / (cursorRect.right - cursorRect.left ) * (layoutRect.right - layou… in GetCursorPosition() 222 …curPos.y = center.y + stick.y / (cursorRect.top - cursorRect.bottom) * (layoutRect.top - layou… in GetCursorPosition() 224 return curPos; in GetCursorPosition() 234 ApplyCursorPosition(nw::lyt::Layout* pLayout, const nw::math::VEC2& curPos) in ApplyCursorPosition() argument 239 pCrossBar->SetTranslate(curPos); in ApplyCursorPosition() 436 nw::math::VEC2 curPos(0.f, 0.f); in nnMain() local 457 curPos = GetCursorPosition(pLayout); in nnMain() 458 ApplyCursorPosition(pLayout, curPos); in nnMain() 469 nw::math::VEC3 tmp(curPos.x, curPos.y, 0.0f); in nnMain() [all …]
|
| /NW4C-2.0.3/sources/libraries/snd/ |
| D | snd_HioSoundArchive.cpp | 411 u32 curPos = io::HioFileStream::Tell(); in Read() local 412 if ( curPos + length > m_Offset + m_Size ) { in Read() 413 length = static_cast<u32>( ut::RoundUp( m_Offset + m_Size - curPos, 32 ) ); in Read()
|
| D | snd_RomSoundArchive.cpp | 655 u32 curPos = io::RomFileStream::Tell(); in Read() local 656 if ( curPos + length > m_Offset + m_Size ) { in Read() 657 length = static_cast<u32>( ut::RoundUp( m_Offset + m_Size - curPos, 32 ) ); in Read()
|
| /NW4C-2.0.3/sources/libraries/lyt/ |
| D | lyt_TextBox.cpp | 282 const VEC2 curPos = AdjustTextPos(GetSize(), false); in GetTextDrawRect() local 285 ltPos.x += curPos.x - textPos.x; in GetTextDrawRect() 286 ltPos.y -= curPos.y - textPos.y; in GetTextDrawRect()
|