From a3731514297b9cdb088fd25521a4233d5c19a7d5 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sun, 24 Jan 2021 09:26:53 +0000 Subject: Add missing function prototypes --- app/fvwm/modules/FvwmWinList/ButtonArray.c | 2 ++ app/fvwm/modules/FvwmWinList/ButtonArray.h | 2 ++ app/fvwm/modules/FvwmWinList/List.h | 1 + 3 files changed, 5 insertions(+) (limited to 'app/fvwm/modules') diff --git a/app/fvwm/modules/FvwmWinList/ButtonArray.c b/app/fvwm/modules/FvwmWinList/ButtonArray.c index e9b54b714..ef9776d84 100644 --- a/app/fvwm/modules/FvwmWinList/ButtonArray.c +++ b/app/fvwm/modules/FvwmWinList/ButtonArray.c @@ -17,9 +17,11 @@ #include #include #include +#include #include "../../libs/fvwmlib.h" +#include "FvwmWinList.h" #include "ButtonArray.h" #include "Mallocs.h" diff --git a/app/fvwm/modules/FvwmWinList/ButtonArray.h b/app/fvwm/modules/FvwmWinList/ButtonArray.h index 119805ea4..0f90fa92f 100644 --- a/app/fvwm/modules/FvwmWinList/ButtonArray.h +++ b/app/fvwm/modules/FvwmWinList/ButtonArray.h @@ -40,6 +40,7 @@ int AddButton(ButtonArray *array, char *title, FvwmPicture *p,int up); int UpdateButton(ButtonArray *array, int butnum, char *title, int up); int UpdateButtonPicture(ButtonArray *array, int butnum, FvwmPicture *p); int UpdateButtonSet(ButtonArray *array, int butnum, int set); +int UpdateButtonDesk(ButtonArray *array, int butnum, long desk); void RemoveButton(ButtonArray *array, int butnum); Button *find_n(ButtonArray *array, int n); void FreeButton(Button *ptr); @@ -47,5 +48,6 @@ void FreeAllButtons(ButtonArray *array); void DoButton(Button *ptr, int x, int y, int w, int h); void DrawButtonArray(ButtonArray *array, int all); void SwitchButton(ButtonArray *array,int butnum); +void RadioButton(ButtonArray *array, int butnum); int WhichButton(ButtonArray *array,int x, int y); void PrintButtons(ButtonArray *array); diff --git a/app/fvwm/modules/FvwmWinList/List.h b/app/fvwm/modules/FvwmWinList/List.h index 2467d134f..1972d02af 100644 --- a/app/fvwm/modules/FvwmWinList/List.h +++ b/app/fvwm/modules/FvwmWinList/List.h @@ -44,6 +44,7 @@ void PrintList(List *list); char *ItemName(List *list, int n); long ItemFlags(List *list, long id ); long ItemFlags(List *list, long id ); +long ItemDesk(List *list, long id); long XorFlags(List *list, int n, long value); int ItemCount(List *list); int ItemCountDesk(List *list, long desk); -- cgit v1.2.3