3 * Start.c exported functions
9 typedef struct startAndLaunchButtonItem
{
10 struct startAndLaunchButtonItem
*head
, *tail
;
16 char *buttonStartCommand
;
17 char *buttonCommands
[NUMBER_OF_EXTENDED_MOUSE_BUTTONS
];
18 char *buttonStartCommands
[NUMBER_OF_EXTENDED_MOUSE_BUTTONS
];
20 char *buttonIconFileName
;
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
);