On Tue, Apr 06, 2010 at 08:01:00PM -0300, Ernesto Domato wrote:
> Hi, today I tested the SVN version of agar and encountered the problem
> that on some demos, the scrollbars doesn't get to the end vertically
> or horizontally. For example, the "themes" demo.
Thanks, the bug has been fixed in current SVN.
> On the "themes" demo too, the -f flag should force full-screen with
> the SDL driver, but it doesn't.
> Another problem that I found is that if you explicitly use the SDL
> driver and use AG_InitVideo (I know it's deprecated on 1.4 but I don't
> know how to make it in other way) to create a full-screen application,
AG_InitGraphics() replaces AG_InitVideo(), so you just need to do:
AG_InitGraphics("sdlfb"); // or "sdlgl"
or to choose the "best" driver with SDL support:
AG_InitGraphics("<SDL>");
> when I exit the application it doesn't return to the same resolution
> that I was using on my Linux Xorg display.
As of current SVN, the "themes" demo should now honor the "-f" flag (i.e.,
the legacy "view.full-screen" config setting), but I can't find a way in
the SDL API to check if the full-screen is currently set, so we are forced
to keep a state variable and assume that SDL_WM_ToggleFullScreen() is not
invoked elsewhere in your program.
_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html