generated from rnentjes/kotlin-server-web-undertow
Add DiplayControlView for enhanced display rendering, refactor BufferedImage RGB logic, and update related components and styles
This commit is contained in:
@@ -4,6 +4,7 @@ import kotlinx.browser.document
|
||||
import kotlinx.html.div
|
||||
import kotlinx.html.style
|
||||
import mtmc.emulator.MonTanaMiniComputer
|
||||
import mtmc.view.DisplayView
|
||||
import mtmc.view.MTMCView
|
||||
import nl.astraeus.komp.HtmlBuilder
|
||||
import nl.astraeus.komp.Komponent
|
||||
@@ -20,6 +21,7 @@ class HelloKomponent : Komponent() {
|
||||
|
||||
val computer = MonTanaMiniComputer()
|
||||
val mainView = MTMCView(computer)
|
||||
val display = DisplayView(computer)
|
||||
|
||||
fun main() {
|
||||
computer.speed = 1 // default to 1hz
|
||||
|
||||
Reference in New Issue
Block a user