#include <uevent.hpp>
Public Member Functions | |
| u_pos | getX (class UEvent *) |
| u_pos | getY (class UEvent *) |
| return the location of the element relatively to the source VIEW | |
| u_dim | getWidth () |
| u_dim | getHeight () |
| return the width and the height of the element. | |
Public Attributes | |
| UElem * | elem |
| ULink * | elemLink |
| points to the element that is located under the mouse when calling UEvent::getElem()/getStr() | |
| URegion | region |
| the region that encloses this element | |
| bool | exactMatch |
| true if this element is exactly located under the Mouse | |
| int | strpos |
| int | strpos2 |
| strpos = position of the mouse in the string if elem is an UStr. | |
| UWinContext * | winContext |
| UContext * | elemContext |
| graphical contexts of the enclosing window and this element | |
|
|
return the location of the element relatively to the source VIEW (ie. the view returned by e.getView()) |
|
|
graphical contexts of the enclosing window and this element Note: this data is automatically deleted when UElemProps is deleted |
|
|
true if this element is exactly located under the Mouse false if this elem is the last element before the Mouse position |
|
|
the region that encloses this element NOTE that these coordinates are relative to the enclosing WINDOW (not the elem parent!). use methods getX(), getY() for obtaining local coordinates. |
1.4.1