[libavg-users] window size

Sergej Forat core13 at gmx.net
Sat Jul 10 17:12:54 CEST 2010


  Hi,

<avg width="800" height="600"> creates a fixed size window. Is there a 
way to allow the user to change the size, having width, height as 
relative(to the window) resolution?

Trying to force the native resolution/fullscreen:
player.setResolution(True, 1280, 800, 32)

Leads to:
ERROR: Setting SDL video mode failed: No video mode large enough for 
1280x960. (width=1280, height=960, bpp=32, multisamplesamples=1).

I am curious where the 960px height is from?

What happens if the avg file resolution differs from the set resolution? 
Will the width, height be overridden leading to an incorrect layout(as 
it is defined relative to avg width, height)?

Regards Sergej



More information about the libavg-users mailing list