summaryrefslogtreecommitdiff
path: root/area_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-02 10:05:53 -0400
committerPietro Gagliardi <[email protected]>2014-10-02 10:05:53 -0400
commit982004d05052ef6aadd22dd5c4e7dbca85ab324a (patch)
tree517a0f5a5397e6fb886b5e4741aff4fa18ba10d8 /area_darwin.go
parent09db0bffffded1a68c562b2d6451c2a2b29ac279 (diff)
go fmt. Precursor to bug report filing.
Diffstat (limited to 'area_darwin.go')
-rw-r--r--area_darwin.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/area_darwin.go b/area_darwin.go
index 259e95d..1b2dd92 100644
--- a/area_darwin.go
+++ b/area_darwin.go
@@ -15,19 +15,19 @@ import "C"
type area struct {
*areabase
- _id C.id
- scroller *scroller
- textfield C.id
- textfielddone *event
+ _id C.id
+ scroller *scroller
+ textfield C.id
+ textfielddone *event
}
func newArea(ab *areabase) Area {
a := &area{
- areabase: ab,
- textfielddone: newEvent(),
+ areabase: ab,
+ textfielddone: newEvent(),
}
a._id = C.newArea(unsafe.Pointer(a))
- a.scroller = newScroller(a._id, false) // no border on Area
+ a.scroller = newScroller(a._id, false) // no border on Area
a.SetSize(a.width, a.height)
a.textfield = C.newTextField()
C.areaSetTextField(a._id, a.textfield)