]> git.0d.be Git - barnard.git/blobdiff - uiterm/view.go
uiterm: prefix View methods with ui
[barnard.git] / uiterm / view.go
index c9b6a65dd35995dc9426f3a1b32d77e82b62c1de..c63387f247a11f778ea43e6173cd8a48c4fe593d 100644 (file)
@@ -2,9 +2,9 @@ package uiterm
 
 type View interface {
        uiInitialize(ui *Ui)
-       setActive(active bool)
-       setBounds(x0, y0, x1, y1 int)
-       draw()
-       keyEvent(mod Modifier, key Key)
-       characterEvent(ch rune)
+       uiSetActive(active bool)
+       uiSetBounds(x0, y0, x1, y1 int)
+       uiDraw()
+       uiKeyEvent(mod Modifier, key Key)
+       uiCharacterEvent(ch rune)
 }