commonMain.ru.casperix.demo_platform.action.GuiNode.kt Maven / Gradle / Ivy
package ru.casperix.demo_platform.action
sealed interface GuiNode
class ButtonNode(val name: String, val action: () -> Unit) : GuiNode
class CheckerNode(val name: String, val init: Boolean, val action: (Boolean) -> Unit) : GuiNode
class SelectorNode(val group: String, val initIndex: Int, val items: List) : GuiNode
class WindowNode(val title: String, val children: List) : GuiNode