Panda3D
pgButtonNotify.h
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.h
10 * @author drose
11 * @date 2005-08-18
12 */
13
14#ifndef PGBUTTONNOTIFY_H
15#define PGBUTTONNOTIFY_H
16
17#include "pandabase.h"
18#include "pgItemNotify.h"
19
20class PGButton;
21
22/**
23 * Objects that inherit from this class can receive notify messages when a
24 * slider bar moves or otherwise is reconfigured.
25 */
26class EXPCL_PANDA_PGUI PGButtonNotify : public PGItemNotify {
27public:
28 INLINE PGButtonNotify();
29
30protected:
31 virtual void button_click(PGButton *button, const MouseWatcherParameter &param);
32
33 friend class PGButton;
34};
35
36#include "pgButtonNotify.I"
37
38#endif
This is sent along as a parameter to most events generated for a region to indicate the mouse and but...
Objects that inherit from this class can receive notify messages when a slider bar moves or otherwise...
This is a particular kind of PGItem that is specialized to behave like a normal button object.
Definition: pgButton.h:29
Objects that inherit from this class can receive specialized messages when PGItems change in certain ...
Definition: pgItemNotify.h:27
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.