1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

dialog:: color dialog now uses dialogcolor, not forecolor

This commit is contained in:
Zeno Rogue 2018-10-23 20:09:54 +02:00
parent b530341841
commit 2a9f93273a

View File

@ -556,7 +556,7 @@ namespace dialog {
for(int i=0; i<4; i++) { for(int i=0; i<4; i++) {
int y = vid.yres / 2 + (2-i) * vid.fsize * 2; int y = vid.yres / 2 + (2-i) * vid.fsize * 2;
color_t col = ((i==colorp) && !mousing) ? 0xFFD500 : forecolor; color_t col = ((i==colorp) && !mousing) ? 0xFFD500 : dialogcolor;
displayColorButton(dcenter - dwidth/4, y, "(", 0, 16, 0, col); displayColorButton(dcenter - dwidth/4, y, "(", 0, 16, 0, col);
string rgt = ") "; rgt += "ABGR" [i]; string rgt = ") "; rgt += "ABGR" [i];