-// mouse.cxx
-extern void guiInitMouse(int width, int height);
-extern void maybeToggleMouse( void );
-extern void TurnCursorOn( void );
-extern void TurnCursorOff( void );
-
-// MACROS TO HELP KEEP PUI LIVE INTERFACE STACK IN SYNC
-// These insure that the mouse is active when dialog is shown
-// and try to the maintain the original mouse state when hidden
-// These will also repair any damage done to the Panel if active
-
-// Activate Dialog Box
-inline void FG_PUSH_PUI_DIALOG( puObject *X ) {
- maybeToggleMouse();
- puPushLiveInterface( (puInterface *)X ) ;
- X->reveal() ;
-}
-
-// Deactivate Dialog Box
-inline void FG_POP_PUI_DIALOG( puObject *X ) {
- X->hide();
- puPopLiveInterface();
- maybeToggleMouse();
-}
-
-// Finalize Dialog Box Construction
-inline void FG_FINALIZE_PUI_DIALOG( puObject *X ) {
- ((puGroup *)X)->close();
- X->hide();
- puPopLiveInterface();
-}
-