summaryrefslogtreecommitdiff
path: root/redo/sizing_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-25 20:10:09 -0400
committerPietro Gagliardi <[email protected]>2014-07-25 20:10:09 -0400
commit3d5e8feba4d2980f0be647231ae0f75385afa45b (patch)
tree5040c7129eeaae8dd18597db50b0f4669d4d25f8 /redo/sizing_darwin.go
parentd1702d33e055fb254cfacb1ad7d3d3f60314bba6 (diff)
Implemented the various parenting and sizing changes on the Mac OS X backend; also moved a line in window_windows.go around for consistency.
Diffstat (limited to 'redo/sizing_darwin.go')
-rw-r--r--redo/sizing_darwin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/sizing_darwin.go b/redo/sizing_darwin.go
index c23a75c..8b141c2 100644
--- a/redo/sizing_darwin.go
+++ b/redo/sizing_darwin.go
@@ -35,11 +35,11 @@ func (w *window) beginResize() (d *sizing) {
return d
}
-func (w *window) endResize(d *sizing) {
+func (c *container) endResize(d *sizing) {
// redraw
}
-func (w *window) translateAllocationCoords(allocations []*allocation, winwidth, winheight int) {
+func (c *container) translateAllocationCoords(allocations []*allocation, winwidth, winheight int) {
for _, a := range allocations {
// winheight - y because (0,0) is the bottom-left corner of the window and not the top-left corner
// (winheight - y) - height because (x, y) is the bottom-left corner of the control and not the top-left