From 6aa9475d598065081866913bb86a049a6d2d0c1a Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 18 Jul 2016 15:58:30 +1000 Subject: Decided on widget init problem, started on rudimentary editor appearance --- c_fl_group.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'c_fl_group.cpp') diff --git a/c_fl_group.cpp b/c_fl_group.cpp index c227169..58cb6f3 100644 --- a/c_fl_group.cpp +++ b/c_fl_group.cpp @@ -17,11 +17,15 @@ void free_fl_group(GROUP g) { } + + void fl_group_end(GROUP g) { reinterpret_cast(g)->end(); } + + void fl_group_add(GROUP g, WIDGET item) { reinterpret_cast(g)->add(reinterpret_cast(item)); } @@ -32,11 +36,6 @@ void fl_group_clear(GROUP g) { } -int fl_group_find(GROUP g, WIDGET item) { - return reinterpret_cast(g)->find(reinterpret_cast(item)); -} - - void fl_group_insert(GROUP g, WIDGET item, int place) { reinterpret_cast(g)->insert(*(reinterpret_cast(item)), place); } -- cgit