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 {
|
func (s *sysData) selectedIndices() []int {
|
||||||
// TODO
|
ret := make(chan []int)
|
||||||
return nil
|
defer close(ret)
|
||||||
|
uitask <- func() {
|
||||||
|
ret <- classTypes[s.ctype].selIndices(s.id)
|
||||||
|
}
|
||||||
|
return <-ret
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *sysData) selectedTexts() []string {
|
func (s *sysData) selectedTexts() []string {
|
||||||
// TODO
|
ret := make(chan []string)
|
||||||
return nil
|
defer close(ret)
|
||||||
|
uitask <- func() {
|
||||||
|
ret <- classTypes[s.ctype].selTexts(s.id)
|
||||||
|
}
|
||||||
|
return <-ret
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *sysData) setWindowSize(width int, height int) error {
|
func (s *sysData) setWindowSize(width int, height int) error {
|
||||||
|
|
Loading…
Reference in New Issue