Home
last modified time | relevance | path

Searched refs:top_vline (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/libs/lib_ui/
H A Dtextui.rs580 top_vline: LineId, field
611 top_vline: LineId::new(0), in new()
640 let mut actual_line_id = vline_id - self.top_vline; //为正说明虚拟行不在真实行显示的区域上面 in textui_refresh_characters()
731 self.top_vline = self.top_vline + 1; in textui_new_line()
733 if !self.top_vline.check(self.vline_sum) { in textui_new_line()
734 self.top_vline = LineId::new(0); in textui_new_line()
738 self.textui_refresh_vlines(self.top_vline, actual_line_sum)?; in textui_new_line()
887 self.top_vline = self.top_vline - 1; in textui_putchar_window()
888 if <LineId as Into<i32>>::into(self.top_vline) < 0 { in textui_putchar_window()
889 self.top_vline = LineId(self.vline_sum - 1); in textui_putchar_window()
[all …]