[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu3dkit-dev] GSXView

From: Philippe C . D . Robert
Subject: Re: [Gnu3dkit-dev] GSXView
Date: Fri, 25 Oct 2002 12:21:28 +0200

On Friday, October 25, 2002, at 04:49  Uhr, Adam Fedor wrote:
Frederic De Jaeger wrote:
Philippe> One more thing wrt OGL: what if there is no OGL installed?
Philippe> How should GNUstep handle this situation then?
We can imagine several solutions:
1) #idfef HAS_GLX
I'm joking
2) Put the NS*GL* classes in a separate library.
I don't know MACOSX X. Are those classes part of the main GUI library?
3) Put them in the main gui library, but only stubs that will load a
bundle when they are really instantiated.  We can implement this
solution (which I think is the best) via delegation or via class
clusters  (it depends on wether we  allow inheritance from these
NS*GL* classes or not  --- what does MACOSX allow in this case?)

You'd probably want to use configure to conditionally compile in the classes.

I second that, esp. since these classes are part of Cocoa's AppKit. But IMHO the classes should always be there, just using stubs if no OpenGL is available.

Philippe C.D. Robert

reply via email to

[Prev in Thread] Current Thread [Next in Thread]