fn key_down(&mut self, screen: &mut Screen) {
        if self.has_cancel {
            self.selected = InputDialogItem::Cancel;
            self.render_item(screen, InputDialogItem::Ok);
            self.render_item(screen, InputDialogItem::Cancel);
        }
    }
/// Should be triggered when DOWN key is pressed.
Should be triggered when DOWN key is pressed.
Should be triggered when DOWN key is pressed .
fn key_down(&mut self, screen: &mut Screen) {
        if self.has_cancel {
            self.selected = InputDialogItem::Cancel;
            self.render_item(screen, InputDialogItem::Ok);
            self.render_item(screen, InputDialogItem::Cancel);
        }
    }
fn key_down ( & mut self , screen : & mut Screen ) { if self . has_cancel { self . selected = InputDialogItem :: Cancel ; self . render_item ( screen , InputDialogItem :: Ok ) ; self . render_item ( screen , InputDialogItem :: Cancel ) ; } }
Should be triggered when DOWN key is pressed.
Should be triggered when DOWN key is pressed .
&mut self
screen
&mut Screen
&mut self
screen
&mut Screen