diff options
Diffstat (limited to 'control.go')
| -rw-r--r-- | control.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -4,17 +4,17 @@ package ui // Control represents a control. type Control interface { - setParent(p *controlParent) // controlParent defined per-platform + setParent(p *controlParent) // controlParent defined per-platform controlSizing } // this is the same across all platforms func baseallocate(c Control, x int, y int, width int, height int, d *sizing) []*allocation { return []*allocation{&allocation{ - x: x, - y: y, - width: width, - height: height, - this: c, + x: x, + y: y, + width: width, + height: height, + this: c, }} } |
