Skip to content

Commit

Permalink
Added stub for ACCEPTING-VALUES.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Dejneka committed Jul 14, 2002
1 parent 551bba5 commit 56a3553
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
36 changes: 36 additions & 0 deletions dialog.lisp
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
;;; Stub for ACCEPTING-VALUES.

(in-package :CLIM-INTERNALS)

(defmacro accepting-values
((&optional (stream t)
&rest args
&key own-window exit-boxes initially-select-query-identifier
modify-initial-query resynchronize-every-pass resize-frame
align-prompts label scroll-bars
x-position y-position width height command-table frame-class)
&body body)
(declare (ignorable own-window exit-boxes initially-select-query-identifier
modify-initial-query resynchronize-every-pass resize-frame
align-prompts label scroll-bars
x-position y-position width height command-table frame-class))
(when (eq stream 't)
(setq stream '*standard-input*))
(check-type stream symbol)
(with-gensyms (accepting-values-continuation)
`(flet ((,accepting-values-continuation (,stream)
,@body))
(declare (dynamic-extent ,accepting-values-continuation))
(invoke-accepting-values ,stream
#',accepting-values-continuation
,@args))))

(defun invoke-accepting-values
(stream body
&key own-window exit-boxes initially-select-query-identifier
modify-initial-query resynchronize-every-pass resize-frame
align-prompts label scroll-bars
x-position y-position width height command-table
(frame-class 'accept-values))
(funcall body stream))

1 change: 1 addition & 0 deletions system.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
"table-formatting"
"bordered-output"
"builtin-commands"
"dialog" ; depends on table-formatting
)

(load (merge-pathnames "Backends/CLX/system" *clim-directory*))
Expand Down

0 comments on commit 56a3553

Please sign in to comment.