void XWndPrivateRaidSpot::Update() { XWndSpot::Update(); // 도전마크를 스팟위에 그림 const auto size = GetSizeFinal(); XVector<XWnd*> aryChild; XE::VEC2 vlPos = XE::VEC2( -8, -size.h ); for( int i = 0; i < 2; ++i ) { const bool bOn = !(i < m_pSpot->GetnumWins()); const std::string ids = XE::Format( "img.mark%d", i ); auto pImg = XWndImage::sUpdateCtrl( this, ids ); if( pImg ) { if( i == 0 ) { //vlPos.y -= pImg->GetSizeLocal().h; } aryChild.push_back( pImg ); if( bOn ) { pImg->SetSurfaceRes( PATH_UI("chall_mark_on.png") ); } else { pImg->SetSurfaceRes( PATH_UI( "chall_mark_off.png" ) ); } pImg->SetPosLocal( vlPos ); vlPos.x += pImg->GetSizeLocal().w; } } // AutoLayoutHCenterWithAry( aryChild, 0.f ); }