Apply window-jump fix (D. Fries).
[fvwm.git] / modules / FvwmTaskBar / Start.h
blobc66906cca89926bbfc88edc8afa420fe7cc48393
1 /* -*-c-*- */
2 /*
3 * Start.c exported functions
4 */
6 #ifndef START_H
7 #define START_H
9 typedef struct startAndLaunchButtonItem {
10 struct startAndLaunchButtonItem *head, *tail;
11 int index;
12 Button *buttonItem;
13 int width, height;
14 Bool isStartButton;
15 char *buttonCommand;
16 char *buttonStartCommand;
17 char *buttonCommands[NUMBER_OF_EXTENDED_MOUSE_BUTTONS];
18 char *buttonStartCommands[NUMBER_OF_EXTENDED_MOUSE_BUTTONS];
19 char *buttonCaption;
20 char *buttonIconFileName;
21 char *buttonToolTip;
22 } StartAndLaunchButtonItem;
24 extern Bool StartButtonParseConfig(char *tline);
25 extern char *ParseButtonOptions(char *pos, int *mouseButton);
26 extern void StartButtonInit(int height);
27 extern void StartAndLaunchButtonItemInit(StartAndLaunchButtonItem *item);
28 extern void AddStartAndLaunchButtonItem(StartAndLaunchButtonItem *item);
29 extern int StartButtonUpdate(const char *title, int index, int state);
30 extern void StartButtonDraw(int force, XEvent *evp);
31 extern int MouseInStartButton(int x, int y, int *whichButton,
32 Bool *startButtonPressed, int *button_x);
33 extern void getButtonCommand(int whichButton, char *tmp, int mouseButton);
34 #endif