Revision: 6791
http://playerstage.svn.sourceforge.net/playerstage/?rev=6791&view=rev
Author: jeremy_asher
Date: 2008-07-07 15:13:09 -0700 (Mon, 07 Jul 2008)
Log Message:
-----------
Fixed window resize bug
Modified Paths:
--------------
code/stage/trunk/libstage/worldgui.cc
Modified: code/stage/trunk/libstage/worldgui.cc
===================================================================
--- code/stage/trunk/libstage/worldgui.cc 2008-07-07 21:43:54 UTC (rev
6790)
+++ code/stage/trunk/libstage/worldgui.cc 2008-07-07 22:13:09 UTC (rev
6791)
@@ -212,9 +212,8 @@
int width = (int)wf->ReadTupleFloat(window_section, "size", 0, w() );
int height = (int)wf->ReadTupleFloat(window_section, "size", 1, h() );
- // on OS X this behaves badly - prevents the Window manager resizing
- //larger than this size.
size( width,height );
+ size_range( 100, 100 ); // set min size to 100/100, max size to screen size
// configure the canvas
canvas->Load( wf, window_section );
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit