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. --- checkbox.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'checkbox.go') diff --git a/checkbox.go b/checkbox.go index e8fffe9..0bae487 100644 --- a/checkbox.go +++ b/checkbox.go @@ -8,18 +8,18 @@ import ( // A Checkbox is a clickable square with a label. The square can be either checked or unchecked. Checkboxes start out unchecked. type Checkbox struct { - lock sync.Mutex - created bool - sysData *sysData - initText string - initCheck bool + lock sync.Mutex + created bool + sysData *sysData + initText string + initCheck bool } // NewCheckbox creates a new checkbox with the specified text. func NewCheckbox(text string) (c *Checkbox) { return &Checkbox{ - sysData: mksysdata(c_checkbox), - initText: text, + sysData: mksysdata(c_checkbox), + initText: text, } } @@ -72,11 +72,11 @@ func (c *Checkbox) make(window *sysData) error { func (c *Checkbox) setRect(x int, y int, width int, height int, rr *[]resizerequest) { *rr = append(*rr, resizerequest{ - sysData: c.sysData, - x: x, - y: y, - width: width, - height: height, + sysData: c.sysData, + x: x, + y: y, + width: width, + height: height, }) } -- cgit v1.2.3