factor/library/styles.factor

34 lines
732 B
Factor
Raw Normal View History

2005-06-27 03:47:22 -04:00
! Copyright (C) 2005 Slava Pestov.
! See http://factor.sf.net/license.txt for BSD license.
IN: styles
2005-07-13 21:03:34 -04:00
! Colors are RGB triples.
2005-09-27 00:24:42 -04:00
: black @{ 0 0 0 }@ ;
: dark-gray @{ 64 64 64 }@ ;
: gray @{ 128 128 128 }@ ;
: light-gray @{ 192 192 192 }@ ;
: white @{ 255 255 255 }@ ;
: red @{ 255 0 0 }@ ;
: green @{ 0 255 0 }@ ;
: blue @{ 0 0 255 }@ ;
2005-07-13 21:03:34 -04:00
2005-06-27 03:47:22 -04:00
SYMBOL: foreground ! Used for text and outline shapes.
SYMBOL: background ! Used for filled shapes.
SYMBOL: font
SYMBOL: font-size
SYMBOL: font-style
SYMBOL: plain
SYMBOL: bold
SYMBOL: italic
SYMBOL: bold-italic
2005-07-06 03:29:42 -04:00
SYMBOL: underline
2005-07-13 18:08:54 -04:00
SYMBOL: presented
SYMBOL: file
2005-09-25 20:41:49 -04:00
! A quotation that writes an outline expansion to stdio
SYMBOL: outline