(module sig mzscheme
(require (lib "unitsig.ss"))
(provide config^ viewer^ core^
cmdline^)
(define-signature config^
(base-font-size screen-w screen-h use-screen-w use-screen-h pixel-scale condense? printing? smoothing?))
(define-signature viewer^
( add-talk-slide!
retract-talk-slide!
most-recent-talk-slide
set-init-page!
set-use-background-frame!
enable-click-advance!
set-page-numbers-visible!
done-making-slides
add-click-region!
get-current-page
get-current-mouse-x/b
get-current-mouse-y/b
get-key-events
))
(define-signature core^
(slide
slide/title
slide/title/tall
slide/center
slide/title/center
slide/inset
slide/title/inset
slide/title/tall/inset
slide/center/inset
slide/title/center/inset
slide/name
slide/name/tall
slide/name/center
slide/name/inset
slide/name/tall/inset
slide/name/center/inset
most-recent-slide retract-most-recent-slide re-slide start-at-recent-slide
scroll-transition pause-transition
comment make-outline
item item* page-item page-item*
item/bullet item*/bullet page-item/bullet page-item*/bullet
subitem subitem* page-subitem page-subitem*
itemize itemize* page-itemize page-itemize*
para para* page-para page-para*
para/c para/r para*/c para*/r page-para/c page-para/r page-para*/c page-para*/r
font-size gap-size current-font-size line-sep title-size
main-font current-main-font with-font current-title-color
red green blue purple orange size-in-pixels
t it bt bit tt titlet tt* rt
bullet o-bullet
get-margin set-margin! get-client-w get-client-h
get-full-page get-titleless-page
skip-slides
set-use-background-frame!
enable-click-advance!
get-title-h set-title-h! current-slide-assembler
current-page-number-font current-page-number-color
set-page-numbers-visible! done-making-slides
clickback
make-slide-inset
apply-slide-inset
condense?
printing?
get-page-number
get-current-slide-time
get-current-mouse-x
get-current-mouse-y
get-current-key-events
))
(define-signature cmdline^
((open config^)
file-to-load init-page
use-transitions?
print-slide-seconds?
show-page-numbers?
commentary?
use-offscreen?
actual-screen-w actual-screen-h trust-me?
quad-view?
keep-titlebar?
two-frames?
use-prefetch?
use-prefetch-in-preview?
print-target
talk-duration-minutes)))