diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-18 17:03:38 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-18 17:03:38 -0400 |
| commit | aed423a09f35e26a318bd44a6670d4222906de9a (patch) | |
| tree | 01ad31d5c137859dfeae5f42094834b405971177 /newctrl/container.go | |
| parent | 62048303a34f6cac733798651adb53b640e2114a (diff) | |
Remvoed the newctrl working directory.
Diffstat (limited to 'newctrl/container.go')
| -rw-r--r-- | newctrl/container.go | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/newctrl/container.go b/newctrl/container.go deleted file mode 100644 index 27674d0..0000000 --- a/newctrl/container.go +++ /dev/null @@ -1,26 +0,0 @@ -// 25 june 2014 - -package ui - -type sizingbase struct { - xpadding int - ypadding int -} - -// The container type, which is defined per-platform, is an internal Control that is only used to house other Controls from the underlying UI toolkit's point of view - -/* TODO -func (c *container) resize(x, y, width, height int) { - if c.child == nil { // no children; nothing to do - return - } - d := c.beginResize() - allocations := c.child.allocate(x+d.xmargin, y+d.ymargintop, - width-(2*d.xmargin), height-d.ymargintop-d.ymarginbottom, d) - c.translateAllocationCoords(allocations, width, height) - // move in reverse so as to approximate right->left order so neighbors make sense - for i := len(allocations) - 1; i >= 0; i-- { - allocations[i].this.commitResize(allocations[i], d) - } -} -*/ |
