CWnd * lpShowWnd=::FromHandle(hWnd);
sprintf(szVariable,"SDL_WINDOWN=0x%1x",cmd);
SDL_putenv(szVariable);
if(lpShowWnd!=NULL)
{
CRect rct=lpShowWnd->GetWindowRect();
rect.x = 0;
rect.y = 0;
rect.w =rct.right-rct.left;
rect.h =rct.bottom-rct.top;
SDL_DisplayYUVOverlay(bmp, &rect);
}
SDL_putenv(szVariable);
if(lpShowWnd!=NULL)
{
CRect rct=lpShowWnd->GetWindowRect();
rect.x = 0;
rect.y = 0;
rect.w =rct.right-rct.left;
rect.h =rct.bottom-rct.top;
SDL_DisplayYUVOverlay(bmp, &rect);
}
本文深入探讨了SDL_WINDOWN的使用方法及其与窗口显示技术的结合,详细解析了如何通过SDL库实现窗口的创建、配置以及显示过程。
4347

被折叠的 条评论
为什么被折叠?



