fn fill_rect(&self, x: usize, y: usize, width: usize, height: usize)
	{
		let line = pad_to(String::new(), width);//create line string
		for pos_y in y .. (height+y)
		{
			self.rustbox.print(x, pos_y, rustbox::RB_NORMAL, Color::White, Color::White, &line);
		}
	}
//fill a white rectangle on screen
fill a white rectangle on screen
fill a white rectangle on screen
fn fill_rect(&self, x: usize, y: usize, width: usize, height: usize)
	{
		let line = pad_to(String::new(), width);//create line string
		for pos_y in y .. (height+y)
		{
			self.rustbox.print(x, pos_y, rustbox::RB_NORMAL, Color::White, Color::White, &line);
		}
	}
fn fill_rect ( & self , x : usize , y : usize , width : usize , height : usize ) { let line = pad_to ( String :: new ( ) , width ) ; //create line string for pos_y in y .. ( height + y ) { self . rustbox . print ( x , pos_y , rustbox :: RB_NORMAL , Color :: White , Color :: White , & line ) ; } }
fill a white rectangle on screen
fill a white rectangle on screen
&self
x
usize
y
usize
width
usize
height
usize
&self
x
usize
y
usize
width
usize
height
usize