summaryrefslogtreecommitdiff
path: root/src/user/include/popups
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/include/popups')
-rw-r--r--src/user/include/popups/info.h22
-rw-r--r--src/user/include/popups/popup.h22
2 files changed, 0 insertions, 44 deletions
diff --git a/src/user/include/popups/info.h b/src/user/include/popups/info.h
deleted file mode 100644
index de6be57..0000000
--- a/src/user/include/popups/info.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef POPUPS_INFO_H
-#define POPUPS_INFO_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <popups/popup.h>
-
-#include <pland/syscall.h>
-
-#include <stdarg.h>
-
-void info_popup(struct popup *into, const char *text, _pixel_t fg, _pixel_t bg);
-void info_popupf(struct popup *into, const char *text, _pixel_t fg, _pixel_t bg, ...);
-void info_popupf_v(struct popup *into, const char *text, _pixel_t fg, _pixel_t bg, va_list args);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif \ No newline at end of file
diff --git a/src/user/include/popups/popup.h b/src/user/include/popups/popup.h
deleted file mode 100644
index cf4315b..0000000
--- a/src/user/include/popups/popup.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef POPUPS_POPUP_H
-#define POPUPS_POPUP_H
-
-#include <pland/syscall.h>
-
-struct popup {
- _window_handle_t handle;
- _pixel_t *pixbuf;
-
- bool has_quit;
- struct key_packet quit_as;
-
- //terminated by one with .key_id == 0
- const struct key_packet *quit_binds;
-};
-
-void handle_actions(struct popup *p);
-//deletes popup before returning
-void make_modal(struct popup *p);
-void delete_popup(struct popup *p);
-
-#endif \ No newline at end of file