aboutsummaryrefslogtreecommitdiff
path: root/src/popup.h
diff options
context:
space:
mode:
authorJohn Ankarstr\xf6m <john@ankarstrom.se>2021-05-29 12:54:47 +0200
committerJohn Ankarstr\xf6m <john@ankarstrom.se>2021-05-29 13:18:40 +0200
commita041d9898e6d699bd8c0c25482ec574feb03c547 (patch)
tree7f094e33fb530152c3ab6238ce7300750b47addb /src/popup.h
downloadjwm-a041d9898e6d699bd8c0c25482ec574feb03c547.tar.gz
First commit
This is the original state of the released tarball for JWM 1.8, which will serve as my starting point for further modifications.
Diffstat (limited to 'src/popup.h')
-rw-r--r--src/popup.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/popup.h b/src/popup.h
new file mode 100644
index 0000000..21e84db
--- /dev/null
+++ b/src/popup.h
@@ -0,0 +1,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
+