mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-08 09:24:06 +00:00
'plain' button shown in the inventory screen
This commit is contained in:
parent
8f28497f26
commit
bc0eed4cf0
@ -1011,6 +1011,8 @@ EX namespace dialog {
|
|||||||
getcstat = '0';
|
getcstat = '0';
|
||||||
if(i&2) if(displayfrZH(xr*72, i0, 1, vid.fsize, IFM("F1 - ") + XLAT("help"), dialogcolor, 8))
|
if(i&2) if(displayfrZH(xr*72, i0, 1, vid.fsize, IFM("F1 - ") + XLAT("help"), dialogcolor, 8))
|
||||||
getcstat = SDLK_F1;
|
getcstat = SDLK_F1;
|
||||||
|
if(i&4) if(displayfrZH(xr*8, i0, 1, vid.fsize, IFM("1 - ") + XLAT("plain"), dialogcolor, 8))
|
||||||
|
getcstat = '1';
|
||||||
}
|
}
|
||||||
|
|
||||||
EX bool handlePageButtons(int uni) {
|
EX bool handlePageButtons(int uni) {
|
||||||
|
@ -613,7 +613,7 @@ EX namespace inv {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dialog::displayPageButtons(3, 0);
|
dialog::displayPageButtons(7, 0);
|
||||||
mouseovers = "";
|
mouseovers = "";
|
||||||
keyhandler = [] (int sym, int uni) {
|
keyhandler = [] (int sym, int uni) {
|
||||||
if(plain) dialog::handleNavigation(sym, uni);
|
if(plain) dialog::handleNavigation(sym, uni);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user