MCPcopy Create free account
hub / github.com/YACReader/yacreader / goTo

Method goTo

YACReader/render.cpp:912–922  ·  view source on GitHub ↗

sólo se renderiza la página, si ha habido un cambio de página

Source from the content-addressed store, hash-verified

910
911// sólo se renderiza la página, si ha habido un cambio de página
912void Render::goTo(int index)
913{
914
915 if (currentIndex != index) {
916 comic->setIndex(index);
917 previousIndex = currentIndex;
918 currentIndex = index;
919 update();
920 emit pageChanged(currentIndex);
921 }
922}
923
924void Render::rotateRight()
925{

Callers

nothing calls this directly

Calls 1

setIndexMethod · 0.80

Tested by

no test coverage detected