changeset 144 | e61447a7f249 |
parent 143 | 36cabfe408cd |
child 146 | f328ce9c558c |
143:36cabfe408cd | 144:e61447a7f249 |
---|---|
214 { |
214 { |
215 tsel = arg->i; |
215 tsel = arg->i; |
216 arrange(NULL); |
216 arrange(NULL); |
217 drawall(); |
217 drawall(); |
218 } |
218 } |
219 |
|
220 void |
|
221 viewnext(Arg *arg) |
|
222 { |
|
223 arg->i = (tsel < TLast-1) ? tsel+1 : 0; |
|
224 view(arg); |
|
225 } |
|
226 |
|
227 void |
|
228 viewprev(Arg *arg) |
|
229 { |
|
230 arg->i = (tsel > 0) ? tsel-1 : TLast-1; |
|
231 view(arg); |
|
232 } |