revisions

This commit is contained in:
pls.153 2025-10-19 00:39:10 +02:00
parent b8fcdb27cf
commit 08c81af287
4 changed files with 12 additions and 17 deletions

View file

@ -8,8 +8,6 @@
(in-package :dialogs)
(defvar *callback* nil)
(defun push-dialog (name)
"Pushes dialog NAME onto the StackView."
(qjs |pushDialog| ui:*main* (string-downcase name)))

View file

@ -10,8 +10,8 @@
(in-package :ui)
(defparameter *d-debug-input* "debug_input")
(defparameter *d-debug-model* "debug_model")
(defparameter *d-debug-text* "debug_text")
(defparameter *d-debug-input* "debug_input")
(defparameter *d-debug-model* "debug_model")
(defparameter *d-debug-text* "debug_text")
(defparameter *main* "main")
(defparameter *main* "main")

View file

@ -25,17 +25,6 @@ Rectangle {
text: qsTr("Back")
}
Text {
x: 30
height: backButton.height * 1.1 // align correction (different font from above)
verticalAlignment: Text.AlignVCenter
font.pixelSize: 20
font.weight: Font.DemiBold
color: back.color
text: "Repl"
visible: (Qt.platform.os === "ios")
}
implicitWidth: 90
color: menuBack.color
}

View file

@ -10,3 +10,11 @@ an eventual runtime error: an interactive debug dialog will be shown instead.
This is especially helpful on android, where Lisp issues are hard to debug once
the app is installed.
Important note
--------------
You can't have both this **debug-ui** and the simple **repl** (`Repl.qml`) in
the same app, because `Repl.qml` depends on `eval.lisp` which would replace
the stream/buffer setup of **debug-ui**.