summaryrefslogtreecommitdiff
path: root/ui/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/types.go')
-rw-r--r--ui/types.go11
1 files changed, 7 insertions, 4 deletions
diff --git a/ui/types.go b/ui/types.go
index 588c3b3..14a91c3 100644
--- a/ui/types.go
+++ b/ui/types.go
@@ -7,14 +7,18 @@ import (
)
const (
- Valid = 0
- InvalidateTabs = 1 << iota
+ Valid = 0
+ InvalidateTabList = 1 << iota
+ InvalidateTabView
InvalidateSidebar
InvalidateStatusBar
)
const (
- InvalidateAll = InvalidateTabs | InvalidateSidebar | InvalidateStatusBar
+ InvalidateAll = InvalidateTabList |
+ InvalidateTabView |
+ InvalidateSidebar |
+ InvalidateStatusBar
)
type Geometry struct {
@@ -26,7 +30,6 @@ type Geometry struct {
type AercTab interface {
Name() string
- Invalid() bool
Render(at Geometry)
SetParent(parent *UIState)
}