Panda3D
 All Classes Functions Variables Enumerations
pgSliderBarNotify.h
00001 // Filename: pgSliderBarNotify.h
00002 // Created by:  drose (18Aug05)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #ifndef PGSLIDERBARNOTIFY_H
00016 #define PGSLIDERBARNOTIFY_H
00017 
00018 #include "pandabase.h"
00019 #include "pgItemNotify.h"
00020 
00021 class PGSliderBar;
00022 
00023 ////////////////////////////////////////////////////////////////////
00024 //       Class : PGSliderBarNotify
00025 // Description : Objects that inherit from this class can receive
00026 //               notify messages when a slider bar moves or otherwise
00027 //               is reconfigured.
00028 ////////////////////////////////////////////////////////////////////
00029 class EXPCL_PANDA_PGUI PGSliderBarNotify : public PGItemNotify {
00030 public:
00031   INLINE PGSliderBarNotify();
00032 
00033 protected:
00034   virtual void slider_bar_adjust(PGSliderBar *slider_bar);
00035   virtual void slider_bar_set_range(PGSliderBar *slider_bar);
00036 
00037   friend class PGSliderBar;
00038 };
00039 
00040 #include "pgSliderBarNotify.I"
00041 
00042 #endif
 All Classes Functions Variables Enumerations