projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4551350
)
nicer output to terminal in Position callback
author
Diederick Niehorster
<dcnieho@gmail.com>
Fri, 23 Nov 2012 08:22:28 +0000
(08:22 +0000)
committer
Diederick 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
patch
|
blob
|
history
diff --git
a/progs/demos/Resizer/Resizer.cpp
b/progs/demos/Resizer/Resizer.cpp
index
3caf38e
..
41d8872
100644
(file)
--- a/
progs/demos/Resizer/Resizer.cpp
+++ b/
progs/demos/Resizer/Resizer.cpp
@@
-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