state.go 299 B

1234567891011121314
  1. package state
  2. type Flag int
  3. /* Generic state flags for several zori structs. */
  4. const (
  5. HIDDEN = Flag(1 << iota)
  6. DISABLED = Flag(1 << iota)
  7. HOVERED = Flag(1 << iota)
  8. MARKED = Flag(1 << iota)
  9. READY = Flag(1 << iota)
  10. DEACTIVATED = DISABLED | HIDDEN
  11. )