- Create org/scrollbox.org (tangles scrollbox.lisp) - Create org/tabbar.org (tangles tabbar.lisp) - Create org/container-package.org (tangles container-package.lisp) - Disable :tangle in old scrollbox-tabbar.org (kept for prose docs) - Fix missing paren in render method (was depth=1 at EOF) - All 483 tests pass, 14 suites, 100%
27 lines
775 B
Org Mode
27 lines
775 B
Org Mode
#+TITLE: Container Package
|
|
#+STARTUP: content
|
|
#+FILETAGS: :cl-tty:container:
|
|
|
|
* Overview
|
|
|
|
The ~cl-tty.container~ package defines the container component types:
|
|
ScrollBox and TabBar. It uses ~cl-tty.backend~, ~cl-tty.box~,
|
|
~cl-tty.layout~, and ~cl-tty.input~.
|
|
|
|
* Implementation
|
|
|
|
#+BEGIN_SRC lisp :tangle ../src/components/container-package.lisp
|
|
(defpackage :cl-tty.container
|
|
(:use :cl :cl-tty.backend :cl-tty.box :cl-tty.layout :cl-tty.input)
|
|
(:export
|
|
#:scroll-box #:make-scroll-box
|
|
#:scroll-box-scroll-y #:scroll-box-scroll-x
|
|
#:scroll-box-children #:scroll-by
|
|
#:sticky-scroll-p
|
|
#:clamp-scroll
|
|
#:tab-bar #:make-tab-bar
|
|
#:tab-bar-active #:tab-bar-tabs
|
|
#:tab-bar-add #:tab-bar-next #:tab-bar-prev
|
|
#:tab-bar-select #:tab-bar-handle-key))
|
|
#+END_SRC
|