Changeset 102
- Timestamp:
- 11/17/07 19:08:44 (13 months ago)
- Files:
-
- 4 modified
-
rebgui-ctx.r (modified) (1 diff)
-
rebgui.r (modified) (5 diffs)
-
widgets/check-group.r (modified) (1 diff)
-
widgets/check.r (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
rebgui-ctx.r
r101 r102 111 111 ctx-rebgui: make object! [ 112 112 113 build: 10 1113 build: 102 114 114 view*: system/view 115 115 locale*: system/locale -
rebgui.r
r101 r102 1 REBOL[version: 10 1]1 REBOL[version: 102] 2 2 if system/version < 1.3.2[make error! "RebGUI requires View 1.3.2 or greater"] 3 3 unless value? 'viewed?[ … … 24 24 ] 25 25 ctx-rebgui: make object![ 26 build: 10 126 build: 102 27 27 view*: system/view 28 28 locale*: system/locale … … 1504 1504 Left and right mouse clicks alternate between Yes/No and Unknown respectively. 1505 1505 OPTIONS: 1506 'info specifies read-only} 1506 'info specifies read-only 1507 'bistate disables right-click state} 1507 1508 size: -1x5 1508 1509 text: "" … … 1533 1534 do select[ 1534 1535 down[face/data: either none? face/data[true][none]face/action/on-click face] 1535 alt-down[face/data: either none? face/data[false][none]face/action/on-click face] 1536 alt-down[ 1537 unless find face/options 'bistate[ 1538 face/data: either none? face/data[false][none]face/action/on-click face 1539 ] 1540 ] 1536 1541 away[face/feel/over face false 0x0] 1537 1542 ]act … … 1561 1566 At runtime face/data is a block of logic (or none) indicating state of each check box. 1562 1567 OPTIONS: 1563 'info specifies read-only} 1568 'info specifies read-only 1569 'bistate disables right-click state} 1564 1570 size: 50x-1 1565 1571 pane:[] -
widgets/check-group.r
r75 r102 11 11 OPTIONS: 12 12 'info specifies read-only 13 'bistate disables right-click state 13 14 } 14 15 size: 50x-1 -
widgets/check.r
r75 r102 12 12 OPTIONS: 13 13 'info specifies read-only 14 'bistate disables right-click state 14 15 } 15 16 size: -1x5 … … 41 42 do select [ 42 43 down [face/data: either none? face/data [true] [none] face/action/on-click face] 43 alt-down [face/data: either none? face/data [false] [none] face/action/on-click face] 44 alt-down [ 45 unless find face/options 'bistate [ 46 face/data: either none? face/data [false] [none] face/action/on-click face 47 ] 48 ] 44 49 away [face/feel/over face false 0x0] 45 50 ] act
