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 Permalink Normal View History

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
}