Panda3D
pgSliderBarNotify.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 pgSliderBarNotify.h
10  * @author drose
11  * @date 2005-08-18
12  */
13 
14 #ifndef PGSLIDERBARNOTIFY_H
15 #define PGSLIDERBARNOTIFY_H
16 
17 #include "pandabase.h"
18 #include "pgItemNotify.h"
19 
20 class PGSliderBar;
21 
22 /**
23  * Objects that inherit from this class can receive notify messages when a
24  * slider bar moves or otherwise is reconfigured.
25  */
26 class EXPCL_PANDA_PGUI PGSliderBarNotify : public PGItemNotify {
27 public:
28  INLINE PGSliderBarNotify();
29 
30 protected:
31  virtual void slider_bar_adjust(PGSliderBar *slider_bar);
32  virtual void slider_bar_set_range(PGSliderBar *slider_bar);
33 
34  friend class PGSliderBar;
35 };
36 
37 #include "pgSliderBarNotify.I"
38 
39 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Objects that inherit from this class can receive specialized messages when PGItems change in certain ...
Definition: pgItemNotify.h:27
Objects that inherit from this class can receive notify messages when a slider bar moves or otherwise...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a particular kind of PGItem that draws a little bar with a slider that moves from left to rig...
Definition: pgSliderBar.h:31