ContainerView is a container with no visual presence that manages the layout of its child views
| 47 | // ContainerView is a container with no visual presence that manages the |
| 48 | // layout of its child views |
| 49 | type ContainerView struct { |
| 50 | channels Channels |
| 51 | config Config |
| 52 | childViews []BaseView |
| 53 | title string |
| 54 | viewWins map[WindowView]*Window |
| 55 | emptyWin *Window |
| 56 | activeViewIndex uint |
| 57 | handlers map[ActionType]containerViewHandler |
| 58 | orientation ContainerOrientation |
| 59 | childViewPositionCalculator ChildViewPositionCalculator |
| 60 | viewID ViewID |
| 61 | fullScreen bool |
| 62 | childPositions []*ChildViewPosition |
| 63 | styleConfig WindowStyleConfig |
| 64 | viewState ViewState |
| 65 | lock sync.Mutex |
| 66 | } |
| 67 | |
| 68 | // NewContainerView creates a new instance |
| 69 | func NewContainerView(channels Channels, config Config) *ContainerView { |
nothing calls this directly
no outgoing calls
no test coverage detected