From 1e66637cd206066bced74b637e62283d9b367004 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 10 Jun 2014 14:59:39 -0400 Subject: More go fmt. --- button.go | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'button.go') diff --git a/button.go b/button.go index f0b9f30..7f15d25 100644 --- a/button.go +++ b/button.go @@ -11,20 +11,20 @@ type Button struct { // Clicked gets a message when the button is clicked. // You cannot change it once the Window containing the Button has been created. // If you do not respond to this signal, nothing will happen. - Clicked chan struct{} + Clicked chan struct{} - lock sync.Mutex - created bool - sysData *sysData - initText string + lock sync.Mutex + created bool + sysData *sysData + initText string } // NewButton creates a new button with the specified text. func NewButton(text string) (b *Button) { return &Button{ - sysData: mksysdata(c_button), - initText: text, - Clicked: newEvent(), + sysData: mksysdata(c_button), + initText: text, + Clicked: newEvent(), } } @@ -67,11 +67,11 @@ func (b *Button) make(window *sysData) error { func (b *Button) setRect(x int, y int, width int, height int, rr *[]resizerequest) { *rr = append(*rr, resizerequest{ - sysData: b.sysData, - x: x, - y: y, - width: width, - height: height, + sysData: b.sysData, + x: x, + y: y, + width: width, + height: height, }) } -- cgit v1.2.3