From 36e546c1c9a9bb8e778fb637c17f94390b4d23c2 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sat, 15 Feb 2025 14:29:16 +1300 Subject: Reorganising Fl / FLTK, improving enum docs --- body/c_fl_event.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'body/c_fl_event.cpp') 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(w)); } +int fl_event_get_visible_focus() { + return Fl::visible_focus(); +} + +void fl_event_set_visible_focus(int f) { + Fl::visible_focus(f); +} + -- cgit