WIP desktop client for Chatto reimplemented in ScalaFX and Sapphire Framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
543 B

4 years ago
  1. package wow.doge.chatto.controller
  2. import javafx.event.ActionEvent
  3. import javafx.scene.control.Button
  4. class NavigationController extends AbstractViewController {
  5. def actionClickButton(event: ActionEvent) {
  6. logger.debug(event.toString)
  7. statusBarController.updateLabel(event.getSource.asInstanceOf[Button])
  8. }
  9. def actionHotReload(event: ActionEvent) {
  10. applicationController.replacePrimarySceneContent()
  11. logger.debug("Hot Reload Succeeded")
  12. statusBarController.updateLabel(event.getSource.asInstanceOf[Button])
  13. }
  14. }