void CBaseUITextField::onResized() { CBaseUIScrollView::onResized(); m_textObject->setParentSize(m_vSize); //m_textObject->setSize(m_vSize); scrollToX(getScrollPosX()); scrollToY(getScrollPosY()); setScrollSizeToContent(0); }
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // AflStringsWindow // 文字列表示用ウインドウ //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //----------------------------------------------- void AflStringsWindow::onScrollPos(INT iBar,DWORD dwPos) { m_spriteStrings.setStartPoint(getScrollPosX(),getScrollPosY()); }