Checkpoint
This commit is contained in:
160 files changed
+76293
-387
No files matched your search
@@ -0,0 +1,16 @@
|
||||
package ui
|
||||
|
||||
// Screen is a named collection of widgets.
|
||||
type Screen interface {
|
||||
String() string
|
||||
|
||||
Widgets() []Widget
|
||||
|
||||
SetVisible(visible bool)
|
||||
}
|
||||
|
||||
type Widget interface {
|
||||
// Render the widget to the display buffer; after rendering the display probably still
|
||||
// requires refreshing.
|
||||
Render(redraw bool) bool
|
||||
}
|
||||
Reference in new issue
Block a user