add setVisiblePageCount method for cre.cpp
Merge pull request #37 from houqp/houqp-master

add setVisiblePageCount method for cre.cpp