From 5fcf57739e68a8b5053e03778aaee0eed445babd Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Thu, 11 Mar 2021 22:00:22 -0500 Subject: settings editor, and lots of changes in service of that --- src/user/include/popups/info.h | 22 ---------------------- src/user/include/popups/popup.h | 22 ---------------------- 2 files changed, 44 deletions(-) delete mode 100644 src/user/include/popups/info.h delete mode 100644 src/user/include/popups/popup.h (limited to 'src/user/include/popups') 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 - -#include - -#include - -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 - -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 -- cgit v1.2.3