18 PGTop(
const PGTop ©) :
20 _watcher(copy._watcher),
21 _start_sort(copy._start_sort)
40 return _watcher_group;
59 _start_sort = start_sort;
77 nassertv(_watcher_group !=
nullptr);
78 _watcher_group->add_region(region);
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.
MouseWatcher * get_mouse_watcher() const
Returns the MouseWatcher pointer that the PGTop object registers its PG items with,...
void set_start_sort(int start_sort)
Specifies the sort index that is assigned during the traversal to the first PGItem that is discovered...
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.
MouseWatcherGroup * get_group() const
Returns the MouseWatcherGroup pointer that the PGTop object registers its PG items with,...