Changeset 112 for widgets/check.r

Show
Ignore:
Timestamp:
12/31/07 22:18:08 (11 months ago)
Author:
ashley
Message:

Added pill.r
Scroller fixes
Major color / theme management changes (in progress)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • widgets/check.r

    r102 r112  
    1616        size:   -1x5 
    1717        text:   "" 
    18         effect: [draw [pen colors/edge fill-pen colors/edit box 0x0 0x0]] 
     18        effect: [draw [pen colors/outline-light fill-pen colors/page box 0x0 0x0]] 
    1919        font:   default-font 
    2020        para:   default-para-indented 
     
    2828                                unless none? face/data [ 
    2929                                        insert tail face/effect/draw reduce either face/data [ 
    30                                                 ['pen colors/true 'line-width sizes/cell / 3 'line as-pair 2 sizes/cell * 3 as-pair sizes/cell * 1.5 p2/y as-pair p2/x p1/y] 
     30                                                ['pen colors/state-dark 'line-width sizes/cell / 3 'line as-pair 2 sizes/cell * 3 as-pair sizes/cell * 1.5 p2/y as-pair p2/x p1/y] 
    3131                                        ][ 
    32                                                 ['pen colors/false 'line-width sizes/cell / 3 'line p1 p2 'line as-pair p2/x p1/y as-pair p1/x p2/y] 
     32                                                ['pen colors/state-dark 'line-width sizes/cell / 3 'line p1 p2 'line as-pair p2/x p1/y as-pair p1/x p2/y] 
    3333                                        ] 
    3434                                ] 
     
    3636                ] 
    3737                over: make function! [face act pos] [ 
    38                         face/effect/draw/pen: either act [colors/over] [colors/edge] 
     38                        face/effect/draw/pen: either act [colors/state-dark] [colors/outline-light] 
    3939                        show face 
    4040                ] 
     
    6262                if find options 'info [ 
    6363                        feel/redraw self 'show none 
    64                         effect/draw/4: colors/widget 
     64                        effect/draw/4: colors/outline-light 
    6565                        feel: make default-feel [] 
    6666                ]