aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/drawable_control.cpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2013-01-20 23:03:30 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-20 23:03:30 +0100
commit28b06f7e5bce72e6210667965e23a19430f184bf (patch)
tree23f76c9b4fb34782dda9df6c5507dbd3b856f59d /src/menu/drawable_control.cpp
parent11b0c18dacbb46541ce0d22e0498abac38d30f7b (diff)
downloadusdx-28b06f7e5bce72e6210667965e23a19430f184bf.tar.gz
usdx-28b06f7e5bce72e6210667965e23a19430f184bf.tar.xz
usdx-28b06f7e5bce72e6210667965e23a19430f184bf.zip
menu/drawable_control: add signals for mouse events
Diffstat (limited to '')
-rw-r--r--src/menu/drawable_control.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/menu/drawable_control.cpp b/src/menu/drawable_control.cpp
index 1793981c..f30980cb 100644
--- a/src/menu/drawable_control.cpp
+++ b/src/menu/drawable_control.cpp
@@ -267,29 +267,36 @@ namespace usdx
void DrawableControl::mouse_move(const Point<int>& p)
{
+ on_mouse_move(p);
}
void DrawableControl::mouse_down(uint8_t button, const Point<int>& p)
{
+ on_mouse_down(button, p);
}
void DrawableControl::mouse_up(uint8_t button, const Point<int>& p)
{
+ on_mouse_up(button, p);
}
void DrawableControl::mouse_enter(void)
{
+ on_mouse_enter();
}
void DrawableControl::mouse_leave(void)
{
+ on_mouse_leave();
}
void DrawableControl::mouse_click(uint8_t button, const Point<int>& p)
{
+ on_mouse_click(button, p);
}
void DrawableControl::mouse_dbl_click(uint8_t button, const Point<int>& p)
{
+ on_mouse_dbl_click(button, p);
}
};