From 335480db7cd6ed97778ef8fef0710e4d68606457 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 26 Oct 2014 15:15:13 -0400 Subject: Reimplemented Control.containerShow()/Control.containerHide(). Will be needed to fully move Tab on Windows away from container. --- stack.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'stack.go') 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 -- cgit v1.2.3