-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackages.lisp
47 lines (44 loc) · 1.27 KB
/
packages.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
(defpackage lispkit
(:use :gtk :gdk :gdk-pixbuf :gobject :cl-xkeysym
:cl-webkit2 :glib :gio :pango :cairo :common-lisp
:split-sequence :alexandria)
(:export #:do-main
#:main
#:defjump
#:lookup-jump
#:make-browser
#:make-webview
#:make-ui-builder
#:define-key
#:make-keymap
#:keymaps
#:handle-key
#:defcommand))
;; fix parenscript missing DOM methods in #:ps-dhtml-symbols
;; See https://github.com/vsedach/Parenscript/issues/14
(defpackage #:lispkit.dhtml-missing-methods
(:documentation "Missing functions used in lispkit source code.")
(:export
#:-string
#:from-char-code
#:-math
#:pow
#:to-upper-case
#:to-lower-case
#:style
#:position
#:top
#:left
#:add-event-listener
#:key-code
#:query-selector-all
#:inner-width
#:inner-height
#:get-bounding-client-rect
#:text-content))
(ps::re-export-symbols '#:lispkit.dhtml-missing-methods '#:ps-dhtml-symbols)
(defpackage lispkit.link-hints
(:use :parenscript :ps-dhtml-symbols)
(:shadowing-import-from :common-lisp :length)
(:shadowing-import-from :ps-dom1-symbols :label :size))
(setf (ps:ps-package-prefix :lispkit.link-hints) "_lispkit_link_hints_")