[WIP] Remove LibGUI

This commit is contained in:
Linnea Gräf
2024-07-01 03:42:51 +02:00
parent dff1f9c0e2
commit 5ee4b8d925
44 changed files with 439 additions and 1141 deletions

View File

@@ -77,9 +77,9 @@ object MoulConfigUtils {
override fun createInstance(context: XMLContext<*>, element: Element): FirmButtonComponent {
return FirmButtonComponent(
context.getChildFragment(element),
context.getMethodFromAttribute(element, QName("onClick")),
context.getPropertyFromAttribute(element, QName("enabled"), Boolean::class.java)
?: GetSetter.constant(true)
?: GetSetter.constant(true),
context.getMethodFromAttribute(element, QName("onClick")),
)
}