Posts: 114
Threads: 3
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Oct 2014
Reputation:
0
oof i remember that i fixed this through switching some code to november.. UIArray? maybe?
one of these UI functions. I think I went through the entire UI searching for what is being used and something I changed made it work
Maybe I'm completely wrong tho.
Posts: 275
Threads: 10
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Sep 2013
Reputation:
0
52 minutes ago, Veni said:
oof i remember that i fixed this through switching some code to november.. UIArray? maybe?
one of these UI functions. I think I went through the entire UI searching for what is being used and something I changed made it work
Maybe I'm completely wrong tho.
You are completely right, thank you very much ?
UIArray.cpp
WMSG_RESULT CUIArray::OnLButtonDown(UINT16 x, UINT16 y)
nMax = m_vecArrayChild.size();
for (i = 0; i < nMax; ++i)
{
//if (m_vecArrayChild[i]->IsInside(x, y) == TRUE)
if (m_vecArrayChild[i]->GetHide() == FALSE && //shop fix
m_vecArrayChild[i]->IsInside(x, y) == TRUE)
{
SetSelectIdx(i);
break;
}
}