Panda3D
 All Classes Functions Variables Enumerations
pgMouseWatcherGroup.I
1 // Filename: pgMouseWatcherGroup.I
2 // Created by: drose (09Jul01)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: PGMouseWatcherGroup::Constructor
18 // Access: Public
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE PGMouseWatcherGroup::
22 PGMouseWatcherGroup(PGTop *top) : _top(top) {
23 }
24 
25 ////////////////////////////////////////////////////////////////////
26 // Function: PGMouseWatcherGroup::clear_top
27 // Access: Public
28 // Description: Called by the PGTop object to indicate that it is no
29 // longer keeping the pointer to the PGMouseWatcherGroup
30 // object.
31 ////////////////////////////////////////////////////////////////////
32 INLINE void PGMouseWatcherGroup::
34  nassertv(_top == top);
35  _top = (PGTop *)NULL;
36 }
The "top" node of the new Panda GUI system.
Definition: pgTop.h:43
void clear_top(PGTop *top)
Called by the PGTop object to indicate that it is no longer keeping the pointer to the PGMouseWatcher...