summaryrefslogtreecommitdiff
path: root/stack.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-26 15:15:13 -0400
committerPietro Gagliardi <[email protected]>2014-10-26 15:15:13 -0400
commit335480db7cd6ed97778ef8fef0710e4d68606457 (patch)
treee42e175a54ad1e2cde7c99705270987170e387e9 /stack.go
parentca39a32a90913ce76c21d91fa7773ac3f893e009 (diff)
Reimplemented Control.containerShow()/Control.containerHide(). Will be needed to fully move Tab on Windows away from container.
Diffstat (limited to 'stack.go')
-rw-r--r--stack.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/stack.go b/stack.go
index f210ec8..6b028a6 100644
--- a/stack.go
+++ b/stack.go
@@ -85,6 +85,18 @@ func (s *stack) setParent(parent *controlParent) {
s.container.setParent(parent)
}
+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) resize(x int, y int, width int, height int, d *sizing) {
var stretchywid, stretchyht int