Changeset 112 for widgets/chat.r
- Timestamp:
- 12/31/07 22:18:08 (11 months ago)
- Files:
-
- 1 modified
-
widgets/chat.r (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
widgets/chat.r
r111 r112 18 18 pane: [] 19 19 data: [] 20 edge: default-edge20 edge: outline-edge 21 21 action: make default-action [ 22 22 on-resize: make function! [face] [ … … 56 56 size: as-pair t1 y 57 57 text: form any [row rows: rows + 1] 58 color: colors/ btn-up59 edge: make default-edge [size: 0x1]60 font: make default-font-top [color: colors/btn-text align: 'center]58 color: colors/theme-dark 59 edge: make outline-edge [size: 0x1] 60 font: default-font-heading 61 61 ] 62 62 make subface [ … … 64 64 size: as-pair t2 - t1 y 65 65 text: user 66 edge: make default-edge [size: 0x1]66 edge: make outline-edge [size: 0x1] 67 67 font: make default-font-top [color: either word? user-color [get user-color] [user-color] style: 'bold] 68 68 ] … … 73 73 text: form msg 74 74 color: either word? msg-color [get msg-color] [msg-color] 75 edge: make default-edge [size: 0x1]75 edge: make outline-edge [size: 0x1] 76 76 font: default-font 77 77 para: default-para-wrap … … 82 82 span: all [p/span find p/span #W #X] 83 83 text: form either now/date = date/date [date/time] [date/date] 84 edge: make default-edge [size: 0x1]84 edge: make outline-edge [size: 0x1] 85 85 font: default-font-top 86 86 ] … … 147 147 ] 148 148 149 rebind: make function! [] [color: colors/widget]150 151 149 init: make function! [/local p] [ 152 150 p: self … … 157 155 span: all [p/span find p/span #W #W] 158 156 pane: [] 159 color: colors/widget160 157 ] 161 158 ; heading … … 164 161 text: "ID^-User^-Message^-Sent" 165 162 span: all [p/span find p/span #W #W] 166 color: colors/ btn-up167 font: make default-font [color: colors/ btn-text style: 'bold]163 color: colors/theme-dark 164 font: make default-font [color: colors/page] 168 165 para: make default-para [tabs: [0 0 0]] 169 166 ]
