|
| | PGMouseWatcherGroup (PGTop *top) |
| |
| void | clear_top (PGTop *top) |
| | Called by the PGTop object to indicate that it is no longer keeping the pointer to the PGMouseWatcherGroup object.
|
| |
| virtual TypeHandle | force_init_type () |
| |
| virtual TypeHandle | get_type () const |
| |
| void | add_region (PT(MouseWatcherRegion) region) |
| | Adds the indicated region to the set of regions in the group.
|
| |
| void | clear_regions () |
| | Removes all the regions from the group.
|
| |
| MouseWatcherRegion * | find_region (const std::string &name) const |
| | Returns a pointer to the first region found with the indicated name.
|
| |
|
size_t | get_num_regions () const |
| |
|
MouseWatcherRegion * | get_region (size_t n) const |
| |
| bool | has_region (MouseWatcherRegion *region) const |
| | Returns true if the indicated region has already been added to the MouseWatcherBase, false otherwise.
|
| |
| void | hide_regions () |
| | Stops the visualization created by a previous call to show_regions().
|
| |
|
bool | is_sorted () const |
| |
| void | output (std::ostream &out) const |
| |
| bool | remove_region (MouseWatcherRegion *region) |
| | Removes the indicated region from the group.
|
| |
| void | set_color (const LColor &color) |
| | Specifies the color used to draw the region rectangles for the regions visualized by show_regions().
|
| |
| void | show_regions (const NodePath &render2d, const std::string &bin_name, int draw_order) |
| | Enables the visualization of all of the regions handled by this MouseWatcherBase.
|
| |
| void | sort_regions () |
| | Sorts all the regions in this group into pointer order.
|
| |
| void | update_regions () |
| | Refreshes the visualization created by show_regions().
|
| |
| void | write (std::ostream &out, int indent_level=0) const |
| |
|
int | get_ref_count () const |
| |
| WeakReferenceList * | get_weak_list () const |
| | Returns the WeakReferenceList associated with this ReferenceCount object.
|
| |
| bool | has_weak_list () const |
| | Returns true if this particular ReferenceCount object has a WeakReferenceList created, false otherwise.
|
| |
| void | local_object () |
| | This function should be called, once, immediately after creating a new instance of some ReferenceCount-derived object on the stack.
|
| |
| void | ref () const |
| | Explicitly increments the reference count.
|
| |
| bool | ref_if_nonzero () const |
| | Atomically increases the reference count of this object if it is not zero.
|
| |
| bool | test_ref_count_integrity () const |
| | Does some easy checks to make sure that the reference count isn't completely bogus.
|
| |
| bool | test_ref_count_nonzero () const |
| | Does some easy checks to make sure that the reference count isn't zero, or completely bogus.
|
| |
| virtual bool | unref () const |
| | Explicitly decrements the reference count.
|
| |
| bool | unref_if_one () const |
| | Atomically decreases the reference count of this object if it is one.
|
| |
| WeakReferenceList * | weak_ref () |
| | Adds the indicated PointerToVoid as a weak reference to this object.
|
| |
| void | weak_unref () |
| | Removes the indicated PointerToVoid as a weak reference to this object.
|
| |
| void | operator delete (void *, void *) |
| |
| void | operator delete (void *ptr) |
| |
| void | operator delete[] (void *, void *) |
| |
| void | operator delete[] (void *ptr) |
| |
| void * | operator new (size_t size) |
| |
| void * | operator new (size_t size, void *ptr) |
| |
| void * | operator new[] (size_t size) |
| |
| void * | operator new[] (size_t size, void *ptr) |
| |
This is a specialization on MouseWatcherGroup, to associate it with a PGTop.
Originally we had PGTop multiply inheriting from NamedNode and MouseWatcherGroup, but this causes problems with circular reference counts.
Definition at line 29 of file pgMouseWatcherGroup.h.