diff --git a/resources/image/back-book.png b/resources/image/back-book.png index e7c568f..ad83d3e 100644 Binary files a/resources/image/back-book.png and b/resources/image/back-book.png differ diff --git a/src/blupi.cxx b/src/blupi.cxx index 4ec6552..9b2d7a7 100644 --- a/src/blupi.cxx +++ b/src/blupi.cxx @@ -760,7 +760,15 @@ DoInit (int argc, char * argv[], bool & exit) totalDim.y = LYLOGIC; iconDim.x = 0; iconDim.y = 0; - if (!g_pPixmap->Cache (CHBACKBUILD, "image/back-build.png", totalDim, iconDim)) + if (!g_pPixmap->Cache ( + CHBACKBUILD, "image/back-build.png", totalDim, iconDim)) + return EXIT_FAILURE; + + totalDim.x = LXLOGIC; + totalDim.y = LYLOGIC; + iconDim.x = 0; + iconDim.y = 0; + if (!g_pPixmap->Cache (CHBACKBOOK, "image/back-book.png", totalDim, iconDim)) return EXIT_FAILURE; totalDim.x = DIMCELX * 2 * 16; diff --git a/src/def.h b/src/def.h index 0fbbe89..aeaaecf 100644 --- a/src/def.h +++ b/src/def.h @@ -90,6 +90,7 @@ #define CHBIGNUM 14 #define CHMASK2 15 #define CHBACKBUILD 16 +#define CHBACKBOOK 17 #define FOGHIDE 4 // clang-format on diff --git a/src/event.cxx b/src/event.cxx index 409ac4d..8300b49 100644 --- a/src/event.cxx +++ b/src/event.cxx @@ -172,7 +172,7 @@ static Phase table[] = { EV_PHASE_HISTORY0, "image/history0.png", - CHNONE, + CHBACKBOOK, CPixmap::Mode::FIX, true, { @@ -197,7 +197,7 @@ static Phase table[] = { EV_PHASE_HISTORY1, "image/history1.png", - CHNONE, + CHBACKBOOK, CPixmap::Mode::FIX, true, { @@ -222,7 +222,7 @@ static Phase table[] = { EV_PHASE_INFO, "image/info%.3d.png", - CHNONE, + CHBACKBOOK, CPixmap::Mode::FIX, false, { @@ -320,7 +320,7 @@ static Phase table[] = { EV_PHASE_STOP, "image/stop%.3d.png", - CHNONE, + CHBACKBOOK, CPixmap::Mode::FIX, false, { @@ -369,7 +369,7 @@ static Phase table[] = { EV_PHASE_HELP, "image/help.png", - CHNONE, + CHBACKBOOK, CPixmap::Mode::FIX, true, {