INNER CODE UNIT · Kotlin

UpperLeftPanel

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

        private inner class UpperLeftPanel() : VerticalMainPanel() {

            val drawingConfigurationPanel = DrawingConfigurationPanel()
            val settingsPanel = SettingsPanel()

            init {
                this.addMenuBarButton("fas-paint-brush:15", "Theme panel for the full 2D", drawingConfigurationPanel)
                //this.addMenuBarButton("fas-tools:15", settingsPanel)
            }

            override fun blinkUINode(name: String) {
                when (name) {
                    "choose_scheme" -> {
                        blinkWithColorInput(drawingConfigurationPanel.colorLineWidthSubPanel.schemeLabel)
                    }

                    "full_2D_colorwheel" -> {
                        drawingConfigurationPanel.colorLineWidthSubPanel.blinkUINode("colorwheel")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…