/programs/cmm/lib/list_box.h |
---|
78,6 → 78,7 |
{ |
if (first == 0) return 0; |
if (first > wheel_size+1) first -= wheel_size; else first=0; |
CheckDoesValuesOkey(); |
return 1; |
} |
if (scroll_state == 1) |
84,6 → 85,7 |
{ |
if (visible + first == count) return 0; |
if (visible+first+wheel_size+1 > count) first = count - visible; else first+=wheel_size; |
CheckDoesValuesOkey(); |
return 1; |
} |
return 0; |