Re-added LineEdit interface. Honestly I'm not too thrilled with how the unparent/reparent system is turning out; removing it failed, however...

This commit is contained in:
Pietro Gagliardi 2014-07-24 17:24:25 -04:00
parent a2eb69cbf6
commit 5e9b60a795
1 changed files with 14 additions and 0 deletions

View File

@ -51,3 +51,17 @@ type Checkbox interface {
func NewCheckbox(text string) Checkbox {
return newCheckbox(text)
}
// LineEdit blah blah blah TODO write this
// TODO change name
type LineEdit interface {
Control
// TODO figure out what events are appropriate
// Text and SetText are Requests that get and set the Checkbox's label text.
Text() string
SetText(text string)
}
// TODO NewLineEdit, NewPasswordEdit, ...