From b4438b2fbe895694be98e6e8426103deefc51448 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Tue, 21 Jan 2025 21:04:54 +1300 Subject: Split public API and private implementation files into different directories --- src/c_fl_sys_menu_bar.h | 50 ------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 src/c_fl_sys_menu_bar.h (limited to 'src/c_fl_sys_menu_bar.h') diff --git a/src/c_fl_sys_menu_bar.h b/src/c_fl_sys_menu_bar.h deleted file mode 100644 index 1bde8f2..0000000 --- a/src/c_fl_sys_menu_bar.h +++ /dev/null @@ -1,50 +0,0 @@ - - -// Programmed by Jedidiah Barber -// Released into the public domain - - -#ifndef FL_SYS_MENU_BAR_GUARD -#define FL_SYS_MENU_BAR_GUARD - - -typedef void* SYSMENUBAR; - - -extern "C" SYSMENUBAR new_fl_sys_menu_bar(int x, int y, int w, int h, char* label); -extern "C" void free_fl_sys_menu_bar(SYSMENUBAR m); - - -extern "C" int fl_sys_menu_bar_add(SYSMENUBAR m, const char * t); -extern "C" int fl_sys_menu_bar_add2(SYSMENUBAR m, const char * t, int s, void * u, int f); -extern "C" int fl_sys_menu_bar_add3(SYSMENUBAR m, const char * t, const char * s, void * u, int f); -extern "C" int fl_sys_menu_bar_insert(SYSMENUBAR m, int p, const char * t, int s, void * u, int f); -extern "C" int fl_sys_menu_bar_insert2(SYSMENUBAR m, int p, const char * t, - const char * s, void * u, int f); -extern "C" void fl_sys_menu_bar_set_menu(SYSMENUBAR m, void * d); -extern "C" void fl_sys_menu_bar_remove(SYSMENUBAR m, int p); -extern "C" void fl_sys_menu_bar_clear(SYSMENUBAR m); -extern "C" int fl_sys_menu_bar_clear_submenu(SYSMENUBAR m, int p); - - -extern "C" const void * fl_sys_menu_bar_get_item(SYSMENUBAR m, int i); - - -extern "C" void fl_sys_menu_bar_setonly(SYSMENUBAR m, void * mi); -extern "C" void fl_sys_menu_bar_replace(SYSMENUBAR m, int i, const char * t); -extern "C" void fl_sys_menu_bar_shortcut(SYSMENUBAR m, int p, int s); -extern "C" int fl_sys_menu_bar_get_mode(SYSMENUBAR m, int p); -extern "C" void fl_sys_menu_bar_set_mode(SYSMENUBAR m, int p, int f); - - -extern "C" void fl_sys_menu_bar_global(SYSMENUBAR m); -extern "C" void fl_sys_menu_bar_update(SYSMENUBAR m); - - -extern "C" void fl_sys_menu_bar_draw(SYSMENUBAR m); -extern "C" int fl_sys_menu_bar_handle(SYSMENUBAR m, int e); - - -#endif - - -- cgit