glutPostWindowRedisplay(win);\r
}\r
\r
-void Timer(int unused)
-{
- int win = glutGetWindow();
+void Timer(int unused)\r
+{\r
+ int win = glutGetWindow();\r
int border, caption;\r
\r
nPosX = glutGet(GLUT_WINDOW_X);\r
else\r
printf("child window %dx%d, top-left of client at: (%d,%d), relative to parent\n",\r
nWidth, nHeight,\r
- nPosX ,nPosY);
-
- /* (re)set the timer callback and ask glut to call it in 500 ms */
- glutTimerFunc(500, Timer, 0);
+ nPosX ,nPosY);\r
+\r
+ /* (re)set the timer callback and ask glut to call it in 500 ms */\r
+ glutTimerFunc(500, Timer, 0);\r
}\r
\r
\r