mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-12 04:58:34 +00:00
Remove WinAPI object pointers from XUI scenes
This commit is contained in:
@@ -439,7 +439,7 @@ HRESULT CScene_Credits::OnInit( XUIMessageInit* pInitData, BOOL& bHandled )
|
||||
HXUIOBJ text;
|
||||
GetChildById( idString, &text );
|
||||
|
||||
VOID* pTextObj;
|
||||
void *pTextObj;
|
||||
XuiObjectFromHandle( text, &pTextObj );
|
||||
m_aTextTypes[ i ].m_appTextElements[ j ] = (CXuiControl *)pTextObj;
|
||||
m_aTextTypes[ i ].m_appTextElements[ j ]->SetShow( false );
|
||||
@@ -685,4 +685,4 @@ HRESULT CScene_Credits::OnTimer( XUIMessageTimer *pTimer, BOOL& bHandled )
|
||||
bHandled = TRUE;
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user