fn render(&self, screen: &mut Screen) {
        screen.clear(self.dialog.bg);
        self.render_title(screen);
        self.render_input_box(screen);
        self.render_item(screen, InputDialogItem::Ok);
        if self.has_cancel {
            self.render_item(screen, InputDialogItem::Cancel);
        }
    }
/// Renders the whole input dialog.
Renders the whole input dialog.
Renders the whole input dialog .
fn render(&self, screen: &mut Screen) {
        screen.clear(self.dialog.bg);
        self.render_title(screen);
        self.render_input_box(screen);
        self.render_item(screen, InputDialogItem::Ok);
        if self.has_cancel {
            self.render_item(screen, InputDialogItem::Cancel);
        }
    }
fn render ( & self , screen : & mut Screen ) { screen . clear ( self . dialog . bg ) ; self . render_title ( screen ) ; self . render_input_box ( screen ) ; self . render_item ( screen , InputDialogItem :: Ok ) ; if self . has_cancel { self . render_item ( screen , InputDialogItem :: Cancel ) ; } }
Renders the whole input dialog.
Renders the whole input dialog .
&self
screen
&mut Screen
&self
screen
&mut Screen