Whoops, forgot to define sysData.selectedIndices() and sysData.selectedTexts() for Mac OS X now that I have those written! Adding items is still a no-op...
This commit is contained in:
parent
0baf0f4a97
commit
463b347911
|
@ -403,13 +403,21 @@ if classTypes[s.ctype].selIndex == nil { return -1 }
|
|||
}
|
||||
|
||||
func (s *sysData) selectedIndices() []int {
|
||||
// TODO
|
||||
return nil
|
||||
ret := make(chan []int)
|
||||
defer close(ret)
|
||||
uitask <- func() {
|
||||
ret <- classTypes[s.ctype].selIndices(s.id)
|
||||
}
|
||||
return <-ret
|
||||
}
|
||||
|
||||
func (s *sysData) selectedTexts() []string {
|
||||
// TODO
|
||||
return nil
|
||||
ret := make(chan []string)
|
||||
defer close(ret)
|
||||
uitask <- func() {
|
||||
ret <- classTypes[s.ctype].selTexts(s.id)
|
||||
}
|
||||
return <-ret
|
||||
}
|
||||
|
||||
func (s *sysData) setWindowSize(width int, height int) error {
|
||||
|
|
Loading…
Reference in New Issue