How to get the SDL_Window

Hi, it sounds crucial to me to be able
to get the SDL_Window HANDLE in order
to reparent the window, changes its attribute
from the client, resize the window by programmation
and so on.

Regards

Hi, it sounds crucial to me to be able
to get the SDL_Window HANDLE in order
to reparent the window, changes its attribute
from the client, resize the window by programmation
and so on.

Regards

Use SDL_GetWMInfo(SDL_SysWMinfo *info);

For details look into SDL_syswm.hOn Thursday 18 July 2002 14:04, Thomas Younsi (Obvious Tech) wrote:

Hi, it sounds crucial to me to be able
to get the SDL_Window HANDLE in order
to reparent the window, changes its attribute
from the client, resize the window by programmation
and so on.


Johannes Schmidt

< http://libufo.sourceforge.net > Your widget set for OpenGL

Thanks,

Is there a way to set a Strech Mode that automatically strech the Surface
when
blitting to the screen and clipped to its attach window

SDL_ShowCursor(SDL_DISABLE);
SDL_SysWMinfo info;
SDL_VERSION(&info.version);
int ret;
ret = SDL_GetWMInfo(&info);
int mask = SDL_NOFRAME| SDL_HWSURFACE | SDL_RESIZABLE;
m_screen = SDL_SetVideoMode(w,
h,
m_video_bpp,
mask);> ----- Original Message -----

From: sdl-admin@libsdl.org [mailto:sdl-admin at libsdl.org]On Behalf Of
Johannes Schmidt
Sent: Thursday, July 18, 2002 2:51 PM
To: sdl at libsdl.org
Subject: Re: [SDL] How to get the SDL_Window

On Thursday 18 July 2002 14:04, Thomas Younsi (Obvious Tech) wrote:

Hi, it sounds crucial to me to be able
to get the SDL_Window HANDLE in order
to reparent the window, changes its attribute
from the client, resize the window by programmation
and so on.

Use SDL_GetWMInfo(SDL_SysWMinfo *info);

For details look into SDL_syswm.h


Johannes Schmidt

< http://libufo.sourceforge.net > Your widget set for OpenGL


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

There is no such thing in SDL. SDL is the Simple DirectMedia Layer.
If you want stretched blit, then you’ll have to write your own code.On Thu, 2002-07-18 at 16:01, Thomas Younsi wrote:

Thanks,

Is there a way to set a Strech Mode that automatically strech the Surface
when
blitting to the screen and clipped to its attach window