Initial commit, lots of cleanup and stuff to do, it may not work.
This commit is contained in:
		
							
								
								
									
										11
									
								
								uiterm/view.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								uiterm/view.go
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
package uiterm
 | 
			
		||||
 | 
			
		||||
type View interface {
 | 
			
		||||
	uiInitialize(ui *Ui)
 | 
			
		||||
	uiSetActive(active bool)
 | 
			
		||||
	uiSetBounds(x0, y0, x1, y1 int)
 | 
			
		||||
	uiDraw()
 | 
			
		||||
	uiKeyEvent(key Key)
 | 
			
		||||
	uiCharacterEvent(ch rune)
 | 
			
		||||
	// commandEvent(cmd string)
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user