This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues or pull requests.
tomo-old/config.go

15 lines
388 B
Go
Raw Normal View History

2023-03-30 23:06:29 -06:00
package tomo
2023-03-31 12:02:56 -06:00
import "time"
2023-03-30 23:06:29 -06:00
// Config can return global configuration parameters.
type Config interface {
// ScrollVelocity returns how many pixels should be scrolled every time
// a scroll button is pressed.
ScrollVelocity () int
2023-03-31 12:02:56 -06:00
// DoubleClickDelay returns the maximum delay between two clicks for
// them to be registered as a double click.
DoubleClickDelay () time.Duration
2023-03-30 23:06:29 -06:00
}