Documented the new limit swapping of uiSlider and uiSpinbox.

This commit is contained in:
Pietro Gagliardi 2016-05-22 20:13:35 -04:00
parent 53cfaa3531
commit 8e729f3615
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ type Slider struct {
onChanged func(*Slider)
}
// NewSlider creates a new Slider. TODO limits
// NewSlider creates a new Slider. If min >= max, they are swapped.
func NewSlider(min int, max int) *Slider {
s := new(Slider)

View File

@ -27,7 +27,7 @@ type Spinbox struct {
onChanged func(*Spinbox)
}
// NewSpinbox creates a new Spinbox. TODO limits
// NewSpinbox creates a new Spinbox. If min >= max, they are swapped.
func NewSpinbox(min int, max int) *Spinbox {
s := new(Spinbox)