#include <uevent.hpp>
Public Member Functions | |
int | getX (UEvent *) |
int | getY (UEvent *) |
return the location of the data object relatively to the source VIEW. | |
int | getWidth () |
int | getHeight () |
return the width and the height of the data object. | |
void | set (UContext &, UData *, UChildIter data_iter, UChildIter end_iter, const URegion &, int _strpos, bool exact_match) |
void | merge (UContext &, UData *, UChildIter data_iter, UChildIter end_iter, const URegion &, bool exact_match) |
impl. | |
Public Attributes | |
UData * | data |
UChildIter | dataIter |
UChildIter | endIter |
points to the data object that is located under the mouse when calling UEvent::getData()/getStr(). | |
URegion | region |
the region that encloses this data object. | |
bool | exactMatch |
true if this data object is exactly located under the Mouse. | |
int | strpos |
int | strpos2 |
strpos = position of the mouse in the string if data is an UStr. | |
UWinContext * | winContext |
UContext * | dataContext |
graphical contexts of the enclosing window and this data object. |
int ubit::UDataProps::getY | ( | UEvent * | ) |
return the location of the data object relatively to the source VIEW.
(ie. the view returned by e.getView())
graphical contexts of the enclosing window and this data object.
Note: this data is automatically deleted when UDataProps is deleted
true if this data object is exactly located under the Mouse.
false if this data is the last data object before the Mouse position
the region that encloses this data object.
NOTE that these coordinates are relative to the enclosing WINDOW (not the data parent!). use methods getX(), getY() for obtaining local coordinates.