diff options
author | Benji Dial <benji6283@gmail.com> | 2021-03-08 16:46:22 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-03-08 16:46:22 -0500 |
commit | 920f1f010284d59bad86f78355ed90ac2f3e1d2c (patch) | |
tree | 19e2abcf6f546e251151582c700cfce312224eb1 /src/user/include/cxx/raleigh/widget.h | |
parent | af52ddac750311ace3bd997245771b26119e1659 (diff) | |
download | portland-os-920f1f010284d59bad86f78355ed90ac2f3e1d2c.tar.gz |
mouse movement in raleigh, with colorpicker dragging example
Diffstat (limited to 'src/user/include/cxx/raleigh/widget.h')
-rw-r--r-- | src/user/include/cxx/raleigh/widget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/user/include/cxx/raleigh/widget.h b/src/user/include/cxx/raleigh/widget.h index 1b2cf6f..d499ed4 100644 --- a/src/user/include/cxx/raleigh/widget.h +++ b/src/user/include/cxx/raleigh/widget.h @@ -36,6 +36,7 @@ namespace raleigh { virtual void handle_key(struct key_packet kp); virtual void on_focus(); virtual void on_unfocus(); + virtual void on_mouse_move(coord window_coords); //this next one is not to be called by child widgets //they should call window::notify_widget_size_change(widget &), which will call this if necessary virtual void notify_child_size_change(widget &child, coord old_size); |