redo-event-system #1
@ -1,11 +1,13 @@
 | 
				
			|||||||
package stone
 | 
					package stone
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "time"
 | 
					import "time"
 | 
				
			||||||
 | 
					import "image"
 | 
				
			||||||
import "errors"
 | 
					import "errors"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type Backend interface {
 | 
					type Backend interface {
 | 
				
			||||||
	Run      () (chan(Event))
 | 
						Run      () (chan(Event))
 | 
				
			||||||
	SetTitle (title string)
 | 
						SetTitle (title string)
 | 
				
			||||||
 | 
						SetIcon  (icons []image.Image)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type BackendFactory func (application *Application) (backend Backend, err error)
 | 
					type BackendFactory func (application *Application) (backend Backend, err error)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user