22 PGTop(
const PGTop ©) :
24 _watcher(copy._watcher),
25 _start_sort(copy._start_sort)
50 return _watcher_group;
74 _start_sort = start_sort;
99 _watcher_group->add_region(region);
MouseWatcher * get_mouse_watcher() const
Returns the MouseWatcher pointer that the PGTop object registers its PG items with, or NULL if the MouseWatcher has not yet been set.
The "top" node of the new Panda GUI system.
This TFormer maintains a list of rectangular regions on the screen that are considered special mouse ...
A basic node of the scene graph or data graph.
This represents a collection of MouseWatcherRegions that may be managed as a group.
void set_start_sort(int start_sort)
Specifies the sort index that is assigned during the traversal to the first PGItem that is discovered...
MouseWatcherGroup * get_group() const
Returns the MouseWatcherGroup pointer that the PGTop object registers its PG items with...
This is a specialization on MouseWatcherGroup, to associate it with a PGTop.
This is the class that defines a rectangular region on the screen for the MouseWatcher.
int get_start_sort() const
Returns the sort index that is assigned during the traversal to the first PGItem that is discovered d...
void add_region(MouseWatcherRegion *region)
Adds the indicated region to the set of regions in the group.