diff options
author | Benji Dial <benji6283@gmail.com> | 2021-03-07 23:19:48 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-03-07 23:19:48 -0500 |
commit | 1a5ece4f52ef17c7c868e95eb26e98137d5cab6f (patch) | |
tree | 2ab5c639d368d3ec497b464009f0401e71d433f1 /src/user/include/cxx/raleigh/window.h | |
parent | 348e1876d25320e6480f2795c9388b2bc080c743 (diff) | |
download | portland-os-1a5ece4f52ef17c7c868e95eb26e98137d5cab6f.tar.gz |
keyboard support in raleigh, word wrap and more in entry widget
Diffstat (limited to 'src/user/include/cxx/raleigh/window.h')
-rw-r--r-- | src/user/include/cxx/raleigh/window.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/user/include/cxx/raleigh/window.h b/src/user/include/cxx/raleigh/window.h index f82f9a9..21ae511 100644 --- a/src/user/include/cxx/raleigh/window.h +++ b/src/user/include/cxx/raleigh/window.h @@ -20,11 +20,13 @@ namespace raleigh { enum try_actions_return_t {NONE, GOOD, DELETE}; try_actions_return_t try_actions(); void show(); + void focus(widget &w); private: _window_handle_t handle; _pixel_t *pixbuf; coord size; widget &root; + widget *focussed; _pixel_t bg_color; bool needs_repaint; void paint_full(); |