Panda3D

pgMouseWatcherGroup.I
Go to the documentation of this file.
1 /**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file pgMouseWatcherGroup.I
10 * @author drose
11 * @date 2001-07-09
12 */
13
14 /**
15 *
16 */
17 INLINE PGMouseWatcherGroup::
18 PGMouseWatcherGroup(PGTop *top) : _top(top) {
19 }
20
21 /**
22 * Called by the PGTop object to indicate that it is no longer keeping the
23 * pointer to the PGMouseWatcherGroup object.
24 */
25 INLINE void PGMouseWatcherGroup::
26 clear_top(PGTop *top) {
27 nassertv(_top == top);
28 _top = nullptr;
29 }
PGMouseWatcherGroup::clear_top
void clear_top(PGTop *top)
Called by the PGTop object to indicate that it is no longer keeping the pointer to the PGMouseWatcher...
Definition: pgMouseWatcherGroup.I:26
PGTop
The "top" node of the new Panda GUI system.
Definition: pgTop.h:38