pub fn button(&mut self, id: u32, x: i32, y: i32, w: i32, h: i32) -> ButtonBuilder {
        ButtonBuilder {
            gui: self,
            id: id+2,
            x,
            y,
            w,
            h,
            text: None,
        }
    }
/// Draw a button, returning whether the button was pressed
Draw a button, returning whether the button was pressed
Draw a button returning whether the button was pressed
pub fn button(&mut self, id: u32, x: i32, y: i32, w: i32, h: i32) -> ButtonBuilder {
        ButtonBuilder {
            gui: self,
            id: id+2,
            x,
            y,
            w,
            h,
            text: None,
        }
    }
pub fn button ( & mut self , id : u32 , x : i32 , y : i32 , w : i32 , h : i32 ) -> ButtonBuilder { ButtonBuilder { gui : self , id : id + 2 , x , y , w , h , text : None , } }
Draw a button, returning whether the button was pressed
Draw a button returning whether the button was pressed
&mut self
id
u32
x
i32
y
i32
w
i32
h
i32
&mut self
id
u32
x
i32
y
i32
w
i32
h
i32