diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-02-15 14:29:16 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-02-15 14:29:16 +1300 |
commit | 36e546c1c9a9bb8e778fb637c17f94390b4d23c2 (patch) | |
tree | 8f633a9c7439d099039432da167a882c7dddc3a7 /body/c_fl_event.cpp | |
parent | 446989277ad276e9820e54ea1fb4ed550b93e998 (diff) |
Reorganising Fl / FLTK, improving enum docs
Diffstat (limited to 'body/c_fl_event.cpp')
-rw-r--r-- | body/c_fl_event.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/body/c_fl_event.cpp b/body/c_fl_event.cpp index 59a22df..d8760af 100644 --- a/body/c_fl_event.cpp +++ b/body/c_fl_event.cpp @@ -59,6 +59,14 @@ void fl_event_set_focus(void * w) { Fl::focus(static_cast<Fl_Widget*>(w)); } +int fl_event_get_visible_focus() { + return Fl::visible_focus(); +} + +void fl_event_set_visible_focus(int f) { + Fl::visible_focus(f); +} + |