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.
2023-03-31 05:06:29 +00:00
|
|
|
package tomo
|
|
|
|
|
2023-03-31 18:02:56 +00:00
|
|
|
import "time"
|
|
|
|
|
2023-03-31 05:06:29 +00: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 18:02:56 +00:00
|
|
|
|
|
|
|
// DoubleClickDelay returns the maximum delay between two clicks for
|
|
|
|
// them to be registered as a double click.
|
|
|
|
DoubleClickDelay () time.Duration
|
2023-03-31 05:06:29 +00:00
|
|
|
}
|