How to use HDC's with SDL?

Hi, I need to create a font with wglUseFontBitmaps(); And I need to have a HDC to pass to that function. So my question is how can I use HDC’s with SDL? I don’t want to create HWND’s etc, because they are the reason I choose SDL.

Thanks.

to Sam:
we should modify the SDL_SysWMinfo struct to get the GLX / WGL / AGL context
variable (and perhaps things like XVisualInfo).On Tuesday 07 May 2002 21:03, Micke B wrote:

Hi, I need to create a font with wglUseFontBitmaps(); And I need to have
a HDC to pass to that function. So my question is how can I use HDC’s with
SDL? I don’t want to create HWND’s etc, because they are the reason I
choose SDL.


Johannes Schmidt

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

Check out SDL_TTF - it’s great.

-Lars----- Original Message -----
From: Micke B
To: sdl at libsdl.org
Sent: Tuesday, May 07, 2002 12:03 PM
Subject: [SDL] How to use HDC’s with SDL?

Hi, I need to create a font with wglUseFontBitmaps(); And I need to have a HDC to pass to that function. So my question is how can I use HDC’s with SDL? I don’t want to create HWND’s etc, because they are the reason I choose SDL.

Thanks.

Where can I find information about SDL_TTF?

Thanks, Bauer.----- Original Message -----
From: Lars Laukamm
To: sdl at libsdl.org
Sent: Wednesday, May 08, 2002 6:19 PM
Subject: Re: [SDL] How to use HDC’s with SDL?

Check out SDL_TTF - it’s great.

-Lars
----- Original Message -----
From: Micke B
To: sdl at libsdl.org
Sent: Tuesday, May 07, 2002 12:03 PM
Subject: [SDL] How to use HDC’s with SDL?

Hi, I need to create a font with wglUseFontBitmaps(); And I need to have a HDC to pass to that function. So my question is how can I use HDC's with SDL? I don't want to create HWND's etc, because they are the reason I choose SDL.

Thanks.

http://www.libsdl.org/projects/SDL_ttf/index.html

Many projects are listed on the libsdl.org site, please check there first in the
future.On Wed, May 08, 2002 at 10:42:29PM +0200, Micke B wrote:

Where can I find information about SDL_TTF?