Skip to content

Instantly share code, notes, and snippets.

View klazuka's full-sized avatar

Keith Lazuka klazuka

  • Microsoft
  • Cleveland
View GitHub Profile
: RGB>RGB ( bitmap -- bitmap' ) ;
: RGB>BGR ( bitmap -- bitmap' ) BGR>RGB ; inline
: RGB>RGBA ( bitmap -- bitmap' ) add-dummy-alpha ; inline
: RGB>BGRA ( bitmap -- bitmap' )
3 <sliced-groups> [ <reversed> add-dummy-alpha ] map concat ; inline
: RGB>ARGB ( bitmap -- bitmap' )
@klazuka
klazuka / gist:181765
Created September 6, 2009 11:38
klazuka's Factor UI tweaks
diff --git a/basis/fonts/fonts.factor b/basis/fonts/fonts.factor
index fb89bdb..5806bec 100644
--- a/basis/fonts/fonts.factor
+++ b/basis/fonts/fonts.factor
@@ -9,7 +9,8 @@ size
bold?
italic?
{ foreground initial: COLOR: black }
-{ background initial: COLOR: white } ;
+{ background initial: COLOR: white }