Panda3D
pgButtonNotify.cxx
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 pgButtonNotify.cxx
10  * @author drose
11  * @date 2005-08-18
12  */
13 
14 #include "pgButtonNotify.h"
15 #include "pgButton.h"
16 
17 /**
18  * Called whenever a watched PGButton has been clicked.
19  */
20 void PGButtonNotify::
21 button_click(PGButton *, const MouseWatcherParameter &) {
22 }
This is a particular kind of PGItem that is specialized to behave like a normal button object.
Definition: pgButton.h:29
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is sent along as a parameter to most events generated for a region to indicate the mouse and but...