Hi, > > Well, if you mean a fullscreen _display_ by "fullscreen window", then > > how about using fullscreen targets such as xf86dga, svgalib or fbdev? > Well, one of the reasons I'm using GGI is that I don't want to think about > this kinda stuff.
Right. Let the user think of it. I would rather document it and be done with it. The point is, that the user should have the choice of how he wants the application to appear and LibGGI just allows that. When running X, I usually want to have the application appear in a window. Something like a "maximum size" doesn't quite make sense under X, as you can have virtual screens. In my current configuration, I have 3x3 times 1600x1200 - I wouldn't want an application to start up at 4800x3600, and actually I even wouldn't want it to start up at 1600x1200. If it is a game or similar, that I want to have fullscreen, I just tell LibGGI to do that using GGI_DISPLAY and GGI_DEFMODE. So basically my advice is this: Make a script that probes the environment (DISPLAY, access to /dev/fbx) and set up GGI_DISPLAY and GGI_DEFMODE for the user. So if a user wants to do it differently, he can. It is very handy to be able to push an application into a small X window in order to have an editor and a screengrabber besides it to write some docs about it or similar. > But I think I it might be a good idea to have functions > that give you back a maximum visual size. You can ggiCheckMode with very large initial size. You will then be given back the maximum visual and virtual sizes. But note, that under X, there is not really such a thing as a "maximum visual size". What should Virtual window managers answer? All screens together? Might not be the expected result - yet I might want it, as I usually do for big scanned photoes in xv (some even exceeding the virtual screen - I just have a keyboard binding for "Move window", then). Only one screen's size? With/without decoration? With/without already occupied spaces like starter bars? > And under X you *can* do fullscreen stuff as well (maybe that's xf86dga?) Yes. If you are talking about being able to sitch modes and occupy the full screen. Of course another possibility is what e.g. xlock does ... > Yes, I'm writing a GGI (and GII) wrapper for GNU Pascal - not for Atari > Pascal :) Great! another supported language is always welcome! Thanks! > When I feel that I have the stuff running smoothly I will of course give it > back to the public :) Great. Thanks. CU, Andy -- = Andreas Beck | Email : <[EMAIL PROTECTED]> =
