#include <imgmap.h>
Inheritance diagram for EntryRect:
Public Methods | |
EntryRect (float left, float top, float width, float height, EnTree const &arg_EnTree, RegionWatcher< EntryRect > &arg_watcher) | |
EntryRect (EntryRect const &arg) | |
Copy constructor. | |
EnTree const & | get_EnTree () const |
Returns the EnTree for this rectangle. | |
void | setColor (Gdk_Color &curcolor) const |
Sets a Gdk_Color to the rectangle's color. | |
bool | contains (float x, float y) const |
Determines whether the Rectangle contains the given point. | |
bool | hover () |
Public Attributes | |
RegionWatcher< EntryRect > * | my_watcher |
Static Public Attributes | |
EntryRect | seek_failed |
|
|
|
Copy constructor.
00049 : 00050 Rectangle(arg), my_EnTree(arg.my_EnTree), my_watcher(arg.my_watcher) 00051 { 00052 } |
|
Returns the EnTree for this rectangle.
|
|
Sets a Gdk_Color to the rectangle's color.
|
|
Determines whether the Rectangle contains the given point.
Reimplemented from Rectangle.
00129 { 00130 return Rectangle::contains(x,y); 00131 } |
|
Reimplemented from MapRegion.
00055 { 00056 if (my_watcher!=NULL) return my_watcher->region_hover(*this); 00057 return false; 00058 } |
|
|
|
|