]> git.ozlabs.org Git - petitboot/blobdiff - ui/ncurses/nc-scr.h
ui/ncurses/scr: Add definition for frame offset
[petitboot] / ui / ncurses / nc-scr.h
index 5c4b97b1c89418acc8719edf1d6ca5deb01a69d2..4f9de59f6ce0eff73c743591e2359ec355f9c6f9 100644 (file)
@@ -64,6 +64,7 @@ enum nc_scr_pos {
        nc_scr_pos_status = 1,
 
        nc_scr_frame_lines = 5,
+       nc_scr_frame_cols = 1,
 };
 
 struct nc_frame {
@@ -95,4 +96,7 @@ void nc_scr_status_free(struct nc_scr *scr);
 void nc_scr_status_printf(struct nc_scr *scr, const char *format, ...);
 void nc_scr_frame_draw(struct nc_scr *scr);
 
+int nc_scr_post(struct nc_scr *src);
+int nc_scr_unpost(struct nc_scr *src);
+
 #endif