#include "NavChap.h" #include "ApplicationInterface.h" #include "NavFind.h" #include "SimpleNavigator.h" NavChap::NavChap(SimpleNavigator* navigator):NavNumbers(navigator){ command=L"Select a chapter"; } NavChap::~NavChap(){ } void NavChap::show() { maxNumber=navigator->chapCount(); NavNumbers::show(); } void NavChap::userTap(int x, int y) { int number=numberAt(x,y); if (number>0) { navigator->setChap(number); navigator->setMode(MODE_VERSE); } }