From 2aac034b614d6de39f4aee9f41dba8f2bcc63d8d Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 26 May 2016 04:35:58 +1000 Subject: In the interests of readability and consistent style... --- c_fl_group.h | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'c_fl_group.h') diff --git a/c_fl_group.h b/c_fl_group.h index 8fbd671..d75641e 100644 --- a/c_fl_group.h +++ b/c_fl_group.h @@ -3,21 +3,23 @@ #ifndef FL_GROUP_GUARD #define FL_GROUP_GUARD +#include "c_fl_widget.h" -typedef void* my_fl_group; +typedef void* GROUP; -extern "C" my_fl_group new_fl_group(int x, int y, int w, int h, char * label); -extern "C" void free_fl_group(my_fl_group f); -extern "C" void fl_group_end(my_fl_group f); +extern "C" GROUP new_fl_group(int x, int y, int w, int h, char* label); +extern "C" void free_fl_group(GROUP g); -extern "C" void fl_group_add(my_fl_group f, void * item); -extern "C" void fl_group_clear(my_fl_group f); -extern "C" int fl_group_find(my_fl_group f, void * item); -extern "C" void fl_group_insert(my_fl_group f, void * item, int place); -extern "C" void fl_group_remove(my_fl_group f, void * item); -extern "C" void fl_group_remove2(my_fl_group f, int place); +extern "C" void fl_group_end(GROUP g); + +extern "C" void fl_group_add(GROUP g, WIDGET item); +extern "C" void fl_group_clear(GROUP g); +extern "C" int fl_group_find(GROUP g, WIDGET item); +extern "C" void fl_group_insert(GROUP g, WIDGET item, int place); +extern "C" void fl_group_remove(GROUP g, WIDGET item); +extern "C" void fl_group_remove2(GROUP g, int place); #endif -- cgit