fonts: simplify reverse-video-font
parent
11f060719a
commit
16b144eaf5
|
@ -34,8 +34,8 @@ TUPLE: font name size bold? italic? foreground background ;
|
||||||
|
|
||||||
: reverse-video-font ( font -- font )
|
: reverse-video-font ( font -- font )
|
||||||
clone dup
|
clone dup
|
||||||
[ foreground>> ] [ background>> ] bi
|
[ foreground>> >>background ]
|
||||||
[ >>background ] [ >>foreground ] bi* ;
|
[ background>> >>foreground ] bi ;
|
||||||
|
|
||||||
: derive-font ( base font -- font' )
|
: derive-font ( base font -- font' )
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue