Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
pgui
pgButtonNotify.cxx
1
// Filename: pgButtonNotify.cxx
2
// Created by: drose (18Aug05)
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
#include "pgButtonNotify.h"
16
#include "pgButton.h"
17
18
////////////////////////////////////////////////////////////////////
19
// Function: PGButtonNotify::button_click
20
// Access: Protected, Virtual
21
// Description: Called whenever a watched PGButton has been clicked.
22
////////////////////////////////////////////////////////////////////
23
void
PGButtonNotify::
24
button_click(
PGButton
*,
const
MouseWatcherParameter
&) {
25
}
PGButton
This is a particular kind of PGItem that is specialized to behave like a normal button object...
Definition:
pgButton.h:32
MouseWatcherParameter
This is sent along as a parameter to most events generated for a region to indicate the mouse and but...
Definition:
mouseWatcherParameter.h:31
Generated on Mon Feb 1 2016 13:44:35 for Panda3D by
1.8.5