[SDL] Support for multiple windows

Bob Pendleton bob at pendleton.com
Fri Dec 15 09:04:33 PST 2006


On Thu, 2006-12-14 at 20:47 -0700, Sean D'Epagnier wrote:
> How would multiple windows work with the drivers that have no underlying
> windowing system?

They would allow you to create one full screen window and then fail when
you requested more windows or subwindows. I spent a long time looking at
how to add windows to systems that do not support windows (and I have
spent 5 years porting X to many platforms so I know the problem pretty
well) and there is just no reasonable way to support multiple windows on
systems that do not support multiple windows. You would have to add a
windowing system and a window manager in to SDL. Which is something no
one wants and no one is willing to do.

		Bob Pendleton

> 
> sean
> 
> On Thu, Dec 14, 2006 at 12:47:58PM -0600, J.J. Sestrich wrote:
> > Bob Pendleton wrote:
> > > 
> > > I have been pushing that project for the last couple of years. I did
> > > manage to get multiple window support added to the 1.2 version on linux.
> > > There are a number of very good reasons not to add it to the 1.2
> > > version. SDL has the idea that there is only one window coded deep into
> > > its heart. To add multiple windows you have to change the all event
> > > structures, the surface structure, and make deep changes in the
> > > portability layer. Not to mention rewrite the lowest level driver code. 
> > 
> > I have looked at the code and this makes plenty of sense to me, so I've 
> > begun playing with the 1.3 code.
> > 
> > > 
> > > Once you are done, it is sweet! The last I heard the plan is to develop
> > > 1.3 with hooks for multiple windows and to add them in 1.3.1. But, the
> > > plan is always subject to change.
> > 
> >  From what I can see, there is at least some support already built in, 
> > although I haven't had time to do much more than start reading the video 
> > parts of the 1.3 code. I'd be glad to check out the bugs, I just figured 
> > this was probably my best area to help in as I have played with at least 
> > the Windows API a signicant amount, and have played with XWindows a 
> > little while back as well.
> > 
> > Thanks for the input!
> > J.J. Sestrich
> > 
> >  > Sam is working on 1.3 as fast as he
> > > can and I am sure that if has anything to say about this he will join
> > > the thread. If you want to help develop SDL, I would suggest starting by
> > > down loading 1.3 and reading the code. Or, you could take a look at the
> > > bug list for any version and start fixing bugs. Believe me, any help is
> > > always appreciated.
> > > 
> > > 		Bob Pendleton
> > > 
> > > 
> > > 
> > >>Thanks,
> > >>J.J. Sestrich
> > >>
> > >>
> > >>_______________________________________________
> > >>SDL mailing list
> > >>SDL at libsdl.org
> > >>http://www.libsdl.org/mailman/listinfo/sdl
> > >>
> > 
> > 
> > _______________________________________________
> > SDL mailing list
> > SDL at libsdl.org
> > http://www.libsdl.org/mailman/listinfo/sdl
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
> 
-- 
+--------------------------------------+
+ Bob Pendleton: writer and programmer +
+ email: Bob at Pendleton.com             +
+ web: www.GameProgrammer.com          +
+ www.Wise2Food.com                    +
+ nutrient info on 7,000+ common foods +
+--------------------------------------+






More information about the SDL mailing list