From 0cf4487a500e84a8c77ed72ba7d26fe098308e22 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 24 Aug 2018 23:52:02 +0200 Subject: [PATCH] previous page button --- archimedean.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/archimedean.cpp b/archimedean.cpp index cc4c66d8..b0eec678 100644 --- a/archimedean.cpp +++ b/archimedean.cpp @@ -1066,6 +1066,11 @@ void show() { spos = 0; else spos = nextpos; }); + dialog::addItem(XLAT("previous page"), '='); + dialog::add_action([] () { + spos -= 10; + if(spos < 0) spos = 0; + }); if(archimedean) { dialog::addSelItem(XLAT("size of the world"), current.world_size(), 0);