On Mon, Apr 19, 2010 at 07:32:39AM +0000, Ash wrote:
> Greetings, is it possible to set GLView to arbitrary size? 
> I've tried both AG_GLViewSizeHint and AG_WidgetSetSize. No matter what width 
> and
> height I provide, OpenGL is drawn in a tiny domain in the corner of a window. 
> AG_Expand works, but it isn't what I need.

AG_GLViewSizeHint() is the correct way to do it, but you're right,
it would not honor it at all. A fix has been committed to SVN.

AG_WidgetSetSize() is meant to be called by container widgets, it
will not work outside of the size_request() or size_allocate()
operation of a widget.

_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to