nicer output to terminal in Position callback
authorDiederick Niehorster <dcnieho@gmail.com>
Fri, 23 Nov 2012 08:22:28 +0000 (08:22 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Fri, 23 Nov 2012 08:22:28 +0000 (08:22 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1481 7f0cb862-5218-0410-a997-914c9d46530a

progs/demos/Resizer/Resizer.cpp

index 3caf38e..41d8872 100644 (file)
@@ -168,7 +168,7 @@ void Position(int x, int y)
 {\r
     int win = glutGetWindow();\r
 \r
-    printf("position %s, %dx%d\n",win==nWindow?"main":"child",\r
+    printf("position, %s: %dx%d\n",win==nWindow?"top-left of main":"top-left of child relative to parent",\r
         x, y);\r
 }\r
 \r