1 ! Copyright (C) 2005, 2008 Slava Pestov.
2 ! Copyright (C) 2006, 2007 Alex Chapman.
3 ! See http://factorcode.org/license.txt for BSD license.
4 USING: arrays kernel sequences ui.gadgets ui.render
5 ui.text colors colors.gray accessors ;
9 : solid-interior ( gadget color -- gadget )
10 <solid> >>interior ; inline
12 : solid-boundary ( gadget color -- gadget )
13 <solid> >>boundary ; inline
15 : faint-boundary ( gadget -- gadget )
16 colors:gray solid-boundary ; inline
18 : selection-color ( -- color ) light-purple ; inline
20 : focus-border-color ( -- color ) medium-purple ; inline
22 : plain-gradient ( -- gradient )
30 : rollover-gradient ( -- gradient )
38 : pressed-gradient ( -- gradient )
46 : selected-gradient ( -- gradient )
54 : lowered-gradient ( -- gradient )