15 #ifndef MOUSEWATCHERBASE_H
16 #define MOUSEWATCHERBASE_H
18 #include "pandabase.h"
19 #include "mouseWatcherRegion.h"
21 #include "pointerTo.h"
24 #include "lightMutex.h"
47 bool is_sorted()
const;
49 int get_num_regions()
const;
51 MAKE_SEQ(get_regions, get_num_regions, get_region);
53 void output(ostream &out)
const;
54 void write(ostream &out,
int indent_level = 0)
const;
57 void show_regions(
const NodePath &render2d,
58 const string &bin_name,
int draw_order);
62 void update_regions();
66 void do_sort_regions();
70 virtual void do_show_regions(
const NodePath &render2d,
71 const string &bin_name,
int draw_order);
72 virtual void do_hide_regions();
73 void do_update_regions();
102 static void init_type() {
103 register_type(_type_handle,
"MouseWatcherBase");
110 friend class BlobWatcher;
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 is the class that defines a rectangular region on the screen for the MouseWatcher.
This represents a collection of MouseWatcherRegions that may be managed as a group.
This is the base class for all three-component vectors and points.
TypeHandle is the identifier used to differentiate C++ class types.
This is a standard, non-reentrant mutex, similar to the Mutex class.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...