Fix move command parsing.
[fvwm.git] / modules / FvwmTaskBar / Goodies.h
blob6ca4e56e1e7ce441e07587c93ec4c072a93ade2a
1 /* -*-c-*- */
2 /*
3 * Goodies.c structures and exported functions
4 */
6 #ifndef _H_Goodies
7 #define _H_Goodies
9 #ifdef __FreeBSD__
10 #define DEFAULT_MAIL_PATH "/var/mail/"
11 #else
12 #define DEFAULT_MAIL_PATH "/var/spool/mail/"
13 #endif
14 #define DEFAULT_BELL_VOLUME 20
16 /* Tip window types */
17 #define NO_TIP (-1)
18 #define DATE_TIP (-2)
19 #define MAIL_TIP (-3)
20 #define START_TIP (-4)
22 typedef struct {
23 int x, y, w, h, tw, th, open, type;
24 int px, py;
25 char *text;
26 Window win;
27 } TipStruct;
29 Bool GoodiesParseConfig(char *tline);
30 void LoadGoodiesFont(void);
31 void InitGoodies(void);
32 void DrawGoodies(XEvent *evp);
33 int MouseInClock(int x, int y);
34 int MouseInMail(int x, int y);
35 void CreateDateWindow(void);
36 void CreateMailTipWindow(void);
37 void PopupTipWindow(int px, int py, const char *text);
38 void CreateTipWindow(int x, int y, int w, int h);
39 void RedrawTipWindow(void);
40 void DestroyTipWindow(void);
41 void ShowTipWindow(int open);
42 void HandleMouseClick(XEvent event);
43 void HandleMailClick(XEvent event);
44 Bool change_goody_colorset(int cset, Bool force);
46 #endif