# HG changeset patch
# User Steve Losh
BEARLIBTERMINAL/HIGH-LEVEL
This package contains a high-level, lispy interface to bearlibterminal. It has the nickname blt
for easy prefixing.
BACKGROUND-COLOR
(function)(BACKGROUND-COLOR) +
BLACK
(function)(BLACK &KEY (VALUE 0.0) (ALPHA 1.0)) +
BLUE
(function)(BLUE &KEY (SATURATION 1.0) (VALUE 1.0) (ALPHA 1.0)) +
CELL-BACKGROUND-COLOR
(function)(CELL-BACKGROUND-COLOR X Y) +
CELL-CHAR
(function)(CELL-CHAR X Y &OPTIONAL (INDEX 0)) +
CELL-CODE
(function)(CELL-CODE X Y &OPTIONAL (INDEX 0)) +
CELL-COLOR
(function)(CELL-COLOR X Y &OPTIONAL (INDEX 0)) +
CHARACTER-INPUT
(function)(CHARACTER-INPUT) +
CHARTREUSE
(function)(CHARTREUSE &KEY (SATURATION 1.0) (VALUE 1.0) (ALPHA 1.0)) +
CLEAR
(function)(CLEAR) +
CLEAR-AREA
(function)(CLEAR-AREA X Y WIDTH HEIGHT) +
CLEAR-LAYER
(function)(CLEAR-LAYER &OPTIONAL LAYER) +
Clear layer
, or the current layer if not given.
CLOSE
(function)(CLOSE) +
COLOR
#<STANDARD-CLASS DOCPARSER:TYPE-NODE>
COLOR-NAME
(function)(COLOR-NAME COLOR-NAME) +
COLOR-TO-HSVA
(function)(COLOR-TO-HSVA COLOR &OPTIONAL FLOAT?) +
COLOR-TO-RGBA
(function)(COLOR-TO-RGBA COLOR &OPTIONAL FLOAT?) +
COMPOSITION
(function)(COMPOSITION) +
CROP
(function)(CROP X Y WIDTH HEIGHT) +
CYAN
(function)(CYAN &KEY (SATURATION 1.0) (VALUE 1.0) (ALPHA 1.0)) +
DRAW-BOX
(function)(DRAW-BOX X Y WIDTH HEIGHT &KEY (CONTENTS NIL) (BORDER :LIGHT) + (BACKGROUND-COLOR (RGBA 0 0 0)) (BORDER-COLOR (RGBA 255 255 255))) +
Draw a box.
+The border of the box, if present, will be one cell wide/tall.
+border
specifies the type of border to draw, and can be one of :light
,
+ :heavy
, or :double
, or nil
for no border.
background-color
and border-color
specify the colors to use. If nil
is
+ given they will not be drawn.
The width
and height
measurements include the two border cells, if
+ present. For example: a width
of 10
would have 8
cells of content
+ space with a border.
If given, contents
will be print
ed inside the box with the appropriate
+ bounds. The color, font, etc will all be whatever they are currently set to.
EXPERIMENTAL: This function is experimental and may change or be remove + entirely in the future.
+FONT
(function)(FONT NEW-VALUE) +
GRAY
(function)(GRAY &KEY (VALUE 0.5) (ALPHA 1.0)) +
GREEN
(function)(GREEN &KEY (SATURATION 1.0) (VALUE 1.0) (ALPHA 1.0)) +
HAS-INPUT-P
(function)(HAS-INPUT-P) +
HEIGHT
(function)(HEIGHT) +
HSVA
(function)(HSVA H S V &OPTIONAL (A NIL)) +
KEY-CASE
(macro)(KEY-CASE DATA &REST CLAUSES) +
LAYER
(function)(LAYER) +
MAGENTA
(function)(MAGENTA &KEY (SATURATION 1.0) (VALUE 1.0) (ALPHA 1.0)) +
MOUSE
(function)(MOUSE) +
MOUSE-X
(function)(MOUSE-X) +
MOUSE-Y
(function)(MOUSE-Y) +
OPEN
(function)(OPEN) +
ORANGE
(function)(ORANGE &KEY (SATURATION 1.0) (VALUE 1.0) (ALPHA 1.0)) +
PEEK
(function)(PEEK) +
PRINT
(function)(PRINT X Y STRING &KEY WIDTH HEIGHT (HALIGN :DEFAULT) (VALIGN :DEFAULT)) +
PURPLE
(function)(PURPLE &KEY (SATURATION 1.0) (VALUE 1.0) (ALPHA 1.0)) +
READ
(function)(READ) +
RED
(function)(RED &KEY (SATURATION 1.0) (VALUE 1.0) (ALPHA 1.0)) +
REFRESH
(function)(REFRESH) +
RGBA
(function)(RGBA R G B &OPTIONAL (A NIL)) +
SET
(function)(SET CONFIGURATION-STRING &REST FORMAT-ARGUMENTS) +
SLEEP
(function)(SLEEP SECONDS) +
WHITE
(function)(WHITE &KEY (VALUE 1.0) (ALPHA 1.0)) +
WIDTH
(function)(WIDTH) +
WITH-TERMINAL
(macro)(WITH-TERMINAL + &BODY + BODY) +
YELLOW
(function)(YELLOW &KEY (SATURATION 1.0) (VALUE 1.0) (ALPHA 1.0)) +
BEARLIBTERMINAL/LOW-LEVEL
This package contains the low-level, SWIG-generated wrapper functions for bearlibterminal.
+--SIZEOF-WCHAR-T--+
(variable)TERMINAL-FONT
(function)(TERMINAL-FONT) +
TERMINAL-FONT-16
(function)(TERMINAL-FONT-16) +
TERMINAL-FONT-32
(function)(TERMINAL-FONT-32) +
TERMINAL-FONT-8
(function)(TERMINAL-FONT-8) +
TERMINAL-GET
(function)(TERMINAL-GET)
TERMINAL-WFONT
(function)(TERMINAL-WFONT) +
TERMINAL-WGET
(function)(TERMINAL-WGET)