aboutsummaryrefslogtreecommitdiff
path: root/src/popup.h
blob: 21e84db1981977540b337207258fc3d874fbe942 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/**
 * @file popup.h
 * @author Joe Wingbermuehle
 * @date 2004-2006
 *
 * @brief Header for popup functions.
 *
 */

#ifndef POPUP_H
#define POPUP_H

#define POPUP_DELTA 2

struct TimeType;

/*@{*/
void InitializePopup();
void StartupPopup();
void ShutdownPopup();
void DestroyPopup();
/*@}*/

void ShowPopup(int x, int y, const char *text);

void SetPopupEnabled(int e);
void SetPopupDelay(const char *str);

void SignalPopup(const struct TimeType *now, int x, int y);
int ProcessPopupEvent(const XEvent *event);

extern int popupDelay;

#endif