Panda3D
 All Classes Functions Variables Enumerations
pgSliderBarNotify.h
1 // Filename: pgSliderBarNotify.h
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 #ifndef PGSLIDERBARNOTIFY_H
16 #define PGSLIDERBARNOTIFY_H
17 
18 #include "pandabase.h"
19 #include "pgItemNotify.h"
20 
21 class PGSliderBar;
22 
23 ////////////////////////////////////////////////////////////////////
24 // Class : PGSliderBarNotify
25 // Description : Objects that inherit from this class can receive
26 // notify messages when a slider bar moves or otherwise
27 // is reconfigured.
28 ////////////////////////////////////////////////////////////////////
29 class EXPCL_PANDA_PGUI PGSliderBarNotify : public PGItemNotify {
30 public:
31  INLINE PGSliderBarNotify();
32 
33 protected:
34  virtual void slider_bar_adjust(PGSliderBar *slider_bar);
35  virtual void slider_bar_set_range(PGSliderBar *slider_bar);
36 
37  friend class PGSliderBar;
38 };
39 
40 #include "pgSliderBarNotify.I"
41 
42 #endif
Objects that inherit from this class can receive specialized messages when PGItems change in certain ...
Definition: pgItemNotify.h:30
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 draws a little bar with a slider that moves from left to rig...
Definition: pgSliderBar.h:34