Changeset 112 for widgets/check.r
- Timestamp:
- 12/31/07 22:18:08 (11 months ago)
- Files:
-
- 1 modified
-
widgets/check.r (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
widgets/check.r
r102 r112 16 16 size: -1x5 17 17 text: "" 18 effect: [draw [pen colors/ edge fill-pen colors/editbox 0x0 0x0]]18 effect: [draw [pen colors/outline-light fill-pen colors/page box 0x0 0x0]] 19 19 font: default-font 20 20 para: default-para-indented … … 28 28 unless none? face/data [ 29 29 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] 31 31 ][ 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] 33 33 ] 34 34 ] … … 36 36 ] 37 37 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] 39 39 show face 40 40 ] … … 62 62 if find options 'info [ 63 63 feel/redraw self 'show none 64 effect/draw/4: colors/ widget64 effect/draw/4: colors/outline-light 65 65 feel: make default-feel [] 66 66 ]
