00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef PGMOUSEWATCHERGROUP_H
00016 #define PGMOUSEWATCHERGROUP_H
00017
00018 #include "pandabase.h"
00019
00020 #include "mouseWatcherGroup.h"
00021 #include "pointerTo.h"
00022
00023 class PGTop;
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 class EXPCL_PANDA_PGUI PGMouseWatcherGroup : public MouseWatcherGroup {
00034 public:
00035 INLINE PGMouseWatcherGroup(PGTop *top);
00036 virtual ~PGMouseWatcherGroup();
00037
00038 INLINE void clear_top(PGTop *top);
00039
00040 private:
00041 PGTop *_top;
00042
00043 public:
00044 static TypeHandle get_class_type() {
00045 return _type_handle;
00046 }
00047 static void init_type() {
00048 MouseWatcherGroup::init_type();
00049 register_type(_type_handle, "PGMouseWatcherGroup",
00050 MouseWatcherGroup::get_class_type());
00051 }
00052 virtual TypeHandle get_type() const {
00053 return get_class_type();
00054 }
00055 virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
00056
00057 private:
00058 static TypeHandle _type_handle;
00059 };
00060
00061 #include "pgMouseWatcherGroup.I"
00062
00063 #endif