Panda3D
Loading...
Searching...
No Matches
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
20class 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 */
26class EXPCL_PANDA_PGUI PGSliderBarNotify : public PGItemNotify {
27public:
28 INLINE PGSliderBarNotify();
29
30protected:
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
Objects that inherit from this class can receive specialized messages when PGItems change in certain ...
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:31
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.