diff --git a/src/demo/reel.c b/src/demo/reel.c index f27971bbe..bd538adb3 100644 --- a/src/demo/reel.c +++ b/src/demo/reel.c @@ -336,7 +336,7 @@ ncreel_demo_core(struct notcurses* nc){ break; case NCKEY_DEL: kill_active_tablet(pr, &tctxs); break; case NCKEY_RESIZE: notcurses_render(nc); break; - default: ncplane_printf_yx(std, 3, 2, "Unknown keycode (0x%lx)\n", (wint_t)rw); break; + default: ncplane_printf_yx(std, 3, 2, "Unknown keycode (0x%lx)\n", rw); break; } if(newtablet){ newtablet->next = tctxs; diff --git a/src/demo/zoo.c b/src/demo/zoo.c index b189ca24f..8e01bbd4b 100644 --- a/src/demo/zoo.c +++ b/src/demo/zoo.c @@ -64,7 +64,7 @@ multiselector_demo(struct ncplane* n, int dimx, int y, pthread_mutex_t* lock){ .descchannels = CHANNELS_RGB_INITIALIZER(0x80, 0xe0, 0x40, 0, 0, 0), .footchannels = CHANNELS_RGB_INITIALIZER(0xe0, 0, 0x40, 0x20, 0x20, 0), .titlechannels = CHANNELS_RGB_INITIALIZER(0x20, 0xff, 0xff, 0, 0, 0x20), - .bgchannels = CHANNELS_RGB_INITIALIZER(0, 0x20, 0, 0, 0x20, 0), + .bgchannels = CHANNELS_RGB_INITIALIZER(0, 0x40, 0, 0, 0x40, 0), }; channels_set_fg_alpha(&mopts.bgchannels, CELL_ALPHA_BLEND); channels_set_bg_alpha(&mopts.bgchannels, CELL_ALPHA_BLEND); @@ -152,12 +152,12 @@ selector_demo(struct ncplane* n, int dimx, int y, pthread_mutex_t* lock){ .items = select_items, .defidx = 4, .maxdisplay = 3, - .boxchannels = CHANNELS_RGB_INITIALIZER(0x20, 0xe0, 0x40, 0x20, 0x20, 0x20), + .boxchannels = CHANNELS_RGB_INITIALIZER(0xe0, 0x20, 0x40, 0x20, 0x20, 0x20), .opchannels = CHANNELS_RGB_INITIALIZER(0xe0, 0x80, 0x40, 0, 0, 0), .descchannels = CHANNELS_RGB_INITIALIZER(0x80, 0xe0, 0x40, 0, 0, 0), .footchannels = CHANNELS_RGB_INITIALIZER(0xe0, 0, 0x40, 0x20, 0, 0), .titlechannels = CHANNELS_RGB_INITIALIZER(0xff, 0xff, 0x80, 0, 0, 0x20), - .bgchannels = CHANNELS_RGB_INITIALIZER(0, 0x20, 0, 0, 0x20, 0), + .bgchannels = CHANNELS_RGB_INITIALIZER(0, 0, 0x40, 0, 0, 0x40), }; channels_set_fg_alpha(&sopts.bgchannels, CELL_ALPHA_BLEND); channels_set_bg_alpha(&sopts.bgchannels, CELL_ALPHA_BLEND);