diff options
author | Benji Dial <benji6283@gmail.com> | 2021-03-11 22:00:22 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-03-11 22:00:22 -0500 |
commit | 5fcf57739e68a8b5053e03778aaee0eed445babd (patch) | |
tree | e7a8bab18668d112e58b1b48190195035c71fa8a /src/user/include/popups | |
parent | 0f2398d1f622cce37925f52d978d92e6cce1c7a9 (diff) | |
download | portland-os-5fcf57739e68a8b5053e03778aaee0eed445babd.tar.gz |
settings editor, and lots of changes in service of that
Diffstat (limited to 'src/user/include/popups')
-rw-r--r-- | src/user/include/popups/info.h | 22 | ||||
-rw-r--r-- | src/user/include/popups/popup.h | 22 |
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 |