[Plib-cvs] plib/demos/p-guide/src pGuide.cxx,1.5,1.6
Brought to you by:
sjbaker
|
From: James J. <pu...@us...> - 2002-08-15 05:00:27
|
Update of /cvsroot/plib/plib/demos/p-guide/src
In directory usw-pr-cvs1:/tmp/cvs-serv29941
Modified Files:
pGuide.cxx
Log Message:
Popupmenu fix
Index: pGuide.cxx
===================================================================
RCS file: /cvsroot/plib/plib/demos/p-guide/src/pGuide.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- pGuide.cxx 15 Aug 2002 04:15:17 -0000 1.5
+++ pGuide.cxx 15 Aug 2002 05:00:23 -0000 1.6
@@ -457,8 +457,8 @@
} else {
context_menu->hide();
}
- } else if ( context_menu->isVisible() == 1) { context_menu->hide(); } /* The user did something funny, so hide the menu since they've been naughty */
-
+ } else /*if ( context_menu->isVisible() == 1) { context_menu->hide(); } /* The user did something funny, so hide the menu since they've been naughty */
+ {
// Downclick: Place a new widget, activate an existing widget, deactivate widget, or select from menu.
if ( updown == GLUT_DOWN )
{
@@ -724,6 +724,7 @@
active_object = (puObject *)NULL ;
}
}
+}
setStatusWidgets ( active_widget ) ;
}
|