ui/app,ui/key: move TextInputState from key to internal package

Clients have no need for the TextInputState type.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-07-21 13:12:24 +02:00
parent b46bad09bd
commit 9e0e4af8c6
10 changed files with 41 additions and 54 deletions
+1 -1
View File
@@ -1087,7 +1087,7 @@ func (w *window) nativeWindow(visID int) (unsafe.Pointer, int, int) {
return unsafe.Pointer(w.surf), width * scale, height * scale
}
func (w *window) setTextInput(s key.TextInputState) {}
func (w *window) showTextInput(show bool) {}
// detectFontScale reports current font scale, or 1.0
// if it fails.