list_box.h: make list PgUp and PgDown selection behavior more usual
git-svn-id: svn://kolibrios.org@5958 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
59fbf0d81e
commit
3e7a7a7eb9
@ -1,5 +1,5 @@
|
||||
#define TITLE "Eolite File Manager v3.25"
|
||||
#define ABOUT_TITLE "Eolite 3.25"
|
||||
#define TITLE "Eolite File Manager v3.26"
|
||||
#define ABOUT_TITLE "Eolite 3.26"
|
||||
|
||||
#ifdef LANG_RUS
|
||||
?define T_FILE "” ©«"
|
||||
|
@ -215,6 +215,7 @@ int llist::KeyPgUp()
|
||||
if (count <= visible) return KeyHome();
|
||||
if (first == 0) return 0;
|
||||
first -= visible;
|
||||
cur_y = first;
|
||||
CheckDoesValuesOkey();
|
||||
return 1;
|
||||
}
|
||||
@ -224,6 +225,7 @@ int llist::KeyPgDown()
|
||||
if (count <= visible) return KeyEnd();
|
||||
if (first == count - visible) return 0;
|
||||
first += visible;
|
||||
cur_y = first + visible - 1;
|
||||
CheckDoesValuesOkey();
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user