]> git.ozlabs.org Git - petitboot/blobdiff - ui/ncurses/nc-widgets.h
discover/grub2: Allow to separate the --id argument using a space char
[petitboot] / ui / ncurses / nc-widgets.h
index a946c4f50a5e07d89d367ba90c74bd766da8a8f3..ce3b0386764eb99943f672c5e52c0a0746adde40 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #ifndef NC_WIDGETS_H
+#define NC_WIDGETS_H
 
 struct nc_widgetset;
 struct nc_widget_label;
@@ -27,6 +28,8 @@ struct nc_widget_label *widget_new_label(struct nc_widgetset *set,
                int y, int x, char *str);
 struct nc_widget_checkbox *widget_new_checkbox(struct nc_widgetset *set,
                int y, int x, bool checked);
+struct nc_widget_textbox *widget_new_textbox_hidden(struct nc_widgetset *set,
+               int y, int x, int len, char *str, bool hide_input);
 struct nc_widget_textbox *widget_new_textbox(struct nc_widgetset *set,
                int y, int x, int len, char *str);
 struct nc_widget_subset *widget_new_subset(struct nc_widgetset *set,