Created
January 11, 2019 23:35
-
-
Save adam-arold/5d74e33b40ba34ba2fe42489d062e020 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyComponent( | |
val isFocused: Boolean, | |
val children: List<MyComponent>, | |
val drawSurface: PixelGraphicsImpl) { | |
fun requestFocus() { | |
} | |
fun clearFocus() { | |
} | |
fun render() { | |
} | |
fun attachTo(container: Container) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment