root.go 505 B

1234567891011121314151617181920212223
  1. package widget
  2. import . "gitlab.com/beoran/ebsgo/zori/types"
  3. // import _ "gitlab.com/beoran/ebsgo/zori/backend"
  4. // import "gitlab.com/beoran/ebsgo/zori/state"
  5. import "gitlab.com/beoran/ebsgo/zori/style"
  6. /*
  7. * Root level widget, my spread out over several displays.
  8. * In Zori, there can only be a single root level widget active.
  9. * It's ID is always 0;
  10. */
  11. type Root struct {
  12. Basic
  13. Icons map[string]Bitmap
  14. Display
  15. Console
  16. UITheme style.Theme
  17. Cursors
  18. Active *PageWidget
  19. }