From 632fb45403e238a8d1da93af00a489ad0df4e6f0 Mon Sep 17 00:00:00 2001 From: Diederick Niehorster Date: Fri, 23 Nov 2012 05:26:36 +0000 Subject: [PATCH] added WCB_Position callback in callback table (only so far), code for zeroing callbacks upon window creation continues to work correctly git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1471 7f0cb862-5218-0410-a997-914c9d46530a --- src/fg_internal.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fg_internal.h b/src/fg_internal.h index a0b563b..fa89c8a 100644 --- a/src/fg_internal.h +++ b/src/fg_internal.h @@ -512,6 +512,7 @@ enum { WCB_Display, WCB_Reshape, + WCB_Position, WCB_Keyboard, WCB_KeyboardUp, WCB_Special, @@ -643,8 +644,8 @@ struct tagSFG_Structure SFG_Window* GameModeWindow; /* The game mode window */ - int WindowID; /* The new current window ID */ - int MenuID; /* The new current menu ID */ + int WindowID; /* The window ID for the next window to be created */ + int MenuID; /* The menu ID for the next menu to be created */ }; /* -- 1.7.10.4