Sdl on a form

Started by
4 comments, last by dizzarian 21 years, 10 months ago
Has anyone used sdl on a form, i.e like a map editor. I want to create an editor and use forms (i.e mfc for you vc++ people). I can''t seem to figure out how to make sdl draw to a different handle instead of the one that it creates. Does this make any sense to anyone?
Advertisement
first sentence, have no idea

second sentence, handle? SDL is a low-level cross-platform api, it is meant to take you away from the horrors of windows programming, SDL can create and draw to surfaces, please look that word up, it should give you everything you need
Ok obviously I did not explain myself very well. A picture is worth a thousand words



This is something common I do with opengl and really want to do it with sdl. As you can see I have controls that are not graphic api based that control the graphic api.

I understand surfaces I just want to attach that surface to a specific handle, there is a correlation to handle with qt in linux but I'm not for sure what it is (think it's widgit_id or something) but I'm really only interested in windows at the moment.

[edited by - dizzarian on April 17, 2002 11:40:07 PM]
I think you are in luck, if you go to the SDL libraries page, there is an additional library you can add on, I believe it is called ParaGui. Anyway, I haven''t used it myself but I think it is useful for making a SDL application with GUI features.
JEDI-SDL ( http://www.sf.net/projects/jedi-sdl ) has an example of how you can do this using Delphi.


L8R,


Dominique.
http://www.DelphiGamer.com := for all your Object Pascal game development needs;

[edited by - savage on June 10, 2002 12:22:53 PM]
http://www.PascalGameDevelopment.com := go on, write a game instead;
I downloaded ParaGUI but I''m still tinkering with it to make it work. Damn makefiles...

Drew Sikora
Executive Producer
GameDev.net

This topic is closed to new replies.

Advertisement