INNER CODE UNIT · Kotlin

DetailsLevelSubPanel

fjossinet/RNArtist · src/main/kotlin/RNArtist.kt:745

                inner class DetailsLevelSubPanel() : SubPanel("Details Level") {

                    val buttonsPanel = LargeButtonsPanel()
                    val detailsLvl1: RNArtistButton
                    val detailsLvl2: RNArtistButton
                    val detailsLvl3: RNArtistButton
                    val detailsLvl4: RNArtistButton
                    val detailsLvl5: RNArtistButton

                    init {

                        this.children.add(buttonsPanel)

                        mediator.currentDrawing.addListener { _, _, newValue ->
                            buttonsPanel.buttons.forEach {
                                it.isDisable = newValue == null
                            }
                        }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…