From 1a5ece4f52ef17c7c868e95eb26e98137d5cab6f Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 7 Mar 2021 23:19:48 -0500 Subject: keyboard support in raleigh, word wrap and more in entry widget --- src/user/raleigh/w/label.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/user/raleigh/w/label.cpp') diff --git a/src/user/raleigh/w/label.cpp b/src/user/raleigh/w/label.cpp index 5b74175..046737f 100644 --- a/src/user/raleigh/w/label.cpp +++ b/src/user/raleigh/w/label.cpp @@ -23,12 +23,13 @@ namespace raleigh { } } - __attribute__ ((const)) - bool label::try_handle_click(coord window_coords, enum mouse_packet::mouse_button click_type, bool up) { - return false; - } + void label::handle_click(coord window_coords, enum mouse_packet::mouse_button click_type, bool up) { } void label::notify_has_opaque_parent(widget *parent) { closest_opaque = parent; } + + void label::handle_key(struct key_packet kp) {}; + void label::on_focus() {}; + void label::on_unfocus() {}; } \ No newline at end of file -- cgit v1.2.3