#include <customgui_listview.h>
Tree/List view mouse information.
Public Attributes | |
Float | mx |
Float | my |
Int32 | button |
Float | mxRelative |
Bool | startDrag |
Bool | startpaint |
Bool | inpaint |
const BaseContainer * | inputmsg |
Public Attributes inherited from CellInfo | |
GeUserArea * | frame |
Int32 | xpos |
Int32 | ypos |
Int32 | width |
Int32 | height |
Int32 | line |
Int32 | col |
Float mx |
The mouse X coordinate.
Float my |
The mouse Y coordinate.
Int32 button |
The mouse button: MOUSEINFO_BUTTON.
Float mxRelative |
The mouse position relative to the end of the horizontal tree lines.
Usually mouse coordinates are in list view space. This can become difficult when the user clicks into the LV_USERTREE column, hence this member.
Bool startDrag |
Not used.
Bool startpaint |
This is needed in the Layer Manager. The user can change the state of the column by clicking somewhere and dragging the mouse.
To start this drag, set startpaint = true
in TreeViewFunctions::MouseDown().
Bool inpaint |
This is needed in the Layer Manager. The user can change the state of the column by clicking somewhere and dragging the mouse.
TreeViewFunctions::MouseDown() will be called for each line with inpaint = true
.
const BaseContainer* inputmsg |
The container originally sent to the InputEvent() of the tree view's user area. Always != nullptr
.