widget/range.go

11 lines
271 B
Go
Raw Normal View History

package widget
// Range(1, 10) includes the values 1 and 10
// almost all toolkits use integers so there doesn't
// seem to be a good idea to use 'type any' here as it
// just makes things more complicated for no good reason
type RangeType struct {
Low int
High int
}