Rev 5829 | Rev 6887 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5829 | Rev 5958 | ||
---|---|---|---|
Line 213... | Line 213... | ||
213 | int llist::KeyPgUp() |
213 | int llist::KeyPgUp() |
214 | { |
214 | { |
215 | if (count <= visible) return KeyHome(); |
215 | if (count <= visible) return KeyHome(); |
216 | if (first == 0) return 0; |
216 | if (first == 0) return 0; |
217 | first -= visible; |
217 | first -= visible; |
- | 218 | cur_y = first; |
|
218 | CheckDoesValuesOkey(); |
219 | CheckDoesValuesOkey(); |
219 | return 1; |
220 | return 1; |
220 | } |
221 | } |
Line 221... | Line 222... | ||
221 | 222 | ||
222 | int llist::KeyPgDown() |
223 | int llist::KeyPgDown() |
223 | { |
224 | { |
224 | if (count <= visible) return KeyEnd(); |
225 | if (count <= visible) return KeyEnd(); |
225 | if (first == count - visible) return 0; |
226 | if (first == count - visible) return 0; |
- | 227 | first += visible; |
|
226 | first += visible; |
228 | cur_y = first + visible - 1; |
227 | CheckDoesValuesOkey(); |
229 | CheckDoesValuesOkey(); |
228 | return 1; |
230 | return 1; |
Line 229... | Line 231... | ||
229 | } |
231 | } |