Rename package name again

This commit is contained in:
ryoii 2020-03-28 22:31:43 +08:00
parent ea4057c0f3
commit 27cb975c62
8 changed files with 29 additions and 28 deletions

View File

@ -11,11 +11,10 @@ package net.mamoe.mirai.console.graphical
import net.mamoe.mirai.console.MiraiConsole
import net.mamoe.mirai.console.graphical.controller.MiraiGraphicalUIController
import net.mamoe.mirai.console.graphical.styleSheet.PrimaryStyleSheet
import net.mamoe.mirai.console.graphical.stylesheet.PrimaryStyleSheet
import net.mamoe.mirai.console.graphical.view.Decorator
import tornadofx.App
import tornadofx.find
import tornadofx.launch
//object MiraiGraphicalLoader {
// @JvmStatic

View File

@ -1,4 +1,4 @@
package net.mamoe.mirai.console.graphical.styleSheet
package net.mamoe.mirai.console.graphical.stylesheet
import javafx.scene.layout.BackgroundRepeat
import javafx.scene.paint.Color

View File

@ -1,4 +1,4 @@
package net.mamoe.mirai.console.graphical.styleSheet
package net.mamoe.mirai.console.graphical.stylesheet
import javafx.scene.Cursor
import javafx.scene.effect.BlurType

View File

@ -1,4 +1,4 @@
package net.mamoe.mirai.console.graphical.styleSheet
package net.mamoe.mirai.console.graphical.stylesheet
import javafx.geometry.Pos
import javafx.scene.paint.Color

View File

@ -1,4 +1,4 @@
package net.mamoe.mirai.console.graphical.styleSheet
package net.mamoe.mirai.console.graphical.stylesheet
import javafx.scene.Cursor
import javafx.scene.text.FontWeight
@ -50,14 +50,11 @@ class PrimaryStyleSheet : BaseStyleSheet() {
backgroundColor += c(100, 100, 100, 0.4)
backgroundRadius += box(5.px)
textFill = c(fontColor)
fontWeight = FontWeight.BOLD
textFill = c(fontColor)
fontWeight = FontWeight.BOLD
}
}
textField {
}
}
}

View File

@ -5,7 +5,7 @@ import javafx.geometry.Pos
import javafx.scene.image.Image
import kotlinx.coroutines.runBlocking
import net.mamoe.mirai.console.graphical.controller.MiraiGraphicalUIController
import net.mamoe.mirai.console.graphical.styleSheet.LoginViewStyleSheet
import net.mamoe.mirai.console.graphical.stylesheet.LoginViewStyleSheet
import net.mamoe.mirai.console.graphical.util.jfxButton
import net.mamoe.mirai.console.graphical.util.jfxPasswordfield
import net.mamoe.mirai.console.graphical.util.jfxTextfield

View File

@ -3,7 +3,7 @@ package net.mamoe.mirai.console.graphical.view
import com.jfoenix.controls.JFXTreeTableColumn
import net.mamoe.mirai.console.graphical.controller.MiraiGraphicalUIController
import net.mamoe.mirai.console.graphical.model.PluginModel
import net.mamoe.mirai.console.graphical.styleSheet.PluginViewStyleSheet
import net.mamoe.mirai.console.graphical.stylesheet.PluginViewStyleSheet
import net.mamoe.mirai.console.graphical.util.jfxTreeTableView
import tornadofx.View
import tornadofx.addStylesheet

View File

@ -65,6 +65,26 @@ class PrimaryView : View() {
}
}
}
}
center = vbox {
jfxTabPane {
fitToParentHeight()
tabClosingPolicy = TabPane.TabClosingPolicy.ALL_TABS
logTab("Main", controller.mainLog, closeable = false)
fixedTab("Plugins").content = find<PluginsView>().root
fixedTab("Settings").content = find<SettingsView>().root
fixedTab("Login").content = find<LoginView>().root
mainTabPane = this
}
// command input
textfield {
@ -80,21 +100,6 @@ class PrimaryView : View() {
}
}
}
center = jfxTabPane {
tabClosingPolicy = TabPane.TabClosingPolicy.ALL_TABS
logTab("Main", controller.mainLog, closeable = false)
fixedTab("Plugins").content = find<PluginsView>().root
fixedTab("Settings").content = find<SettingsView>().root
fixedTab("Login").content = find<LoginView>().root
mainTabPane = this
}
}
fun Tab.select() = apply {