summaryrefslogtreecommitdiff
path: root/redo/stack.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-04 13:39:33 -0400
committerPietro Gagliardi <[email protected]>2014-08-04 13:39:33 -0400
commit0ac40be173f9a1410c5149da605ffd1db24fc911 (patch)
treec4489c16c36bcba5bb85888615895d43b8f0fa06 /redo/stack.go
parent0496cf77b52e1713749fe40a8ef1b22f4918ad1d (diff)
Removed Control.containerShow() and Control.containerHide() and the overall ability to show and hide Controls in general; too much effort to get right.
Diffstat (limited to 'redo/stack.go')
-rw-r--r--redo/stack.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/redo/stack.go b/redo/stack.go
index 9f37812..739934d 100644
--- a/redo/stack.go
+++ b/redo/stack.go
@@ -65,18 +65,6 @@ func (s *Stack) setParent(parent *controlParent) {
s.created = true
}
-func (s *Stack) containerShow() {
- for _, c := range s.controls {
- c.containerShow()
- }
-}
-
-func (s *Stack) containerHide() {
- for _, c := range s.controls {
- c.containerHide()
- }
-}
-
func (s *Stack) allocate(x int, y int, width int, height int, d *sizing) (allocations []*allocation) {
var stretchywid, stretchyht int
var current *allocation // for neighboring